@powerlines/nx 0.11.242 → 0.11.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/src/base/base-executor.js +1 -1
- package/dist/src/base/base-executor.mjs +1 -1
- package/dist/src/base/base-executor.untyped.d.mts +1 -1
- package/dist/src/base/index.d.mts +1 -1
- package/dist/src/base/index.js +1 -1
- package/dist/src/base/index.mjs +1 -1
- package/dist/src/{base-executor-DR21ys32.js → base-executor-C-w1Cj4-.js} +37 -1
- package/dist/src/{base-executor-BoGtGSyI.mjs → base-executor-DeuSmP_i.mjs} +39 -3
- package/dist/src/{base-executor-D3qCz-UO.mjs.map → base-executor-DeuSmP_i.mjs.map} +1 -1
- package/dist/src/{base-executor-D3qCz-UO.mjs → base-executor-OR5IVpTY.mjs} +38 -2
- package/dist/src/{base-executor-BoGtGSyI.mjs.map → base-executor-OR5IVpTY.mjs.map} +1 -1
- package/dist/src/{base-executor-gEMcEAww.js → base-executor-eVgSDE74.js} +38 -2
- package/dist/src/base-executor.untyped-BxNh-StD.d.mts +7 -0
- package/dist/src/base-executor.untyped-BxNh-StD.d.mts.map +1 -0
- package/dist/src/executors/build/executor.js +1 -1
- package/dist/src/executors/build/executor.mjs +1 -1
- package/dist/src/executors/build/untyped.d.ts +2 -2
- package/dist/src/executors/clean/executor.js +1 -1
- package/dist/src/executors/clean/executor.mjs +1 -1
- package/dist/src/executors/clean/untyped.d.mts +2 -2
- package/dist/src/executors/clean/untyped.d.ts +2 -2
- package/dist/src/executors/docs/executor.js +1 -1
- package/dist/src/executors/docs/executor.mjs +1 -1
- package/dist/src/executors/docs/untyped.d.mts +2 -2
- package/dist/src/executors/docs/untyped.d.ts +2 -2
- package/dist/src/executors/lint/executor.js +1 -1
- package/dist/src/executors/lint/executor.mjs +1 -1
- package/dist/src/executors/lint/untyped.d.ts +2 -2
- package/dist/src/executors/prepare/executor.js +1 -1
- package/dist/src/executors/prepare/executor.mjs +1 -1
- package/dist/src/executors/prepare/untyped.d.mts +2 -2
- package/dist/src/generators/sync/untyped.d.ts +2 -2
- package/dist/src/index.d.mts +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.mjs +1 -1
- package/package.json +16 -16
- package/dist/src/base-executor.untyped-BgwzwrUY.d.mts +0 -7
- package/dist/src/base-executor.untyped-BgwzwrUY.d.mts.map +0 -1
|
@@ -84,7 +84,7 @@ diff_match_patch = require_config.__toESM(diff_match_patch);
|
|
|
84
84
|
require("unplugin");
|
|
85
85
|
|
|
86
86
|
//#region ../powerlines/package.json
|
|
87
|
-
var version = "0.40.
|
|
87
|
+
var version = "0.40.2";
|
|
88
88
|
|
|
89
89
|
//#endregion
|
|
90
90
|
//#region ../powerlines/src/typescript/ts-morph.ts
|
|
@@ -2952,6 +2952,12 @@ var PowerlinesContext = class PowerlinesContext {
|
|
|
2952
2952
|
return (0, __stryke_path_join.joinPaths)(this.artifactsPath, "entry");
|
|
2953
2953
|
}
|
|
2954
2954
|
/**
|
|
2955
|
+
* Get the path to the infrastructure modules used by the project
|
|
2956
|
+
*/
|
|
2957
|
+
get infrastructurePath() {
|
|
2958
|
+
return (0, __stryke_path_join.joinPaths)(this.artifactsPath, "infrastructure");
|
|
2959
|
+
}
|
|
2960
|
+
/**
|
|
2955
2961
|
* Get the path to the data directory for the project
|
|
2956
2962
|
*/
|
|
2957
2963
|
get dataPath() {
|
|
@@ -3158,7 +3164,7 @@ var PowerlinesContext = class PowerlinesContext {
|
|
|
3158
3164
|
if (alias) moduleId = alias.replacement;
|
|
3159
3165
|
} else if ((0, __stryke_type_checks_is_set_object.isSetObject)(this.config.resolve.alias) && this.config.resolve.alias[id]) moduleId = this.config.resolve.alias[id];
|
|
3160
3166
|
}
|
|
3161
|
-
if (this.fs.isVirtual(moduleId)) {
|
|
3167
|
+
if (this.fs.isVirtual(moduleId) || importer && this.fs.isVirtual(importer)) {
|
|
3162
3168
|
const result = await this.fs.resolve(moduleId, importer, {
|
|
3163
3169
|
conditions: this.config.resolve.conditions,
|
|
3164
3170
|
extensions: this.config.resolve.extensions,
|
|
@@ -3331,6 +3337,36 @@ var PowerlinesContext = class PowerlinesContext {
|
|
|
3331
3337
|
} }));
|
|
3332
3338
|
}
|
|
3333
3339
|
/**
|
|
3340
|
+
* Resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
3341
|
+
*
|
|
3342
|
+
* @param code - The source code of the builtin file
|
|
3343
|
+
* @param id - The unique identifier of the builtin file
|
|
3344
|
+
* @param options - Optional write file options
|
|
3345
|
+
*/
|
|
3346
|
+
async emitInfrastructure(code, id, options = {}) {
|
|
3347
|
+
if (!this.infrastructurePath) throw new Error(`The infrastructure path is not set. Cannot emit infrastructure file with id "${id}".`);
|
|
3348
|
+
if (!(0, __stryke_type_checks_is_set_string.isSetString)(id)) throw new Error(`The infrastructure id must be a non-empty string. Received: ${String(id)}`);
|
|
3349
|
+
return this.emit(code, (0, __stryke_path_append.appendPath)(id, this.infrastructurePath), (0, defu.default)(options, { meta: {
|
|
3350
|
+
type: "infrastructure",
|
|
3351
|
+
id
|
|
3352
|
+
} }));
|
|
3353
|
+
}
|
|
3354
|
+
/**
|
|
3355
|
+
* Synchronously resolves an infrastructure virtual file and writes it to the VFS if it does not already exist
|
|
3356
|
+
*
|
|
3357
|
+
* @param code - The source code of the infrastructure file
|
|
3358
|
+
* @param id - The unique identifier of the infrastructure file
|
|
3359
|
+
* @param options - Optional write file options
|
|
3360
|
+
*/
|
|
3361
|
+
emitInfrastructureSync(code, id, options = {}) {
|
|
3362
|
+
if (!this.infrastructurePath) throw new Error(`The infrastructure path is not set. Cannot emit infrastructure file with id "${id}".`);
|
|
3363
|
+
if (!(0, __stryke_type_checks_is_set_string.isSetString)(id)) throw new Error(`The infrastructure id must be a non-empty string. Received: ${String(id)}`);
|
|
3364
|
+
return this.emitSync(code, (0, __stryke_path_append.appendPath)(id, this.infrastructurePath), (0, defu.default)(options, { meta: {
|
|
3365
|
+
type: "infrastructure",
|
|
3366
|
+
id
|
|
3367
|
+
} }));
|
|
3368
|
+
}
|
|
3369
|
+
/**
|
|
3334
3370
|
* Update the context using a new user configuration options
|
|
3335
3371
|
*
|
|
3336
3372
|
* @param userConfig - The new user configuration options.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor.untyped-BxNh-StD.d.mts","names":[],"sources":["../../src/base/base-executor.untyped.ts"],"sourcesContent":[],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_config = require('../../config-CGQhS8tm.js');
|
|
3
|
-
const require_base_executor = require('../../base-executor-
|
|
3
|
+
const require_base_executor = require('../../base-executor-eVgSDE74.js');
|
|
4
4
|
let defu = require("defu");
|
|
5
5
|
defu = require_config.__toESM(defu);
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as untyped3 from "untyped";
|
|
2
2
|
|
|
3
3
|
//#region src/executors/build/untyped.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: untyped3.SchemaDefinition;
|
|
5
5
|
export = _default;
|
|
6
6
|
//# sourceMappingURL=untyped.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
require('../../config-CGQhS8tm.js');
|
|
3
|
-
const require_base_executor = require('../../base-executor-
|
|
3
|
+
const require_base_executor = require('../../base-executor-eVgSDE74.js');
|
|
4
4
|
|
|
5
5
|
//#region src/executors/clean/executor.ts
|
|
6
6
|
async function executorFn(context, api) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as untyped0 from "untyped";
|
|
2
2
|
|
|
3
3
|
//#region src/executors/clean/untyped.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: untyped0.SchemaDefinition;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
|
7
7
|
//# sourceMappingURL=untyped.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as untyped4 from "untyped";
|
|
2
2
|
|
|
3
3
|
//#region src/executors/clean/untyped.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: untyped4.SchemaDefinition;
|
|
5
5
|
export = _default;
|
|
6
6
|
//# sourceMappingURL=untyped.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
require('../../config-CGQhS8tm.js');
|
|
3
|
-
const require_base_executor = require('../../base-executor-
|
|
3
|
+
const require_base_executor = require('../../base-executor-eVgSDE74.js');
|
|
4
4
|
|
|
5
5
|
//#region src/executors/docs/executor.ts
|
|
6
6
|
async function executorFn(context, api) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as untyped1 from "untyped";
|
|
2
2
|
|
|
3
3
|
//#region src/executors/docs/untyped.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: untyped1.SchemaDefinition;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
|
7
7
|
//# sourceMappingURL=untyped.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as untyped1 from "untyped";
|
|
2
2
|
|
|
3
3
|
//#region src/executors/docs/untyped.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: untyped1.SchemaDefinition;
|
|
5
5
|
export = _default;
|
|
6
6
|
//# sourceMappingURL=untyped.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
require('../../config-CGQhS8tm.js');
|
|
3
|
-
const require_base_executor = require('../../base-executor-
|
|
3
|
+
const require_base_executor = require('../../base-executor-eVgSDE74.js');
|
|
4
4
|
|
|
5
5
|
//#region src/executors/lint/executor.ts
|
|
6
6
|
async function executorFn(context, api) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as untyped2 from "untyped";
|
|
2
2
|
|
|
3
3
|
//#region src/executors/lint/untyped.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: untyped2.SchemaDefinition;
|
|
5
5
|
export = _default;
|
|
6
6
|
//# sourceMappingURL=untyped.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_config = require('../../config-CGQhS8tm.js');
|
|
3
|
-
const require_base_executor = require('../../base-executor-
|
|
3
|
+
const require_base_executor = require('../../base-executor-eVgSDE74.js');
|
|
4
4
|
let defu = require("defu");
|
|
5
5
|
defu = require_config.__toESM(defu);
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as untyped5 from "untyped";
|
|
2
2
|
|
|
3
3
|
//#region src/executors/prepare/untyped.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: untyped5.SchemaDefinition;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
|
7
7
|
//# sourceMappingURL=untyped.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as untyped0 from "untyped";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/sync/untyped.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: untyped0.SchemaDefinition;
|
|
5
5
|
export = _default;
|
|
6
6
|
//# sourceMappingURL=untyped.d.ts.map
|
package/dist/src/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as withExecutor, t as PowerlinesExecutorContext } from "./base-executor-kPTbnW7K.mjs";
|
|
2
|
-
import "./base-executor.untyped-
|
|
2
|
+
import "./base-executor.untyped-BxNh-StD.mjs";
|
|
3
3
|
import "./index-LhFpnU-f.mjs";
|
|
4
4
|
import { t as CONFIG_INPUTS } from "./constants-ByputsG8.mjs";
|
|
5
5
|
import { t as NxPluginOptions } from "./plugin-DIj3oU64.mjs";
|
package/dist/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require('./config-CGQhS8tm.js');
|
|
2
|
-
const require_base_executor = require('./base-executor-
|
|
2
|
+
const require_base_executor = require('./base-executor-eVgSDE74.js');
|
|
3
3
|
require('./base-executor.untyped-Cz1Zw_02.js');
|
|
4
4
|
require('./base-B7jekb-W.js');
|
|
5
5
|
const require_constants = require('./constants-CKuImMYn.js');
|
package/dist/src/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/nx",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.243",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"description": "A Nx plugin to support Powerlines development in Nx monorepos.",
|
|
@@ -174,29 +174,29 @@
|
|
|
174
174
|
"typings": "./dist/src/index.d.ts",
|
|
175
175
|
"dependencies": {
|
|
176
176
|
"@nx/devkit": "^22.5.4",
|
|
177
|
-
"@storm-software/build-tools": "^0.158.
|
|
178
|
-
"@storm-software/config": "^1.135.
|
|
179
|
-
"@storm-software/config-tools": "^1.189.
|
|
180
|
-
"@storm-software/workspace-tools": "^1.294.
|
|
181
|
-
"@stryke/env": "^0.20.
|
|
182
|
-
"@stryke/fs": "^0.33.
|
|
183
|
-
"@stryke/hash": "^0.13.
|
|
184
|
-
"@stryke/path": "^0.26.
|
|
177
|
+
"@storm-software/build-tools": "^0.158.98",
|
|
178
|
+
"@storm-software/config": "^1.135.18",
|
|
179
|
+
"@storm-software/config-tools": "^1.189.17",
|
|
180
|
+
"@storm-software/workspace-tools": "^1.294.50",
|
|
181
|
+
"@stryke/env": "^0.20.70",
|
|
182
|
+
"@stryke/fs": "^0.33.53",
|
|
183
|
+
"@stryke/hash": "^0.13.6",
|
|
184
|
+
"@stryke/path": "^0.26.15",
|
|
185
185
|
"@stryke/string-format": "^0.14.8",
|
|
186
|
-
"@stryke/type-checks": "^0.5.
|
|
186
|
+
"@stryke/type-checks": "^0.5.34",
|
|
187
187
|
"defu": "^6.1.4",
|
|
188
188
|
"jiti": "^2.6.1"
|
|
189
189
|
},
|
|
190
190
|
"devDependencies": {
|
|
191
191
|
"@nx/workspace": "22.5.2",
|
|
192
|
-
"@storm-software/testing-tools": "^1.119.
|
|
193
|
-
"@storm-software/tsup": "^0.2.
|
|
194
|
-
"@storm-software/untyped": "^0.24.
|
|
195
|
-
"@types/node": "^25.3.
|
|
192
|
+
"@storm-software/testing-tools": "^1.119.92",
|
|
193
|
+
"@storm-software/tsup": "^0.2.96",
|
|
194
|
+
"@storm-software/untyped": "^0.24.80",
|
|
195
|
+
"@types/node": "^25.3.5",
|
|
196
196
|
"eslint-flat-config-utils": "^2.1.4",
|
|
197
197
|
"jsonc-eslint-parser": "^2.4.2",
|
|
198
198
|
"nx": "22.5.2",
|
|
199
|
-
"powerlines": "^0.40.
|
|
199
|
+
"powerlines": "^0.40.2"
|
|
200
200
|
},
|
|
201
201
|
"peerDependencies": { "nx": ">=22.5.0", "powerlines": ">=0.39.2" },
|
|
202
202
|
"peerDependenciesMeta": {
|
|
@@ -206,5 +206,5 @@
|
|
|
206
206
|
"publishConfig": { "access": "public" },
|
|
207
207
|
"executors": "./executors.json",
|
|
208
208
|
"generators": "./generators.json",
|
|
209
|
-
"gitHead": "
|
|
209
|
+
"gitHead": "9d8c7149d35ca03f3ce533b404084b720eecf1a4"
|
|
210
210
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor.untyped-BgwzwrUY.d.mts","names":[],"sources":["../../src/base/base-executor.untyped.ts"],"sourcesContent":[],"mappings":""}
|