@roots/bud-build 6.3.5 → 6.4.0
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/LICENSE.md +1 -1
- package/lib/config/bail.d.ts +3 -0
- package/lib/config/bail.d.ts.map +1 -0
- package/lib/config/bail.js +2 -0
- package/lib/config/bail.js.map +1 -0
- package/lib/config/builder.d.ts +27 -13
- package/lib/config/builder.d.ts.map +1 -1
- package/lib/config/builder.js +26 -100
- package/lib/config/builder.js.map +1 -1
- package/lib/config/cache.d.ts +3 -0
- package/lib/config/cache.d.ts.map +1 -0
- package/lib/config/cache.js +2 -0
- package/lib/config/cache.js.map +1 -0
- package/lib/config/context.d.ts +3 -0
- package/lib/config/context.d.ts.map +1 -0
- package/lib/config/context.js +2 -0
- package/lib/config/context.js.map +1 -0
- package/lib/config/experiments.d.ts +3 -0
- package/lib/config/experiments.d.ts.map +1 -0
- package/lib/config/experiments.js +14 -0
- package/lib/config/experiments.js.map +1 -0
- package/lib/config/infrastructureLogging.d.ts +3 -0
- package/lib/config/infrastructureLogging.d.ts.map +1 -0
- package/lib/config/infrastructureLogging.js +5 -0
- package/lib/config/infrastructureLogging.js.map +1 -0
- package/lib/config/module.d.ts +7 -0
- package/lib/config/module.d.ts.map +1 -0
- package/lib/config/module.js +19 -0
- package/lib/config/module.js.map +1 -0
- package/lib/config/optimization.d.ts +3 -0
- package/lib/config/optimization.d.ts.map +1 -0
- package/lib/config/optimization.js +9 -0
- package/lib/config/optimization.js.map +1 -0
- package/lib/config/output.d.ts +4 -0
- package/lib/config/output.d.ts.map +1 -0
- package/lib/config/output.js +12 -0
- package/lib/config/output.js.map +1 -0
- package/lib/config/resolve.d.ts +4 -0
- package/lib/config/resolve.d.ts.map +1 -0
- package/lib/config/resolve.js +11 -0
- package/lib/config/resolve.js.map +1 -0
- package/lib/handlers/items.d.ts +11 -11
- package/lib/handlers/items.d.ts.map +1 -1
- package/lib/handlers/items.js +28 -24
- package/lib/handlers/items.js.map +1 -1
- package/lib/handlers/loaders.d.ts +10 -10
- package/lib/handlers/loaders.d.ts.map +1 -1
- package/lib/handlers/loaders.js +17 -17
- package/lib/handlers/loaders.js.map +1 -1
- package/lib/handlers/rules/csv.d.ts +9 -0
- package/lib/handlers/rules/csv.d.ts.map +1 -0
- package/lib/handlers/rules/csv.js +11 -0
- package/lib/handlers/rules/csv.js.map +1 -0
- package/lib/handlers/rules/rules.d.ts +63 -0
- package/lib/handlers/rules/rules.d.ts.map +1 -0
- package/lib/handlers/rules/rules.js +124 -0
- package/lib/handlers/rules/rules.js.map +1 -0
- package/lib/handlers/rules/toml.d.ts +9 -0
- package/lib/handlers/rules/toml.d.ts.map +1 -0
- package/lib/handlers/rules/toml.js +13 -0
- package/lib/handlers/rules/toml.js.map +1 -0
- package/lib/handlers/rules/xml.d.ts +9 -0
- package/lib/handlers/rules/xml.d.ts.map +1 -0
- package/lib/handlers/rules/xml.js +11 -0
- package/lib/handlers/rules/xml.js.map +1 -0
- package/lib/index.d.ts +1 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -4
- package/lib/index.js.map +1 -1
- package/lib/{item.d.ts → item/item.d.ts} +20 -8
- package/lib/item/item.d.ts.map +1 -0
- package/lib/{item.js → item/item.js} +45 -15
- package/lib/item/item.js.map +1 -0
- package/lib/{loader.d.ts → loader/loader.d.ts} +7 -6
- package/lib/loader/loader.d.ts.map +1 -0
- package/lib/{loader.js → loader/loader.js} +4 -3
- package/lib/loader/loader.js.map +1 -0
- package/lib/{rule.d.ts → rule/rule.d.ts} +30 -26
- package/lib/rule/rule.d.ts.map +1 -0
- package/lib/{rule.js → rule/rule.js} +12 -15
- package/lib/rule/rule.js.map +1 -0
- package/lib/service.d.ts +22 -15
- package/lib/service.d.ts.map +1 -1
- package/lib/service.js +102 -81
- package/lib/service.js.map +1 -1
- package/lib/shared/base.d.ts +5 -4
- package/lib/shared/base.d.ts.map +1 -1
- package/lib/shared/base.js +2 -2
- package/lib/shared/base.js.map +1 -1
- package/package.json +12 -13
- package/lib/config/filenameFormat.d.ts +0 -13
- package/lib/config/filenameFormat.d.ts.map +0 -1
- package/lib/config/filenameFormat.js +0 -21
- package/lib/config/filenameFormat.js.map +0 -1
- package/lib/config/index.d.ts +0 -3
- package/lib/config/index.d.ts.map +0 -1
- package/lib/config/index.js +0 -3
- package/lib/config/index.js.map +0 -1
- package/lib/handlers/rules.d.ts +0 -85
- package/lib/handlers/rules.d.ts.map +0 -1
- package/lib/handlers/rules.js +0 -181
- package/lib/handlers/rules.js.map +0 -1
- package/lib/item.d.ts.map +0 -1
- package/lib/item.js.map +0 -1
- package/lib/loader.d.ts.map +0 -1
- package/lib/loader.js.map +0 -1
- package/lib/rule.d.ts.map +0 -1
- package/lib/rule.js.map +0 -1
package/lib/service.js
CHANGED
|
@@ -1,26 +1,43 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import
|
|
3
|
-
import { bind } from '
|
|
4
|
-
import { isFunction, isUndefined } from 'lodash-es';
|
|
5
|
-
import * as config from './config/index.js';
|
|
2
|
+
import * as Service from '@roots/bud-framework/service';
|
|
3
|
+
import { bind } from '@roots/bud-support/decorators';
|
|
4
|
+
import { isFunction, isUndefined } from '@roots/bud-support/lodash-es';
|
|
6
5
|
import * as items from './handlers/items.js';
|
|
7
6
|
import * as loaders from './handlers/loaders.js';
|
|
8
|
-
import * as rules from './handlers/rules.js';
|
|
9
|
-
import Item from './item.js';
|
|
10
|
-
import Loader from './loader.js';
|
|
11
|
-
import Rule from './rule.js';
|
|
7
|
+
import * as rules from './handlers/rules/rules.js';
|
|
8
|
+
import Item from './item/item.js';
|
|
9
|
+
import Loader from './loader/loader.js';
|
|
10
|
+
import * as Rule from './rule/rule.js';
|
|
12
11
|
/**
|
|
13
12
|
* Webpack configuration builder class
|
|
14
13
|
*
|
|
15
14
|
* @public
|
|
16
15
|
*/
|
|
17
|
-
export default class Build extends Service {
|
|
16
|
+
export default class Build extends Service.Base {
|
|
18
17
|
constructor() {
|
|
19
18
|
super(...arguments);
|
|
20
19
|
/**
|
|
21
20
|
* @public
|
|
22
21
|
*/
|
|
23
22
|
this.config = {};
|
|
23
|
+
/**
|
|
24
|
+
* Registered loaders
|
|
25
|
+
*
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
this.loaders = {};
|
|
29
|
+
/**
|
|
30
|
+
* Registered rules
|
|
31
|
+
*
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
this.rules = {};
|
|
35
|
+
/**
|
|
36
|
+
* Registered items
|
|
37
|
+
*
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
this.items = {};
|
|
24
41
|
}
|
|
25
42
|
/**
|
|
26
43
|
* Make webpack configuration
|
|
@@ -29,45 +46,23 @@ export default class Build extends Service {
|
|
|
29
46
|
* @decorator `@bind`
|
|
30
47
|
*/
|
|
31
48
|
async make() {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
['experiments'],
|
|
43
|
-
['externals'],
|
|
44
|
-
['externalsType'],
|
|
45
|
-
['infrastructureLogging'],
|
|
46
|
-
['loader'],
|
|
47
|
-
['mode'],
|
|
48
|
-
['module'],
|
|
49
|
-
['name'],
|
|
50
|
-
['node'],
|
|
51
|
-
['output'],
|
|
52
|
-
['optimization'],
|
|
53
|
-
['parallelism'],
|
|
54
|
-
['performance'],
|
|
55
|
-
['profile'],
|
|
56
|
-
['recordsPath'],
|
|
57
|
-
['stats'],
|
|
58
|
-
['target'],
|
|
59
|
-
['watch'],
|
|
60
|
-
['watchOptions'],
|
|
61
|
-
].map(async ([propKey, isAsync]) => {
|
|
62
|
-
const propValue = isAsync === true
|
|
63
|
-
? await this.app.hooks.filterAsync(`build.${propKey}`)
|
|
64
|
-
: this.app.hooks.filter(`build.${propKey}`);
|
|
65
|
-
if (isUndefined(propValue))
|
|
49
|
+
this.app.log(`bud.build.make called`);
|
|
50
|
+
try {
|
|
51
|
+
await this.app.hooks.fire(`build.before`);
|
|
52
|
+
}
|
|
53
|
+
catch (error) {
|
|
54
|
+
this.logger.error(error);
|
|
55
|
+
}
|
|
56
|
+
await import(`./config/builder.js`).then(async (obj) => await Promise.all(Object.entries(obj).map(async ([prop, factory]) => {
|
|
57
|
+
const value = await factory(this.app);
|
|
58
|
+
if (isUndefined(value))
|
|
66
59
|
return;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
60
|
+
this.logger.success(`built`, prop);
|
|
61
|
+
this.logger.info(value);
|
|
62
|
+
this.config[prop] = value;
|
|
63
|
+
})));
|
|
64
|
+
this.logger.success(`configuration successfully built`);
|
|
65
|
+
await this.app.hooks.fire(`build.after`);
|
|
71
66
|
return this.config;
|
|
72
67
|
}
|
|
73
68
|
/**
|
|
@@ -81,31 +76,22 @@ export default class Build extends Service {
|
|
|
81
76
|
* @decorator `@bind`
|
|
82
77
|
*/
|
|
83
78
|
async register() {
|
|
84
|
-
|
|
85
|
-
const value =
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
const value = await itemFactory(this.app);
|
|
93
|
-
if (!this.items)
|
|
94
|
-
this.items = { [key]: value };
|
|
95
|
-
else
|
|
96
|
-
this.items[key] = value;
|
|
97
|
-
}));
|
|
79
|
+
Object.entries(loaders).map(([key, loaderFactory]) => {
|
|
80
|
+
const value = loaderFactory(this.app);
|
|
81
|
+
this.setLoader(key, value);
|
|
82
|
+
});
|
|
83
|
+
Object.entries(items).map(([key, itemFactory]) => {
|
|
84
|
+
const value = itemFactory(this.app);
|
|
85
|
+
this.setItem(key, value);
|
|
86
|
+
});
|
|
98
87
|
this.items.precss = this.app.isProduction
|
|
99
88
|
? this.items.minicss
|
|
100
89
|
: this.items.style;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
this.rules[key] = value;
|
|
107
|
-
}));
|
|
108
|
-
await config.builder.build(this.app);
|
|
90
|
+
Object.entries(rules)
|
|
91
|
+
.reverse()
|
|
92
|
+
.map(([key, ruleFactory]) => {
|
|
93
|
+
this.setRule(key, ruleFactory(this.app));
|
|
94
|
+
});
|
|
109
95
|
}
|
|
110
96
|
/**
|
|
111
97
|
* Set Rule
|
|
@@ -118,10 +104,15 @@ export default class Build extends Service {
|
|
|
118
104
|
* @decorator `@bind`
|
|
119
105
|
*/
|
|
120
106
|
setRule(name, options) {
|
|
121
|
-
|
|
107
|
+
if (options instanceof Rule.default) {
|
|
108
|
+
this.rules[name] = options;
|
|
109
|
+
this.logger.info(`set rule`, name, this.rules[name]);
|
|
110
|
+
return this;
|
|
111
|
+
}
|
|
112
|
+
this.rules[name] = isFunction(options)
|
|
122
113
|
? options(this.makeRule())
|
|
123
114
|
: this.makeRule(options);
|
|
124
|
-
|
|
115
|
+
this.logger.info(`set rule`, name, this.rules[name]);
|
|
125
116
|
return this;
|
|
126
117
|
}
|
|
127
118
|
/**
|
|
@@ -134,20 +125,31 @@ export default class Build extends Service {
|
|
|
134
125
|
* @decorator `@bind`
|
|
135
126
|
*/
|
|
136
127
|
makeRule(options) {
|
|
137
|
-
return new Rule(() => this.app, options);
|
|
128
|
+
return new Rule.default(() => this.app, options);
|
|
129
|
+
}
|
|
130
|
+
getLoader(name) {
|
|
131
|
+
if (!this.loaders[name])
|
|
132
|
+
this.logger.error(`loader ${name} was requested but is not registered`);
|
|
133
|
+
return this.loaders[name];
|
|
138
134
|
}
|
|
139
135
|
/**
|
|
140
136
|
* Set Loader
|
|
141
137
|
*
|
|
142
138
|
* @param name - Loader key
|
|
143
|
-
* @param
|
|
139
|
+
* @param definition - Loader constructor properties
|
|
144
140
|
* @returns the Loader
|
|
145
141
|
*
|
|
146
142
|
* @public
|
|
147
143
|
* @decorator `@bind`
|
|
148
144
|
*/
|
|
149
|
-
setLoader(name,
|
|
150
|
-
|
|
145
|
+
setLoader(name, definition) {
|
|
146
|
+
const loader = isUndefined(definition)
|
|
147
|
+
? this.makeLoader(name)
|
|
148
|
+
: definition instanceof Loader
|
|
149
|
+
? definition
|
|
150
|
+
: this.makeLoader(definition);
|
|
151
|
+
this.loaders[name] = loader;
|
|
152
|
+
this.logger.info(`set loader`, loader);
|
|
151
153
|
return this;
|
|
152
154
|
}
|
|
153
155
|
/**
|
|
@@ -159,8 +161,13 @@ export default class Build extends Service {
|
|
|
159
161
|
* @public
|
|
160
162
|
* @decorator `@bind`
|
|
161
163
|
*/
|
|
162
|
-
makeLoader(
|
|
163
|
-
return new Loader(() => this.app,
|
|
164
|
+
makeLoader(src) {
|
|
165
|
+
return new Loader(() => this.app, src);
|
|
166
|
+
}
|
|
167
|
+
getItem(name) {
|
|
168
|
+
if (!this.items[name])
|
|
169
|
+
this.logger.error(`loader ${name} was requested but is not registered`);
|
|
170
|
+
return this.items[name];
|
|
164
171
|
}
|
|
165
172
|
/**
|
|
166
173
|
* Set Item
|
|
@@ -173,10 +180,14 @@ export default class Build extends Service {
|
|
|
173
180
|
* @decorator `@bind`
|
|
174
181
|
*/
|
|
175
182
|
setItem(name, options) {
|
|
176
|
-
const
|
|
177
|
-
?
|
|
178
|
-
:
|
|
179
|
-
|
|
183
|
+
const maybeOptionsCallback = isUndefined(options)
|
|
184
|
+
? { ident: name, loader: name }
|
|
185
|
+
: options;
|
|
186
|
+
const item = isFunction(maybeOptionsCallback)
|
|
187
|
+
? maybeOptionsCallback(this.makeItem())
|
|
188
|
+
: this.makeItem(maybeOptionsCallback);
|
|
189
|
+
this.items[name] = item;
|
|
190
|
+
this.logger.info(`set item`, item);
|
|
180
191
|
return this;
|
|
181
192
|
}
|
|
182
193
|
/**
|
|
@@ -192,6 +203,10 @@ export default class Build extends Service {
|
|
|
192
203
|
return new Item(() => this.app, options);
|
|
193
204
|
}
|
|
194
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
Build.label = `build`;
|
|
195
210
|
__decorate([
|
|
196
211
|
bind
|
|
197
212
|
], Build.prototype, "make", null);
|
|
@@ -204,12 +219,18 @@ __decorate([
|
|
|
204
219
|
__decorate([
|
|
205
220
|
bind
|
|
206
221
|
], Build.prototype, "makeRule", null);
|
|
222
|
+
__decorate([
|
|
223
|
+
bind
|
|
224
|
+
], Build.prototype, "getLoader", null);
|
|
207
225
|
__decorate([
|
|
208
226
|
bind
|
|
209
227
|
], Build.prototype, "setLoader", null);
|
|
210
228
|
__decorate([
|
|
211
229
|
bind
|
|
212
230
|
], Build.prototype, "makeLoader", null);
|
|
231
|
+
__decorate([
|
|
232
|
+
bind
|
|
233
|
+
], Build.prototype, "getItem", null);
|
|
213
234
|
__decorate([
|
|
214
235
|
bind
|
|
215
236
|
], Build.prototype, "setItem", null);
|
package/lib/service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAA;AAOvD,OAAO,EAAC,IAAI,EAAC,MAAM,+BAA+B,CAAA;AAClD,OAAO,EAAC,UAAU,EAAE,WAAW,EAAC,MAAM,8BAA8B,CAAA;AAIpE,OAAO,KAAK,KAAK,MAAM,qBAAqB,CAAA;AAC5C,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAA;AAChD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAA;AAClD,OAAO,IAAI,MAAM,gBAAgB,CAAA;AACjC,OAAO,MAAM,MAAM,oBAAoB,CAAA;AACvC,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAEtC;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,OAAO,CAAC,IAAI;IAA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I;oCAiBJ;AAYD;IADC,IAAI;qCAGJ;AAGD;IADC,IAAI;sCAQJ;AAaD;IADC,IAAI;sCAeJ;AAYD;IADC,IAAI;uCAGJ;AAGD;IADC,IAAI;oCAQJ;AAaD;IADC,IAAI;oCAiBJ;AAYD;IADC,IAAI;qCAGJ"}
|
package/lib/shared/base.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { Bud
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type { Bud } from '@roots/bud-framework';
|
|
2
|
+
import type { Base as BuildBase } from '@roots/bud-framework/services/build';
|
|
3
|
+
export default class Base implements BuildBase {
|
|
4
|
+
protected _app?: () => Bud;
|
|
4
5
|
/**
|
|
5
6
|
* Application getter
|
|
6
7
|
*
|
|
@@ -12,7 +13,7 @@ export default class Base implements Build.Base {
|
|
|
12
13
|
*
|
|
13
14
|
* @public
|
|
14
15
|
*/
|
|
15
|
-
constructor(_app
|
|
16
|
+
constructor(_app?: () => Bud);
|
|
16
17
|
wrap<T = any>(input: T | ((app: Bud) => T)): (app: Bud) => T;
|
|
17
18
|
unwrap<T = any>(input: T | ((app: Bud, ...options: Array<any>) => T), ...options: Array<any>): T;
|
|
18
19
|
}
|
package/lib/shared/base.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/shared/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/shared/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,sBAAsB,CAAA;AAC7C,OAAO,KAAK,EAAC,IAAI,IAAI,SAAS,EAAC,MAAM,qCAAqC,CAAA;AAI1E,MAAM,CAAC,OAAO,OAAO,IAAK,YAAW,SAAS;IAezB,SAAS,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG;IAd7C;;;;OAIG;IACH,IAAW,GAAG,IAAI,GAAG,CAEpB;IAED;;;;OAIG;gBAC0B,IAAI,CAAC,EAAE,MAAM,GAAG;IAGtC,IAAI,CAAC,CAAC,GAAG,GAAG,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC;IAK5D,MAAM,CAAC,CAAC,GAAG,GAAG,EACnB,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EACpD,GAAG,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,GACrB,CAAC;CAGL"}
|
package/lib/shared/base.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { bind } from '
|
|
3
|
-
import { isFunction } from 'lodash-es';
|
|
2
|
+
import { bind } from '@roots/bud-support/decorators';
|
|
3
|
+
import { isFunction } from '@roots/bud-support/lodash-es';
|
|
4
4
|
export default class Base {
|
|
5
5
|
/**
|
|
6
6
|
* Constructor
|
package/lib/shared/base.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/shared/base.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/shared/base.ts"],"names":[],"mappings":";AAEA,OAAO,EAAC,IAAI,EAAC,MAAM,+BAA+B,CAAA;AAClD,OAAO,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAA;AAEvD,MAAM,CAAC,OAAO,OAAO,IAAI;IAUvB;;;;OAIG;IACH,YAA6B,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAdjD;;;;OAIG;IACH,IAAW,GAAG;QACZ,OAAO,IAAI,CAAC,IAAI,EAAE,CAAA;IACpB,CAAC;IAUM,IAAI,CAAU,KAA4B;QAC/C,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,CAAA;IAChD,CAAC;IAGM,MAAM,CACX,KAAoD,EACpD,GAAG,OAAmB;QAEtB,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,CAAA;IAChE,CAAC;CACF;AAXC;IADC,IAAI;gCAGJ;AAGD;IADC,IAAI;kCAMJ"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roots/bud-build",
|
|
3
3
|
"description": "Bud webpack config build controller",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.4.0",
|
|
5
5
|
"homepage": "https://roots.io/bud",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"types": "./lib/index.d.ts",
|
|
42
42
|
"exports": {
|
|
43
43
|
".": "./lib/index.js",
|
|
44
|
-
"./item": "./lib/item.js",
|
|
44
|
+
"./item": "./lib/item/item.js",
|
|
45
45
|
"./items": "./lib/handlers/items.js",
|
|
46
|
-
"./loader": "./lib/loader.js",
|
|
46
|
+
"./loader": "./lib/loader/loader.js",
|
|
47
47
|
"./loaders": "./lib/handlers/loaders.js",
|
|
48
|
-
"./rule": "./lib/rule.js",
|
|
48
|
+
"./rule": "./lib/rule/rule.js",
|
|
49
49
|
"./rules": "./lib/handlers/rules.js",
|
|
50
50
|
"./service": "./lib/service.js"
|
|
51
51
|
},
|
|
@@ -55,19 +55,19 @@
|
|
|
55
55
|
"./lib/index.d.ts"
|
|
56
56
|
],
|
|
57
57
|
"item": [
|
|
58
|
-
"./lib/item.d.ts"
|
|
58
|
+
"./lib/item/item.d.ts"
|
|
59
59
|
],
|
|
60
60
|
"items": [
|
|
61
61
|
"./lib/handlers/items.d.ts"
|
|
62
62
|
],
|
|
63
63
|
"loader": [
|
|
64
|
-
"./lib/loader.d.ts"
|
|
64
|
+
"./lib/loader/loader.d.ts"
|
|
65
65
|
],
|
|
66
66
|
"loaders": [
|
|
67
67
|
"./lib/handlers/loaders.d.ts"
|
|
68
68
|
],
|
|
69
69
|
"rule": [
|
|
70
|
-
"./lib/rule.d.ts"
|
|
70
|
+
"./lib/rule/rule.d.ts"
|
|
71
71
|
],
|
|
72
72
|
"rules": [
|
|
73
73
|
"./lib/handlers/rules.d.ts"
|
|
@@ -78,24 +78,23 @@
|
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
+
"@jest/globals": "29.0.1",
|
|
81
82
|
"@skypack/package-check": "0.2.2",
|
|
82
83
|
"@types/fs-extra": "9.0.13",
|
|
83
|
-
"@types/lodash": "4.14.182",
|
|
84
|
-
"@types/lodash-es": "4.17.6",
|
|
85
84
|
"@types/mini-css-extract-plugin": "2.5.0",
|
|
86
|
-
"@types/node": "16.11.
|
|
85
|
+
"@types/node": "16.11.48",
|
|
87
86
|
"webpack": "5.73.0"
|
|
88
87
|
},
|
|
89
88
|
"dependencies": {
|
|
90
|
-
"@roots/bud-framework": "6.
|
|
89
|
+
"@roots/bud-framework": "6.4.0",
|
|
90
|
+
"@roots/bud-support": "6.4.0",
|
|
91
91
|
"css-loader": "^6.5.1",
|
|
92
92
|
"csv-loader": "^3.0.3",
|
|
93
93
|
"file-loader": "^6.2.0",
|
|
94
94
|
"fs-extra": "10.1.0",
|
|
95
95
|
"helpful-decorators": "2.1.0",
|
|
96
|
-
"html-loader": "^4.
|
|
96
|
+
"html-loader": "^4.1.0",
|
|
97
97
|
"json5": "2.2.1",
|
|
98
|
-
"lodash-es": "4.17.21",
|
|
99
98
|
"mini-css-extract-plugin": "^2.4.5",
|
|
100
99
|
"remark": "14.0.2",
|
|
101
100
|
"remark-html": "15.0.1",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Bud } from '@roots/bud-framework';
|
|
2
|
-
/**
|
|
3
|
-
* Filename
|
|
4
|
-
*
|
|
5
|
-
* @param app - Bud
|
|
6
|
-
* @param extension - Filename extension
|
|
7
|
-
*
|
|
8
|
-
* @returns filename format
|
|
9
|
-
*
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
|
-
export declare const filenameFormat: (app: Bud, extension?: string) => string;
|
|
13
|
-
//# sourceMappingURL=filenameFormat.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filenameFormat.d.ts","sourceRoot":"","sources":["../../src/config/filenameFormat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,sBAAsB,CAAA;AAE7C;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,QAAS,GAAG,cAAc,MAAM,KAAG,MAU7D,CAAA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Filename
|
|
3
|
-
*
|
|
4
|
-
* @param app - Bud
|
|
5
|
-
* @param extension - Filename extension
|
|
6
|
-
*
|
|
7
|
-
* @returns filename format
|
|
8
|
-
*
|
|
9
|
-
* @public
|
|
10
|
-
*/
|
|
11
|
-
export const filenameFormat = (app, extension) => {
|
|
12
|
-
if (!extension) {
|
|
13
|
-
extension = app.hooks.filter('build.experiments.outputModule')
|
|
14
|
-
? '.mjs'
|
|
15
|
-
: '.js';
|
|
16
|
-
}
|
|
17
|
-
return app.hooks.filter('feature.hash')
|
|
18
|
-
? app.hooks.filter('value.hashFormat').concat(extension)
|
|
19
|
-
: app.hooks.filter('value.fileFormat').concat(extension);
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=filenameFormat.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filenameFormat.js","sourceRoot":"","sources":["../../src/config/filenameFormat.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,GAAQ,EAAE,SAAkB,EAAU,EAAE;IACrE,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,gCAAgC,CAAC;YAC5D,CAAC,CAAC,MAAM;YACR,CAAC,CAAC,KAAK,CAAA;KACV;IAED,OAAO,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,cAAc,CAAC;QACrC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC;QACxD,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;AAC5D,CAAC,CAAA"}
|
package/lib/config/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,EAAC,OAAO,EAAC,CAAA"}
|
package/lib/config/index.js
DELETED
package/lib/config/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,EAAC,OAAO,EAAC,CAAA"}
|
package/lib/handlers/rules.d.ts
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import type { Bud } from '@roots/bud-framework/bud';
|
|
2
|
-
import type { Rule } from '@roots/bud-framework/services/build';
|
|
3
|
-
/**
|
|
4
|
-
* .js rule
|
|
5
|
-
*
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export declare const js: (app: Bud) => Promise<Rule>;
|
|
9
|
-
/**
|
|
10
|
-
* .css rule
|
|
11
|
-
*
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export declare const css: (app: Bud) => Promise<Rule>;
|
|
15
|
-
/**
|
|
16
|
-
* .module.css rule
|
|
17
|
-
*
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
export declare const cssModule: (app: Bud) => Promise<Rule>;
|
|
21
|
-
/**
|
|
22
|
-
* .jpg, .jpeg, .png, .gif rule
|
|
23
|
-
*
|
|
24
|
-
* @public
|
|
25
|
-
*/
|
|
26
|
-
export declare const image: (app: Bud) => Promise<Rule>;
|
|
27
|
-
/**
|
|
28
|
-
* .webp assets factorry
|
|
29
|
-
*
|
|
30
|
-
* @remarks
|
|
31
|
-
* Returns {@link Rule} for `asset/resource`
|
|
32
|
-
*
|
|
33
|
-
* @public
|
|
34
|
-
*/
|
|
35
|
-
export declare const webp: (app: Bud) => Promise<Rule>;
|
|
36
|
-
/**
|
|
37
|
-
* Returns {@link Rule} for `.woff`/`.otf` handling
|
|
38
|
-
* .svg rule
|
|
39
|
-
*
|
|
40
|
-
* @public
|
|
41
|
-
*/
|
|
42
|
-
export declare const svg: (app: Bud) => Promise<Rule>;
|
|
43
|
-
/**
|
|
44
|
-
* .woff, .woff2, .otf rule
|
|
45
|
-
*
|
|
46
|
-
* @public
|
|
47
|
-
*/
|
|
48
|
-
export declare const font: (app: Bud) => Promise<Rule>;
|
|
49
|
-
/**
|
|
50
|
-
* Returns {@link Rule} for `.jsonc` handling
|
|
51
|
-
*
|
|
52
|
-
* @public
|
|
53
|
-
*/
|
|
54
|
-
export declare const json: (app: Bud) => Promise<Rule>;
|
|
55
|
-
/**
|
|
56
|
-
* Returns {@link Rule} for `.yml` / `.yaml` handling
|
|
57
|
-
*
|
|
58
|
-
* @public
|
|
59
|
-
*/
|
|
60
|
-
export declare const yml: (app: Bud) => Promise<Rule>;
|
|
61
|
-
/**
|
|
62
|
-
* Returns {@link Rule} for `.html` handling
|
|
63
|
-
*
|
|
64
|
-
* @public
|
|
65
|
-
*/
|
|
66
|
-
export declare const html: (app: Bud) => Promise<Rule>;
|
|
67
|
-
/**
|
|
68
|
-
* Returns {@link Rule} for `.csv` handling
|
|
69
|
-
*
|
|
70
|
-
* @public
|
|
71
|
-
*/
|
|
72
|
-
export declare const csv: (app: Bud) => Promise<Rule>;
|
|
73
|
-
/**
|
|
74
|
-
* Returns {@link Rule} for `.xml` handling
|
|
75
|
-
*
|
|
76
|
-
* @public
|
|
77
|
-
*/
|
|
78
|
-
export declare const xml: (app: Bud) => Promise<Rule>;
|
|
79
|
-
/**
|
|
80
|
-
* Returns {@link Rule} for `.toml` handling
|
|
81
|
-
*
|
|
82
|
-
* @public
|
|
83
|
-
*/
|
|
84
|
-
export declare const toml: (app: Bud) => Promise<Rule>;
|
|
85
|
-
//# sourceMappingURL=rules.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../src/handlers/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,0BAA0B,CAAA;AACjD,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,qCAAqC,CAAA;AAI7D;;;;GAIG;AACH,eAAO,MAAM,EAAE,QAAe,GAAG,KAAG,QAAQ,IAAI,CAKjC,CAAA;AAEf;;;;GAIG;AACH,eAAO,MAAM,GAAG,QAAe,GAAG,KAAG,QAAQ,IAAI,CAKnB,CAAA;AAE9B;;;;GAIG;AACH,eAAO,MAAM,SAAS,QAAe,GAAG,KAAG,QAAQ,IAAI,CAKnB,CAAA;AAEpC;;;;GAIG;AACH,eAAO,MAAM,KAAK,QAAe,GAAG,KAAG,QAAQ,IAAI,CAc5C,CAAA;AAEP;;;;;;;GAOG;AACH,eAAO,MAAM,IAAI,QAAe,GAAG,KAAG,QAAQ,IAAI,CAc3C,CAAA;AAEP;;;;;GAKG;AACH,eAAO,MAAM,GAAG,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