powerlines 0.32.1 → 0.32.2
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-XTSKPL6I.cjs → chunk-3JH42API.cjs} +5 -5
- package/dist/{chunk-Z5MNSDM4.js → chunk-54UQ3OTD.js} +3 -3
- package/dist/{chunk-ZLLAZ5LF.cjs → chunk-5GYDC35H.cjs} +4 -4
- package/dist/{chunk-NGRCYHUU.js → chunk-65UUZVVN.js} +3 -3
- package/dist/{chunk-DZY3LNTY.js → chunk-6V2UUPNR.js} +3 -3
- package/dist/{chunk-UDPMUFXM.cjs → chunk-DYH2YIFE.cjs} +4 -4
- package/dist/{chunk-EMIKBRCT.js → chunk-IBJ42WN7.js} +3 -3
- package/dist/{chunk-RPBIX6JI.js → chunk-IPTPOMYN.js} +3 -3
- package/dist/{chunk-FJ5JKE4N.js → chunk-JVMHTIO5.js} +3 -3
- package/dist/{chunk-OENQ5VVB.cjs → chunk-SEG5HV7K.cjs} +3 -3
- package/dist/chunk-TEFKQVC7.cjs +12 -0
- package/dist/chunk-U7UOY3HX.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-AEUGNAWZ.js → chunk-UWC36GPJ.js} +3 -3
- package/dist/lib/chunk-UWC36GPJ.js.map +1 -0
- package/dist/lib/{chunk-O6E2NAHX.cjs → chunk-VLIGHEBW.cjs} +3 -3
- package/dist/lib/chunk-VLIGHEBW.cjs.map +1 -0
- package/dist/lib/index.cjs +2 -2
- package/dist/lib/index.js +1 -1
- package/dist/lib/unplugin/factory.cjs +2 -2
- package/dist/lib/unplugin/factory.js +1 -1
- package/dist/lib/unplugin/index.cjs +2 -2
- package/dist/lib/unplugin/index.js +1 -1
- 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-2TPZV3VK.cjs +0 -12
- package/dist/chunk-45YZCBHR.cjs +0 -12
- package/dist/lib/chunk-AEUGNAWZ.js.map +0 -1
- package/dist/lib/chunk-O6E2NAHX.cjs.map +0 -1
package/dist/api.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSEG5HV7K_cjs = require('./chunk-SEG5HV7K.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 chunkSEG5HV7K_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 chunkDYH2YIFE_cjs = require('./chunk-DYH2YIFE.cjs');
|
|
6
6
|
require('./chunk-AATT73UY.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-3JH42API.cjs');
|
|
8
|
+
require('./chunk-SEG5HV7K.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
|
+
chunkDYH2YIFE_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-JVMHTIO5.js';
|
|
2
2
|
import './chunk-A7PVG2HH.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-IPTPOMYN.js';
|
|
4
|
+
import './chunk-IBJ42WN7.js';
|
|
5
5
|
import './chunk-JGSCIWFQ.js';
|
|
6
6
|
import './chunk-2MYPFASJ.js';
|
|
7
7
|
import { __name } from './chunk-7QVYU63E.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSEG5HV7K_cjs = require('./chunk-SEG5HV7K.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 = chunkSEG5HV7K_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 chunkSEG5HV7K_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-3JH42API.cjs.map
|
|
136
|
+
//# sourceMappingURL=chunk-3JH42API.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-IPTPOMYN.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-54UQ3OTD.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-54UQ3OTD.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 chunk3JH42API_cjs = require('./chunk-3JH42API.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(chunk3JH42API_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-5GYDC35H.cjs.map
|
|
36
|
+
//# sourceMappingURL=chunk-5GYDC35H.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-A7PVG2HH.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-IPTPOMYN.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-65UUZVVN.js.map
|
|
33
|
+
//# sourceMappingURL=chunk-65UUZVVN.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-
|
|
1
|
+
import { createUnpluginFactory } from './chunk-IPTPOMYN.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-6V2UUPNR.js.map
|
|
9
|
+
//# sourceMappingURL=chunk-6V2UUPNR.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 chunk3JH42API_cjs = require('./chunk-3JH42API.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(chunk3JH42API_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-DYH2YIFE.cjs.map
|
|
162
|
+
//# sourceMappingURL=chunk-DYH2YIFE.cjs.map
|
|
@@ -4365,7 +4365,7 @@ ${formatTypes(types)}
|
|
|
4365
4365
|
if (context.config.output.buildPath !== context.config.output.outputPath) {
|
|
4366
4366
|
const sourcePath = appendPath(context.config.output.buildPath, context.workspaceConfig.workspaceRoot);
|
|
4367
4367
|
const destinationPath = joinPaths$1(appendPath(context.config.output.outputPath, context.workspaceConfig.workspaceRoot), "dist");
|
|
4368
|
-
if (sourcePath !== destinationPath) {
|
|
4368
|
+
if (context.fs.existsSync(sourcePath) && sourcePath !== destinationPath) {
|
|
4369
4369
|
context.log(LogLevelLabel.INFO, `Copying build output files from project's build directory (${context.config.output.buildPath}) to the workspace's output directory (${context.config.output.outputPath}).`);
|
|
4370
4370
|
await context.fs.copy(sourcePath, destinationPath);
|
|
4371
4371
|
}
|
|
@@ -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-IBJ42WN7.js.map
|
|
4553
|
+
//# sourceMappingURL=chunk-IBJ42WN7.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createLog, PowerlinesAPI } from './chunk-
|
|
1
|
+
import { createLog, PowerlinesAPI } from './chunk-IBJ42WN7.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-IPTPOMYN.js.map
|
|
133
|
+
//# sourceMappingURL=chunk-IPTPOMYN.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { extractESBuildConfig } from './chunk-A7PVG2HH.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-
|
|
2
|
+
import { createUnpluginFactory } from './chunk-IPTPOMYN.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-JVMHTIO5.js.map
|
|
155
|
+
//# sourceMappingURL=chunk-JVMHTIO5.js.map
|
|
@@ -4394,7 +4394,7 @@ ${formatTypes(types$1)}
|
|
|
4394
4394
|
if (context.config.output.buildPath !== context.config.output.outputPath) {
|
|
4395
4395
|
const sourcePath = append.appendPath(context.config.output.buildPath, context.workspaceConfig.workspaceRoot);
|
|
4396
4396
|
const destinationPath = joinPaths.joinPaths(append.appendPath(context.config.output.outputPath, context.workspaceConfig.workspaceRoot), "dist");
|
|
4397
|
-
if (sourcePath !== destinationPath) {
|
|
4397
|
+
if (context.fs.existsSync(sourcePath) && sourcePath !== destinationPath) {
|
|
4398
4398
|
context.log(types.LogLevelLabel.INFO, `Copying build output files from project's build directory (${context.config.output.buildPath}) to the workspace's output directory (${context.config.output.outputPath}).`);
|
|
4399
4399
|
await context.fs.copy(sourcePath, destinationPath);
|
|
4400
4400
|
}
|
|
@@ -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-SEG5HV7K.cjs.map
|
|
4590
|
+
//# sourceMappingURL=chunk-SEG5HV7K.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk3JH42API_cjs = require('./chunk-3JH42API.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var webpack = unplugin.createWebpackPlugin(chunk3JH42API_cjs.createUnpluginFactory("webpack"));
|
|
7
|
+
var webpack_default = webpack;
|
|
8
|
+
|
|
9
|
+
exports.webpack = webpack;
|
|
10
|
+
exports.webpack_default = webpack_default;
|
|
11
|
+
//# sourceMappingURL=chunk-TEFKQVC7.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-TEFKQVC7.cjs.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk3JH42API_cjs = require('./chunk-3JH42API.cjs');
|
|
4
|
+
var unplugin = require('unplugin');
|
|
5
|
+
|
|
6
|
+
var rolldown = unplugin.createRolldownPlugin(chunk3JH42API_cjs.createUnpluginFactory("rolldown"));
|
|
7
|
+
var rolldown_default = rolldown;
|
|
8
|
+
|
|
9
|
+
exports.rolldown = rolldown;
|
|
10
|
+
exports.rolldown_default = rolldown_default;
|
|
11
|
+
//# sourceMappingURL=chunk-U7UOY3HX.cjs.map
|
|
12
|
+
//# sourceMappingURL=chunk-U7UOY3HX.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 chunk5GYDC35H_cjs = require('./chunk-5GYDC35H.cjs');
|
|
6
6
|
require('./chunk-AATT73UY.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-3JH42API.cjs');
|
|
8
|
+
require('./chunk-SEG5HV7K.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 chunk5GYDC35H_cjs.esbuild_default; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "esbuild", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk5GYDC35H_cjs.esbuild; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "module.exports", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk5GYDC35H_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-65UUZVVN.js';
|
|
2
2
|
import './chunk-A7PVG2HH.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-IPTPOMYN.js';
|
|
4
|
+
import './chunk-IBJ42WN7.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 chunk3JH42API_cjs = require('./chunk-3JH42API.cjs');
|
|
6
|
+
require('./chunk-SEG5HV7K.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(chunk3JH42API_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-IPTPOMYN.js';
|
|
2
|
+
import './chunk-IBJ42WN7.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 chunkSEG5HV7K_cjs = require('./chunk-SEG5HV7K.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 chunkSEG5HV7K_cjs.PowerlinesAPI.from(workspaceRoot, options);
|
|
31
31
|
}
|
|
32
32
|
chunkPK6SKIKE_cjs.__name(createPowerlines, "createPowerlines");
|
|
33
|
-
var index_default =
|
|
33
|
+
var index_default = chunkSEG5HV7K_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 chunkSEG5HV7K_cjs.FileId; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "FileMetadata", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkSEG5HV7K_cjs.FileMetadata; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "FileMetadata_KeyValuePair", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkSEG5HV7K_cjs.FileMetadata_KeyValuePair; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "FileStorage", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkSEG5HV7K_cjs.FileStorage; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "FileSystem", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkSEG5HV7K_cjs.FileSystem; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "PowerlinesAPI", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkSEG5HV7K_cjs.PowerlinesAPI; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "_capnpFileId", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkSEG5HV7K_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-IBJ42WN7.js';
|
|
14
|
+
export { FileId, FileMetadata, FileMetadata_KeyValuePair, FileStorage, FileSystem, PowerlinesAPI, _capnpFileId } from './chunk-IBJ42WN7.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';
|
|
@@ -897,7 +897,7 @@ ${formatTypes(types)}
|
|
|
897
897
|
if (context.config.output.buildPath !== context.config.output.outputPath) {
|
|
898
898
|
const sourcePath = appendPath(context.config.output.buildPath, context.workspaceConfig.workspaceRoot);
|
|
899
899
|
const destinationPath = joinPaths(appendPath(context.config.output.outputPath, context.workspaceConfig.workspaceRoot), "dist");
|
|
900
|
-
if (sourcePath !== destinationPath) {
|
|
900
|
+
if (context.fs.existsSync(sourcePath) && sourcePath !== destinationPath) {
|
|
901
901
|
context.log(LogLevelLabel.INFO, `Copying build output files from project's build directory (${context.config.output.buildPath}) to the workspace's output directory (${context.config.output.outputPath}).`);
|
|
902
902
|
await context.fs.copy(sourcePath, destinationPath);
|
|
903
903
|
}
|
|
@@ -1187,5 +1187,5 @@ function createUnpluginFactory(variant, decorate) {
|
|
|
1187
1187
|
__name(createUnpluginFactory, "createUnpluginFactory");
|
|
1188
1188
|
|
|
1189
1189
|
export { createUnpluginFactory };
|
|
1190
|
-
//# sourceMappingURL=chunk-
|
|
1191
|
-
//# sourceMappingURL=chunk-
|
|
1190
|
+
//# sourceMappingURL=chunk-UWC36GPJ.js.map
|
|
1191
|
+
//# sourceMappingURL=chunk-UWC36GPJ.js.map
|