@stylexswc/nextjs-plugin 0.6.2-rc.2 → 0.6.2-rc.4
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/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/package.json +10 -6
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAwB,MAAM,gCAAgC,CAAC;AACvF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAwB,MAAM,gCAAgC,CAAC;AACvF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAqFpE,QAAA,MAAM,UAAU,mBACG,kBAAkB,mBACtB,UAAU,KAAQ,UA+I9B,CAAC;AAEJ,eAAe,UAAU,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -41,7 +41,9 @@ const getSupportedBrowsers = (dir, isDevelopment) => {
|
|
|
41
41
|
env: isDevelopment ? 'development' : 'production',
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
-
catch {
|
|
44
|
+
catch {
|
|
45
|
+
// Ignore
|
|
46
|
+
}
|
|
45
47
|
};
|
|
46
48
|
const getNextMiniCssExtractPlugin = (isDev) => {
|
|
47
49
|
// Use own MiniCssExtractPlugin to ensure HMR works
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stylexswc/nextjs-plugin",
|
|
3
3
|
"description": "StyleX NextJS plugin with NAPI-RS compiler",
|
|
4
|
-
"version": "0.6.2-rc.
|
|
4
|
+
"version": "0.6.2-rc.4",
|
|
5
5
|
"config": {
|
|
6
6
|
"scripty": {
|
|
7
7
|
"path": "../../scripts/packages"
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@babel/types": "^7.23.9",
|
|
12
|
-
"@stylexswc/eslint-config": "0.6.2-rc.
|
|
13
|
-
"@stylexswc/rs-compiler": "0.6.2-rc.
|
|
14
|
-
"@stylexswc/typescript-config": "0.6.2-rc.
|
|
15
|
-
"@stylexswc/webpack-plugin": "0.6.2-rc.
|
|
12
|
+
"@stylexswc/eslint-config": "0.6.2-rc.4",
|
|
13
|
+
"@stylexswc/rs-compiler": "0.6.2-rc.4",
|
|
14
|
+
"@stylexswc/typescript-config": "0.6.2-rc.4",
|
|
15
|
+
"@stylexswc/webpack-plugin": "0.6.2-rc.4",
|
|
16
16
|
"@types/babel__core": "^7.20.5",
|
|
17
17
|
"@types/node": "^22.5.1",
|
|
18
18
|
"next": "^15.1.2",
|
|
@@ -45,9 +45,13 @@
|
|
|
45
45
|
"sideEffects": false,
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "scripty --ts",
|
|
48
|
+
"check:artifacts": "scripty",
|
|
48
49
|
"clean": "del-cli dist",
|
|
50
|
+
"lint": "eslint . --color",
|
|
51
|
+
"lint:check": "eslint . --color --format json --output-file dist/eslint_report.json",
|
|
49
52
|
"precommit": "lint-staged",
|
|
50
53
|
"prepush": "lint-prepush",
|
|
51
|
-
"test": "echo \"Error: no test specified\" && exit 0"
|
|
54
|
+
"test": "echo \"Error: no test specified\" && exit 0",
|
|
55
|
+
"typecheck": "scripty"
|
|
52
56
|
}
|
|
53
57
|
}
|