@stylexswc/unplugin 0.6.2-rc.2 → 0.6.2-rc.5
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/rspack.d.cts +2 -1
- package/dist/rspack.d.ts +2 -1
- package/package.json +14 -6
package/dist/rspack.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as unplugin from 'unplugin';
|
|
1
2
|
import { UnpluginStylexRSOptions } from './types.cjs';
|
|
2
3
|
import '@stylexswc/rs-compiler';
|
|
3
4
|
|
|
4
|
-
declare const _default: (options?: UnpluginStylexRSOptions | undefined) =>
|
|
5
|
+
declare const _default: (options?: UnpluginStylexRSOptions | undefined) => unplugin.RspackPluginInstance;
|
|
5
6
|
|
|
6
7
|
export = _default;
|
package/dist/rspack.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as unplugin from 'unplugin';
|
|
1
2
|
import { UnpluginStylexRSOptions } from './types.js';
|
|
2
3
|
import '@stylexswc/rs-compiler';
|
|
3
4
|
|
|
4
|
-
declare const _default: (options?: UnpluginStylexRSOptions | undefined) =>
|
|
5
|
+
declare const _default: (options?: UnpluginStylexRSOptions | undefined) => unplugin.RspackPluginInstance;
|
|
5
6
|
|
|
6
7
|
export { _default as default };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stylexswc/unplugin",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.6.2-rc.
|
|
4
|
+
"version": "0.6.2-rc.5",
|
|
5
5
|
"description": "Unplugin for StyleX RS compiler",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"private": false,
|
|
@@ -128,9 +128,9 @@
|
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
"dependencies": {
|
|
131
|
-
"@stylexjs/babel-plugin": "^0.
|
|
132
|
-
"@stylexswc/rs-compiler": "0.6.2-rc.
|
|
133
|
-
"unplugin": "^1.
|
|
131
|
+
"@stylexjs/babel-plugin": "^0.10.1",
|
|
132
|
+
"@stylexswc/rs-compiler": "0.6.2-rc.5",
|
|
133
|
+
"unplugin": "^1.16.1",
|
|
134
134
|
"vite": "^5.4.10",
|
|
135
135
|
"vite-plugin-inspect": "^0.8.7"
|
|
136
136
|
},
|
|
@@ -150,16 +150,24 @@
|
|
|
150
150
|
"vitest": "^2.0.5",
|
|
151
151
|
"webpack": "^5.94.0"
|
|
152
152
|
},
|
|
153
|
+
"config": {
|
|
154
|
+
"scripty": {
|
|
155
|
+
"path": "../../scripts/packages"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
153
158
|
"scripts": {
|
|
154
159
|
"build": "tsup",
|
|
155
160
|
"dev": "tsup --watch src",
|
|
156
161
|
"build:fix": "esno scripts/postbuild.ts",
|
|
157
|
-
"
|
|
162
|
+
"check:artifacts": "scripty",
|
|
163
|
+
"lint": "eslint . --color",
|
|
164
|
+
"lint:check": "eslint . --color --format json --output-file dist/eslint_report.json",
|
|
158
165
|
"play": "pnpm -C playground run dev",
|
|
159
166
|
"start": "esno src/index.ts",
|
|
160
167
|
"test": "vitest --run",
|
|
161
168
|
"test:watch": "vitest",
|
|
162
169
|
"test:update": "vitest -u",
|
|
163
|
-
"test:cov": "vitest --coverage"
|
|
170
|
+
"test:cov": "vitest --coverage",
|
|
171
|
+
"typecheck": "scripty"
|
|
164
172
|
}
|
|
165
173
|
}
|