@stylexswc/unplugin 0.10.4 → 0.10.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/astro.js +1 -1
- package/dist/{chunk-KWW3KFOF.js → chunk-GAGP24JJ.js} +1 -1
- package/dist/{chunk-52K6M4P4.js → chunk-PCXQSASL.js} +2 -2
- package/dist/{chunk-ZSGAFIZT.js → chunk-QLOSIBKE.js} +1 -1
- package/dist/esbuild.js +1 -1
- package/dist/farm.cjs +2 -1
- package/dist/farm.d.cts +3 -3
- package/dist/farm.d.ts +3 -3
- package/dist/farm.js +3 -2
- package/dist/index.d.cts +3 -1
- package/dist/index.js +1 -1
- package/dist/nuxt.d.cts +3 -1
- package/dist/nuxt.js +3 -3
- package/dist/rollup.js +1 -1
- package/dist/rspack.js +1 -1
- package/dist/vite.d.cts +2 -2
- package/dist/vite.d.ts +2 -2
- package/dist/vite.js +2 -2
- package/dist/webpack.js +2 -2
- package/package.json +12 -12
package/dist/astro.js
CHANGED
|
@@ -19,8 +19,8 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
import * as path from "
|
|
23
|
-
import { promises } from "
|
|
22
|
+
import * as path from "path";
|
|
23
|
+
import { promises } from "fs";
|
|
24
24
|
import { createUnplugin } from "unplugin";
|
|
25
25
|
|
|
26
26
|
// src/utils/getStyleXRules.ts
|
package/dist/esbuild.js
CHANGED
package/dist/farm.cjs
CHANGED
|
@@ -5,7 +5,8 @@ require('./chunk-ZBPRDZS4.cjs');
|
|
|
5
5
|
|
|
6
6
|
// src/farm.ts
|
|
7
7
|
var _unplugin = require('unplugin');
|
|
8
|
-
var
|
|
8
|
+
var plugin = _unplugin.createFarmPlugin.call(void 0, _chunkXXL3KV2Ocjs.unpluginFactory);
|
|
9
|
+
var farm_default = plugin;
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
exports.default = farm_default;
|
package/dist/farm.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as _farmfe_core from '@farmfe/core';
|
|
2
1
|
import { UnpluginStylexRSOptions } from './types.cjs';
|
|
2
|
+
import { JsPlugin } from '@farmfe/core';
|
|
3
3
|
import '@stylexswc/rs-compiler';
|
|
4
4
|
|
|
5
|
-
declare const
|
|
5
|
+
declare const plugin: (options?: UnpluginStylexRSOptions) => JsPlugin;
|
|
6
6
|
|
|
7
|
-
export =
|
|
7
|
+
export = plugin;
|
package/dist/farm.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as _farmfe_core from '@farmfe/core';
|
|
2
1
|
import { UnpluginStylexRSOptions } from './types.js';
|
|
2
|
+
import { JsPlugin } from '@farmfe/core';
|
|
3
3
|
import '@stylexswc/rs-compiler';
|
|
4
4
|
|
|
5
|
-
declare const
|
|
5
|
+
declare const plugin: (options?: UnpluginStylexRSOptions) => JsPlugin;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { plugin as default };
|
package/dist/farm.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
unpluginFactory
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PCXQSASL.js";
|
|
4
4
|
import "./chunk-6F4PWJZI.js";
|
|
5
5
|
|
|
6
6
|
// src/farm.ts
|
|
7
7
|
import { createFarmPlugin } from "unplugin";
|
|
8
|
-
var
|
|
8
|
+
var plugin = createFarmPlugin(unpluginFactory);
|
|
9
|
+
var farm_default = plugin;
|
|
9
10
|
export {
|
|
10
11
|
farm_default as default
|
|
11
12
|
};
|
package/dist/index.d.cts
CHANGED
|
@@ -5,4 +5,6 @@ import '@stylexswc/rs-compiler';
|
|
|
5
5
|
declare const unpluginFactory: UnpluginFactory<UnpluginStylexRSOptions | undefined>;
|
|
6
6
|
declare const unplugin: UnpluginInstance<UnpluginStylexRSOptions | undefined, boolean>;
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
export = unplugin;
|
|
10
|
+
export { UnpluginStylexRSOptions, unplugin, unpluginFactory };
|
package/dist/index.js
CHANGED
package/dist/nuxt.d.cts
CHANGED
|
@@ -5,4 +5,6 @@ import '@stylexswc/rs-compiler';
|
|
|
5
5
|
type ModuleOptions = UnpluginStylexRSOptions;
|
|
6
6
|
declare const _default: _nuxt_schema.NuxtModule<UnpluginStylexRSOptions, UnpluginStylexRSOptions, false>;
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
export = _default;
|
|
10
|
+
export type { ModuleOptions };
|
package/dist/nuxt.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vite_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GAGP24JJ.js";
|
|
4
4
|
import {
|
|
5
5
|
webpack_default
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-QLOSIBKE.js";
|
|
7
|
+
import "./chunk-PCXQSASL.js";
|
|
8
8
|
import "./chunk-6F4PWJZI.js";
|
|
9
9
|
|
|
10
10
|
// src/nuxt.ts
|
package/dist/rollup.js
CHANGED
package/dist/rspack.js
CHANGED
package/dist/vite.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vite from 'vite';
|
|
2
2
|
import { UnpluginStylexRSOptions } from './types.cjs';
|
|
3
3
|
import '@stylexswc/rs-compiler';
|
|
4
4
|
|
|
5
|
-
declare const _default: (options?: UnpluginStylexRSOptions | undefined) =>
|
|
5
|
+
declare const _default: (options?: UnpluginStylexRSOptions | undefined) => vite.Plugin<any> | vite.Plugin<any>[];
|
|
6
6
|
|
|
7
7
|
export = _default;
|
package/dist/vite.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vite from 'vite';
|
|
2
2
|
import { UnpluginStylexRSOptions } from './types.js';
|
|
3
3
|
import '@stylexswc/rs-compiler';
|
|
4
4
|
|
|
5
|
-
declare const _default: (options?: UnpluginStylexRSOptions | undefined) =>
|
|
5
|
+
declare const _default: (options?: UnpluginStylexRSOptions | undefined) => vite.Plugin<any> | vite.Plugin<any>[];
|
|
6
6
|
|
|
7
7
|
export { _default as default };
|
package/dist/vite.js
CHANGED
package/dist/webpack.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stylexswc/unplugin",
|
|
3
3
|
"description": "Unplugin for StyleX RS compiler",
|
|
4
|
-
"version": "0.10.
|
|
4
|
+
"version": "0.10.5",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
@@ -74,10 +74,10 @@
|
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@stylexjs/babel-plugin": "^0.14.1",
|
|
77
|
-
"@stylexswc/rs-compiler": "0.10.
|
|
77
|
+
"@stylexswc/rs-compiler": "0.10.5",
|
|
78
78
|
"unplugin": "^2.3.5",
|
|
79
|
-
"vite": "^
|
|
80
|
-
"vite-plugin-inspect": "^11.3.
|
|
79
|
+
"vite": "^7.0.6",
|
|
80
|
+
"vite-plugin-inspect": "^11.3.2"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@nuxt/kit": "^3.17.5",
|
|
@@ -88,19 +88,19 @@
|
|
|
88
88
|
"@rollup/plugin-replace": "^6.0.2",
|
|
89
89
|
"@rollup/plugin-swc": "^0.4.0",
|
|
90
90
|
"@types/jest": "^30.0.0",
|
|
91
|
-
"@types/node": "^24.0
|
|
91
|
+
"@types/node": "^24.1.0",
|
|
92
92
|
"chalk": "^5.4.1",
|
|
93
|
-
"eslint": "^9.
|
|
93
|
+
"eslint": "^9.32.0",
|
|
94
94
|
"esno": "^4.7.0",
|
|
95
95
|
"fast-glob": "^3.3.3",
|
|
96
|
-
"jest": "^30.0.
|
|
96
|
+
"jest": "^30.0.5",
|
|
97
97
|
"nodemon": "^3.1.10",
|
|
98
|
-
"rollup": "^4.
|
|
99
|
-
"tsup": "^8.
|
|
100
|
-
"typescript": "^5.
|
|
101
|
-
"vite": "^
|
|
98
|
+
"rollup": "^4.46.2",
|
|
99
|
+
"tsup": "^8.5.0",
|
|
100
|
+
"typescript": "^5.9.2",
|
|
101
|
+
"vite": "^7.0.6",
|
|
102
102
|
"vitest": "^3.2.4",
|
|
103
|
-
"webpack": "^5.
|
|
103
|
+
"webpack": "^5.101.0"
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
106
|
"@farmfe/core": ">=1.0.0",
|