@csszyx/unplugin 0.8.0 → 0.9.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 (48) hide show
  1. package/README.md +16 -7
  2. package/dist/css-mangler.cjs +4 -4
  3. package/dist/css-mangler.mjs +4 -4
  4. package/dist/index.cjs +23 -1
  5. package/dist/index.d.cts +100 -5
  6. package/dist/index.d.mts +99 -3
  7. package/dist/index.mjs +7 -1
  8. package/dist/next-prebuild.cjs +148 -0
  9. package/dist/next-prebuild.d.cts +66 -0
  10. package/dist/next-prebuild.d.mts +66 -0
  11. package/dist/next-prebuild.mjs +131 -0
  12. package/dist/next-turbo-loader.cjs +210 -0
  13. package/dist/next-turbo-loader.d.cts +68 -0
  14. package/dist/next-turbo-loader.d.mts +66 -0
  15. package/dist/next-turbo-loader.mjs +190 -0
  16. package/dist/next-watcher.cjs +237 -0
  17. package/dist/next-watcher.d.cts +106 -0
  18. package/dist/next-watcher.d.mts +106 -0
  19. package/dist/next-watcher.mjs +219 -0
  20. package/dist/shared/unplugin.8er8o6rn.mjs +276 -0
  21. package/dist/shared/unplugin.B_U4rZvG.cjs +281 -0
  22. package/dist/shared/unplugin.BbtspS8t.mjs +3271 -0
  23. package/dist/shared/unplugin.BceVw1eW.mjs +184 -0
  24. package/dist/shared/unplugin.BtQzlC2C.mjs +567 -0
  25. package/dist/shared/unplugin.CFp386gH.cjs +3321 -0
  26. package/dist/shared/unplugin.CPEWNSA0.d.cts +77 -0
  27. package/dist/shared/unplugin.CPEWNSA0.d.mts +77 -0
  28. package/dist/shared/unplugin.CScQRdTp.d.cts +15 -0
  29. package/dist/shared/unplugin.CScQRdTp.d.mts +15 -0
  30. package/dist/shared/unplugin.CdZxp0x-.d.mts +16 -0
  31. package/dist/shared/unplugin.DLrBgECN.d.cts +282 -0
  32. package/dist/shared/unplugin.DLrBgECN.d.mts +282 -0
  33. package/dist/shared/unplugin.DUxdYaSG.cjs +205 -0
  34. package/dist/shared/unplugin.s62yJbu1.cjs +591 -0
  35. package/dist/shared/unplugin.xeED_qwh.d.cts +16 -0
  36. package/dist/vite.cjs +7 -1
  37. package/dist/vite.d.cts +2 -1
  38. package/dist/vite.d.mts +2 -1
  39. package/dist/vite.mjs +7 -1
  40. package/dist/webpack.cjs +7 -1
  41. package/dist/webpack.d.cts +2 -1
  42. package/dist/webpack.d.mts +2 -1
  43. package/dist/webpack.mjs +7 -1
  44. package/package.json +41 -8
  45. package/dist/shared/unplugin.BNsv2szs.cjs +0 -1753
  46. package/dist/shared/unplugin.DCv0RtVZ.mjs +0 -1722
  47. package/dist/shared/unplugin.DUbr5w-N.d.cts +0 -49
  48. package/dist/shared/unplugin.DUbr5w-N.d.mts +0 -49
@@ -1,4 +1,5 @@
1
- import { w as webpackPlugin } from './shared/unplugin.DUbr5w-N.cjs';
1
+ import { w as webpackPlugin } from './shared/unplugin.DLrBgECN.cjs';
2
+ import '@csszyx/compiler';
2
3
  import '@csszyx/types';
3
4
  import 'esbuild';
4
5
  import 'rollup';
@@ -1,4 +1,5 @@
1
- import { w as webpackPlugin } from './shared/unplugin.DUbr5w-N.mjs';
1
+ import { w as webpackPlugin } from './shared/unplugin.DLrBgECN.mjs';
2
+ import '@csszyx/compiler';
2
3
  import '@csszyx/types';
3
4
  import 'esbuild';
4
5
  import 'rollup';
package/dist/webpack.mjs CHANGED
@@ -1,15 +1,21 @@
1
- import { w as webpackPlugin } from './shared/unplugin.DCv0RtVZ.mjs';
1
+ import { D as webpackPlugin } from './shared/unplugin.BbtspS8t.mjs';
2
2
  import 'node:fs';
3
+ import 'node:module';
3
4
  import 'node:path';
5
+ import 'node:perf_hooks';
6
+ import 'node:url';
4
7
  import '@csszyx/compiler';
5
8
  import '@csszyx/core';
6
9
  import '@csszyx/svelte-adapter';
10
+ import '@csszyx/types';
7
11
  import '@csszyx/vue-adapter';
8
12
  import 'unplugin';
9
13
  import './css-mangler.mjs';
10
14
  import 'postcss';
11
15
  import 'postcss-selector-parser';
12
16
  import 'node:crypto';
17
+ import './shared/unplugin.BceVw1eW.mjs';
18
+ import 'postcss-value-parser';
13
19
 
14
20
 
15
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@csszyx/unplugin",
3
- "version": "0.8.0",
3
+ "version": "0.9.1",
4
4
  "description": "Vite and Webpack integration for csszyx",
5
5
  "keywords": [
6
6
  "csszyx",
@@ -63,6 +63,36 @@
63
63
  "types": "./dist/css-mangler.d.cts",
64
64
  "default": "./dist/css-mangler.cjs"
65
65
  }
66
+ },
67
+ "./next-turbo-loader": {
68
+ "import": {
69
+ "types": "./dist/next-turbo-loader.d.mts",
70
+ "default": "./dist/next-turbo-loader.mjs"
71
+ },
72
+ "require": {
73
+ "types": "./dist/next-turbo-loader.d.cts",
74
+ "default": "./dist/next-turbo-loader.cjs"
75
+ }
76
+ },
77
+ "./next-prebuild": {
78
+ "import": {
79
+ "types": "./dist/next-prebuild.d.mts",
80
+ "default": "./dist/next-prebuild.mjs"
81
+ },
82
+ "require": {
83
+ "types": "./dist/next-prebuild.d.cts",
84
+ "default": "./dist/next-prebuild.cjs"
85
+ }
86
+ },
87
+ "./next-watcher": {
88
+ "import": {
89
+ "types": "./dist/next-watcher.d.mts",
90
+ "default": "./dist/next-watcher.mjs"
91
+ },
92
+ "require": {
93
+ "types": "./dist/next-watcher.d.cts",
94
+ "default": "./dist/next-watcher.cjs"
95
+ }
66
96
  }
67
97
  },
68
98
  "main": "dist/index.cjs",
@@ -74,22 +104,25 @@
74
104
  "dependencies": {
75
105
  "postcss": "^8.4.35",
76
106
  "postcss-selector-parser": "^6.0.15",
107
+ "postcss-value-parser": "^4.2.0",
108
+ "proper-lockfile": "^4.1.2",
77
109
  "unplugin": "^1.10.1",
78
- "@csszyx/compiler": "0.8.0",
79
- "@csszyx/core": "0.8.0",
80
- "@csszyx/svelte-adapter": "0.8.0",
81
- "@csszyx/vue-adapter": "0.8.0",
82
- "@csszyx/types": "0.8.0"
110
+ "@csszyx/compiler": "0.9.1",
111
+ "@csszyx/core": "0.9.1",
112
+ "@csszyx/types": "0.9.1",
113
+ "@csszyx/svelte-adapter": "0.9.1",
114
+ "@csszyx/vue-adapter": "0.9.1"
83
115
  },
84
116
  "devDependencies": {
85
117
  "@types/node": "^20.11.0",
118
+ "@types/proper-lockfile": "^4.1.4",
86
119
  "esbuild": "^0.27.2",
87
120
  "rollup": "^4.56.0",
88
121
  "typescript": "^6.0.3",
122
+ "unbuild": "^3.6.1",
89
123
  "vite": "^8.0.13",
90
124
  "vitest": "^4.1.6",
91
- "webpack": "^5.104.1",
92
- "unbuild": "^3.6.1"
125
+ "webpack": "^5.104.1"
93
126
  },
94
127
  "sideEffects": false,
95
128
  "engines": {