@csszyx/unplugin 0.17.0 → 0.17.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 (31) hide show
  1. package/dist/index.cjs +10 -2
  2. package/dist/index.mjs +10 -2
  3. package/dist/next-prebuild.cjs +2 -2
  4. package/dist/next-prebuild.d.cts +12 -2
  5. package/dist/next-prebuild.d.mts +12 -2
  6. package/dist/next-prebuild.mjs +2 -2
  7. package/dist/next-turbo-loader.cjs +3 -3
  8. package/dist/next-turbo-loader.d.cts +1 -1
  9. package/dist/next-turbo-loader.d.mts +1 -1
  10. package/dist/next-turbo-loader.mjs +3 -3
  11. package/dist/next-watcher.cjs +122 -14
  12. package/dist/next-watcher.d.cts +16 -3
  13. package/dist/next-watcher.d.mts +16 -3
  14. package/dist/next-watcher.mjs +122 -14
  15. package/dist/shared/{unplugin.alhYXymJ.cjs → unplugin.BKID6KXV.cjs} +4 -0
  16. package/dist/shared/{unplugin.995yC_cN.mjs → unplugin.CK-DfKTP.mjs} +20 -2
  17. package/dist/shared/{unplugin.COlI0dJs.d.mts → unplugin.C_2R8vIk.d.cts} +1 -1
  18. package/dist/shared/unplugin.CcSfaIVx.mjs +13547 -0
  19. package/dist/shared/{unplugin.rWOMecQs.d.cts → unplugin.CfXjAV63.d.mts} +1 -1
  20. package/dist/shared/{unplugin.2qOISpzl.cjs → unplugin.D0tMgokL.cjs} +23 -1
  21. package/dist/shared/unplugin.DZdsqdQa.cjs +13635 -0
  22. package/dist/shared/{unplugin.BGog1Bib.d.mts → unplugin.XdPo6azz.d.cts} +3 -0
  23. package/dist/shared/{unplugin.BGog1Bib.d.cts → unplugin.XdPo6azz.d.mts} +3 -0
  24. package/dist/shared/{unplugin.DPSQP5XG.mjs → unplugin.eCo7_znv.mjs} +3 -1
  25. package/dist/vite.cjs +10 -2
  26. package/dist/vite.mjs +10 -2
  27. package/dist/webpack.cjs +10 -2
  28. package/dist/webpack.mjs +10 -2
  29. package/package.json +12 -11
  30. package/dist/shared/unplugin.9zs6T4Gf.cjs +0 -5471
  31. package/dist/shared/unplugin.Cs4H9z9v.mjs +0 -5389
@@ -44,6 +44,8 @@ interface NextSafelistStateLockOptions {
44
44
  hostname?: string;
45
45
  token?: string;
46
46
  }
47
+ /** The `command` a `csszyx next watch` process records on the lock. */
48
+ declare const NEXT_WATCH_LOCK_COMMAND = "csszyx next watch";
47
49
 
48
50
  /** Mode represented by a Next Turbopack generation manifest. */
49
51
  type NextGenerationMode = 'development' | 'production';
@@ -77,4 +79,5 @@ interface NextStateContext {
77
79
  manifestExpectation: NextGenerationManifestExpectation;
78
80
  }
79
81
 
82
+ export { NEXT_WATCH_LOCK_COMMAND as c };
80
83
  export type { AtomicWriteOptions as A, JsonLike as J, NextStateContext as N, NextSafelistMaterializeResult as a, NextSafelistStateLockOptions as b };
@@ -44,6 +44,8 @@ interface NextSafelistStateLockOptions {
44
44
  hostname?: string;
45
45
  token?: string;
46
46
  }
47
+ /** The `command` a `csszyx next watch` process records on the lock. */
48
+ declare const NEXT_WATCH_LOCK_COMMAND = "csszyx next watch";
47
49
 
48
50
  /** Mode represented by a Next Turbopack generation manifest. */
49
51
  type NextGenerationMode = 'development' | 'production';
@@ -77,4 +79,5 @@ interface NextStateContext {
77
79
  manifestExpectation: NextGenerationManifestExpectation;
78
80
  }
79
81
 
82
+ export { NEXT_WATCH_LOCK_COMMAND as c };
80
83
  export type { AtomicWriteOptions as A, JsonLike as J, NextStateContext as N, NextSafelistMaterializeResult as a, NextSafelistStateLockOptions as b };
@@ -306,6 +306,8 @@ class NextSafelistStateLockedError extends Error {
306
306
  }
307
307
  }
308
308
  const NEXT_WATCH_LOCK_COMMAND = "csszyx next watch";
309
+ const NEXT_TURBO_LOADER_LOCK_COMMAND = "csszyx next turbo-loader";
310
+ const NEXT_PREBUILD_LOCK_COMMAND = "csszyx next prebuild";
309
311
  function formatLiveLockError(metadata) {
310
312
  return [
311
313
  `csszyx Next safelist state is already locked by process ${metadata.pid}.`,
@@ -573,4 +575,4 @@ function runNextWatcherCycle(context, options = {}) {
573
575
  }
574
576
  }
575
577
 
576
- export { NextSafelistStateLockedError as N, NEXT_WATCH_LOCK_COMMAND as a, readNextGenerationManifest as b, createNextStateContext as c, runNextWatcherCycle as r, validateNextGenerationManifest as v, writeNextSafelistShard as w };
578
+ export { NEXT_PREBUILD_LOCK_COMMAND as N, NEXT_TURBO_LOADER_LOCK_COMMAND as a, NextSafelistStateLockedError as b, createNextStateContext as c, NEXT_WATCH_LOCK_COMMAND as d, readNextGenerationManifest as e, runNextWatcherCycle as r, validateNextGenerationManifest as v, writeNextSafelistShard as w };
package/dist/vite.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const unplugin = require('./shared/unplugin.9zs6T4Gf.cjs');
5
+ const unplugin = require('./shared/unplugin.DZdsqdQa.cjs');
6
6
  require('node:crypto');
7
7
  require('node:fs');
8
8
  require('node:module');
@@ -23,8 +23,16 @@ require('./css-mangler.cjs');
23
23
  require('postcss');
24
24
  require('postcss-selector-parser');
25
25
  require('./shared/unplugin.Defu9wGh.cjs');
26
- require('./shared/unplugin.2qOISpzl.cjs');
26
+ require('./shared/unplugin.D0tMgokL.cjs');
27
27
  require('node:zlib');
28
+ require('node:fs/promises');
29
+ require('os');
30
+ require('path');
31
+ require('util');
32
+ require('stream');
33
+ require('events');
34
+ require('fs');
35
+ require('@csszyx/runtime/split');
28
36
  require('postcss-value-parser');
29
37
 
30
38
 
package/dist/vite.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { a3 as default } from './shared/unplugin.Cs4H9z9v.mjs';
1
+ export { a3 as default } from './shared/unplugin.CcSfaIVx.mjs';
2
2
  import 'node:crypto';
3
3
  import 'node:fs';
4
4
  import 'node:module';
@@ -19,6 +19,14 @@ import './css-mangler.mjs';
19
19
  import 'postcss';
20
20
  import 'postcss-selector-parser';
21
21
  import './shared/unplugin.DcXM9sq5.mjs';
22
- import './shared/unplugin.995yC_cN.mjs';
22
+ import './shared/unplugin.CK-DfKTP.mjs';
23
23
  import 'node:zlib';
24
+ import 'node:fs/promises';
25
+ import 'os';
26
+ import 'path';
27
+ import 'util';
28
+ import 'stream';
29
+ import 'events';
30
+ import 'fs';
31
+ import '@csszyx/runtime/split';
24
32
  import 'postcss-value-parser';
package/dist/webpack.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const unplugin = require('./shared/unplugin.9zs6T4Gf.cjs');
5
+ const unplugin = require('./shared/unplugin.DZdsqdQa.cjs');
6
6
  require('node:crypto');
7
7
  require('node:fs');
8
8
  require('node:module');
@@ -23,8 +23,16 @@ require('./css-mangler.cjs');
23
23
  require('postcss');
24
24
  require('postcss-selector-parser');
25
25
  require('./shared/unplugin.Defu9wGh.cjs');
26
- require('./shared/unplugin.2qOISpzl.cjs');
26
+ require('./shared/unplugin.D0tMgokL.cjs');
27
27
  require('node:zlib');
28
+ require('node:fs/promises');
29
+ require('os');
30
+ require('path');
31
+ require('util');
32
+ require('stream');
33
+ require('events');
34
+ require('fs');
35
+ require('@csszyx/runtime/split');
28
36
  require('postcss-value-parser');
29
37
 
30
38
 
package/dist/webpack.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { a5 as default } from './shared/unplugin.Cs4H9z9v.mjs';
1
+ export { a5 as default } from './shared/unplugin.CcSfaIVx.mjs';
2
2
  import 'node:crypto';
3
3
  import 'node:fs';
4
4
  import 'node:module';
@@ -19,6 +19,14 @@ import './css-mangler.mjs';
19
19
  import 'postcss';
20
20
  import 'postcss-selector-parser';
21
21
  import './shared/unplugin.DcXM9sq5.mjs';
22
- import './shared/unplugin.995yC_cN.mjs';
22
+ import './shared/unplugin.CK-DfKTP.mjs';
23
23
  import 'node:zlib';
24
+ import 'node:fs/promises';
25
+ import 'os';
26
+ import 'path';
27
+ import 'util';
28
+ import 'stream';
29
+ import 'events';
30
+ import 'fs';
31
+ import '@csszyx/runtime/split';
24
32
  import 'postcss-value-parser';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@csszyx/unplugin",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "Vite and Webpack integration for csszyx",
5
5
  "keywords": [
6
6
  "csszyx",
@@ -132,11 +132,11 @@
132
132
  "dist"
133
133
  ],
134
134
  "dependencies": {
135
- "@csszyx/compiler": "0.17.0",
136
- "@csszyx/core": "0.17.0",
137
- "@csszyx/svelte-adapter": "0.17.0",
138
- "@csszyx/types": "0.17.0",
139
- "@csszyx/vue-adapter": "0.17.0",
135
+ "@csszyx/compiler": "0.17.1",
136
+ "@csszyx/core": "0.17.1",
137
+ "@csszyx/svelte-adapter": "0.17.1",
138
+ "@csszyx/types": "0.17.1",
139
+ "@csszyx/vue-adapter": "0.17.1",
140
140
  "postcss": "^8.5.26",
141
141
  "postcss-selector-parser": "^7.1.5",
142
142
  "postcss-value-parser": "^4.2.0",
@@ -144,7 +144,7 @@
144
144
  "unplugin": "^3.3.0"
145
145
  },
146
146
  "peerDependencies": {
147
- "@csszyx/runtime": "^0.17.0",
147
+ "@csszyx/runtime": "^0.17.1",
148
148
  "vite": ">=5.0.0"
149
149
  },
150
150
  "peerDependenciesMeta": {
@@ -153,18 +153,19 @@
153
153
  }
154
154
  },
155
155
  "devDependencies": {
156
- "@csszyx/runtime": "0.17.0",
157
- "@csszyx/tooling-metadata": "0.17.0",
156
+ "@csszyx/runtime": "0.17.1",
157
+ "@csszyx/tailwind-oracle": "0.17.0",
158
+ "@csszyx/tooling-metadata": "0.17.1",
158
159
  "@tailwindcss/node": "4.3.3",
159
160
  "@types/node": "^22.20.1",
160
161
  "@types/proper-lockfile": "^4.1.4",
161
162
  "esbuild": "0.28.2",
162
- "rollup": "^4.63.0",
163
+ "rollup": "^4.63.1",
163
164
  "typescript": "^6.0.3",
164
165
  "unbuild": "^3.6.1",
165
166
  "vite": "^8.2.2",
166
167
  "vitest": "^4.1.11",
167
- "webpack": "^5.109.0"
168
+ "webpack": "^5.110.3"
168
169
  },
169
170
  "sideEffects": false,
170
171
  "engines": {