@redmix/babel-config 9.0.0-canary.546 → 9.0.0-canary.548
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.
@@ -4,9 +4,11 @@ export interface PluginOptions {
|
|
4
4
|
forPrerender?: boolean;
|
5
5
|
}
|
6
6
|
/**
|
7
|
-
* When running from the CLI: Babel-plugin-module-resolver will convert
|
8
|
-
* For dev/build/prerender (forJest == false):
|
9
|
-
|
7
|
+
* When running from the CLI: Babel-plugin-module-resolver will convert:
|
8
|
+
* - For dev/build/prerender (forJest == false):
|
9
|
+
'src/pages/ExamplePage' -> './pages/ExamplePage'
|
10
|
+
* - For test (forJest == true):
|
11
|
+
'src/pages/ExamplePage' -> '/Users/blah/pathToProject/web/src/pages/ExamplePage'
|
10
12
|
*/
|
11
13
|
export declare const getPathRelativeToSrc: (maybeAbsolutePath: string) => string;
|
12
14
|
export declare const withRelativeImports: (page: PagesDependency) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"babel-plugin-redwood-routes-auto-loader.d.ts","sourceRoot":"","sources":["../../src/plugins/babel-plugin-redwood-routes-auto-loader.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAEnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAQ7D,MAAM,WAAW,aAAa;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED
|
1
|
+
{"version":3,"file":"babel-plugin-redwood-routes-auto-loader.d.ts","sourceRoot":"","sources":["../../src/plugins/babel-plugin-redwood-routes-auto-loader.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAEnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAQ7D,MAAM,WAAW,aAAa;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,sBAAuB,MAAM,WAO7D,CAAA;AAED,eAAO,MAAM,mBAAmB,SAAU,eAAe;;;;;;;CAKxD,CAAA;AAED,MAAM,CAAC,OAAO,WACZ,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAAE,KAAK,EAAE,OAAO,KAAK,CAAA;CAAE,EACrC,EAAE,YAAoB,EAAE,EAAE,aAAa,GACtC,SAAS,CA0KX"}
|
package/dist/web.d.ts
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
import type { TransformOptions } from '@babel/core';
|
2
2
|
import type { RegisterHookOptions } from './common';
|
3
3
|
export interface Flags {
|
4
|
+
/**
|
5
|
+
* Will change the alias for module-resolver plugin and include a few extra
|
6
|
+
* babel plugins
|
7
|
+
*/
|
4
8
|
forJest?: boolean;
|
5
9
|
forPrerender?: boolean;
|
6
10
|
forJavaScriptLinting?: boolean;
|
package/dist/web.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"web.d.ts","sourceRoot":"","sources":["../src/web.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAMnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;
|
1
|
+
{"version":3,"file":"web.d.ts","sourceRoot":"","sources":["../src/web.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAMnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAUnD,MAAM,WAAW,KAAK;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B;AAED,eAAO,MAAM,sBAAsB,iBACpB,KAAK,uBAsFnB,CAAA;AAED,eAAO,MAAM,mBAAmB,sBACZ,KAAK,KACtB,gBAAgB,EAwClB,CAAA;AAED,eAAO,MAAM,sBAAsB,YAAa,KAAK,qDAkDpD,CAAA;AAED,eAAO,MAAM,yBAAyB,0BAOrC,CAAA;AAED,eAAO,MAAM,4BAA4B,aAAa,KAAK;;;;;;;CAa1D,CAAA;AAGD,eAAO,MAAM,wBAAwB,sCAIlC,mBAAmB,SAYrB,CAAA"}
|
package/dist/web.js
CHANGED
@@ -49,6 +49,7 @@ const getWebSideBabelPlugins = ({ forJest } = { forJest: false }) => {
|
|
49
49
|
const plugins = [
|
50
50
|
// It is important that this plugin run first, as noted here: https://react.dev/learn/react-compiler
|
51
51
|
useReactCompiler && ["babel-plugin-react-compiler", { target: "19" }],
|
52
|
+
...forJest ? (0, import_common.getCommonPlugins)() : [],
|
52
53
|
// === Import path handling
|
53
54
|
[
|
54
55
|
"babel-plugin-module-resolver",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@redmix/babel-config",
|
3
|
-
"version": "9.0.0-canary.
|
3
|
+
"version": "9.0.0-canary.548+704cfb16e",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "git+https://github.com/redmix-run/redmix.git",
|
@@ -35,7 +35,7 @@
|
|
35
35
|
"@babel/register": "7.25.9",
|
36
36
|
"@babel/runtime-corejs3": "7.26.10",
|
37
37
|
"@babel/traverse": "7.26.10",
|
38
|
-
"@redmix/project-config": "9.0.0-canary.
|
38
|
+
"@redmix/project-config": "9.0.0-canary.548",
|
39
39
|
"babel-plugin-auto-import": "1.1.0",
|
40
40
|
"babel-plugin-graphql-tag": "3.3.0",
|
41
41
|
"babel-plugin-module-resolver": "5.0.2",
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"typescript": "5.6.2"
|
46
46
|
},
|
47
47
|
"devDependencies": {
|
48
|
-
"@redmix/framework-tools": "9.0.0-canary.
|
48
|
+
"@redmix/framework-tools": "9.0.0-canary.548",
|
49
49
|
"@types/babel-plugin-tester": "9.0.10",
|
50
50
|
"@types/babel__core": "7.20.5",
|
51
51
|
"@types/node": "20.17.10",
|
@@ -53,5 +53,5 @@
|
|
53
53
|
"tsx": "4.19.3",
|
54
54
|
"vitest": "2.1.9"
|
55
55
|
},
|
56
|
-
"gitHead": "
|
56
|
+
"gitHead": "704cfb16e306d35d348c7a25f056ed5baa7357e2"
|
57
57
|
}
|