@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  index_default
3
- } from "./chunk-52K6M4P4.js";
3
+ } from "./chunk-PCXQSASL.js";
4
4
  import "./chunk-6F4PWJZI.js";
5
5
 
6
6
  // src/astro.ts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-52K6M4P4.js";
3
+ } from "./chunk-PCXQSASL.js";
4
4
 
5
5
  // src/vite.ts
6
6
  import { createVitePlugin } from "unplugin";
@@ -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 "node:path";
23
- import { promises } from "node:fs";
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
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-52K6M4P4.js";
3
+ } from "./chunk-PCXQSASL.js";
4
4
 
5
5
  // src/webpack.ts
6
6
  import { createWebpackPlugin } from "unplugin";
package/dist/esbuild.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-52K6M4P4.js";
3
+ } from "./chunk-PCXQSASL.js";
4
4
  import "./chunk-6F4PWJZI.js";
5
5
 
6
6
  // src/esbuild.ts
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 farm_default = _unplugin.createFarmPlugin.call(void 0, _chunkXXL3KV2Ocjs.unpluginFactory);
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 _default: (options?: UnpluginStylexRSOptions | undefined) => _farmfe_core.JsPlugin;
5
+ declare const plugin: (options?: UnpluginStylexRSOptions) => JsPlugin;
6
6
 
7
- export = _default;
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 _default: (options?: UnpluginStylexRSOptions | undefined) => _farmfe_core.JsPlugin;
5
+ declare const plugin: (options?: UnpluginStylexRSOptions) => JsPlugin;
6
6
 
7
- export { _default as default };
7
+ export { plugin as default };
package/dist/farm.js CHANGED
@@ -1,11 +1,12 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-52K6M4P4.js";
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 farm_default = createFarmPlugin(unpluginFactory);
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
- export { UnpluginStylexRSOptions, unplugin as default, unplugin, unpluginFactory };
8
+ // @ts-ignore
9
+ export = unplugin;
10
+ export { UnpluginStylexRSOptions, unplugin, unpluginFactory };
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  index_default,
3
3
  unplugin,
4
4
  unpluginFactory
5
- } from "./chunk-52K6M4P4.js";
5
+ } from "./chunk-PCXQSASL.js";
6
6
  import "./chunk-6F4PWJZI.js";
7
7
  export {
8
8
  index_default as default,
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
- export { type ModuleOptions, _default as default };
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-KWW3KFOF.js";
3
+ } from "./chunk-GAGP24JJ.js";
4
4
  import {
5
5
  webpack_default
6
- } from "./chunk-ZSGAFIZT.js";
7
- import "./chunk-52K6M4P4.js";
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
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-52K6M4P4.js";
3
+ } from "./chunk-PCXQSASL.js";
4
4
  import "./chunk-6F4PWJZI.js";
5
5
 
6
6
  // src/rollup.ts
package/dist/rspack.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unpluginFactory
3
- } from "./chunk-52K6M4P4.js";
3
+ } from "./chunk-PCXQSASL.js";
4
4
  import "./chunk-6F4PWJZI.js";
5
5
 
6
6
  // src/rspack.ts
package/dist/vite.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import * as unplugin from 'unplugin';
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) => unplugin.VitePlugin<any> | unplugin.VitePlugin<any>[];
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 unplugin from 'unplugin';
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) => unplugin.VitePlugin<any> | unplugin.VitePlugin<any>[];
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
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  vite_default
3
- } from "./chunk-KWW3KFOF.js";
4
- import "./chunk-52K6M4P4.js";
3
+ } from "./chunk-GAGP24JJ.js";
4
+ import "./chunk-PCXQSASL.js";
5
5
  import "./chunk-6F4PWJZI.js";
6
6
  export {
7
7
  vite_default as default
package/dist/webpack.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  webpack_default
3
- } from "./chunk-ZSGAFIZT.js";
4
- import "./chunk-52K6M4P4.js";
3
+ } from "./chunk-QLOSIBKE.js";
4
+ import "./chunk-PCXQSASL.js";
5
5
  import "./chunk-6F4PWJZI.js";
6
6
  export {
7
7
  webpack_default as default
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",
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.4",
77
+ "@stylexswc/rs-compiler": "0.10.5",
78
78
  "unplugin": "^2.3.5",
79
- "vite": "^6.3.5",
80
- "vite-plugin-inspect": "^11.3.0"
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.10",
91
+ "@types/node": "^24.1.0",
92
92
  "chalk": "^5.4.1",
93
- "eslint": "^9.28.0",
93
+ "eslint": "^9.32.0",
94
94
  "esno": "^4.7.0",
95
95
  "fast-glob": "^3.3.3",
96
- "jest": "^30.0.4",
96
+ "jest": "^30.0.5",
97
97
  "nodemon": "^3.1.10",
98
- "rollup": "^4.40.2",
99
- "tsup": "^8.4.0",
100
- "typescript": "^5.8.3",
101
- "vite": "^6.3.5",
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.99.8"
103
+ "webpack": "^5.101.0"
104
104
  },
105
105
  "peerDependencies": {
106
106
  "@farmfe/core": ">=1.0.0",