powerlines 0.32.3 → 0.32.5
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/api.cjs +2 -2
- package/dist/api.js +1 -1
- package/dist/astro.cjs +4 -4
- package/dist/astro.js +3 -3
- package/dist/{chunk-UCEYRYQV.js → chunk-3GZU4SPQ.js} +3 -3
- package/dist/{chunk-OXIXZCSA.js → chunk-3NTTPLMW.js} +5 -5
- package/dist/{chunk-3ZU7XNH6.js → chunk-4KKX5LNV.js} +3 -3
- package/dist/{chunk-ICU6CV3P.js → chunk-5CY74P7U.js} +3 -3
- package/dist/{chunk-ZYHIOX7L.js → chunk-625S4UKQ.js} +3 -3
- package/dist/{chunk-3ZDNEBYX.cjs → chunk-DOYOK4T3.cjs} +4 -4
- package/dist/{chunk-3M7TJFCK.cjs → chunk-FP5YRXGK.cjs} +5 -5
- package/dist/chunk-H36RWDOY.cjs +12 -0
- package/dist/{chunk-QTCGGQSD.cjs → chunk-IMJGHS2X.cjs} +5 -5
- package/dist/{chunk-VUTR5IQ6.js → chunk-MZFO4PJU.js} +3 -3
- package/dist/{chunk-QIKZKEKW.cjs → chunk-O2IA36W5.cjs} +4 -4
- package/dist/chunk-VKIT7IGF.cjs +12 -0
- package/dist/esbuild.cjs +6 -6
- package/dist/esbuild.js +3 -3
- package/dist/farm.cjs +3 -3
- package/dist/farm.js +2 -2
- package/dist/index.cjs +10 -10
- package/dist/index.js +2 -2
- package/dist/lib/{chunk-TDNWNQIC.cjs → chunk-226JA2S2.cjs} +5 -4
- package/dist/lib/chunk-226JA2S2.cjs.map +1 -0
- package/dist/lib/{chunk-MIM44GOK.cjs → chunk-2LOGLF4O.cjs} +6 -6
- package/dist/lib/{chunk-MIM44GOK.cjs.map → chunk-2LOGLF4O.cjs.map} +1 -1
- package/dist/lib/{chunk-THAWQIEQ.js → chunk-6JWWNHPO.js} +3 -3
- package/dist/lib/{chunk-THAWQIEQ.js.map → chunk-6JWWNHPO.js.map} +1 -1
- package/dist/lib/{chunk-IOCESXMJ.js → chunk-B47EITCS.js} +5 -4
- package/dist/lib/chunk-B47EITCS.js.map +1 -0
- package/dist/lib/{chunk-DEQF7FPH.js → chunk-ODABNDH5.js} +4 -4
- package/dist/lib/{chunk-DEQF7FPH.js.map → chunk-ODABNDH5.js.map} +1 -1
- package/dist/lib/{chunk-35PAM2HQ.js → chunk-QXVCN3KD.js} +4 -4
- package/dist/lib/{chunk-35PAM2HQ.js.map → chunk-QXVCN3KD.js.map} +1 -1
- package/dist/lib/{chunk-V3LTCTD2.cjs → chunk-S3KSMITS.cjs} +13 -13
- package/dist/lib/{chunk-V3LTCTD2.cjs.map → chunk-S3KSMITS.cjs.map} +1 -1
- package/dist/lib/{chunk-KGIDWOS3.cjs → chunk-TLYEKWQW.cjs} +12 -12
- package/dist/lib/{chunk-KGIDWOS3.cjs.map → chunk-TLYEKWQW.cjs.map} +1 -1
- package/dist/lib/contexts/api-context.cjs +4 -4
- package/dist/lib/contexts/api-context.js +3 -3
- package/dist/lib/contexts/context.cjs +2 -2
- package/dist/lib/contexts/context.js +1 -1
- package/dist/lib/contexts/environment-context.cjs +3 -3
- package/dist/lib/contexts/environment-context.js +2 -2
- package/dist/lib/contexts/index.cjs +6 -6
- package/dist/lib/contexts/index.js +3 -3
- package/dist/lib/index.cjs +8 -8
- package/dist/lib/index.js +4 -4
- package/dist/lib/unplugin/factory.cjs +5 -5
- package/dist/lib/unplugin/factory.js +4 -4
- package/dist/lib/unplugin/index.cjs +5 -5
- package/dist/lib/unplugin/index.js +4 -4
- package/dist/next.cjs +4 -4
- package/dist/next.js +3 -3
- package/dist/nuxt.cjs +7 -7
- package/dist/nuxt.js +5 -5
- package/dist/rolldown.cjs +6 -6
- package/dist/rolldown.js +3 -3
- package/dist/rollup.cjs +3 -3
- package/dist/rollup.js +2 -2
- package/dist/rspack.cjs +3 -3
- package/dist/rspack.js +2 -2
- package/dist/tsdown.cjs +4 -4
- package/dist/tsdown.js +3 -3
- package/dist/tsup.cjs +4 -4
- package/dist/tsup.js +3 -3
- package/dist/unloader.cjs +3 -3
- package/dist/unloader.js +2 -2
- package/dist/unplugin.cjs +5 -5
- package/dist/unplugin.js +3 -3
- package/dist/vite.cjs +6 -6
- package/dist/vite.js +3 -3
- package/dist/webpack.cjs +6 -6
- package/dist/webpack.js +3 -3
- package/package.json +2 -2
- package/dist/chunk-56VXF4CT.cjs +0 -12
- package/dist/chunk-KQ6PTJ47.cjs +0 -12
- package/dist/lib/chunk-IOCESXMJ.js.map +0 -1
- package/dist/lib/chunk-TDNWNQIC.cjs.map +0 -1
package/dist/api.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIMJGHS2X_cjs = require('./chunk-IMJGHS2X.cjs');
|
|
4
4
|
require('./chunk-VFXZVCGG.cjs');
|
|
5
5
|
require('./chunk-Z6ARQDHR.cjs');
|
|
6
6
|
require('./chunk-PK6SKIKE.cjs');
|
|
@@ -9,7 +9,7 @@ require('./chunk-PK6SKIKE.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "PowerlinesAPI", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkIMJGHS2X_cjs.PowerlinesAPI; }
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=api.cjs.map
|
|
15
15
|
//# sourceMappingURL=api.cjs.map
|
package/dist/api.js
CHANGED
package/dist/astro.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkDOYOK4T3_cjs = require('./chunk-DOYOK4T3.cjs');
|
|
6
6
|
require('./chunk-AATT73UY.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-FP5YRXGK.cjs');
|
|
8
|
+
require('./chunk-IMJGHS2X.cjs');
|
|
9
9
|
require('./chunk-VFXZVCGG.cjs');
|
|
10
10
|
require('./chunk-Z6ARQDHR.cjs');
|
|
11
11
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
@@ -14,7 +14,7 @@ var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
|
14
14
|
var astro = /* @__PURE__ */ chunkPK6SKIKE_cjs.__name((config) => ({
|
|
15
15
|
vite: {
|
|
16
16
|
plugins: [
|
|
17
|
-
|
|
17
|
+
chunkDOYOK4T3_cjs.vite_default(config)
|
|
18
18
|
]
|
|
19
19
|
}
|
|
20
20
|
}), "astro");
|
package/dist/astro.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { vite_default } from './chunk-
|
|
1
|
+
import { vite_default } from './chunk-625S4UKQ.js';
|
|
2
2
|
import './chunk-A7PVG2HH.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-4KKX5LNV.js';
|
|
4
|
+
import './chunk-3NTTPLMW.js';
|
|
5
5
|
import './chunk-JGSCIWFQ.js';
|
|
6
6
|
import './chunk-2MYPFASJ.js';
|
|
7
7
|
import { __name } from './chunk-7QVYU63E.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-A7PVG2HH.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-4KKX5LNV.js';
|
|
3
3
|
import { __name } from './chunk-7QVYU63E.js';
|
|
4
4
|
import { isUndefined } from '@stryke/type-checks/is-undefined';
|
|
5
5
|
import { createEsbuildPlugin } from 'unplugin';
|
|
@@ -29,5 +29,5 @@ var esbuild = createEsbuildPlugin(createUnpluginFactory("esbuild", (api, plugin)
|
|
|
29
29
|
var esbuild_default = esbuild;
|
|
30
30
|
|
|
31
31
|
export { esbuild, esbuild_default };
|
|
32
|
-
//# sourceMappingURL=chunk-
|
|
33
|
-
//# sourceMappingURL=chunk-
|
|
32
|
+
//# sourceMappingURL=chunk-3GZU4SPQ.js.map
|
|
33
|
+
//# sourceMappingURL=chunk-3GZU4SPQ.js.map
|
|
@@ -45,6 +45,7 @@ import { murmurhash } from '@stryke/hash/murmurhash';
|
|
|
45
45
|
import { getUnique, getUniqueBy } from '@stryke/helpers/get-unique';
|
|
46
46
|
import { omit } from '@stryke/helpers/omit';
|
|
47
47
|
import { fetchRequest } from '@stryke/http/fetch';
|
|
48
|
+
import { isParentPath } from '@stryke/path/is-parent-path';
|
|
48
49
|
import { isAbsolutePath, isAbsolute } from '@stryke/path/is-type';
|
|
49
50
|
import { joinPaths } from '@stryke/path/join';
|
|
50
51
|
import { isNull } from '@stryke/type-checks/is-null';
|
|
@@ -59,7 +60,6 @@ import { parseTypeDefinition } from '@stryke/convert/parse-type-definition';
|
|
|
59
60
|
import { isDirectory, isFile } from '@stryke/fs/is-file';
|
|
60
61
|
import * as $ from '@stryke/capnp';
|
|
61
62
|
import { readFileBuffer, readFileBufferSync, writeFileBuffer } from '@stryke/fs/buffer';
|
|
62
|
-
import { isParentPath } from '@stryke/path/is-parent-path';
|
|
63
63
|
import { prettyBytes } from '@stryke/string-format/pretty-bytes';
|
|
64
64
|
import { Blob } from 'node:buffer';
|
|
65
65
|
import { fileURLToPath } from 'node:url';
|
|
@@ -3376,8 +3376,8 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3376
3376
|
this.config.output.assets = getUnique(this.config.output.assets.map((asset) => {
|
|
3377
3377
|
return {
|
|
3378
3378
|
glob: isSetObject(asset) ? asset.glob : asset,
|
|
3379
|
-
input: isString(asset) || !asset.input || asset.input === "." || asset.input === "/" || asset.input === "./" ? this.workspaceConfig.workspaceRoot : appendPath(asset.input, this.workspaceConfig.workspaceRoot),
|
|
3380
|
-
output:
|
|
3379
|
+
input: isString(asset) || !asset.input || asset.input === "." || asset.input === "/" || asset.input === "./" ? this.workspaceConfig.workspaceRoot : isParentPath(asset.input, this.workspaceConfig.workspaceRoot) ? asset.input : appendPath(asset.input, this.workspaceConfig.workspaceRoot),
|
|
3380
|
+
output: isSetObject(asset) && asset.output ? isParentPath(asset.output, this.workspaceConfig.workspaceRoot) ? asset.output : appendPath(joinPaths(this.config.output.outputPath, replacePath(replacePath(asset.output, replacePath(this.config.output.outputPath, this.workspaceConfig.workspaceRoot)), this.config.output.outputPath)), this.workspaceConfig.workspaceRoot) : appendPath(this.config.output.outputPath, this.workspaceConfig.workspaceRoot),
|
|
3381
3381
|
ignore: isSetObject(asset) && asset.ignore ? toArray(asset.ignore) : void 0
|
|
3382
3382
|
};
|
|
3383
3383
|
}));
|
|
@@ -4549,5 +4549,5 @@ Note: Please ensure the plugin package's default export is a class that extends
|
|
|
4549
4549
|
};
|
|
4550
4550
|
|
|
4551
4551
|
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId, createLog, extendLog };
|
|
4552
|
-
//# sourceMappingURL=chunk-
|
|
4553
|
-
//# sourceMappingURL=chunk-
|
|
4552
|
+
//# sourceMappingURL=chunk-3NTTPLMW.js.map
|
|
4553
|
+
//# sourceMappingURL=chunk-3NTTPLMW.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createLog, PowerlinesAPI } from './chunk-
|
|
1
|
+
import { createLog, PowerlinesAPI } from './chunk-3NTTPLMW.js';
|
|
2
2
|
import { __name } from './chunk-7QVYU63E.js';
|
|
3
3
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
4
4
|
import { getWorkspaceRoot } from '@stryke/fs/get-workspace-root';
|
|
@@ -129,5 +129,5 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
129
129
|
__name(createUnpluginFactory, "createUnpluginFactory");
|
|
130
130
|
|
|
131
131
|
export { createUnpluginFactory, getString };
|
|
132
|
-
//# sourceMappingURL=chunk-
|
|
133
|
-
//# sourceMappingURL=chunk-
|
|
132
|
+
//# sourceMappingURL=chunk-4KKX5LNV.js.map
|
|
133
|
+
//# sourceMappingURL=chunk-4KKX5LNV.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-4KKX5LNV.js';
|
|
2
2
|
import { createRolldownPlugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
var rolldown = createRolldownPlugin(createUnpluginFactory("rolldown"));
|
|
5
5
|
var rolldown_default = rolldown;
|
|
6
6
|
|
|
7
7
|
export { rolldown, rolldown_default };
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-5CY74P7U.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-5CY74P7U.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-A7PVG2HH.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-4KKX5LNV.js';
|
|
3
3
|
import { __name } from './chunk-7QVYU63E.js';
|
|
4
4
|
import { isDevelopmentMode, isTestMode } from '@stryke/env/environment-checks';
|
|
5
5
|
import defu from 'defu';
|
|
@@ -151,5 +151,5 @@ var vite = createVitePlugin(createUnpluginFactory("vite", (api, plugin) => {
|
|
|
151
151
|
var vite_default = vite;
|
|
152
152
|
|
|
153
153
|
export { vite, vite_default };
|
|
154
|
-
//# sourceMappingURL=chunk-
|
|
155
|
-
//# sourceMappingURL=chunk-
|
|
154
|
+
//# sourceMappingURL=chunk-625S4UKQ.js.map
|
|
155
|
+
//# sourceMappingURL=chunk-625S4UKQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkAATT73UY_cjs = require('./chunk-AATT73UY.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkFP5YRXGK_cjs = require('./chunk-FP5YRXGK.cjs');
|
|
5
5
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
6
6
|
var environmentChecks = require('@stryke/env/environment-checks');
|
|
7
7
|
var defu = require('defu');
|
|
@@ -97,7 +97,7 @@ function extractViteConfig(context) {
|
|
|
97
97
|
chunkPK6SKIKE_cjs.__name(extractViteConfig, "extractViteConfig");
|
|
98
98
|
|
|
99
99
|
// src/vite.ts
|
|
100
|
-
var vite = unplugin.createVitePlugin(
|
|
100
|
+
var vite = unplugin.createVitePlugin(chunkFP5YRXGK_cjs.createUnpluginFactory("vite", (api, plugin) => {
|
|
101
101
|
return {
|
|
102
102
|
...plugin,
|
|
103
103
|
vite: {
|
|
@@ -158,5 +158,5 @@ var vite_default = vite;
|
|
|
158
158
|
|
|
159
159
|
exports.vite = vite;
|
|
160
160
|
exports.vite_default = vite_default;
|
|
161
|
-
//# sourceMappingURL=chunk-
|
|
162
|
-
//# sourceMappingURL=chunk-
|
|
161
|
+
//# sourceMappingURL=chunk-DOYOK4T3.cjs.map
|
|
162
|
+
//# sourceMappingURL=chunk-DOYOK4T3.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIMJGHS2X_cjs = require('./chunk-IMJGHS2X.cjs');
|
|
4
4
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
5
5
|
var types = require('@storm-software/config-tools/types');
|
|
6
6
|
var getWorkspaceRoot = require('@stryke/fs/get-workspace-root');
|
|
@@ -27,7 +27,7 @@ chunkPK6SKIKE_cjs.__name(getString, "getString");
|
|
|
27
27
|
// src/lib/unplugin/factory.ts
|
|
28
28
|
function createUnpluginFactory(variant, decorate) {
|
|
29
29
|
return (config, meta) => {
|
|
30
|
-
const log =
|
|
30
|
+
const log = chunkIMJGHS2X_cjs.createLog("unplugin", config);
|
|
31
31
|
log(types.LogLevelLabel.DEBUG, "Initializing Unplugin");
|
|
32
32
|
try {
|
|
33
33
|
const userConfig = {
|
|
@@ -38,7 +38,7 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
38
38
|
let api;
|
|
39
39
|
async function buildStart() {
|
|
40
40
|
log(types.LogLevelLabel.DEBUG, "Powerlines build plugin starting...");
|
|
41
|
-
api = await
|
|
41
|
+
api = await chunkIMJGHS2X_cjs.PowerlinesAPI.from(getWorkspaceRoot.getWorkspaceRoot(process.cwd()), userConfig);
|
|
42
42
|
unplugin.setParseImpl(api.context.parse);
|
|
43
43
|
log(types.LogLevelLabel.DEBUG, "Preparing build artifacts for the Powerlines project...");
|
|
44
44
|
await api.prepare({
|
|
@@ -132,5 +132,5 @@ chunkPK6SKIKE_cjs.__name(createUnpluginFactory, "createUnpluginFactory");
|
|
|
132
132
|
|
|
133
133
|
exports.createUnpluginFactory = createUnpluginFactory;
|
|
134
134
|
exports.getString = getString;
|
|
135
|
-
//# sourceMappingURL=chunk-
|
|
136
|
-
//# sourceMappingURL=chunk-
|
|
135
|
+
//# sourceMappingURL=chunk-FP5YRXGK.cjs.map
|
|
136
|
+
//# sourceMappingURL=chunk-FP5YRXGK.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkFP5YRXGK_cjs = require('./chunk-FP5YRXGK.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var webpack = unplugin.createWebpackPlugin(chunkFP5YRXGK_cjs.createUnpluginFactory("webpack"));
|
|
7
|
+
var webpack_default = webpack;
|
|
8
|
+
|
|
9
|
+
exports.webpack = webpack;
|
|
10
|
+
exports.webpack_default = webpack_default;
|
|
11
|
+
//# sourceMappingURL=chunk-H36RWDOY.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-H36RWDOY.cjs.map
|
|
@@ -47,6 +47,7 @@ var murmurhash = require('@stryke/hash/murmurhash');
|
|
|
47
47
|
var getUnique = require('@stryke/helpers/get-unique');
|
|
48
48
|
var omit = require('@stryke/helpers/omit');
|
|
49
49
|
var fetch = require('@stryke/http/fetch');
|
|
50
|
+
var isParentPath = require('@stryke/path/is-parent-path');
|
|
50
51
|
var isType = require('@stryke/path/is-type');
|
|
51
52
|
var join = require('@stryke/path/join');
|
|
52
53
|
var isNull = require('@stryke/type-checks/is-null');
|
|
@@ -61,7 +62,6 @@ var parseTypeDefinition = require('@stryke/convert/parse-type-definition');
|
|
|
61
62
|
var isFile = require('@stryke/fs/is-file');
|
|
62
63
|
var $ = require('@stryke/capnp');
|
|
63
64
|
var buffer = require('@stryke/fs/buffer');
|
|
64
|
-
var isParentPath = require('@stryke/path/is-parent-path');
|
|
65
65
|
var prettyBytes = require('@stryke/string-format/pretty-bytes');
|
|
66
66
|
var buffer$1 = require('buffer');
|
|
67
67
|
var url = require('url');
|
|
@@ -3405,8 +3405,8 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
3405
3405
|
this.config.output.assets = getUnique.getUnique(this.config.output.assets.map((asset) => {
|
|
3406
3406
|
return {
|
|
3407
3407
|
glob: isSetObject.isSetObject(asset) ? asset.glob : asset,
|
|
3408
|
-
input: isString.isString(asset) || !asset.input || asset.input === "." || asset.input === "/" || asset.input === "./" ? this.workspaceConfig.workspaceRoot : append.appendPath(asset.input, this.workspaceConfig.workspaceRoot),
|
|
3409
|
-
output:
|
|
3408
|
+
input: isString.isString(asset) || !asset.input || asset.input === "." || asset.input === "/" || asset.input === "./" ? this.workspaceConfig.workspaceRoot : isParentPath.isParentPath(asset.input, this.workspaceConfig.workspaceRoot) ? asset.input : append.appendPath(asset.input, this.workspaceConfig.workspaceRoot),
|
|
3409
|
+
output: isSetObject.isSetObject(asset) && asset.output ? isParentPath.isParentPath(asset.output, this.workspaceConfig.workspaceRoot) ? asset.output : append.appendPath(join.joinPaths(this.config.output.outputPath, replace.replacePath(replace.replacePath(asset.output, replace.replacePath(this.config.output.outputPath, this.workspaceConfig.workspaceRoot)), this.config.output.outputPath)), this.workspaceConfig.workspaceRoot) : append.appendPath(this.config.output.outputPath, this.workspaceConfig.workspaceRoot),
|
|
3410
3410
|
ignore: isSetObject.isSetObject(asset) && asset.ignore ? toArray.toArray(asset.ignore) : void 0
|
|
3411
3411
|
};
|
|
3412
3412
|
}));
|
|
@@ -4586,5 +4586,5 @@ exports.PowerlinesAPI = PowerlinesAPI;
|
|
|
4586
4586
|
exports._capnpFileId = _capnpFileId;
|
|
4587
4587
|
exports.createLog = createLog;
|
|
4588
4588
|
exports.extendLog = extendLog;
|
|
4589
|
-
//# sourceMappingURL=chunk-
|
|
4590
|
-
//# sourceMappingURL=chunk-
|
|
4589
|
+
//# sourceMappingURL=chunk-IMJGHS2X.cjs.map
|
|
4590
|
+
//# sourceMappingURL=chunk-IMJGHS2X.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-4KKX5LNV.js';
|
|
2
2
|
import { createWebpackPlugin } from 'unplugin';
|
|
3
3
|
|
|
4
4
|
var webpack = createWebpackPlugin(createUnpluginFactory("webpack"));
|
|
5
5
|
var webpack_default = webpack;
|
|
6
6
|
|
|
7
7
|
export { webpack, webpack_default };
|
|
8
|
-
//# sourceMappingURL=chunk-
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
8
|
+
//# sourceMappingURL=chunk-MZFO4PJU.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-MZFO4PJU.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkAATT73UY_cjs = require('./chunk-AATT73UY.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkFP5YRXGK_cjs = require('./chunk-FP5YRXGK.cjs');
|
|
5
5
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
6
6
|
var isUndefined = require('@stryke/type-checks/is-undefined');
|
|
7
7
|
var unplugin = require('unplugin');
|
|
8
8
|
|
|
9
|
-
var esbuild = unplugin.createEsbuildPlugin(
|
|
9
|
+
var esbuild = unplugin.createEsbuildPlugin(chunkFP5YRXGK_cjs.createUnpluginFactory("esbuild", (api, plugin) => {
|
|
10
10
|
return {
|
|
11
11
|
...plugin,
|
|
12
12
|
esbuild: {
|
|
@@ -32,5 +32,5 @@ var esbuild_default = esbuild;
|
|
|
32
32
|
|
|
33
33
|
exports.esbuild = esbuild;
|
|
34
34
|
exports.esbuild_default = esbuild_default;
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-O2IA36W5.cjs.map
|
|
36
|
+
//# sourceMappingURL=chunk-O2IA36W5.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkFP5YRXGK_cjs = require('./chunk-FP5YRXGK.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var rolldown = unplugin.createRolldownPlugin(chunkFP5YRXGK_cjs.createUnpluginFactory("rolldown"));
|
|
7
|
+
var rolldown_default = rolldown;
|
|
8
|
+
|
|
9
|
+
exports.rolldown = rolldown;
|
|
10
|
+
exports.rolldown_default = rolldown_default;
|
|
11
|
+
//# sourceMappingURL=chunk-VKIT7IGF.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-VKIT7IGF.cjs.map
|
package/dist/esbuild.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunkO2IA36W5_cjs = require('./chunk-O2IA36W5.cjs');
|
|
6
6
|
require('./chunk-AATT73UY.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-FP5YRXGK.cjs');
|
|
8
|
+
require('./chunk-IMJGHS2X.cjs');
|
|
9
9
|
require('./chunk-VFXZVCGG.cjs');
|
|
10
10
|
require('./chunk-Z6ARQDHR.cjs');
|
|
11
11
|
require('./chunk-PK6SKIKE.cjs');
|
|
@@ -14,15 +14,15 @@ require('./chunk-PK6SKIKE.cjs');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "default", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkO2IA36W5_cjs.esbuild_default; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "esbuild", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkO2IA36W5_cjs.esbuild; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "module.exports", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkO2IA36W5_cjs.esbuild; }
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=esbuild.cjs.map
|
|
28
28
|
//# sourceMappingURL=esbuild.cjs.map
|
package/dist/esbuild.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { esbuild_default as default, esbuild, esbuild as "module.exports" } from './chunk-
|
|
1
|
+
export { esbuild_default as default, esbuild, esbuild as "module.exports" } from './chunk-3GZU4SPQ.js';
|
|
2
2
|
import './chunk-A7PVG2HH.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-4KKX5LNV.js';
|
|
4
|
+
import './chunk-3NTTPLMW.js';
|
|
5
5
|
import './chunk-JGSCIWFQ.js';
|
|
6
6
|
import './chunk-2MYPFASJ.js';
|
|
7
7
|
import './chunk-7QVYU63E.js';
|
package/dist/farm.cjs
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var chunkFP5YRXGK_cjs = require('./chunk-FP5YRXGK.cjs');
|
|
6
|
+
require('./chunk-IMJGHS2X.cjs');
|
|
7
7
|
require('./chunk-VFXZVCGG.cjs');
|
|
8
8
|
require('./chunk-Z6ARQDHR.cjs');
|
|
9
9
|
require('./chunk-PK6SKIKE.cjs');
|
|
10
10
|
var unplugin = require('unplugin');
|
|
11
11
|
|
|
12
|
-
var farm = unplugin.createFarmPlugin(
|
|
12
|
+
var farm = unplugin.createFarmPlugin(chunkFP5YRXGK_cjs.createUnpluginFactory("farm"));
|
|
13
13
|
var farm_default = farm;
|
|
14
14
|
|
|
15
15
|
exports.default = farm_default;
|
package/dist/farm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-4KKX5LNV.js';
|
|
2
|
+
import './chunk-3NTTPLMW.js';
|
|
3
3
|
import './chunk-JGSCIWFQ.js';
|
|
4
4
|
import './chunk-2MYPFASJ.js';
|
|
5
5
|
import './chunk-7QVYU63E.js';
|
package/dist/index.cjs
CHANGED
|
@@ -14,7 +14,7 @@ require('./chunk-4JCNAKOE.cjs');
|
|
|
14
14
|
var chunkGHDZ3BE6_cjs = require('./chunk-GHDZ3BE6.cjs');
|
|
15
15
|
var chunkGGJUF3OS_cjs = require('./chunk-GGJUF3OS.cjs');
|
|
16
16
|
require('./chunk-XZO6ZJQP.cjs');
|
|
17
|
-
var
|
|
17
|
+
var chunkIMJGHS2X_cjs = require('./chunk-IMJGHS2X.cjs');
|
|
18
18
|
var chunkVFXZVCGG_cjs = require('./chunk-VFXZVCGG.cjs');
|
|
19
19
|
var chunkZ6ARQDHR_cjs = require('./chunk-Z6ARQDHR.cjs');
|
|
20
20
|
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
@@ -27,10 +27,10 @@ chunkPK6SKIKE_cjs.__name(defineConfig, "defineConfig");
|
|
|
27
27
|
async function createPowerlines(options = {}) {
|
|
28
28
|
options.root ??= process.cwd();
|
|
29
29
|
const workspaceRoot = getWorkspaceRoot.getWorkspaceRoot(options.root);
|
|
30
|
-
return
|
|
30
|
+
return chunkIMJGHS2X_cjs.PowerlinesAPI.from(workspaceRoot, options);
|
|
31
31
|
}
|
|
32
32
|
chunkPK6SKIKE_cjs.__name(createPowerlines, "createPowerlines");
|
|
33
|
-
var index_default =
|
|
33
|
+
var index_default = chunkIMJGHS2X_cjs.PowerlinesAPI;
|
|
34
34
|
|
|
35
35
|
Object.defineProperty(exports, "LogLevel", {
|
|
36
36
|
enumerable: true,
|
|
@@ -46,31 +46,31 @@ Object.defineProperty(exports, "__VFS_REVERT__", {
|
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "FileId", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkIMJGHS2X_cjs.FileId; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "FileMetadata", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkIMJGHS2X_cjs.FileMetadata; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "FileMetadata_KeyValuePair", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkIMJGHS2X_cjs.FileMetadata_KeyValuePair; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "FileStorage", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkIMJGHS2X_cjs.FileStorage; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "FileSystem", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkIMJGHS2X_cjs.FileSystem; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "PowerlinesAPI", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkIMJGHS2X_cjs.PowerlinesAPI; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "_capnpFileId", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkIMJGHS2X_cjs._capnpFileId; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "PLUGIN_NON_HOOK_FIELDS", {
|
|
76
76
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -10,8 +10,8 @@ import './chunk-OYASPHNL.js';
|
|
|
10
10
|
export { LogLevel } from './chunk-D5WIJFI4.js';
|
|
11
11
|
export { __VFS_PATCH__, __VFS_REVERT__ } from './chunk-DJVETZWM.js';
|
|
12
12
|
import './chunk-HJW7OH6E.js';
|
|
13
|
-
import { PowerlinesAPI } from './chunk-
|
|
14
|
-
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId } from './chunk-
|
|
13
|
+
import { PowerlinesAPI } from './chunk-3NTTPLMW.js';
|
|
14
|
+
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId } from './chunk-3NTTPLMW.js';
|
|
15
15
|
export { PLUGIN_NON_HOOK_FIELDS } from './chunk-JGSCIWFQ.js';
|
|
16
16
|
export { SUPPORTED_COMMANDS } from './chunk-2MYPFASJ.js';
|
|
17
17
|
import { __name } from './chunk-7QVYU63E.js';
|
|
@@ -23,6 +23,7 @@ var omit = require('@stryke/helpers/omit');
|
|
|
23
23
|
var fetch = require('@stryke/http/fetch');
|
|
24
24
|
var stormJson = require('@stryke/json/storm-json');
|
|
25
25
|
var append = require('@stryke/path/append');
|
|
26
|
+
var isParentPath = require('@stryke/path/is-parent-path');
|
|
26
27
|
var isType = require('@stryke/path/is-type');
|
|
27
28
|
var join = require('@stryke/path/join');
|
|
28
29
|
var replace = require('@stryke/path/replace');
|
|
@@ -980,8 +981,8 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
980
981
|
this.config.output.assets = getUnique.getUnique(this.config.output.assets.map((asset) => {
|
|
981
982
|
return {
|
|
982
983
|
glob: isSetObject.isSetObject(asset) ? asset.glob : asset,
|
|
983
|
-
input: isString.isString(asset) || !asset.input || asset.input === "." || asset.input === "/" || asset.input === "./" ? this.workspaceConfig.workspaceRoot : append.appendPath(asset.input, this.workspaceConfig.workspaceRoot),
|
|
984
|
-
output:
|
|
984
|
+
input: isString.isString(asset) || !asset.input || asset.input === "." || asset.input === "/" || asset.input === "./" ? this.workspaceConfig.workspaceRoot : isParentPath.isParentPath(asset.input, this.workspaceConfig.workspaceRoot) ? asset.input : append.appendPath(asset.input, this.workspaceConfig.workspaceRoot),
|
|
985
|
+
output: isSetObject.isSetObject(asset) && asset.output ? isParentPath.isParentPath(asset.output, this.workspaceConfig.workspaceRoot) ? asset.output : append.appendPath(join.joinPaths(this.config.output.outputPath, replace.replacePath(replace.replacePath(asset.output, replace.replacePath(this.config.output.outputPath, this.workspaceConfig.workspaceRoot)), this.config.output.outputPath)), this.workspaceConfig.workspaceRoot) : append.appendPath(this.config.output.outputPath, this.workspaceConfig.workspaceRoot),
|
|
985
986
|
ignore: isSetObject.isSetObject(asset) && asset.ignore ? toArray.toArray(asset.ignore) : void 0
|
|
986
987
|
};
|
|
987
988
|
}));
|
|
@@ -1043,5 +1044,5 @@ exports.isPluginConfig = isPluginConfig;
|
|
|
1043
1044
|
exports.isPluginConfigObject = isPluginConfigObject;
|
|
1044
1045
|
exports.isPluginConfigTuple = isPluginConfigTuple;
|
|
1045
1046
|
exports.isPluginHook = isPluginHook;
|
|
1046
|
-
//# sourceMappingURL=chunk-
|
|
1047
|
-
//# sourceMappingURL=chunk-
|
|
1047
|
+
//# sourceMappingURL=chunk-226JA2S2.cjs.map
|
|
1048
|
+
//# sourceMappingURL=chunk-226JA2S2.cjs.map
|