@nu-art/build-and-install 0.204.41 → 0.204.42
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/build-and-install.js +0 -2
- package/package.json +1 -1
- package/phases/phases.d.ts +0 -2
- package/phases/phases.js +20 -19
package/build-and-install.js
CHANGED
|
@@ -13,13 +13,11 @@ projectManager.registerPhase(phases_1.Phase_PrepareParams);
|
|
|
13
13
|
projectManager.registerPhase(phases_1.Phase_ResolveTemplate);
|
|
14
14
|
projectManager.registerPhase(phases_1.Phase_ResolveEnv);
|
|
15
15
|
projectManager.registerPhase(phases_1.Phase_ResolvePackages);
|
|
16
|
-
projectManager.registerPhase(phases_1.Phase_InstallNvm);
|
|
17
16
|
projectManager.registerPhase(phases_1.Phase_PrintDependencyTree);
|
|
18
17
|
projectManager.registerPhase(phases_1.Phase_CheckCyclicImports);
|
|
19
18
|
projectManager.registerPhase(phases_1.Phase_PrintEnv);
|
|
20
19
|
projectManager.registerPhase(phases_1.Phase_PackagePurge);
|
|
21
20
|
projectManager.registerPhase(phases_1.Phase_InstallGlobals);
|
|
22
|
-
projectManager.registerPhase(phases_1.Phase_InstallPnpm);
|
|
23
21
|
projectManager.registerPhase(phases_1.Phase_InstallPackages);
|
|
24
22
|
projectManager.registerPhase(phases_1.Phase_Clean);
|
|
25
23
|
projectManager.registerPhase(phases_1.Phase_Lint);
|
package/package.json
CHANGED
package/phases/phases.d.ts
CHANGED
|
@@ -6,13 +6,11 @@ export declare const Phase_PrepareParams: BuildPhase;
|
|
|
6
6
|
export declare const Phase_ResolveTemplate: BuildPhase;
|
|
7
7
|
export declare const Phase_ResolveEnv: BuildPhase;
|
|
8
8
|
export declare const Phase_ResolvePackages: BuildPhase;
|
|
9
|
-
export declare const Phase_InstallNvm: BuildPhase;
|
|
10
9
|
export declare const Phase_PrintDependencyTree: BuildPhase;
|
|
11
10
|
export declare const Phase_CheckCyclicImports: BuildPhase;
|
|
12
11
|
export declare const Phase_PrintEnv: BuildPhase;
|
|
13
12
|
export declare const Phase_PackagePurge: BuildPhase;
|
|
14
13
|
export declare const Phase_InstallGlobals: BuildPhase;
|
|
15
|
-
export declare const Phase_InstallPnpm: BuildPhase;
|
|
16
14
|
export declare const Phase_InstallPackages: BuildPhase;
|
|
17
15
|
export declare const Phase_Clean: BuildPhase;
|
|
18
16
|
export declare const Phase_Lint: BuildPhase;
|
package/phases/phases.js
CHANGED
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.Phase_DeployBackend = exports.Phase_DeployFrontend = exports.Phase_Launch = exports.Phase_CompileWatch = exports.Phase_Compile = exports.Phase_PreCompile = exports.Phase_PrepareCompile = exports.Phase_Debug = exports.Phase_Lint = exports.Phase_Clean = exports.Phase_InstallPackages = exports.
|
|
26
|
+
exports.Phase_DeployBackend = exports.Phase_DeployFrontend = exports.Phase_Launch = exports.Phase_CompileWatch = exports.Phase_Compile = exports.Phase_PreCompile = exports.Phase_PrepareCompile = exports.Phase_Debug = exports.Phase_Lint = exports.Phase_Clean = exports.Phase_InstallPackages = exports.Phase_InstallGlobals = exports.Phase_PackagePurge = exports.Phase_PrintEnv = exports.Phase_CheckCyclicImports = exports.Phase_PrintDependencyTree = exports.Phase_ResolvePackages = exports.Phase_ResolveEnv = exports.Phase_ResolveTemplate = exports.Phase_PrepareParams = exports.Phase_SetupProject = exports.Phase_SetWithThunderstorm = exports.Phase_PrintHelp = void 0;
|
|
27
27
|
const ProjectManager_1 = require("../logic/ProjectManager");
|
|
28
28
|
const map_project_packages_1 = require("../logic/map-project-packages");
|
|
29
29
|
const fs = __importStar(require("fs"));
|
|
@@ -219,16 +219,17 @@ exports.Phase_ResolvePackages = {
|
|
|
219
219
|
action: async () => {
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}
|
|
222
|
+
// export const Phase_InstallNvm: BuildPhase = {
|
|
223
|
+
// type: 'project',
|
|
224
|
+
// name: 'install-nvm',
|
|
225
|
+
// mandatoryPhases: [Phase_ResolveEnv],
|
|
226
|
+
// action: async () => {
|
|
227
|
+
// const installed = await NVM.installRequiredVersionIfNeeded();
|
|
228
|
+
// if (!installed)
|
|
229
|
+
// return;
|
|
230
|
+
//
|
|
231
|
+
// }
|
|
232
|
+
// };
|
|
232
233
|
exports.Phase_PrintDependencyTree = {
|
|
233
234
|
type: ProjectManager_1.PackageBuildPhaseType_Package,
|
|
234
235
|
name: 'print-dependency-tree',
|
|
@@ -298,14 +299,14 @@ exports.Phase_InstallGlobals = {
|
|
|
298
299
|
await nvm_1.NVM.createCommando().append(`npm i -g ${globalPackages}`).execute();
|
|
299
300
|
}
|
|
300
301
|
};
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
};
|
|
302
|
+
// export const Phase_InstallPnpm: BuildPhase = {
|
|
303
|
+
// type: 'project',
|
|
304
|
+
// name: 'install-pnpm',
|
|
305
|
+
// mandatoryPhases: [Phase_ResolveEnv],
|
|
306
|
+
// action: async () => {
|
|
307
|
+
// await PNPM.install(NVM.createCommando());
|
|
308
|
+
// }
|
|
309
|
+
// };
|
|
309
310
|
exports.Phase_InstallPackages = {
|
|
310
311
|
type: 'project',
|
|
311
312
|
name: 'install-packages',
|