@nx/enterprise-cloud 4.0.0 → 5.0.0
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/package.json +4 -4
- package/src/generators/init/init.js +1 -1
- package/src/index.js +1 -1
- package/src/plugin/plugin.d.ts +15 -1
- package/src/plugin/plugin.js +1 -1
- package/src/plugin/plugin.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/enterprise-cloud",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "A Nx plugin which is specific to Nx Enterprise Cloud workspaces.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"THIRD_PARTY_LICENSES.txt"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@nx/devkit": "
|
|
23
|
-
"@nx/key": "
|
|
22
|
+
"@nx/devkit": "22.0.3",
|
|
23
|
+
"@nx/key": "5.0.0",
|
|
24
24
|
"semver": "7.5.4"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"nx": ">= 18 <
|
|
27
|
+
"nx": ">= 18 < 23"
|
|
28
28
|
},
|
|
29
29
|
"types": "./src/index.d.ts"
|
|
30
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function a0_0xe1a7(_0x35404b,_0x39096a){const _0x477694=a0_0x4776();return a0_0xe1a7=function(_0xe1a781,_0x699496){_0xe1a781=_0xe1a781-0xce;let _0x32190b=_0x477694[_0xe1a781];return _0x32190b;},a0_0xe1a7(_0x35404b,_0x39096a);}const a0_0x3aa601=a0_0xe1a7;(function(_0x4b3fcc,_0x4eb47a){const _0x23e776=a0_0xe1a7,_0x1277ed=_0x4b3fcc();while(!![]){try{const _0x1ae2de=parseInt(_0x23e776(0xe4))/0x1*(parseInt(_0x23e776(0xdd))/0x2)+-parseInt(_0x23e776(0xe7))/0x3*(-parseInt(_0x23e776(0xd6))/0x4)+parseInt(_0x23e776(0xd1))/0x5+-parseInt(_0x23e776(0xd8))/0x6*(-parseInt(_0x23e776(0xdb))/0x7)+parseInt(_0x23e776(0xd5))/0x8*(-parseInt(_0x23e776(0xe0))/0x9)+parseInt(_0x23e776(0xd2))/0xa*(-parseInt(_0x23e776(0xcf))/0xb)+parseInt(_0x23e776(0xd4))/0xc;if(_0x1ae2de===_0x4eb47a)break;else _0x1277ed['push'](_0x1277ed['shift']());}catch(_0x3868f5){_0x1277ed['push'](_0x1277ed['shift']());}}}(a0_0x4776,0x6d6f2));function a0_0x4776(){const _0x118d96=['__esModule','6sePTXW','getNxKeyInformationAsync','nx.json','2490807TZFzHd','updateJson','729010EuRNiX','30MVtcEz','workspaceRoot','6466776BuWaOi','8PMBeQt','316952mBNHLe','You\x20must\x20have\x20a\x20valid\x20Nx\x20key\x20to\x20use\x20@nx/enterprise-cloud,\x20read\x20more\x20about\x20Nx\x20keys\x20on\x20https://nx.dev/powerpack','1053732WVADhz','plugins','default','28lQkqOR','@nx/enterprise-cloud','26716WBkQKV','push','initGenerator','5686551SlHDLT','@nx/devkit','formatFiles','some','16qIdovM','plugin'];a0_0x4776=function(){return _0x118d96;};return a0_0x4776();}Object['defineProperty'](exports,a0_0x3aa601(0xe6),{'value':!0x0}),exports[a0_0x3aa601(0xdf)]=r;const e=require(a0_0x3aa601(0xe1)),t=require('@nx/key');async function r(_0xc39875){const _0x164c35=a0_0x3aa601;if(!await(0x0,t[_0x164c35(0xe8)])(e[_0x164c35(0xd3)]))throw Error(_0x164c35(0xd7));(0x0,e[_0x164c35(0xd0)])(_0xc39875,_0x164c35(0xce),_0x3c8f72=>{const _0x51e61a=_0x164c35;_0x3c8f72['plugins']=_0x3c8f72[_0x51e61a(0xd9)]||[];let _0x19cdf4='@nx/enterprise-cloud';return _0x3c8f72[_0x51e61a(0xd9)][_0x51e61a(0xe3)](_0x1b6971=>'string'==typeof _0x1b6971?_0x1b6971===_0x19cdf4:_0x1b6971[_0x51e61a(0xe5)]===_0x19cdf4)||_0x3c8f72[_0x51e61a(0xd9)][_0x51e61a(0xde)](_0x51e61a(0xdc)),_0x3c8f72;}),await(0x0,e[_0x164c35(0xe2)])(_0xc39875);}exports[a0_0x3aa601(0xda)]=r;
|
package/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';var a1_0x327aaf=a1_0x32ac;function a1_0x32ac(_0x20ebd8,_0x13306c){var _0x161d97=a1_0x161d();return a1_0x32ac=function(_0x32ac45,_0x54728d){_0x32ac45=_0x32ac45-0x108;var _0x2a107b=_0x161d97[_0x32ac45];return _0x2a107b;},a1_0x32ac(_0x20ebd8,_0x13306c);}(function(_0x465181,_0x356685){var _0x3977fc=a1_0x32ac,_0x140ab7=_0x465181();while(!![]){try{var _0x51b693=-parseInt(_0x3977fc(0x10d))/0x1+parseInt(_0x3977fc(0x10c))/0x2+-parseInt(_0x3977fc(0x110))/0x3*(parseInt(_0x3977fc(0x10f))/0x4)+parseInt(_0x3977fc(0x111))/0x5+parseInt(_0x3977fc(0x10a))/0x6*(parseInt(_0x3977fc(0x10e))/0x7)+parseInt(_0x3977fc(0x112))/0x8*(parseInt(_0x3977fc(0x108))/0x9)+-parseInt(_0x3977fc(0x113))/0xa;if(_0x51b693===_0x356685)break;else _0x140ab7['push'](_0x140ab7['shift']());}catch(_0x134c27){_0x140ab7['push'](_0x140ab7['shift']());}}}(a1_0x161d,0xc0d65));Object[a1_0x327aaf(0x109)](exports,'__esModule',{'value':!0x0}),exports[a1_0x327aaf(0x10b)]=exports[a1_0x327aaf(0x114)]=void 0x0;var e=require('./plugin/plugin');Object['defineProperty'](exports,a1_0x327aaf(0x114),{'enumerable':!0x0,'get':function(){var _0x147aa2=a1_0x327aaf;return e[_0x147aa2(0x114)];}}),Object['defineProperty'](exports,a1_0x327aaf(0x10b),{'enumerable':!0x0,'get':function(){var _0x486656=a1_0x327aaf;return e[_0x486656(0x10b)];}});function a1_0x161d(){var _0x11366b=['1754469ohFvbT','defineProperty','6xuFvkl','createNodes','839266tUlNYo','964857fqBhPJ','10094735NfMoFR','209956KrBLdy','66fPyAlQ','6987665rZtCQQ','8hLDkCF','5447360twWIaU','createMetadata'];a1_0x161d=function(){return _0x11366b;};return a1_0x161d();}
|
package/src/plugin/plugin.d.ts
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
import { CreateMetadata,
|
|
1
|
+
import { CreateMetadata, CreateNodesContextV2, ProjectConfiguration, ProjectGraphExternalNode } from '@nx/devkit';
|
|
2
|
+
export interface CreateNodesContext extends CreateNodesContextV2 {
|
|
3
|
+
readonly configFiles: readonly string[];
|
|
4
|
+
}
|
|
5
|
+
type CreateNodesFunction<T = unknown> = (projectConfigurationFile: string, options: T | undefined, context: CreateNodesContext) => CreateNodesResult | Promise<CreateNodesResult>;
|
|
6
|
+
type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
7
|
+
interface CreateNodesResult {
|
|
8
|
+
projects?: Record<string, Optional<ProjectConfiguration, 'root'>>;
|
|
9
|
+
externalNodes?: Record<string, ProjectGraphExternalNode>;
|
|
10
|
+
}
|
|
11
|
+
type CreateNodes<T = unknown> = readonly [
|
|
12
|
+
projectFilePattern: string,
|
|
13
|
+
createNodesFunction: CreateNodesFunction<T>
|
|
14
|
+
];
|
|
2
15
|
export declare const createMetadata: CreateMetadata;
|
|
3
16
|
export declare const createNodes: CreateNodes | undefined;
|
|
17
|
+
export {};
|
package/src/plugin/plugin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a2_0x23b0fe=a2_0x38cf;(function(_0x4c0bef,_0x266457){const _0x36ea6d=a2_0x38cf,_0x1d3661=_0x4c0bef();while(!![]){try{const _0x4fec53=parseInt(_0x36ea6d(0x15f))/0x1+parseInt(_0x36ea6d(0x17b))/0x2+parseInt(_0x36ea6d(0x162))/0x3+parseInt(_0x36ea6d(0x16e))/0x4*(parseInt(_0x36ea6d(0x181))/0x5)+parseInt(_0x36ea6d(0x168))/0x6*(parseInt(_0x36ea6d(0x17c))/0x7)+parseInt(_0x36ea6d(0x165))/0x8*(parseInt(_0x36ea6d(0x16a))/0x9)+-parseInt(_0x36ea6d(0x16b))/0xa;if(_0x4fec53===_0x266457)break;else _0x1d3661['push'](_0x1d3661['shift']());}catch(_0x45af27){_0x1d3661['push'](_0x1d3661['shift']());}}}(a2_0x7064,0xafb09));Object[a2_0x23b0fe(0x180)](exports,a2_0x23b0fe(0x16d),{'value':!0x0}),exports[a2_0x23b0fe(0x16f)]=exports[a2_0x23b0fe(0x167)]=void 0x0;const e=require(a2_0x23b0fe(0x16c)),t=require(a2_0x23b0fe(0x169)),r=require(a2_0x23b0fe(0x161)),a=require(a2_0x23b0fe(0x17a)),o=require('semver'),n=async(_0xa5f73c,_0x190c35,_0x475b0c)=>{const _0x439a49=a2_0x23b0fe;if(!await(0x0,t[_0x439a49(0x179)])(_0x475b0c['workspaceRoot']))throw Error(_0x439a49(0x176));let _0x158c64={};for(let [_0x2a314e,_0x4cc2e4]of Object[_0x439a49(0x160)](_0xa5f73c[_0x439a49(0x177)])){if(!_0x4cc2e4[_0x439a49(0x178)][_0x439a49(0x175)])continue;let _0x4174a7=(0x0,e[_0x439a49(0x172)])(_0x4cc2e4[_0x439a49(0x178)][_0x439a49(0x175)],_0x439a49(0x164)),_0x129770=(0x0,r[_0x439a49(0x174)])(_0x4174a7)?(0x0,e[_0x439a49(0x17e)])(_0x4174a7):null,_0x41d92b=_0x129770?.[_0x439a49(0x17d)]||'';_0x41d92b&&(_0x158c64[_0x2a314e]={'metadata':{'jsPackageName':_0x41d92b}});}return _0x158c64;};function a2_0x7064(){const _0x459e23=['data','getNxKeyInformationAsync','node:path','161190CMjiLB','7qnaQuy','name','readJsonFile','19.0.0','defineProperty','4555liDgLZ','445686fptDHq','entries','node:fs','1141752dcWsKe','dirname','package.json','1024lYtpYu','gte','createMetadata','2234844HFEZXZ','@nx/key','72297BnTxLs','21955750DCztWi','@nx/devkit','__esModule','2668VkpCGa','createNodes','NX_VERSION','enabled','joinPathFragments','**/package.json','existsSync','root','You\x20must\x20have\x20a\x20valid\x20Nx\x20key\x20to\x20use\x20@nx/enterprise-cloud,\x20read\x20more\x20about\x20Nx\x20keys\x20on\x20https://nx.dev/powerpack','nodes'];a2_0x7064=function(){return _0x459e23;};return a2_0x7064();}function a2_0x38cf(_0x5756b7,_0x1d5a11){const _0x706480=a2_0x7064();return a2_0x38cf=function(_0x38cf26,_0x16f66f){_0x38cf26=_0x38cf26-0x15f;let _0x66e8a1=_0x706480[_0x38cf26];return _0x66e8a1;},a2_0x38cf(_0x5756b7,_0x1d5a11);}exports['createMetadata']=n;const s=[a2_0x23b0fe(0x173),async(_0x38d95d,_0xb7291f,_0x5c7e38)=>{const _0x3b47d0=a2_0x23b0fe;try{let _0x405d74=(0x0,a[_0x3b47d0(0x163)])(_0x38d95d),_0x27bf20=(0x0,e[_0x3b47d0(0x17e)])(_0x38d95d);if('.'===_0x405d74&&(!_0x27bf20['nx']||!_0x27bf20['nx'][_0x3b47d0(0x171)]))return{'projects':{}};return{'projects':{[_0x405d74]:{'metadata':{'jsPackageName':_0x27bf20[_0x3b47d0(0x17d)]}}}};}catch{return{'projects':{}};}}];exports[a2_0x23b0fe(0x16f)]=(0x0,o[a2_0x23b0fe(0x166)])(e[a2_0x23b0fe(0x170)],a2_0x23b0fe(0x17f))?void 0x0:s;
|
package/src/plugin/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../../../../libs/nx-packages/enterprise-cloud/src/plugin/plugin.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../../../../libs/n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