nx 21.0.4-beta.0 → 21.0.4
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/migrations.json +35 -0
- package/package.json +11 -14
- package/src/command-line/init/implementation/dot-nx/add-nx-scripts.js +3 -0
- package/src/command-line/init/init-v1.js +1 -1
- package/src/core/graph/main.js +1 -1
- package/src/daemon/client/client.js +1 -1
- package/src/migrations/update-17-0-0/move-cache-directory.d.ts +2 -0
- package/src/migrations/update-17-0-0/move-cache-directory.js +35 -0
- package/src/migrations/update-17-0-0/rm-default-collection-npm-scope.d.ts +2 -0
- package/src/migrations/update-17-0-0/rm-default-collection-npm-scope.js +72 -0
- package/src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options.d.ts +2 -0
- package/src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options.js +122 -0
- package/src/migrations/update-17-2-0/move-default-base.d.ts +5 -0
- package/src/migrations/update-17-2-0/move-default-base.js +21 -0
- package/src/migrations/update-17-3-0/nx-release-path.d.ts +3 -0
- package/src/migrations/update-17-3-0/nx-release-path.js +47 -0
- package/src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces.d.ts +2 -0
- package/src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces.js +11 -0
- package/src/native/nx.wasi-browser.js +41 -37
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/tasks-runner/running-tasks/node-child-process.js +2 -2
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = moveCacheDirectory;
|
4
|
+
const ignore_1 = require("ignore");
|
5
|
+
function moveCacheDirectory(tree) {
|
6
|
+
// If nx.json doesn't exist the repo can't utilize
|
7
|
+
// caching, so .nx/cache is less relevant. Lerna users
|
8
|
+
// that don't want to fully opt in to Nx at this time
|
9
|
+
// may also be caught off guard by the appearance of
|
10
|
+
// a .nx directory, so we are going to special case
|
11
|
+
// this for the time being.
|
12
|
+
if (tree.exists('lerna.json') && !tree.exists('nx.json')) {
|
13
|
+
return;
|
14
|
+
}
|
15
|
+
updateGitIgnore(tree);
|
16
|
+
if (tree.exists('.prettierignore')) {
|
17
|
+
const ignored = tree.read('.prettierignore', 'utf-8');
|
18
|
+
if (!ignored.includes('.nx/cache')) {
|
19
|
+
tree.write('.prettierignore', [ignored, '/.nx/cache'].join('\n'));
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
function updateGitIgnore(tree) {
|
24
|
+
const gitignore = tree.exists('.gitignore')
|
25
|
+
? tree.read('.gitignore', 'utf-8')
|
26
|
+
: '';
|
27
|
+
const ig = (0, ignore_1.default)();
|
28
|
+
ig.add(gitignore);
|
29
|
+
if (!ig.ignores('.nx/cache')) {
|
30
|
+
const updatedLines = gitignore.length
|
31
|
+
? [gitignore, '.nx/cache']
|
32
|
+
: ['.nx/cache'];
|
33
|
+
tree.write('.gitignore', updatedLines.join('\n'));
|
34
|
+
}
|
35
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = update;
|
4
|
+
const format_changed_files_with_prettier_if_available_1 = require("../../generators/internal-utils/format-changed-files-with-prettier-if-available");
|
5
|
+
const nx_json_1 = require("../../generators/utils/nx-json");
|
6
|
+
const json_1 = require("../../generators/utils/json");
|
7
|
+
const output_1 = require("../../utils/output");
|
8
|
+
const path_1 = require("../../utils/path");
|
9
|
+
async function update(tree) {
|
10
|
+
if (!tree.exists('nx.json')) {
|
11
|
+
return;
|
12
|
+
}
|
13
|
+
const nxJson = (0, nx_json_1.readNxJson)(tree);
|
14
|
+
delete nxJson.cli?.['defaultCollection'];
|
15
|
+
if (nxJson?.cli && Object.keys(nxJson.cli).length < 1) {
|
16
|
+
delete nxJson.cli;
|
17
|
+
}
|
18
|
+
warnNpmScopeHasChanged(tree, nxJson);
|
19
|
+
delete nxJson['npmScope'];
|
20
|
+
(0, nx_json_1.updateNxJson)(tree, nxJson);
|
21
|
+
await (0, format_changed_files_with_prettier_if_available_1.formatChangedFilesWithPrettierIfAvailable)(tree);
|
22
|
+
}
|
23
|
+
function warnNpmScopeHasChanged(tree, nxJson) {
|
24
|
+
const originalScope = nxJson['npmScope'];
|
25
|
+
// There was no original scope
|
26
|
+
if (!originalScope) {
|
27
|
+
return false;
|
28
|
+
}
|
29
|
+
// package.json does not exist
|
30
|
+
if (!tree.exists('package.json')) {
|
31
|
+
return false;
|
32
|
+
}
|
33
|
+
const newScope = getNpmScopeFromPackageJson(tree);
|
34
|
+
// New and Original scope are the same.
|
35
|
+
if (originalScope === newScope) {
|
36
|
+
return false;
|
37
|
+
}
|
38
|
+
const packageJsonName = (0, json_1.readJson)(tree, 'package.json').name;
|
39
|
+
if (newScope) {
|
40
|
+
output_1.output.warn({
|
41
|
+
title: 'npmScope has been removed from nx.json',
|
42
|
+
bodyLines: [
|
43
|
+
'This will now be read from package.json',
|
44
|
+
`Old value which was in nx.json: ${originalScope}`,
|
45
|
+
`New value from package.json: ${newScope}`,
|
46
|
+
`Typescript path mappings for new libraries will now be generated as such: @${newScope}/new-lib instead of @${originalScope}/new-lib`,
|
47
|
+
`If you would like to change this back, change the name in package.json to ${packageJsonName.replace(newScope, originalScope)}`,
|
48
|
+
],
|
49
|
+
});
|
50
|
+
}
|
51
|
+
else {
|
52
|
+
// There is no scope in package.json
|
53
|
+
output_1.output.warn({
|
54
|
+
title: 'npmScope has been removed from nx.json',
|
55
|
+
bodyLines: [
|
56
|
+
'This will now be read from package.json',
|
57
|
+
`Old value which was in nx.json: ${originalScope}`,
|
58
|
+
`New value from package.json: null`,
|
59
|
+
`Typescript path mappings for new libraries will now be generated as such: new-lib instead of @${originalScope}/new-lib`,
|
60
|
+
`If you would like to change this back, change the name in package.json to ${(0, path_1.joinPathFragments)(`@${originalScope}`, packageJsonName)}`,
|
61
|
+
],
|
62
|
+
});
|
63
|
+
}
|
64
|
+
}
|
65
|
+
function getNpmScopeFromPackageJson(tree) {
|
66
|
+
const { name } = tree.exists('package.json')
|
67
|
+
? (0, json_1.readJson)(tree, 'package.json')
|
68
|
+
: { name: null };
|
69
|
+
if (name?.startsWith('@')) {
|
70
|
+
return name.split('/')[0].substring(1);
|
71
|
+
}
|
72
|
+
}
|
@@ -0,0 +1,122 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = migrate;
|
4
|
+
const json_1 = require("../../generators/utils/json");
|
5
|
+
const format_changed_files_with_prettier_if_available_1 = require("../../generators/internal-utils/format-changed-files-with-prettier-if-available");
|
6
|
+
const nx_json_1 = require("../../generators/utils/nx-json");
|
7
|
+
const update_manager_1 = require("../../nx-cloud/update-manager");
|
8
|
+
const run_command_1 = require("../../tasks-runner/run-command");
|
9
|
+
const output_1 = require("../../utils/output");
|
10
|
+
async function migrate(tree) {
|
11
|
+
if (!tree.exists('nx.json')) {
|
12
|
+
return;
|
13
|
+
}
|
14
|
+
const nxJson = (0, nx_json_1.readNxJson)(tree);
|
15
|
+
// Already migrated
|
16
|
+
if (!nxJson.tasksRunnerOptions?.default) {
|
17
|
+
return;
|
18
|
+
}
|
19
|
+
const nxCloudClientSupported = await isNxCloudClientSupported(nxJson);
|
20
|
+
(0, json_1.updateJson)(tree, 'nx.json', (nxJson) => {
|
21
|
+
const { runner, options } = nxJson.tasksRunnerOptions.default;
|
22
|
+
// This property shouldn't ever be part of tasks runner options.
|
23
|
+
if (options.useDaemonProcess !== undefined) {
|
24
|
+
nxJson.useDaemonProcess = options.useDaemonProcess;
|
25
|
+
delete options.useDaemonProcess;
|
26
|
+
}
|
27
|
+
// Remaining keys may be specific to a given runner, so leave them alone if there are multiple runners.
|
28
|
+
if (Object.keys(nxJson.tasksRunnerOptions ?? {}).length > 1) {
|
29
|
+
return nxJson;
|
30
|
+
}
|
31
|
+
// These options can only be moved for nx-cloud.
|
32
|
+
if (runner === 'nx-cloud' || runner === '@nrwl/nx-cloud') {
|
33
|
+
nxJson.nxCloudAccessToken = options.accessToken;
|
34
|
+
delete options.accessToken;
|
35
|
+
if (options.url) {
|
36
|
+
nxJson.nxCloudUrl = options.url;
|
37
|
+
delete options.url;
|
38
|
+
}
|
39
|
+
if (nxCloudClientSupported) {
|
40
|
+
removeNxCloudDependency(tree);
|
41
|
+
}
|
42
|
+
else {
|
43
|
+
options.useLightClient = false;
|
44
|
+
}
|
45
|
+
if (options.encryptionKey) {
|
46
|
+
nxJson.nxCloudEncryptionKey = options.encryptionKey;
|
47
|
+
delete options.encryptionKey;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
// These options should be safe to move for all tasks runners:
|
51
|
+
if (options.parallel !== undefined) {
|
52
|
+
nxJson.parallel = options.parallel;
|
53
|
+
delete options.parallel;
|
54
|
+
}
|
55
|
+
if (options.cacheDirectory !== undefined) {
|
56
|
+
nxJson.cacheDirectory = options.cacheDirectory;
|
57
|
+
delete options.cacheDirectory;
|
58
|
+
}
|
59
|
+
if (Array.isArray(options.cacheableOperations)) {
|
60
|
+
nxJson.targetDefaults ??= {};
|
61
|
+
for (const target of options.cacheableOperations) {
|
62
|
+
nxJson.targetDefaults[target] ??= {};
|
63
|
+
nxJson.targetDefaults[target].cache ??= true;
|
64
|
+
}
|
65
|
+
delete options.cacheableOperations;
|
66
|
+
}
|
67
|
+
if (['nx-cloud', '@nrwl/nx-cloud', 'nx/tasks-runners/default'].includes(runner)) {
|
68
|
+
delete nxJson.tasksRunnerOptions.default.runner;
|
69
|
+
if (Object.values(options).length === 0) {
|
70
|
+
delete nxJson.tasksRunnerOptions;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
return nxJson;
|
74
|
+
});
|
75
|
+
await (0, format_changed_files_with_prettier_if_available_1.formatChangedFilesWithPrettierIfAvailable)(tree);
|
76
|
+
}
|
77
|
+
async function isNxCloudClientSupported(nxJson) {
|
78
|
+
const nxCloudOptions = (0, run_command_1.getRunnerOptions)('default', nxJson, {}, true);
|
79
|
+
// Non enterprise workspaces support the Nx Cloud Client
|
80
|
+
if (!isNxCloudEnterpriseWorkspace(nxJson)) {
|
81
|
+
return true;
|
82
|
+
}
|
83
|
+
// If we can get the nx cloud client, it's supported
|
84
|
+
try {
|
85
|
+
await (0, update_manager_1.verifyOrUpdateNxCloudClient)(nxCloudOptions);
|
86
|
+
return true;
|
87
|
+
}
|
88
|
+
catch (e) {
|
89
|
+
if (e instanceof update_manager_1.NxCloudEnterpriseOutdatedError) {
|
90
|
+
output_1.output.warn({
|
91
|
+
title: 'Nx Cloud Instance is outdated.',
|
92
|
+
bodyLines: [
|
93
|
+
'If you are an Nx Enterprise customer, please reach out to your assigned Developer Productivity Engineer.',
|
94
|
+
'If you are NOT an Nx Enterprise customer but are seeing this message, please reach out to cloud-support@nrwl.io.',
|
95
|
+
],
|
96
|
+
});
|
97
|
+
}
|
98
|
+
return false;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
function isNxCloudEnterpriseWorkspace(nxJson) {
|
102
|
+
const { runner, options } = nxJson.tasksRunnerOptions.default;
|
103
|
+
return ((runner === 'nx-cloud' || runner === '@nrwl/nx-cloud') &&
|
104
|
+
options.url &&
|
105
|
+
![
|
106
|
+
'https://nx.app',
|
107
|
+
'https://cloud.nx.app',
|
108
|
+
'https://staging.nx.app',
|
109
|
+
'https://snapshot.nx.app',
|
110
|
+
].includes(options.url));
|
111
|
+
}
|
112
|
+
function removeNxCloudDependency(tree) {
|
113
|
+
if (tree.exists('package.json')) {
|
114
|
+
(0, json_1.updateJson)(tree, 'package.json', (packageJson) => {
|
115
|
+
delete packageJson.dependencies?.['nx-cloud'];
|
116
|
+
delete packageJson.devDependencies?.['nx-cloud'];
|
117
|
+
delete packageJson.dependencies?.['@nrwl/nx-cloud'];
|
118
|
+
delete packageJson.devDependencies?.['@nrwl/nx-cloud'];
|
119
|
+
return packageJson;
|
120
|
+
});
|
121
|
+
}
|
122
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = update;
|
4
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
5
|
+
const nx_json_1 = require("../../generators/utils/nx-json");
|
6
|
+
const format_changed_files_with_prettier_if_available_1 = require("../../generators/internal-utils/format-changed-files-with-prettier-if-available");
|
7
|
+
/**
|
8
|
+
* Updates existing workspaces to move nx.json's affected.defaultBase to nx.json's base.
|
9
|
+
*/
|
10
|
+
async function update(host) {
|
11
|
+
const nxJson = (0, nx_json_1.readNxJson)(host);
|
12
|
+
if (nxJson?.affected?.defaultBase) {
|
13
|
+
nxJson.defaultBase = nxJson.affected.defaultBase;
|
14
|
+
delete nxJson.affected.defaultBase;
|
15
|
+
if (Object.keys(nxJson.affected).length === 0) {
|
16
|
+
delete nxJson.affected;
|
17
|
+
}
|
18
|
+
(0, nx_json_1.updateNxJson)(host, nxJson);
|
19
|
+
}
|
20
|
+
await (0, format_changed_files_with_prettier_if_available_1.formatChangedFilesWithPrettierIfAvailable)(host);
|
21
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = nxReleasePath;
|
4
|
+
exports.visitNotIgnoredFiles = visitNotIgnoredFiles;
|
5
|
+
const node_path_1 = require("node:path");
|
6
|
+
const ignore_1 = require("../../utils/ignore");
|
7
|
+
function nxReleasePath(tree) {
|
8
|
+
visitNotIgnoredFiles(tree, '', (file) => {
|
9
|
+
const contents = tree.read(file).toString('utf-8');
|
10
|
+
if (
|
11
|
+
// the deep import usage should be replaced by the new location
|
12
|
+
contents.includes('nx/src/command-line/release') ||
|
13
|
+
// changelog-renderer has moved into nx/release
|
14
|
+
contents.includes('nx/changelog-renderer')) {
|
15
|
+
const finalContents = contents
|
16
|
+
// replace instances of old changelog renderer location
|
17
|
+
.replace(/nx\/changelog-renderer/g, 'nx/release/changelog-renderer')
|
18
|
+
// replace instances of deep import for programmatic API (only perform the replacement if an actual import by checking for trailing ' or ")
|
19
|
+
.replace(/nx\/src\/command-line\/release(['"])/g, 'nx/release$1');
|
20
|
+
tree.write(file, finalContents);
|
21
|
+
}
|
22
|
+
});
|
23
|
+
}
|
24
|
+
// Adapted from devkit
|
25
|
+
function visitNotIgnoredFiles(tree, dirPath = tree.root, visitor) {
|
26
|
+
const ig = (0, ignore_1.getIgnoreObject)();
|
27
|
+
dirPath = normalizePathRelativeToRoot(dirPath, tree.root);
|
28
|
+
if (dirPath !== '' && ig?.ignores(dirPath)) {
|
29
|
+
return;
|
30
|
+
}
|
31
|
+
for (const child of tree.children(dirPath)) {
|
32
|
+
const fullPath = (0, node_path_1.join)(dirPath, child);
|
33
|
+
if (ig?.ignores(fullPath)) {
|
34
|
+
continue;
|
35
|
+
}
|
36
|
+
if (tree.isFile(fullPath)) {
|
37
|
+
visitor(fullPath);
|
38
|
+
}
|
39
|
+
else {
|
40
|
+
visitNotIgnoredFiles(tree, fullPath, visitor);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
// Copied from devkit
|
45
|
+
function normalizePathRelativeToRoot(path, root) {
|
46
|
+
return (0, node_path_1.relative)(root, (0, node_path_1.join)(root, path)).split(node_path_1.sep).join('/');
|
47
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = migrate;
|
4
|
+
const nx_json_1 = require("../../generators/utils/nx-json");
|
5
|
+
const format_changed_files_with_prettier_if_available_1 = require("../../generators/internal-utils/format-changed-files-with-prettier-if-available");
|
6
|
+
async function migrate(tree) {
|
7
|
+
const nxJson = (0, nx_json_1.readNxJson)(tree);
|
8
|
+
nxJson.useInferencePlugins = false;
|
9
|
+
(0, nx_json_1.updateNxJson)(tree, nxJson);
|
10
|
+
await (0, format_changed_files_with_prettier_if_available_1.formatChangedFilesWithPrettierIfAvailable)(tree);
|
11
|
+
}
|
@@ -59,43 +59,45 @@ function __napi_rs_initialize_modules(__napiInstance) {
|
|
59
59
|
__napiInstance.exports['__napi_register__get_transformable_outputs_5']?.()
|
60
60
|
__napiInstance.exports['__napi_register__hash_array_6']?.()
|
61
61
|
__napiInstance.exports['__napi_register__hash_file_7']?.()
|
62
|
-
__napiInstance.exports['
|
63
|
-
__napiInstance.exports['
|
64
|
-
__napiInstance.exports['
|
65
|
-
__napiInstance.exports['
|
66
|
-
__napiInstance.exports['
|
67
|
-
__napiInstance.exports['
|
68
|
-
__napiInstance.exports['
|
69
|
-
__napiInstance.exports['
|
70
|
-
__napiInstance.exports['
|
71
|
-
__napiInstance.exports['
|
72
|
-
__napiInstance.exports['
|
73
|
-
__napiInstance.exports['
|
74
|
-
__napiInstance.exports['
|
75
|
-
__napiInstance.exports['
|
76
|
-
__napiInstance.exports['
|
77
|
-
__napiInstance.exports['
|
78
|
-
__napiInstance.exports['
|
79
|
-
__napiInstance.exports['
|
80
|
-
__napiInstance.exports['
|
81
|
-
__napiInstance.exports['
|
82
|
-
__napiInstance.exports['
|
83
|
-
__napiInstance.exports['
|
84
|
-
__napiInstance.exports['
|
85
|
-
__napiInstance.exports['
|
86
|
-
__napiInstance.exports['
|
87
|
-
__napiInstance.exports['
|
88
|
-
__napiInstance.exports['
|
89
|
-
__napiInstance.exports['
|
90
|
-
__napiInstance.exports['
|
91
|
-
__napiInstance.exports['
|
92
|
-
__napiInstance.exports['
|
93
|
-
__napiInstance.exports['
|
94
|
-
__napiInstance.exports['
|
95
|
-
__napiInstance.exports['
|
96
|
-
__napiInstance.exports['
|
97
|
-
__napiInstance.exports['
|
98
|
-
__napiInstance.exports['
|
62
|
+
__napiInstance.exports['__napi_register__log_info_8']?.()
|
63
|
+
__napiInstance.exports['__napi_register__log_error_9']?.()
|
64
|
+
__napiInstance.exports['__napi_register__IS_WASM_10']?.()
|
65
|
+
__napiInstance.exports['__napi_register__get_binary_target_11']?.()
|
66
|
+
__napiInstance.exports['__napi_register__ImportResult_struct_12']?.()
|
67
|
+
__napiInstance.exports['__napi_register__find_imports_13']?.()
|
68
|
+
__napiInstance.exports['__napi_register__transfer_project_graph_14']?.()
|
69
|
+
__napiInstance.exports['__napi_register__ExternalNode_struct_15']?.()
|
70
|
+
__napiInstance.exports['__napi_register__Target_struct_16']?.()
|
71
|
+
__napiInstance.exports['__napi_register__Project_struct_17']?.()
|
72
|
+
__napiInstance.exports['__napi_register__ProjectGraph_struct_18']?.()
|
73
|
+
__napiInstance.exports['__napi_register__HashPlanner_struct_19']?.()
|
74
|
+
__napiInstance.exports['__napi_register__HashPlanner_impl_23']?.()
|
75
|
+
__napiInstance.exports['__napi_register__HashDetails_struct_24']?.()
|
76
|
+
__napiInstance.exports['__napi_register__HasherOptions_struct_25']?.()
|
77
|
+
__napiInstance.exports['__napi_register__TaskHasher_struct_26']?.()
|
78
|
+
__napiInstance.exports['__napi_register__TaskHasher_impl_29']?.()
|
79
|
+
__napiInstance.exports['__napi_register__Task_struct_30']?.()
|
80
|
+
__napiInstance.exports['__napi_register__TaskTarget_struct_31']?.()
|
81
|
+
__napiInstance.exports['__napi_register__TaskResult_struct_32']?.()
|
82
|
+
__napiInstance.exports['__napi_register__TaskGraph_struct_33']?.()
|
83
|
+
__napiInstance.exports['__napi_register__FileData_struct_34']?.()
|
84
|
+
__napiInstance.exports['__napi_register__InputsInput_struct_35']?.()
|
85
|
+
__napiInstance.exports['__napi_register__FileSetInput_struct_36']?.()
|
86
|
+
__napiInstance.exports['__napi_register__RuntimeInput_struct_37']?.()
|
87
|
+
__napiInstance.exports['__napi_register__EnvironmentInput_struct_38']?.()
|
88
|
+
__napiInstance.exports['__napi_register__ExternalDependenciesInput_struct_39']?.()
|
89
|
+
__napiInstance.exports['__napi_register__DepsOutputsInput_struct_40']?.()
|
90
|
+
__napiInstance.exports['__napi_register__NxJson_struct_41']?.()
|
91
|
+
__napiInstance.exports['__napi_register__FileLock_struct_42']?.()
|
92
|
+
__napiInstance.exports['__napi_register__FileLock_impl_44']?.()
|
93
|
+
__napiInstance.exports['__napi_register__WorkspaceContext_struct_45']?.()
|
94
|
+
__napiInstance.exports['__napi_register__WorkspaceContext_impl_56']?.()
|
95
|
+
__napiInstance.exports['__napi_register__WorkspaceErrors_57']?.()
|
96
|
+
__napiInstance.exports['__napi_register__NxWorkspaceFiles_struct_58']?.()
|
97
|
+
__napiInstance.exports['__napi_register__NxWorkspaceFilesExternals_struct_59']?.()
|
98
|
+
__napiInstance.exports['__napi_register__UpdatedWorkspaceFiles_struct_60']?.()
|
99
|
+
__napiInstance.exports['__napi_register__FileMap_struct_61']?.()
|
100
|
+
__napiInstance.exports['__napi_register____test_only_transfer_file_map_62']?.()
|
99
101
|
}
|
100
102
|
export const FileLock = __napiModule.exports.FileLock
|
101
103
|
export const HashPlanner = __napiModule.exports.HashPlanner
|
@@ -111,6 +113,8 @@ export const getTransformableOutputs = __napiModule.exports.getTransformableOutp
|
|
111
113
|
export const hashArray = __napiModule.exports.hashArray
|
112
114
|
export const hashFile = __napiModule.exports.hashFile
|
113
115
|
export const IS_WASM = __napiModule.exports.IS_WASM
|
116
|
+
export const logError = __napiModule.exports.logError
|
117
|
+
export const logInfo = __napiModule.exports.logInfo
|
114
118
|
export const remove = __napiModule.exports.remove
|
115
119
|
export const testOnlyTransferFileMap = __napiModule.exports.testOnlyTransferFileMap
|
116
120
|
export const transferProjectGraph = __napiModule.exports.transferProjectGraph
|
Binary file
|