@powerlines/plugin-vite 0.14.47 → 0.14.49

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 (59) hide show
  1. package/README.md +8 -2
  2. package/dist/helpers/index.cjs +1 -1
  3. package/dist/helpers/index.d.cts +4 -23
  4. package/dist/helpers/index.d.mts +4 -0
  5. package/dist/helpers/index.mjs +1 -0
  6. package/dist/helpers/unplugin.cjs +1 -7
  7. package/dist/helpers/unplugin.d.cts +3 -26
  8. package/dist/helpers/unplugin.d.mts +3 -0
  9. package/dist/helpers/unplugin.mjs +1 -0
  10. package/dist/helpers-CRPRhztf.mjs +1 -0
  11. package/dist/index-9iG2qHLe.d.mts +1 -0
  12. package/dist/index-D4ELpJXS.d.cts +1 -0
  13. package/dist/index-D6CnpA_r.d.cts +1 -0
  14. package/dist/index-DL0uimUT.d.mts +1 -0
  15. package/dist/index.cjs +14 -7
  16. package/dist/index.d.cts +9 -26
  17. package/dist/index.d.cts.map +1 -0
  18. package/dist/index.d.mts +14 -0
  19. package/dist/index.d.mts.map +1 -0
  20. package/dist/index.mjs +15 -0
  21. package/dist/index.mjs.map +1 -0
  22. package/dist/plugin-BjiGfRHE.mjs +1 -0
  23. package/dist/plugin-Hxj-Dt1_.d.cts +1659 -0
  24. package/dist/plugin-Hxj-Dt1_.d.cts.map +1 -0
  25. package/dist/plugin-ZU4wrS6F.d.mts +1662 -0
  26. package/dist/plugin-ZU4wrS6F.d.mts.map +1 -0
  27. package/dist/plugin-pBKbb5K9.cjs +0 -0
  28. package/dist/types/index.cjs +1 -1
  29. package/dist/types/index.d.cts +3 -22
  30. package/dist/types/index.d.mts +3 -0
  31. package/dist/types/index.mjs +1 -0
  32. package/dist/types/plugin.cjs +1 -1
  33. package/dist/types/plugin.d.cts +2 -22
  34. package/dist/types/plugin.d.mts +2 -0
  35. package/dist/types/plugin.mjs +1 -0
  36. package/dist/types-n6NgD0QK.mjs +1 -0
  37. package/dist/types-o3zWarRp.cjs +0 -0
  38. package/dist/unplugin-BceZb6Fd.d.mts +8 -0
  39. package/dist/unplugin-BceZb6Fd.d.mts.map +1 -0
  40. package/dist/unplugin-C-Y5b-bG.d.cts +8 -0
  41. package/dist/unplugin-C-Y5b-bG.d.cts.map +1 -0
  42. package/dist/unplugin-CBw3hzOn.cjs +44 -0
  43. package/dist/unplugin-DD1hF9r3.mjs +7 -0
  44. package/dist/unplugin-DD1hF9r3.mjs.map +1 -0
  45. package/package.json +53 -35
  46. package/dist/chunk-FBBMZ4NC.cjs +0 -7
  47. package/dist/chunk-UCUR73HG.js +0 -7
  48. package/dist/helpers/index.d.ts +0 -23
  49. package/dist/helpers/index.js +0 -1
  50. package/dist/helpers/unplugin.d.ts +0 -26
  51. package/dist/helpers/unplugin.js +0 -7
  52. package/dist/index-DN-Ha6HR.d.cts +0 -1570
  53. package/dist/index-DN-Ha6HR.d.ts +0 -1570
  54. package/dist/index.d.ts +0 -31
  55. package/dist/index.js +0 -7
  56. package/dist/types/index.d.ts +0 -22
  57. package/dist/types/index.js +0 -1
  58. package/dist/types/plugin.d.ts +0 -22
  59. /package/dist/{types/plugin.js → helpers-LF26RHol.cjs} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-vite",
3
- "version": "0.14.47",
3
+ "version": "0.14.49",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
6
6
  "repository": {
@@ -39,91 +39,109 @@
39
39
  "license": "Apache-2.0",
40
40
  "private": false,
41
41
  "main": "dist/index.cjs",
42
- "module": "dist/index.js",
42
+ "module": "dist/index.mjs",
43
43
  "exports": {
44
44
  "./package.json": "./package.json",
45
45
  ".": {
46
- "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
46
+ "import": {
47
+ "types": "./dist/index.d.mts",
48
+ "default": "./dist/index.mjs"
49
+ },
47
50
  "require": {
48
51
  "types": "./dist/index.d.cts",
49
52
  "default": "./dist/index.cjs"
50
53
  },
51
- "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
54
+ "default": {
55
+ "types": "./dist/index.d.mts",
56
+ "default": "./dist/index.mjs"
57
+ }
52
58
  },
53
59
  "./index": {
54
- "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
60
+ "import": {
61
+ "types": "./dist/index.d.mts",
62
+ "default": "./dist/index.mjs"
63
+ },
55
64
  "require": {
56
65
  "types": "./dist/index.d.cts",
57
66
  "default": "./dist/index.cjs"
58
67
  },
59
- "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
68
+ "default": {
69
+ "types": "./dist/index.d.mts",
70
+ "default": "./dist/index.mjs"
71
+ }
60
72
  },
61
73
  "./plugin": {
62
- "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
74
+ "import": {
75
+ "types": "./dist/index.d.mts",
76
+ "default": "./dist/index.mjs"
77
+ },
63
78
  "require": {
64
79
  "types": "./dist/index.d.cts",
65
80
  "default": "./dist/index.cjs"
66
81
  },
67
- "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
82
+ "default": {
83
+ "types": "./dist/index.d.mts",
84
+ "default": "./dist/index.mjs"
85
+ }
68
86
  },
69
87
  "./types": {
70
88
  "import": {
71
- "types": "./dist/types/index.d.ts",
72
- "default": "./dist/types/index.js"
89
+ "types": "./dist/types/index.d.mts",
90
+ "default": "./dist/types/index.mjs"
73
91
  },
74
92
  "require": {
75
93
  "types": "./dist/types/index.d.cts",
76
94
  "default": "./dist/types/index.cjs"
77
95
  },
78
96
  "default": {
79
- "types": "./dist/types/index.d.ts",
80
- "default": "./dist/types/index.js"
97
+ "types": "./dist/types/index.d.mts",
98
+ "default": "./dist/types/index.mjs"
81
99
  }
82
100
  },
83
101
  "./types/*": {
84
102
  "import": {
85
- "types": "./dist/types/*.d.ts",
86
- "default": "./dist/types/*.js"
103
+ "types": "./dist/types/*.d.mts",
104
+ "default": "./dist/types/*.mjs"
87
105
  },
88
106
  "require": {
89
107
  "types": "./dist/types/*.d.cts",
90
108
  "default": "./dist/types/*.cjs"
91
109
  },
92
110
  "default": {
93
- "types": "./dist/types/*.d.ts",
94
- "default": "./dist/types/*.js"
111
+ "types": "./dist/types/*.d.mts",
112
+ "default": "./dist/types/*.mjs"
95
113
  }
96
114
  },
97
115
  "./helpers": {
98
116
  "import": {
99
- "types": "./dist/helpers/index.d.ts",
100
- "default": "./dist/helpers/index.js"
117
+ "types": "./dist/helpers/index.d.mts",
118
+ "default": "./dist/helpers/index.mjs"
101
119
  },
102
120
  "require": {
103
121
  "types": "./dist/helpers/index.d.cts",
104
122
  "default": "./dist/helpers/index.cjs"
105
123
  },
106
124
  "default": {
107
- "types": "./dist/helpers/index.d.ts",
108
- "default": "./dist/helpers/index.js"
125
+ "types": "./dist/helpers/index.d.mts",
126
+ "default": "./dist/helpers/index.mjs"
109
127
  }
110
128
  },
111
129
  "./helpers/*": {
112
130
  "import": {
113
- "types": "./dist/helpers/*.d.ts",
114
- "default": "./dist/helpers/*.js"
131
+ "types": "./dist/helpers/*.d.mts",
132
+ "default": "./dist/helpers/*.mjs"
115
133
  },
116
134
  "require": {
117
135
  "types": "./dist/helpers/*.d.cts",
118
136
  "default": "./dist/helpers/*.cjs"
119
137
  },
120
138
  "default": {
121
- "types": "./dist/helpers/*.d.ts",
122
- "default": "./dist/helpers/*.js"
139
+ "types": "./dist/helpers/*.d.mts",
140
+ "default": "./dist/helpers/*.mjs"
123
141
  }
124
142
  }
125
143
  },
126
- "typings": "dist/index.d.ts",
144
+ "typings": "dist/index.d.mts",
127
145
  "files": ["dist/**/*"],
128
146
  "keywords": ["vite", "powerlines", "storm-software", "powerlines-plugin"],
129
147
  "peerDependencies": { "vite": "^7.1.0", "rolldown-vite": "^7.1.0" },
@@ -132,21 +150,21 @@
132
150
  "rolldown-vite": { "optional": true }
133
151
  },
134
152
  "dependencies": {
135
- "@stryke/fs": "^0.33.8",
136
- "@stryke/path": "^0.21.6",
137
- "@stryke/type-checks": "^0.4.3",
138
- "@stryke/types": "^0.10.12",
153
+ "@stryke/fs": "^0.33.9",
154
+ "@stryke/path": "^0.22.0",
155
+ "@stryke/type-checks": "^0.4.4",
156
+ "@stryke/types": "^0.10.13",
139
157
  "defu": "^6.1.4",
140
158
  "jiti": "^2.6.1",
141
- "powerlines": "^0.28.0"
159
+ "powerlines": "^0.30.0"
142
160
  },
143
161
  "devDependencies": {
144
- "vite": "^7.2.4",
145
- "rolldown-vite": "^7.2.8",
146
- "@powerlines/nx": "^0.10.47",
147
- "@powerlines/plugin-plugin": "^0.11.55",
162
+ "vite": "^7.2.6",
163
+ "rolldown-vite": "^7.2.10",
164
+ "@powerlines/nx": "^0.10.49",
165
+ "@powerlines/plugin-plugin": "^0.12.1",
148
166
  "@types/node": "^24.10.1"
149
167
  },
150
168
  "publishConfig": { "access": "public" },
151
- "gitHead": "3feaa815e117c46d827eee84c3521e54670abb9b"
169
+ "gitHead": "f0a4e1526773f5d4bfb63fd5ba1d02d5aa9bc771"
152
170
  }
@@ -1,7 +0,0 @@
1
- 'use strict';/*****************************************
2
- *
3
- * ⚡ Built by Storm Software
4
- *
5
- *****************************************/
6
-
7
- var c=Object.defineProperty;var d=(a,b)=>c(a,"name",{value:b,configurable:true});exports.a=d;
@@ -1,7 +0,0 @@
1
- /*****************************************
2
- *
3
- * ⚡ Built by Storm Software
4
- *
5
- *****************************************/
6
-
7
- var c=Object.defineProperty;var d=(a,b)=>c(a,"name",{value:b,configurable:true});export{d as a};
@@ -1,23 +0,0 @@
1
- export { createVitePlugin } from './unplugin.js';
2
- import 'vite';
3
- import '../index-DN-Ha6HR.js';
4
- import '@stryke/env/get-env-paths';
5
- import '@stryke/http/fetch';
6
- import '@stryke/types/base';
7
- import '@stryke/types/package-json';
8
- import 'jiti';
9
- import 'magic-string';
10
- import 'oxc-parser';
11
- import 'semver';
12
- import 'ts-morph';
13
- import 'undici';
14
- import 'unplugin';
15
- import '@storm-software/build-tools/types';
16
- import '@storm-software/config-tools/types';
17
- import '@storm-software/config/types';
18
- import '@stryke/types/configuration';
19
- import '@stryke/types/file';
20
- import '@stryke/fs/resolve';
21
- import '@stryke/types/array';
22
- import '@stryke/types/tsconfig';
23
- import 'typescript';
@@ -1 +0,0 @@
1
- export*from'./unplugin';
@@ -1,26 +0,0 @@
1
- import * as vite from 'vite';
2
- import { V as VitePluginContext } from '../index-DN-Ha6HR.js';
3
- import '@stryke/env/get-env-paths';
4
- import '@stryke/http/fetch';
5
- import '@stryke/types/base';
6
- import '@stryke/types/package-json';
7
- import 'jiti';
8
- import 'magic-string';
9
- import 'oxc-parser';
10
- import 'semver';
11
- import 'ts-morph';
12
- import 'undici';
13
- import 'unplugin';
14
- import '@storm-software/build-tools/types';
15
- import '@storm-software/config-tools/types';
16
- import '@storm-software/config/types';
17
- import '@stryke/types/configuration';
18
- import '@stryke/types/file';
19
- import '@stryke/fs/resolve';
20
- import '@stryke/types/array';
21
- import '@stryke/types/tsconfig';
22
- import 'typescript';
23
-
24
- declare function createVitePlugin(context: VitePluginContext): vite.Plugin<any> | vite.Plugin<any>[];
25
-
26
- export { createVitePlugin };
@@ -1,7 +0,0 @@
1
- import {a}from'../chunk-UCUR73HG.js';import {createUnplugin}from'powerlines/lib/unplugin';import {createVitePlugin}from'unplugin';/*****************************************
2
- *
3
- * ⚡ Built by Storm Software
4
- *
5
- *****************************************/
6
-
7
- function p(e){return createVitePlugin(createUnplugin(e))({})}a(p,"createVitePlugin");export{p as createVitePlugin};