@cedarjs/babel-config 7.0.0-canary.2998 → 7.0.0-canary.3003

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/web.d.ts CHANGED
@@ -3,11 +3,6 @@ import type { RegisterHookOptions } from './common.js';
3
3
  export interface Flags {
4
4
  /** changes what babel-plugin-redwood-routes-auto-loader does */
5
5
  forPrerender?: boolean;
6
- /**
7
- * will enable presets to supporting linting in the absence of typescript
8
- * related presets/plugins/parsers
9
- */
10
- forJavaScriptLinting?: boolean;
11
6
  /**
12
7
  * skip src/ alias and directory-named-import handling. The Vite
13
8
  * `cedarjs-resolve-cedar-style-imports` plugin covers these
package/dist/web.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"web.d.ts","sourceRoot":"","sources":["../src/web.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAKnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAetD,MAAM,WAAW,KAAK;IACpB,gEAAgE;IAChE,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,sBAAsB,GAAI,cAAa,KAAU,uBAgG7D,CAAA;AAED,eAAO,MAAM,mBAAmB,GAC9B,4BAA2B,KAA+B,KACzD,gBAAgB,EAwClB,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,SAAS,KAAK,qDAwCpD,CAAA;AAED,eAAO,MAAM,yBAAyB,0BAOrC,CAAA;AAED,eAAO,MAAM,4BAA4B,GAAI,UAAS,KAAU;;;;;;;CAa/D,CAAA;AAGD,eAAO,MAAM,wBAAwB,GAAI,mCAItC,mBAAwB,SAY1B,CAAA"}
1
+ {"version":3,"file":"web.d.ts","sourceRoot":"","sources":["../src/web.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAKnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAetD,MAAM,WAAW,KAAK;IACpB,gEAAgE;IAChE,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,sBAAsB,GAAI,cAAa,KAAU,uBAgG7D,CAAA;AAED,eAAO,MAAM,mBAAmB,GAC9B,4BAA2B,KAA+B,KACzD,gBAAgB,EAwClB,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,SAAS,KAAK,qDAwCpD,CAAA;AAED,eAAO,MAAM,yBAAyB,0BAOrC,CAAA;AAED,eAAO,MAAM,4BAA4B,GAAI,UAAS,KAAU;;;;;;;CAa/D,CAAA;AAGD,eAAO,MAAM,wBAAwB,GAAI,mCAItC,mBAAwB,SAY1B,CAAA"}
package/dist/web.js CHANGED
@@ -129,7 +129,7 @@ const getWebSideOverrides = ({ forPrerender, forVite } = { forPrerender: false }
129
129
  );
130
130
  };
131
131
  const getWebSideBabelPresets = (options) => {
132
- if (options.forPrerender || options.forJavaScriptLinting) {
132
+ if (options.forPrerender) {
133
133
  let reactPresetConfig = { runtime: "automatic" };
134
134
  if (getWebSideBabelConfigPath()) {
135
135
  const userProjectConfig = require2(getWebSideBabelConfigPath());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/babel-config",
3
- "version": "7.0.0-canary.2998",
3
+ "version": "7.0.0-canary.3003",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -34,7 +34,7 @@
34
34
  "@babel/preset-typescript": "7.29.7",
35
35
  "@babel/register": "7.29.7",
36
36
  "@babel/traverse": "7.29.8",
37
- "@cedarjs/project-config": "7.0.0-canary.2998",
37
+ "@cedarjs/project-config": "7.0.0-canary.3003",
38
38
  "babel-plugin-auto-import": "1.1.0",
39
39
  "babel-plugin-graphql-tag": "3.3.0",
40
40
  "babel-plugin-module-resolver": "5.0.3",
@@ -43,7 +43,7 @@
43
43
  "typescript": "5.9.3"
44
44
  },
45
45
  "devDependencies": {
46
- "@cedarjs/framework-tools": "7.0.0-canary.2998",
46
+ "@cedarjs/framework-tools": "7.0.0-canary.3003",
47
47
  "@types/babel-plugin-tester": "11.0.0",
48
48
  "@types/babel__core": "7.20.5",
49
49
  "@types/babel__register": "7.17.3",