@stylexswc/nextjs-plugin 0.15.1-rc.2 → 0.15.2-rc.1

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.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Next.js plugin with NAPI-RS StyleX compiler integration
2
2
 
3
+ > Part of the [StyleX SWC Plugin](https://github.com/Dwlad90/stylex-swc-plugin#readme) workspace
4
+
3
5
  Next.js plugin for an unofficial
4
6
  [`napi-rs`](https://github.com/dwlad90/stylex-swc-plugin/tree/develop/crates/stylex-rs-compiler)
5
7
  compiler that includes the StyleX SWC code transformation under the hood.
@@ -150,7 +152,7 @@ export default withStylexTurbopack({
150
152
 
151
153
  #### `useCSSLayers`
152
154
 
153
- - Type: `boolean`
155
+ - Type: `UseLayersType`
154
156
  - Default: `false`
155
157
  - Description: Enables CSS cascade layers support for better style isolation.
156
158
 
@@ -362,3 +364,7 @@ stylexPlugin({
362
364
 
363
365
  This plugin was inspired by
364
366
  [`stylex-webpack`](https://github.com/SukkaW/stylex-webpack).
367
+
368
+ ## License
369
+
370
+ MIT — see [LICENSE](https://github.com/Dwlad90/stylex-swc-plugin/blob/develop/LICENSE)
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.15.1-rc.2",
4
+ "version": "0.15.2-rc.1",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "sideEffects": false,
@@ -31,14 +31,14 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@stylexswc/rs-compiler": "0.15.1-rc.2",
35
- "@stylexswc/turbopack-plugin": "0.15.1-rc.2",
36
- "@stylexswc/webpack-plugin": "0.15.1-rc.2"
34
+ "@stylexswc/rs-compiler": "0.15.2-rc.1",
35
+ "@stylexswc/turbopack-plugin": "0.15.2-rc.1",
36
+ "@stylexswc/webpack-plugin": "0.15.2-rc.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@babel/types": "^7.29.0",
40
- "@stylexswc/eslint-config": "0.15.1-rc.2",
41
- "@stylexswc/typescript-config": "0.15.1-rc.2",
40
+ "@stylexswc/eslint-config": "0.15.2-rc.1",
41
+ "@stylexswc/typescript-config": "0.15.2-rc.1",
42
42
  "@types/babel__core": "^7.20.5",
43
43
  "@types/node": "^25.3.3",
44
44
  "next": "^16.1.7",