@powerlines/nx 0.11.111 → 0.11.112
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/CHANGELOG.md +6 -0
- package/dist/{chunk-4UZRZQUS.mjs → chunk-7OIC25XC.mjs} +1 -137
- package/dist/{chunk-MF5QODWY.js → chunk-CJKT3EAE.js} +2 -2
- package/dist/{chunk-VWNMKM5N.mjs → chunk-F7SRBMLZ.mjs} +1 -1
- package/dist/{chunk-TLWDGEOT.mjs → chunk-FGMAEAWX.mjs} +1 -1
- package/dist/{chunk-HJXJMNGN.mjs → chunk-HKTGG2PT.mjs} +1 -1
- package/dist/{chunk-T2RWWHL6.mjs → chunk-KUEPQ6KR.mjs} +1 -1
- package/dist/{chunk-3SB7J4IF.js → chunk-MAPDHNXK.js} +2 -2
- package/dist/{chunk-BLWFG3QD.js → chunk-RID42I5O.js} +2 -2
- package/dist/{chunk-NC2I3XLI.js → chunk-RLZSB7DH.js} +1 -138
- package/dist/{chunk-LFQRDCTM.js → chunk-TZD7ZQSY.js} +2 -2
- package/dist/{chunk-MMWKVYNU.js → chunk-YFCMOIGK.js} +2 -2
- package/dist/{chunk-ATP3XKQZ.mjs → chunk-YL2R4FVG.mjs} +1 -1
- package/dist/executors.js +11 -11
- package/dist/executors.mjs +6 -6
- package/dist/index.js +11 -11
- package/dist/index.mjs +6 -6
- package/dist/src/base/base-executor.js +2 -2
- package/dist/src/base/base-executor.mjs +1 -1
- package/dist/src/executors/build/executor.js +4 -4
- package/dist/src/executors/build/executor.mjs +2 -2
- package/dist/src/executors/clean/executor.js +4 -4
- package/dist/src/executors/clean/executor.mjs +2 -2
- package/dist/src/executors/docs/executor.js +4 -4
- package/dist/src/executors/docs/executor.mjs +2 -2
- package/dist/src/executors/lint/executor.js +4 -4
- package/dist/src/executors/lint/executor.mjs +2 -2
- package/dist/src/executors/prepare/executor.js +4 -4
- package/dist/src/executors/prepare/executor.mjs +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Powerlines - Nx
|
|
4
4
|
|
|
5
|
+
## [0.11.111](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.111) (01/20/2026)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **powerlines** to **v0.37.55**
|
|
10
|
+
|
|
5
11
|
## [0.11.110](https://github.com/storm-software/powerlines/releases/tag/nx%400.11.110) (01/20/2026)
|
|
6
12
|
|
|
7
13
|
### Updated Dependencies
|
|
@@ -5,7 +5,6 @@ import { withRunExecutor } from '@storm-software/workspace-tools/base/base-execu
|
|
|
5
5
|
import { isError } from '@stryke/type-checks/is-error';
|
|
6
6
|
import defu6, { createDefu, defu } from 'defu';
|
|
7
7
|
import { relativeToWorkspaceRoot } from '@stryke/fs/get-workspace-root';
|
|
8
|
-
import { transformAsync } from '@babel/core';
|
|
9
8
|
import { formatLogMessage } from '@storm-software/config-tools/logger/console';
|
|
10
9
|
import { toArray } from '@stryke/convert/to-array';
|
|
11
10
|
import { createDirectorySync, createDirectory } from '@stryke/fs/helpers';
|
|
@@ -27,8 +26,6 @@ import { isSetString } from '@stryke/type-checks/is-set-string';
|
|
|
27
26
|
import { isString } from '@stryke/type-checks/is-string';
|
|
28
27
|
import chalk5 from 'chalk';
|
|
29
28
|
import Handlebars from 'handlebars';
|
|
30
|
-
import { declare } from '@babel/helper-plugin-utils';
|
|
31
|
-
import * as t from '@babel/types';
|
|
32
29
|
import { isParentPath } from '@stryke/path/is-parent-path';
|
|
33
30
|
import { prettyBytes } from '@stryke/string-format/pretty-bytes';
|
|
34
31
|
import { InMemoryFileSystemHost, Project, DiagnosticCategory } from 'ts-morph';
|
|
@@ -78,107 +75,7 @@ import { resolve } from 'node:path';
|
|
|
78
75
|
|
|
79
76
|
// ../powerlines/package.json
|
|
80
77
|
var package_default = {
|
|
81
|
-
version: "0.37.
|
|
82
|
-
function resolveModulePath(nodePath, state) {
|
|
83
|
-
if (!t.isStringLiteral(nodePath.node)) {
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
const resolvedPath = state.context?.fs.resolveSync(nodePath.node.value);
|
|
87
|
-
if (resolvedPath) {
|
|
88
|
-
nodePath.replaceWith(t.stringLiteral(
|
|
89
|
-
// Remove the file extension if it exists
|
|
90
|
-
resolvedPath.replace(/\.(?:ts|mts|cts)x?$/, "")
|
|
91
|
-
));
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
__name(resolveModulePath, "resolveModulePath");
|
|
95
|
-
var TRANSFORM_FUNCTIONS = [
|
|
96
|
-
"require",
|
|
97
|
-
"require.resolve",
|
|
98
|
-
"System.import",
|
|
99
|
-
// Jest methods
|
|
100
|
-
"jest.genMockFromModule",
|
|
101
|
-
"jest.mock",
|
|
102
|
-
"jest.unmock",
|
|
103
|
-
"jest.doMock",
|
|
104
|
-
// eslint-disable-next-line @cspell/spellchecker
|
|
105
|
-
"jest.dontMock",
|
|
106
|
-
"jest.setMock",
|
|
107
|
-
"jest.requireActual",
|
|
108
|
-
"jest.requireMock",
|
|
109
|
-
// Older Jest methods
|
|
110
|
-
"require.requireActual",
|
|
111
|
-
"require.requireMock"
|
|
112
|
-
];
|
|
113
|
-
function matchesPattern(state, calleePath, pattern) {
|
|
114
|
-
const { node } = calleePath;
|
|
115
|
-
if (t.isMemberExpression(node)) {
|
|
116
|
-
return calleePath.matchesPattern(pattern);
|
|
117
|
-
}
|
|
118
|
-
if (!t.isIdentifier(node) || pattern.includes(".")) {
|
|
119
|
-
return false;
|
|
120
|
-
}
|
|
121
|
-
const name = pattern.split(".")[0];
|
|
122
|
-
return node.name === name;
|
|
123
|
-
}
|
|
124
|
-
__name(matchesPattern, "matchesPattern");
|
|
125
|
-
var importVisitors = {
|
|
126
|
-
CallExpression: /* @__PURE__ */ __name((nodePath, state) => {
|
|
127
|
-
if (state.moduleResolverVisited.has(nodePath)) {
|
|
128
|
-
return;
|
|
129
|
-
}
|
|
130
|
-
const calleePath = nodePath.get("callee");
|
|
131
|
-
if (calleePath && TRANSFORM_FUNCTIONS.some((pattern) => matchesPattern(state, calleePath, pattern)) || t.isImport(nodePath.node.callee)) {
|
|
132
|
-
state.moduleResolverVisited.add(nodePath);
|
|
133
|
-
resolveModulePath(nodePath.get("arguments.0"), state);
|
|
134
|
-
}
|
|
135
|
-
}, "CallExpression"),
|
|
136
|
-
// eslint-disable-next-line ts/naming-convention
|
|
137
|
-
"ImportDeclaration|ExportDeclaration|ExportAllDeclaration": /* @__PURE__ */ __name((nodePath, state) => {
|
|
138
|
-
if (!nodePath || !nodePath.get("source") || state.moduleResolverVisited.has(nodePath)) {
|
|
139
|
-
return;
|
|
140
|
-
}
|
|
141
|
-
state.moduleResolverVisited.add(nodePath);
|
|
142
|
-
resolveModulePath(nodePath.get("source"), state);
|
|
143
|
-
}, "ImportDeclaration|ExportDeclaration|ExportAllDeclaration")
|
|
144
|
-
};
|
|
145
|
-
var moduleResolverBabelPlugin = /* @__PURE__ */ __name((context) => {
|
|
146
|
-
return declare(/* @__PURE__ */ __name(function builder(api) {
|
|
147
|
-
let moduleResolverVisited = /* @__PURE__ */ new Set();
|
|
148
|
-
return {
|
|
149
|
-
name: "powerlines:module-resolver",
|
|
150
|
-
manipulateOptions(opts) {
|
|
151
|
-
opts.filename ??= "unknown";
|
|
152
|
-
},
|
|
153
|
-
pre() {
|
|
154
|
-
moduleResolverVisited = /* @__PURE__ */ new Set();
|
|
155
|
-
},
|
|
156
|
-
visitor: {
|
|
157
|
-
Program: {
|
|
158
|
-
enter(programPath, state) {
|
|
159
|
-
programPath.traverse(importVisitors, {
|
|
160
|
-
...state,
|
|
161
|
-
context,
|
|
162
|
-
moduleResolverVisited,
|
|
163
|
-
api
|
|
164
|
-
});
|
|
165
|
-
},
|
|
166
|
-
exit(programPath, state) {
|
|
167
|
-
programPath.traverse(importVisitors, {
|
|
168
|
-
...state,
|
|
169
|
-
context,
|
|
170
|
-
moduleResolverVisited,
|
|
171
|
-
api
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
post() {
|
|
177
|
-
moduleResolverVisited.clear();
|
|
178
|
-
}
|
|
179
|
-
};
|
|
180
|
-
}, "builder"));
|
|
181
|
-
}, "moduleResolverBabelPlugin");
|
|
78
|
+
version: "0.37.55"};
|
|
182
79
|
var VirtualFileSystemHost = class extends InMemoryFileSystemHost {
|
|
183
80
|
static {
|
|
184
81
|
__name(this, "VirtualFileSystemHost");
|
|
@@ -4452,39 +4349,6 @@ ${formatLogMessage({
|
|
|
4452
4349
|
}
|
|
4453
4350
|
context.debug("Transforming built-ins runtime modules files.");
|
|
4454
4351
|
const builtinFilePaths = await Promise.all((await context.getBuiltins()).map(async (file) => {
|
|
4455
|
-
const result2 = await transformAsync(file.code.toString(), {
|
|
4456
|
-
highlightCode: true,
|
|
4457
|
-
code: true,
|
|
4458
|
-
ast: false,
|
|
4459
|
-
cloneInputAst: false,
|
|
4460
|
-
comments: true,
|
|
4461
|
-
sourceType: "module",
|
|
4462
|
-
configFile: false,
|
|
4463
|
-
babelrc: false,
|
|
4464
|
-
envName: context.config.mode,
|
|
4465
|
-
caller: {
|
|
4466
|
-
name: "powerlines"
|
|
4467
|
-
},
|
|
4468
|
-
...context.config.transform.babel,
|
|
4469
|
-
filename: file.path,
|
|
4470
|
-
plugins: [
|
|
4471
|
-
[
|
|
4472
|
-
"@babel/plugin-syntax-typescript"
|
|
4473
|
-
],
|
|
4474
|
-
[
|
|
4475
|
-
moduleResolverBabelPlugin(context)
|
|
4476
|
-
]
|
|
4477
|
-
]
|
|
4478
|
-
});
|
|
4479
|
-
if (!result2?.code) {
|
|
4480
|
-
throw new Error(`Powerlines - Generate Types failed to compile ${file.id}`);
|
|
4481
|
-
}
|
|
4482
|
-
if (!file.id) {
|
|
4483
|
-
context.warn(`File ID is missing for a built-in runtime file at ${file.path}.`);
|
|
4484
|
-
file.id = replacePath(replacePath(file.path, context.workspaceConfig.workspaceRoot), context.builtinsPath);
|
|
4485
|
-
}
|
|
4486
|
-
context.trace(`Writing transformed built-in runtime file ${file.id}.`);
|
|
4487
|
-
await context.emitBuiltin(result2.code, file.id);
|
|
4488
4352
|
return appendPath(file.path, context.builtinsPath);
|
|
4489
4353
|
}));
|
|
4490
4354
|
const typescriptPath = await resolvePackage("typescript");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRLZSB7DH_js = require('./chunk-RLZSB7DH.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
|
|
6
6
|
// src/executors/clean/executor.ts
|
|
@@ -11,7 +11,7 @@ async function executorFn(context, api) {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
14
|
-
var executor =
|
|
14
|
+
var executor = chunkRLZSB7DH_js.withExecutor("clean", executorFn);
|
|
15
15
|
var executor_default = executor;
|
|
16
16
|
|
|
17
17
|
exports.executorFn = executorFn;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRLZSB7DH_js = require('./chunk-RLZSB7DH.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
var defu = require('defu');
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ async function executorFn(context, api) {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
22
|
-
var executor =
|
|
22
|
+
var executor = chunkRLZSB7DH_js.withExecutor("prepare", executorFn);
|
|
23
23
|
var executor_default = executor;
|
|
24
24
|
|
|
25
25
|
exports.executorFn = executorFn;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRLZSB7DH_js = require('./chunk-RLZSB7DH.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
var defu = require('defu');
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ async function executorFn(context, api) {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
22
|
-
var executor =
|
|
22
|
+
var executor = chunkRLZSB7DH_js.withExecutor("build", executorFn);
|
|
23
23
|
var executor_default = executor;
|
|
24
24
|
|
|
25
25
|
exports.executorFn = executorFn;
|
|
@@ -7,7 +7,6 @@ var baseExecutor = require('@storm-software/workspace-tools/base/base-executor')
|
|
|
7
7
|
var isError = require('@stryke/type-checks/is-error');
|
|
8
8
|
var defu6 = require('defu');
|
|
9
9
|
var getWorkspaceRoot = require('@stryke/fs/get-workspace-root');
|
|
10
|
-
var core = require('@babel/core');
|
|
11
10
|
var console = require('@storm-software/config-tools/logger/console');
|
|
12
11
|
var toArray = require('@stryke/convert/to-array');
|
|
13
12
|
var helpers = require('@stryke/fs/helpers');
|
|
@@ -29,8 +28,6 @@ var isSetString = require('@stryke/type-checks/is-set-string');
|
|
|
29
28
|
var isString = require('@stryke/type-checks/is-string');
|
|
30
29
|
var chalk5 = require('chalk');
|
|
31
30
|
var Handlebars = require('handlebars');
|
|
32
|
-
var helperPluginUtils = require('@babel/helper-plugin-utils');
|
|
33
|
-
var t = require('@babel/types');
|
|
34
31
|
var isParentPath = require('@stryke/path/is-parent-path');
|
|
35
32
|
var prettyBytes = require('@stryke/string-format/pretty-bytes');
|
|
36
33
|
var tsMorph = require('ts-morph');
|
|
@@ -101,113 +98,12 @@ function _interopNamespace(e) {
|
|
|
101
98
|
var defu6__default = /*#__PURE__*/_interopDefault(defu6);
|
|
102
99
|
var chalk5__default = /*#__PURE__*/_interopDefault(chalk5);
|
|
103
100
|
var Handlebars__default = /*#__PURE__*/_interopDefault(Handlebars);
|
|
104
|
-
var t__namespace = /*#__PURE__*/_interopNamespace(t);
|
|
105
101
|
var ts__default = /*#__PURE__*/_interopDefault(ts);
|
|
106
102
|
var $__namespace = /*#__PURE__*/_interopNamespace($);
|
|
107
103
|
|
|
108
104
|
// ../powerlines/package.json
|
|
109
105
|
var package_default = {
|
|
110
|
-
version: "0.37.
|
|
111
|
-
function resolveModulePath(nodePath, state) {
|
|
112
|
-
if (!t__namespace.isStringLiteral(nodePath.node)) {
|
|
113
|
-
return;
|
|
114
|
-
}
|
|
115
|
-
const resolvedPath = state.context?.fs.resolveSync(nodePath.node.value);
|
|
116
|
-
if (resolvedPath) {
|
|
117
|
-
nodePath.replaceWith(t__namespace.stringLiteral(
|
|
118
|
-
// Remove the file extension if it exists
|
|
119
|
-
resolvedPath.replace(/\.(?:ts|mts|cts)x?$/, "")
|
|
120
|
-
));
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
chunkSHUYVCID_js.__name(resolveModulePath, "resolveModulePath");
|
|
124
|
-
var TRANSFORM_FUNCTIONS = [
|
|
125
|
-
"require",
|
|
126
|
-
"require.resolve",
|
|
127
|
-
"System.import",
|
|
128
|
-
// Jest methods
|
|
129
|
-
"jest.genMockFromModule",
|
|
130
|
-
"jest.mock",
|
|
131
|
-
"jest.unmock",
|
|
132
|
-
"jest.doMock",
|
|
133
|
-
// eslint-disable-next-line @cspell/spellchecker
|
|
134
|
-
"jest.dontMock",
|
|
135
|
-
"jest.setMock",
|
|
136
|
-
"jest.requireActual",
|
|
137
|
-
"jest.requireMock",
|
|
138
|
-
// Older Jest methods
|
|
139
|
-
"require.requireActual",
|
|
140
|
-
"require.requireMock"
|
|
141
|
-
];
|
|
142
|
-
function matchesPattern(state, calleePath, pattern) {
|
|
143
|
-
const { node } = calleePath;
|
|
144
|
-
if (t__namespace.isMemberExpression(node)) {
|
|
145
|
-
return calleePath.matchesPattern(pattern);
|
|
146
|
-
}
|
|
147
|
-
if (!t__namespace.isIdentifier(node) || pattern.includes(".")) {
|
|
148
|
-
return false;
|
|
149
|
-
}
|
|
150
|
-
const name = pattern.split(".")[0];
|
|
151
|
-
return node.name === name;
|
|
152
|
-
}
|
|
153
|
-
chunkSHUYVCID_js.__name(matchesPattern, "matchesPattern");
|
|
154
|
-
var importVisitors = {
|
|
155
|
-
CallExpression: /* @__PURE__ */ chunkSHUYVCID_js.__name((nodePath, state) => {
|
|
156
|
-
if (state.moduleResolverVisited.has(nodePath)) {
|
|
157
|
-
return;
|
|
158
|
-
}
|
|
159
|
-
const calleePath = nodePath.get("callee");
|
|
160
|
-
if (calleePath && TRANSFORM_FUNCTIONS.some((pattern) => matchesPattern(state, calleePath, pattern)) || t__namespace.isImport(nodePath.node.callee)) {
|
|
161
|
-
state.moduleResolverVisited.add(nodePath);
|
|
162
|
-
resolveModulePath(nodePath.get("arguments.0"), state);
|
|
163
|
-
}
|
|
164
|
-
}, "CallExpression"),
|
|
165
|
-
// eslint-disable-next-line ts/naming-convention
|
|
166
|
-
"ImportDeclaration|ExportDeclaration|ExportAllDeclaration": /* @__PURE__ */ chunkSHUYVCID_js.__name((nodePath, state) => {
|
|
167
|
-
if (!nodePath || !nodePath.get("source") || state.moduleResolverVisited.has(nodePath)) {
|
|
168
|
-
return;
|
|
169
|
-
}
|
|
170
|
-
state.moduleResolverVisited.add(nodePath);
|
|
171
|
-
resolveModulePath(nodePath.get("source"), state);
|
|
172
|
-
}, "ImportDeclaration|ExportDeclaration|ExportAllDeclaration")
|
|
173
|
-
};
|
|
174
|
-
var moduleResolverBabelPlugin = /* @__PURE__ */ chunkSHUYVCID_js.__name((context) => {
|
|
175
|
-
return helperPluginUtils.declare(/* @__PURE__ */ chunkSHUYVCID_js.__name(function builder(api) {
|
|
176
|
-
let moduleResolverVisited = /* @__PURE__ */ new Set();
|
|
177
|
-
return {
|
|
178
|
-
name: "powerlines:module-resolver",
|
|
179
|
-
manipulateOptions(opts) {
|
|
180
|
-
opts.filename ??= "unknown";
|
|
181
|
-
},
|
|
182
|
-
pre() {
|
|
183
|
-
moduleResolverVisited = /* @__PURE__ */ new Set();
|
|
184
|
-
},
|
|
185
|
-
visitor: {
|
|
186
|
-
Program: {
|
|
187
|
-
enter(programPath, state) {
|
|
188
|
-
programPath.traverse(importVisitors, {
|
|
189
|
-
...state,
|
|
190
|
-
context,
|
|
191
|
-
moduleResolverVisited,
|
|
192
|
-
api
|
|
193
|
-
});
|
|
194
|
-
},
|
|
195
|
-
exit(programPath, state) {
|
|
196
|
-
programPath.traverse(importVisitors, {
|
|
197
|
-
...state,
|
|
198
|
-
context,
|
|
199
|
-
moduleResolverVisited,
|
|
200
|
-
api
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
post() {
|
|
206
|
-
moduleResolverVisited.clear();
|
|
207
|
-
}
|
|
208
|
-
};
|
|
209
|
-
}, "builder"));
|
|
210
|
-
}, "moduleResolverBabelPlugin");
|
|
106
|
+
version: "0.37.55"};
|
|
211
107
|
var VirtualFileSystemHost = class extends tsMorph.InMemoryFileSystemHost {
|
|
212
108
|
static {
|
|
213
109
|
chunkSHUYVCID_js.__name(this, "VirtualFileSystemHost");
|
|
@@ -4481,39 +4377,6 @@ ${console.formatLogMessage({
|
|
|
4481
4377
|
}
|
|
4482
4378
|
context.debug("Transforming built-ins runtime modules files.");
|
|
4483
4379
|
const builtinFilePaths = await Promise.all((await context.getBuiltins()).map(async (file) => {
|
|
4484
|
-
const result2 = await core.transformAsync(file.code.toString(), {
|
|
4485
|
-
highlightCode: true,
|
|
4486
|
-
code: true,
|
|
4487
|
-
ast: false,
|
|
4488
|
-
cloneInputAst: false,
|
|
4489
|
-
comments: true,
|
|
4490
|
-
sourceType: "module",
|
|
4491
|
-
configFile: false,
|
|
4492
|
-
babelrc: false,
|
|
4493
|
-
envName: context.config.mode,
|
|
4494
|
-
caller: {
|
|
4495
|
-
name: "powerlines"
|
|
4496
|
-
},
|
|
4497
|
-
...context.config.transform.babel,
|
|
4498
|
-
filename: file.path,
|
|
4499
|
-
plugins: [
|
|
4500
|
-
[
|
|
4501
|
-
"@babel/plugin-syntax-typescript"
|
|
4502
|
-
],
|
|
4503
|
-
[
|
|
4504
|
-
moduleResolverBabelPlugin(context)
|
|
4505
|
-
]
|
|
4506
|
-
]
|
|
4507
|
-
});
|
|
4508
|
-
if (!result2?.code) {
|
|
4509
|
-
throw new Error(`Powerlines - Generate Types failed to compile ${file.id}`);
|
|
4510
|
-
}
|
|
4511
|
-
if (!file.id) {
|
|
4512
|
-
context.warn(`File ID is missing for a built-in runtime file at ${file.path}.`);
|
|
4513
|
-
file.id = replace.replacePath(replace.replacePath(file.path, context.workspaceConfig.workspaceRoot), context.builtinsPath);
|
|
4514
|
-
}
|
|
4515
|
-
context.trace(`Writing transformed built-in runtime file ${file.id}.`);
|
|
4516
|
-
await context.emitBuiltin(result2.code, file.id);
|
|
4517
4380
|
return append.appendPath(file.path, context.builtinsPath);
|
|
4518
4381
|
}));
|
|
4519
4382
|
const typescriptPath = await resolve.resolvePackage("typescript");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRLZSB7DH_js = require('./chunk-RLZSB7DH.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
|
|
6
6
|
// src/executors/lint/executor.ts
|
|
@@ -11,7 +11,7 @@ async function executorFn(context, api) {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
14
|
-
var executor =
|
|
14
|
+
var executor = chunkRLZSB7DH_js.withExecutor("lint", executorFn);
|
|
15
15
|
var executor_default = executor;
|
|
16
16
|
|
|
17
17
|
exports.executorFn = executorFn;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRLZSB7DH_js = require('./chunk-RLZSB7DH.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
|
|
6
6
|
// src/executors/docs/executor.ts
|
|
@@ -11,7 +11,7 @@ async function executorFn(context, api) {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
14
|
-
var executor =
|
|
14
|
+
var executor = chunkRLZSB7DH_js.withExecutor("docs", executorFn);
|
|
15
15
|
var executor_default = executor;
|
|
16
16
|
|
|
17
17
|
exports.executorFn = executorFn;
|
package/dist/executors.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-XO62WWX4.js');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
4
|
+
var chunkTZD7ZQSY_js = require('./chunk-TZD7ZQSY.js');
|
|
5
|
+
var chunkMAPDHNXK_js = require('./chunk-MAPDHNXK.js');
|
|
6
|
+
var chunkRID42I5O_js = require('./chunk-RID42I5O.js');
|
|
7
|
+
var chunkCJKT3EAE_js = require('./chunk-CJKT3EAE.js');
|
|
8
|
+
var chunkYFCMOIGK_js = require('./chunk-YFCMOIGK.js');
|
|
9
|
+
require('./chunk-RLZSB7DH.js');
|
|
10
10
|
require('./chunk-DQI2I5KK.js');
|
|
11
11
|
require('./chunk-SHUYVCID.js');
|
|
12
12
|
|
|
@@ -14,21 +14,21 @@ require('./chunk-SHUYVCID.js');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "lint", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkTZD7ZQSY_js.executor_default; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "prepare", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkMAPDHNXK_js.executor_default; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "build", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkRID42I5O_js.executor_default; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "clean", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkCJKT3EAE_js.executor_default; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "docs", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkYFCMOIGK_js.executor_default; }
|
|
34
34
|
});
|
package/dist/executors.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './chunk-UV4HQO3Y.mjs';
|
|
2
|
-
export { executor_default as lint } from './chunk-
|
|
3
|
-
export { executor_default as prepare } from './chunk-
|
|
4
|
-
export { executor_default as build } from './chunk-
|
|
5
|
-
export { executor_default as clean } from './chunk-
|
|
6
|
-
export { executor_default as docs } from './chunk-
|
|
7
|
-
import './chunk-
|
|
2
|
+
export { executor_default as lint } from './chunk-KUEPQ6KR.mjs';
|
|
3
|
+
export { executor_default as prepare } from './chunk-FGMAEAWX.mjs';
|
|
4
|
+
export { executor_default as build } from './chunk-F7SRBMLZ.mjs';
|
|
5
|
+
export { executor_default as clean } from './chunk-HKTGG2PT.mjs';
|
|
6
|
+
export { executor_default as docs } from './chunk-YL2R4FVG.mjs';
|
|
7
|
+
import './chunk-7OIC25XC.mjs';
|
|
8
8
|
import './chunk-OVX2CEXQ.mjs';
|
|
9
9
|
import './chunk-O6YSETKJ.mjs';
|
package/dist/index.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkWA6S6OWI_js = require('./chunk-WA6S6OWI.js');
|
|
4
4
|
require('./chunk-XO62WWX4.js');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
5
|
+
var chunkTZD7ZQSY_js = require('./chunk-TZD7ZQSY.js');
|
|
6
|
+
var chunkMAPDHNXK_js = require('./chunk-MAPDHNXK.js');
|
|
7
|
+
var chunkRID42I5O_js = require('./chunk-RID42I5O.js');
|
|
8
|
+
var chunkCJKT3EAE_js = require('./chunk-CJKT3EAE.js');
|
|
9
|
+
var chunkYFCMOIGK_js = require('./chunk-YFCMOIGK.js');
|
|
10
10
|
require('./chunk-N2YKXZ5R.js');
|
|
11
11
|
var chunkWUJKJGEW_js = require('./chunk-WUJKJGEW.js');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-RLZSB7DH.js');
|
|
13
13
|
require('./chunk-NOSBV75N.js');
|
|
14
14
|
require('./chunk-DQI2I5KK.js');
|
|
15
15
|
require('./chunk-IQVSZEQ6.js');
|
|
@@ -23,23 +23,23 @@ Object.defineProperty(exports, "createNodesV2", {
|
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "lint", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkTZD7ZQSY_js.executor_default; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "prepare", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkMAPDHNXK_js.executor_default; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "build", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkRID42I5O_js.executor_default; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "clean", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkCJKT3EAE_js.executor_default; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "docs", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkYFCMOIGK_js.executor_default; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "sync", {
|
|
45
45
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export { createNodesV2 } from './chunk-IWSYHFCU.mjs';
|
|
2
2
|
import './chunk-UV4HQO3Y.mjs';
|
|
3
|
-
export { executor_default as lint } from './chunk-
|
|
4
|
-
export { executor_default as prepare } from './chunk-
|
|
5
|
-
export { executor_default as build } from './chunk-
|
|
6
|
-
export { executor_default as clean } from './chunk-
|
|
7
|
-
export { executor_default as docs } from './chunk-
|
|
3
|
+
export { executor_default as lint } from './chunk-KUEPQ6KR.mjs';
|
|
4
|
+
export { executor_default as prepare } from './chunk-FGMAEAWX.mjs';
|
|
5
|
+
export { executor_default as build } from './chunk-F7SRBMLZ.mjs';
|
|
6
|
+
export { executor_default as clean } from './chunk-HKTGG2PT.mjs';
|
|
7
|
+
export { executor_default as docs } from './chunk-YL2R4FVG.mjs';
|
|
8
8
|
import './chunk-23KFTIT2.mjs';
|
|
9
9
|
export { generator_default as sync, generatorFn as syncGenerator } from './chunk-326QB2VK.mjs';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-7OIC25XC.mjs';
|
|
11
11
|
import './chunk-KXFIN2NL.mjs';
|
|
12
12
|
import './chunk-OVX2CEXQ.mjs';
|
|
13
13
|
import './chunk-IC47MFKB.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRLZSB7DH_js = require('../../chunk-RLZSB7DH.js');
|
|
4
4
|
require('../../chunk-DQI2I5KK.js');
|
|
5
5
|
require('../../chunk-SHUYVCID.js');
|
|
6
6
|
|
|
@@ -8,5 +8,5 @@ require('../../chunk-SHUYVCID.js');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "withExecutor", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkRLZSB7DH_js.withExecutor; }
|
|
12
12
|
});
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunkRID42I5O_js = require('../../../chunk-RID42I5O.js');
|
|
6
|
+
require('../../../chunk-RLZSB7DH.js');
|
|
7
7
|
require('../../../chunk-DQI2I5KK.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkRID42I5O_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkRID42I5O_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-F7SRBMLZ.mjs';
|
|
2
|
+
import '../../../chunk-7OIC25XC.mjs';
|
|
3
3
|
import '../../../chunk-OVX2CEXQ.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunkCJKT3EAE_js = require('../../../chunk-CJKT3EAE.js');
|
|
6
|
+
require('../../../chunk-RLZSB7DH.js');
|
|
7
7
|
require('../../../chunk-DQI2I5KK.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkCJKT3EAE_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkCJKT3EAE_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-HKTGG2PT.mjs';
|
|
2
|
+
import '../../../chunk-7OIC25XC.mjs';
|
|
3
3
|
import '../../../chunk-OVX2CEXQ.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunkYFCMOIGK_js = require('../../../chunk-YFCMOIGK.js');
|
|
6
|
+
require('../../../chunk-RLZSB7DH.js');
|
|
7
7
|
require('../../../chunk-DQI2I5KK.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkYFCMOIGK_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkYFCMOIGK_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-YL2R4FVG.mjs';
|
|
2
|
+
import '../../../chunk-7OIC25XC.mjs';
|
|
3
3
|
import '../../../chunk-OVX2CEXQ.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunkTZD7ZQSY_js = require('../../../chunk-TZD7ZQSY.js');
|
|
6
|
+
require('../../../chunk-RLZSB7DH.js');
|
|
7
7
|
require('../../../chunk-DQI2I5KK.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkTZD7ZQSY_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkTZD7ZQSY_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-KUEPQ6KR.mjs';
|
|
2
|
+
import '../../../chunk-7OIC25XC.mjs';
|
|
3
3
|
import '../../../chunk-OVX2CEXQ.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunkMAPDHNXK_js = require('../../../chunk-MAPDHNXK.js');
|
|
6
|
+
require('../../../chunk-RLZSB7DH.js');
|
|
7
7
|
require('../../../chunk-DQI2I5KK.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkMAPDHNXK_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkMAPDHNXK_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-FGMAEAWX.mjs';
|
|
2
|
+
import '../../../chunk-7OIC25XC.mjs';
|
|
3
3
|
import '../../../chunk-OVX2CEXQ.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/nx",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.112",
|
|
4
4
|
"description": "A Nx plugin to support Powerlines development in Nx monorepos.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"defu": "^6.1.4",
|
|
197
197
|
"jiti": "^2.6.1",
|
|
198
198
|
"nx": "22.3.3",
|
|
199
|
-
"powerlines": "^0.37.
|
|
199
|
+
"powerlines": "^0.37.56"
|
|
200
200
|
},
|
|
201
201
|
"devDependencies": {
|
|
202
202
|
"@nx/workspace": "22.3.3",
|
|
@@ -210,5 +210,5 @@
|
|
|
210
210
|
"publishConfig": { "access": "public" },
|
|
211
211
|
"executors": "./executors.json",
|
|
212
212
|
"generators": "./generators.json",
|
|
213
|
-
"gitHead": "
|
|
213
|
+
"gitHead": "7af3632002c069b20d1ce8fc08866a8c52cb7256"
|
|
214
214
|
}
|