@powerlines/plugin-webpack 0.5.241 → 0.5.243
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/helpers/unplugin.cjs +2 -3
- package/dist/helpers/unplugin.mjs +1 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +3 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +3 -3
- package/dist/types/plugin.d.cts +3 -3
- package/dist/types/plugin.d.mts +3 -3
- package/package.json +96 -15
- package/dist/powerlines/package.cjs +0 -11
- package/dist/powerlines/package.mjs +0 -5
- package/dist/powerlines/schemas/fs.cjs +0 -226
- package/dist/powerlines/schemas/fs.mjs +0 -224
- package/dist/powerlines/src/api.cjs +0 -568
- package/dist/powerlines/src/api.mjs +0 -566
- package/dist/powerlines/src/internal/helpers/environment.cjs +0 -50
- package/dist/powerlines/src/internal/helpers/environment.mjs +0 -47
- package/dist/powerlines/src/internal/helpers/generate-types.cjs +0 -78
- package/dist/powerlines/src/internal/helpers/generate-types.mjs +0 -76
- package/dist/powerlines/src/internal/helpers/hooks.cjs +0 -65
- package/dist/powerlines/src/internal/helpers/hooks.d.cts +0 -47
- package/dist/powerlines/src/internal/helpers/hooks.d.mts +0 -49
- package/dist/powerlines/src/internal/helpers/hooks.mjs +0 -63
- package/dist/powerlines/src/internal/helpers/install-dependencies.cjs +0 -24
- package/dist/powerlines/src/internal/helpers/install-dependencies.mjs +0 -23
- package/dist/powerlines/src/internal/helpers/install.cjs +0 -36
- package/dist/powerlines/src/internal/helpers/install.mjs +0 -35
- package/dist/powerlines/src/internal/helpers/resolve-tsconfig.cjs +0 -97
- package/dist/powerlines/src/internal/helpers/resolve-tsconfig.mjs +0 -93
- package/dist/powerlines/src/internal/helpers/resolver.cjs +0 -43
- package/dist/powerlines/src/internal/helpers/resolver.mjs +0 -41
- package/dist/powerlines/src/lib/build/webpack.cjs +0 -38
- package/dist/powerlines/src/lib/build/webpack.mjs +0 -36
- package/dist/powerlines/src/lib/config-file.cjs +0 -79
- package/dist/powerlines/src/lib/config-file.mjs +0 -76
- package/dist/powerlines/src/lib/constants/environments.cjs +0 -8
- package/dist/powerlines/src/lib/constants/environments.mjs +0 -6
- package/dist/powerlines/src/lib/contexts/api-context.cjs +0 -184
- package/dist/powerlines/src/lib/contexts/api-context.mjs +0 -182
- package/dist/powerlines/src/lib/contexts/context.cjs +0 -951
- package/dist/powerlines/src/lib/contexts/context.mjs +0 -949
- package/dist/powerlines/src/lib/contexts/environment-context.cjs +0 -195
- package/dist/powerlines/src/lib/contexts/environment-context.mjs +0 -194
- package/dist/powerlines/src/lib/contexts/plugin-context.cjs +0 -78
- package/dist/powerlines/src/lib/contexts/plugin-context.mjs +0 -77
- package/dist/powerlines/src/lib/entry.cjs +0 -85
- package/dist/powerlines/src/lib/entry.mjs +0 -83
- package/dist/powerlines/src/lib/fs/helpers.cjs +0 -85
- package/dist/powerlines/src/lib/fs/helpers.mjs +0 -81
- package/dist/powerlines/src/lib/fs/storage/base.cjs +0 -196
- package/dist/powerlines/src/lib/fs/storage/base.mjs +0 -195
- package/dist/powerlines/src/lib/fs/storage/file-system.cjs +0 -170
- package/dist/powerlines/src/lib/fs/storage/file-system.mjs +0 -169
- package/dist/powerlines/src/lib/fs/storage/virtual.cjs +0 -88
- package/dist/powerlines/src/lib/fs/storage/virtual.mjs +0 -87
- package/dist/powerlines/src/lib/fs/vfs.cjs +0 -912
- package/dist/powerlines/src/lib/fs/vfs.mjs +0 -910
- package/dist/powerlines/src/lib/logger.cjs +0 -58
- package/dist/powerlines/src/lib/logger.mjs +0 -55
- package/dist/powerlines/src/lib/typescript/ts-morph.cjs +0 -103
- package/dist/powerlines/src/lib/typescript/ts-morph.mjs +0 -101
- package/dist/powerlines/src/lib/typescript/tsconfig.cjs +0 -149
- package/dist/powerlines/src/lib/typescript/tsconfig.mjs +0 -144
- package/dist/powerlines/src/lib/unplugin/factory.cjs +0 -6
- package/dist/powerlines/src/lib/unplugin/factory.mjs +0 -8
- package/dist/powerlines/src/lib/unplugin/helpers.cjs +0 -29
- package/dist/powerlines/src/lib/unplugin/helpers.mjs +0 -27
- package/dist/powerlines/src/lib/unplugin/index.cjs +0 -4
- package/dist/powerlines/src/lib/unplugin/index.mjs +0 -6
- package/dist/powerlines/src/lib/unplugin/module-resolution.cjs +0 -66
- package/dist/powerlines/src/lib/unplugin/module-resolution.mjs +0 -65
- package/dist/powerlines/src/lib/unplugin/plugin.cjs +0 -71
- package/dist/powerlines/src/lib/unplugin/plugin.mjs +0 -70
- package/dist/powerlines/src/lib/utilities/file-header.cjs +0 -22
- package/dist/powerlines/src/lib/utilities/file-header.mjs +0 -21
- package/dist/powerlines/src/lib/utilities/format.cjs +0 -48
- package/dist/powerlines/src/lib/utilities/format.mjs +0 -46
- package/dist/powerlines/src/lib/utilities/meta.cjs +0 -44
- package/dist/powerlines/src/lib/utilities/meta.mjs +0 -40
- package/dist/powerlines/src/lib/utilities/source-file.cjs +0 -22
- package/dist/powerlines/src/lib/utilities/source-file.mjs +0 -21
- package/dist/powerlines/src/plugin-utils/helpers.cjs +0 -167
- package/dist/powerlines/src/plugin-utils/helpers.mjs +0 -156
- package/dist/powerlines/src/plugin-utils/paths.cjs +0 -36
- package/dist/powerlines/src/plugin-utils/paths.mjs +0 -35
- package/dist/powerlines/src/types/api.d.cts +0 -104
- package/dist/powerlines/src/types/api.d.mts +0 -104
- package/dist/powerlines/src/types/babel.d.mts +0 -2
- package/dist/powerlines/src/types/build.cjs +0 -23
- package/dist/powerlines/src/types/build.d.cts +0 -185
- package/dist/powerlines/src/types/build.d.mts +0 -185
- package/dist/powerlines/src/types/build.mjs +0 -21
- package/dist/powerlines/src/types/commands.cjs +0 -16
- package/dist/powerlines/src/types/commands.d.cts +0 -8
- package/dist/powerlines/src/types/commands.d.mts +0 -9
- package/dist/powerlines/src/types/commands.mjs +0 -15
- package/dist/powerlines/src/types/config.d.cts +0 -424
- package/dist/powerlines/src/types/config.d.mts +0 -425
- package/dist/powerlines/src/types/context.d.cts +0 -514
- package/dist/powerlines/src/types/context.d.mts +0 -514
- package/dist/powerlines/src/types/fs.d.cts +0 -486
- package/dist/powerlines/src/types/fs.d.mts +0 -486
- package/dist/powerlines/src/types/hooks.d.cts +0 -32
- package/dist/powerlines/src/types/hooks.d.mts +0 -32
- package/dist/powerlines/src/types/plugin.cjs +0 -33
- package/dist/powerlines/src/types/plugin.d.cts +0 -205
- package/dist/powerlines/src/types/plugin.d.mts +0 -205
- package/dist/powerlines/src/types/plugin.mjs +0 -32
- package/dist/powerlines/src/types/resolved.d.cts +0 -93
- package/dist/powerlines/src/types/resolved.d.mts +0 -93
- package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
- package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
- package/dist/powerlines/src/types/unplugin.d.cts +0 -22
- package/dist/powerlines/src/types/unplugin.d.mts +0 -23
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
import * as $ from "@stryke/capnp";
|
|
2
|
-
|
|
3
|
-
//#region ../powerlines/schemas/fs.ts
|
|
4
|
-
var FileMetadata_KeyValuePair = class extends $.Struct {
|
|
5
|
-
static _capnp = {
|
|
6
|
-
displayName: "KeyValuePair",
|
|
7
|
-
id: "eabb26cf58b2a14c",
|
|
8
|
-
size: new $.ObjectSize(0, 2)
|
|
9
|
-
};
|
|
10
|
-
get key() {
|
|
11
|
-
return $.utils.getText(0, this);
|
|
12
|
-
}
|
|
13
|
-
set key(value) {
|
|
14
|
-
$.utils.setText(0, value, this);
|
|
15
|
-
}
|
|
16
|
-
get value() {
|
|
17
|
-
return $.utils.getText(1, this);
|
|
18
|
-
}
|
|
19
|
-
set value(value) {
|
|
20
|
-
$.utils.setText(1, value, this);
|
|
21
|
-
}
|
|
22
|
-
toString() {
|
|
23
|
-
return "FileMetadata_KeyValuePair_" + super.toString();
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* The identifier for the file data.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
var FileMetadata = class FileMetadata extends $.Struct {
|
|
31
|
-
static KeyValuePair = FileMetadata_KeyValuePair;
|
|
32
|
-
static _capnp = {
|
|
33
|
-
displayName: "FileMetadata",
|
|
34
|
-
id: "8e2cab5d7e28c7b3",
|
|
35
|
-
size: new $.ObjectSize(8, 3),
|
|
36
|
-
defaultType: "normal"
|
|
37
|
-
};
|
|
38
|
-
static _Properties;
|
|
39
|
-
/**
|
|
40
|
-
* The type of the file.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
get id() {
|
|
44
|
-
return $.utils.getText(0, this);
|
|
45
|
-
}
|
|
46
|
-
set id(value) {
|
|
47
|
-
$.utils.setText(0, value, this);
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* The timestamp representing the file's creation date.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
get type() {
|
|
54
|
-
return $.utils.getText(1, this, FileMetadata._capnp.defaultType);
|
|
55
|
-
}
|
|
56
|
-
set type(value) {
|
|
57
|
-
$.utils.setText(1, value, this);
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Additional metadata associated with the file.
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
get timestamp() {
|
|
64
|
-
return $.utils.getUint32(0, this);
|
|
65
|
-
}
|
|
66
|
-
set timestamp(value) {
|
|
67
|
-
$.utils.setUint32(0, value, this);
|
|
68
|
-
}
|
|
69
|
-
_adoptProperties(value) {
|
|
70
|
-
$.utils.adopt(value, $.utils.getPointer(2, this));
|
|
71
|
-
}
|
|
72
|
-
_disownProperties() {
|
|
73
|
-
return $.utils.disown(this.properties);
|
|
74
|
-
}
|
|
75
|
-
get properties() {
|
|
76
|
-
return $.utils.getList(2, FileMetadata._Properties, this);
|
|
77
|
-
}
|
|
78
|
-
_hasProperties() {
|
|
79
|
-
return !$.utils.isNull($.utils.getPointer(2, this));
|
|
80
|
-
}
|
|
81
|
-
_initProperties(length) {
|
|
82
|
-
return $.utils.initList(2, FileMetadata._Properties, length, this);
|
|
83
|
-
}
|
|
84
|
-
set properties(value) {
|
|
85
|
-
$.utils.copyFrom(value, $.utils.getPointer(2, this));
|
|
86
|
-
}
|
|
87
|
-
toString() {
|
|
88
|
-
return "FileMetadata_" + super.toString();
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* An identifier for the file.
|
|
93
|
-
*
|
|
94
|
-
*/
|
|
95
|
-
var FileId = class extends $.Struct {
|
|
96
|
-
static _capnp = {
|
|
97
|
-
displayName: "FileId",
|
|
98
|
-
id: "990d6a471072f997",
|
|
99
|
-
size: new $.ObjectSize(0, 2)
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* A virtual (or actual) path to the file in the file system.
|
|
103
|
-
*
|
|
104
|
-
*/
|
|
105
|
-
get id() {
|
|
106
|
-
return $.utils.getText(0, this);
|
|
107
|
-
}
|
|
108
|
-
set id(value) {
|
|
109
|
-
$.utils.setText(0, value, this);
|
|
110
|
-
}
|
|
111
|
-
get path() {
|
|
112
|
-
return $.utils.getText(1, this);
|
|
113
|
-
}
|
|
114
|
-
set path(value) {
|
|
115
|
-
$.utils.setText(1, value, this);
|
|
116
|
-
}
|
|
117
|
-
toString() {
|
|
118
|
-
return "FileId_" + super.toString();
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
/**
|
|
122
|
-
* An identifier for the file.
|
|
123
|
-
*
|
|
124
|
-
*/
|
|
125
|
-
var FileStorage = class extends $.Struct {
|
|
126
|
-
static _capnp = {
|
|
127
|
-
displayName: "FileStorage",
|
|
128
|
-
id: "9dca66ac858c9ebe",
|
|
129
|
-
size: new $.ObjectSize(0, 2)
|
|
130
|
-
};
|
|
131
|
-
/**
|
|
132
|
-
* A virtual (or actual) path to the file in the file system.
|
|
133
|
-
*
|
|
134
|
-
*/
|
|
135
|
-
get path() {
|
|
136
|
-
return $.utils.getText(0, this);
|
|
137
|
-
}
|
|
138
|
-
set path(value) {
|
|
139
|
-
$.utils.setText(0, value, this);
|
|
140
|
-
}
|
|
141
|
-
get code() {
|
|
142
|
-
return $.utils.getText(1, this);
|
|
143
|
-
}
|
|
144
|
-
set code(value) {
|
|
145
|
-
$.utils.setText(1, value, this);
|
|
146
|
-
}
|
|
147
|
-
toString() {
|
|
148
|
-
return "FileStorage_" + super.toString();
|
|
149
|
-
}
|
|
150
|
-
};
|
|
151
|
-
var FileSystem = class FileSystem extends $.Struct {
|
|
152
|
-
static _capnp = {
|
|
153
|
-
displayName: "FileSystem",
|
|
154
|
-
id: "ae0c23d43e56abcf",
|
|
155
|
-
size: new $.ObjectSize(0, 3)
|
|
156
|
-
};
|
|
157
|
-
static _Ids;
|
|
158
|
-
static _Storage;
|
|
159
|
-
static _Metadata;
|
|
160
|
-
_adoptIds(value) {
|
|
161
|
-
$.utils.adopt(value, $.utils.getPointer(0, this));
|
|
162
|
-
}
|
|
163
|
-
_disownIds() {
|
|
164
|
-
return $.utils.disown(this.ids);
|
|
165
|
-
}
|
|
166
|
-
get ids() {
|
|
167
|
-
return $.utils.getList(0, FileSystem._Ids, this);
|
|
168
|
-
}
|
|
169
|
-
_hasIds() {
|
|
170
|
-
return !$.utils.isNull($.utils.getPointer(0, this));
|
|
171
|
-
}
|
|
172
|
-
_initIds(length) {
|
|
173
|
-
return $.utils.initList(0, FileSystem._Ids, length, this);
|
|
174
|
-
}
|
|
175
|
-
set ids(value) {
|
|
176
|
-
$.utils.copyFrom(value, $.utils.getPointer(0, this));
|
|
177
|
-
}
|
|
178
|
-
_adoptStorage(value) {
|
|
179
|
-
$.utils.adopt(value, $.utils.getPointer(1, this));
|
|
180
|
-
}
|
|
181
|
-
_disownStorage() {
|
|
182
|
-
return $.utils.disown(this.storage);
|
|
183
|
-
}
|
|
184
|
-
get storage() {
|
|
185
|
-
return $.utils.getList(1, FileSystem._Storage, this);
|
|
186
|
-
}
|
|
187
|
-
_hasStorage() {
|
|
188
|
-
return !$.utils.isNull($.utils.getPointer(1, this));
|
|
189
|
-
}
|
|
190
|
-
_initStorage(length) {
|
|
191
|
-
return $.utils.initList(1, FileSystem._Storage, length, this);
|
|
192
|
-
}
|
|
193
|
-
set storage(value) {
|
|
194
|
-
$.utils.copyFrom(value, $.utils.getPointer(1, this));
|
|
195
|
-
}
|
|
196
|
-
_adoptMetadata(value) {
|
|
197
|
-
$.utils.adopt(value, $.utils.getPointer(2, this));
|
|
198
|
-
}
|
|
199
|
-
_disownMetadata() {
|
|
200
|
-
return $.utils.disown(this.metadata);
|
|
201
|
-
}
|
|
202
|
-
get metadata() {
|
|
203
|
-
return $.utils.getList(2, FileSystem._Metadata, this);
|
|
204
|
-
}
|
|
205
|
-
_hasMetadata() {
|
|
206
|
-
return !$.utils.isNull($.utils.getPointer(2, this));
|
|
207
|
-
}
|
|
208
|
-
_initMetadata(length) {
|
|
209
|
-
return $.utils.initList(2, FileSystem._Metadata, length, this);
|
|
210
|
-
}
|
|
211
|
-
set metadata(value) {
|
|
212
|
-
$.utils.copyFrom(value, $.utils.getPointer(2, this));
|
|
213
|
-
}
|
|
214
|
-
toString() {
|
|
215
|
-
return "FileSystem_" + super.toString();
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
FileMetadata._Properties = $.CompositeList(FileMetadata_KeyValuePair);
|
|
219
|
-
FileSystem._Ids = $.CompositeList(FileId);
|
|
220
|
-
FileSystem._Storage = $.CompositeList(FileStorage);
|
|
221
|
-
FileSystem._Metadata = $.CompositeList(FileMetadata);
|
|
222
|
-
|
|
223
|
-
//#endregion
|
|
224
|
-
export { FileSystem };
|