nx 19.6.0-canary.20240724-684d2a9 → 19.6.0-canary.20240725-3890edc
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/bin/nx-cloud.d.ts +2 -1
- package/bin/nx-cloud.js +9 -17
- package/package.json +12 -12
- package/src/command-line/list/list.js +10 -14
- package/src/command-line/release/command-object.js +5 -21
- package/src/command-line/reset/command-object.d.ts +1 -0
- package/src/command-line/reset/command-object.js +4 -0
- package/src/command-line/reset/reset.js +13 -0
- package/src/command-line/run/run.js +2 -14
- package/src/daemon/socket-utils.js +1 -1
- package/src/daemon/tmp-dir.d.ts +1 -1
- package/src/daemon/tmp-dir.js +3 -2
- package/src/migrations/update-16-0-0/update-nx-cloud-runner.js +2 -0
- package/src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces.d.ts +1 -1
- package/src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces.js +3 -1
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.js +2 -10
- package/src/nx-cloud/utilities/client.d.ts +10 -0
- package/src/nx-cloud/utilities/client.js +35 -0
- package/src/nx-cloud/utilities/url-shorten.d.ts +2 -2
- package/src/nx-cloud/utilities/url-shorten.js +13 -6
- package/src/tasks-runner/utils.js +9 -5
- package/src/utils/chunkify.d.ts +10 -0
- package/src/utils/chunkify.js +19 -12
- package/src/utils/command-line-utils.d.ts +3 -0
- package/src/utils/command-line-utils.js +11 -7
- package/src/utils/git-utils.js +14 -4
- package/src/utils/plugins/core-plugins.d.ts +6 -3
- package/src/utils/plugins/core-plugins.js +107 -115
- package/src/utils/plugins/index.d.ts +4 -4
- package/src/utils/plugins/index.js +7 -8
- package/src/utils/plugins/installed-plugins.d.ts +2 -3
- package/src/utils/plugins/installed-plugins.js +4 -31
- package/src/utils/plugins/local-plugins.d.ts +2 -3
- package/src/utils/plugins/local-plugins.js +2 -29
- package/src/utils/plugins/output.d.ts +5 -0
- package/src/utils/plugins/output.js +104 -0
- package/src/utils/plugins/plugin-capabilities.d.ts +12 -2
- package/src/utils/plugins/plugin-capabilities.js +2 -87
- package/src/utils/plugins/community-plugins.d.ts +0 -2
- package/src/utils/plugins/community-plugins.js +0 -28
- package/src/utils/plugins/models.d.ts +0 -22
- package/src/utils/plugins/models.js +0 -2
- package/src/utils/plugins/shared.d.ts +0 -1
- package/src/utils/plugins/shared.js +0 -7
@@ -1,28 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.fetchCommunityPlugins = fetchCommunityPlugins;
|
4
|
-
const https_1 = require("https");
|
5
|
-
const COMMUNITY_PLUGINS_JSON_URL = 'https://raw.githubusercontent.com/nrwl/nx/master/community/approved-plugins.json';
|
6
|
-
async function fetchCommunityPlugins() {
|
7
|
-
return new Promise((resolve, reject) => {
|
8
|
-
const req = (0, https_1.get)(COMMUNITY_PLUGINS_JSON_URL, (res) => {
|
9
|
-
if (res.statusCode < 200 || res.statusCode >= 300) {
|
10
|
-
reject(new Error(`Request failed with status code ${res.statusCode}`));
|
11
|
-
}
|
12
|
-
const data = [];
|
13
|
-
res.on('data', (chunk) => {
|
14
|
-
data.push(chunk);
|
15
|
-
});
|
16
|
-
res.on('end', () => {
|
17
|
-
try {
|
18
|
-
resolve(JSON.parse(Buffer.concat(data).toString('utf-8')));
|
19
|
-
}
|
20
|
-
catch (e) {
|
21
|
-
reject(e);
|
22
|
-
}
|
23
|
-
});
|
24
|
-
});
|
25
|
-
req.on('error', reject);
|
26
|
-
req.end();
|
27
|
-
});
|
28
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { ExecutorsJsonEntry, GeneratorsJsonEntry } from '../../config/misc-interfaces';
|
2
|
-
export interface PluginCapabilities {
|
3
|
-
name: string;
|
4
|
-
executors?: {
|
5
|
-
[name: string]: ExecutorsJsonEntry;
|
6
|
-
};
|
7
|
-
generators?: {
|
8
|
-
[name: string]: GeneratorsJsonEntry;
|
9
|
-
};
|
10
|
-
projectInference?: boolean;
|
11
|
-
projectGraphExtension?: boolean;
|
12
|
-
}
|
13
|
-
export interface CorePlugin {
|
14
|
-
name: string;
|
15
|
-
capabilities: 'executors' | 'generators' | 'executors,generators';
|
16
|
-
link?: string;
|
17
|
-
}
|
18
|
-
export interface CommunityPlugin {
|
19
|
-
name: string;
|
20
|
-
url: string;
|
21
|
-
description: string;
|
22
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function hasElements(obj: any): boolean;
|