@mouryaamit/nx-polystack 1.4.0 → 1.6.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/README.md +4 -2
- package/dist/migrations.json +5 -0
- package/dist/src/cli/commands/csp.js +55 -11
- package/dist/src/cli/commands/csp.js.map +1 -1
- package/dist/src/cli/help.js +4 -1
- package/dist/src/cli/help.js.map +1 -1
- package/dist/src/cli/launcher.js +1 -1
- package/dist/src/cli/launcher.js.map +1 -1
- package/dist/src/executors/build/executor.js +20 -0
- package/dist/src/executors/build/executor.js.map +1 -1
- package/dist/src/executors/build/schema.d.ts +5 -0
- package/dist/src/executors/build/schema.json +5 -0
- package/dist/src/executors/capacitor/executor.js +13 -0
- package/dist/src/executors/capacitor/executor.js.map +1 -1
- package/dist/src/executors/flutter-build/executor.js +33 -4
- package/dist/src/executors/flutter-build/executor.js.map +1 -1
- package/dist/src/executors/flutter-build/schema.d.ts +6 -1
- package/dist/src/executors/flutter-build/schema.json +10 -1
- package/dist/src/generators/app/files/angular/server/README.md__template__ +7 -3
- package/dist/src/generators/app/files/angular/src/app/app.module.ts__template__ +7 -4
- package/dist/src/generators/app/files/ionic/src/app/app.module.ts__template__ +10 -4
- package/dist/src/generators/app/from.js +56 -21
- package/dist/src/generators/app/from.js.map +1 -1
- package/dist/src/generators/app/generator.d.ts +2 -0
- package/dist/src/generators/app/generator.js +20 -4
- package/dist/src/generators/app/generator.js.map +1 -1
- package/dist/src/generators/env/generator.js +110 -17
- package/dist/src/generators/env/generator.js.map +1 -1
- package/dist/src/generators/migrate/adapters/angular-cli.js +11 -6
- package/dist/src/generators/migrate/adapters/angular-cli.js.map +1 -1
- package/dist/src/generators/migrate/adapters/angular-workspace.js +12 -0
- package/dist/src/generators/migrate/adapters/angular-workspace.js.map +1 -1
- package/dist/src/generators/migrate/adapters/flutter.js +13 -7
- package/dist/src/generators/migrate/adapters/flutter.js.map +1 -1
- package/dist/src/generators/migrate/adapters/npm-workspaces.js +6 -0
- package/dist/src/generators/migrate/adapters/npm-workspaces.js.map +1 -1
- package/dist/src/generators/migrate/adapters/nx-workspace.js +87 -14
- package/dist/src/generators/migrate/adapters/nx-workspace.js.map +1 -1
- package/dist/src/generators/migrate/adapters/types.d.ts +12 -0
- package/dist/src/generators/migrate/adapters/types.js.map +1 -1
- package/dist/src/generators/migrate/generator.js +3 -0
- package/dist/src/generators/migrate/generator.js.map +1 -1
- package/dist/src/generators/migrate/ionic/shape.js +2 -0
- package/dist/src/generators/migrate/ionic/shape.js.map +1 -1
- package/dist/src/generators/migrate/nx/flat-eslint.d.ts +17 -0
- package/dist/src/generators/migrate/nx/flat-eslint.js +71 -0
- package/dist/src/generators/migrate/nx/flat-eslint.js.map +1 -0
- package/dist/src/generators/migrate/report.js +2 -2
- package/dist/src/generators/migrate/report.js.map +1 -1
- package/dist/src/generators/preset/schema.json +1 -1
- package/dist/src/lib/csp/allowlist.d.ts +11 -1
- package/dist/src/lib/csp/allowlist.js +73 -15
- package/dist/src/lib/csp/allowlist.js.map +1 -1
- package/dist/src/lib/csp/render.d.ts +8 -0
- package/dist/src/lib/csp/render.js +37 -1
- package/dist/src/lib/csp/render.js.map +1 -1
- package/dist/src/lib/release/htaccess-adopt.d.ts +22 -0
- package/dist/src/lib/release/htaccess-adopt.js +108 -0
- package/dist/src/lib/release/htaccess-adopt.js.map +1 -0
- package/dist/src/lib/release/htaccess.d.ts +23 -0
- package/dist/src/lib/release/htaccess.js +81 -0
- package/dist/src/lib/release/htaccess.js.map +1 -0
- package/dist/src/lib/utils/angular-deps.d.ts +6 -1
- package/dist/src/lib/utils/angular-deps.js +20 -5
- package/dist/src/lib/utils/angular-deps.js.map +1 -1
- package/dist/src/lib/utils/angular-project.js +2 -1
- package/dist/src/lib/utils/angular-project.js.map +1 -1
- package/dist/src/lib/utils/env-files.d.ts +19 -4
- package/dist/src/lib/utils/env-files.js +48 -4
- package/dist/src/lib/utils/env-files.js.map +1 -1
- package/dist/src/lib/utils/env-move.d.ts +37 -0
- package/dist/src/lib/utils/env-move.js +186 -0
- package/dist/src/lib/utils/env-move.js.map +1 -0
- package/dist/src/lib/utils/llm-block.js +8 -3
- package/dist/src/lib/utils/llm-block.js.map +1 -1
- package/dist/src/migrations/env-files-layout/env-files-layout.d.ts +22 -0
- package/dist/src/migrations/env-files-layout/env-files-layout.js +180 -0
- package/dist/src/migrations/env-files-layout/env-files-layout.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Tree } from '@nx/devkit';
|
|
2
|
+
export interface EnvFilesLayoutReport {
|
|
3
|
+
/** "<app>: <what changed>" lines. */
|
|
4
|
+
changes: string[];
|
|
5
|
+
/** "<file>:<line>: <text>" references to old paths or invocations, for the user to update. */
|
|
6
|
+
references: string[];
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* v1.5.2: every per-environment file of a project lives in environments/<project>/.
|
|
10
|
+
* - Angular/Ionic apps with a release target: the .htaccess their build copied becomes
|
|
11
|
+
* environments/<envProject>/htaccess.<env> for every release env (identical copies) and leaves
|
|
12
|
+
* the build assets; apps that built none get htaccess: false. Apps already on env files are kept.
|
|
13
|
+
* - Flutter apps on nx:run-commands targets calling tools/scripts/flutter/flutter-build.js (the
|
|
14
|
+
* exact form earlier workspaces were given) get the plugin's flutter-build targets.
|
|
15
|
+
* - Flutter apps on flutter-build: apps/<app>/env/<env>.json moves to
|
|
16
|
+
* environments/<envProject>/environment.<env>.json; build-web gets htaccess: false when the app
|
|
17
|
+
* has no htaccess.<env> files.
|
|
18
|
+
* Existing files are never replaced. References to the old paths in package.json scripts, GitHub
|
|
19
|
+
* workflows and Jenkinsfiles are listed, not rewritten.
|
|
20
|
+
*/
|
|
21
|
+
export default function envFilesLayout(tree: Tree): Promise<void>;
|
|
22
|
+
export declare function migrateEnvFilesLayout(tree: Tree): EnvFilesLayoutReport;
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.migrateEnvFilesLayout = void 0;
|
|
4
|
+
const devkit_1 = require("@nx/devkit");
|
|
5
|
+
const generator_1 = require("../../generators/app/generator");
|
|
6
|
+
const htaccess_1 = require("../../lib/release/htaccess");
|
|
7
|
+
const htaccess_adopt_1 = require("../../lib/release/htaccess-adopt");
|
|
8
|
+
const env_files_1 = require("../../lib/utils/env-files");
|
|
9
|
+
const project_json_files_1 = require("../../lib/utils/project-json-files");
|
|
10
|
+
const RELEASE_EXECUTOR = '@mouryaamit/nx-polystack:build';
|
|
11
|
+
const FLUTTER_BUILD = '@mouryaamit/nx-polystack:flutter-build';
|
|
12
|
+
/** The workspace-local Flutter script targets of earlier workspaces, exactly as they were written. */
|
|
13
|
+
const RUN_COMMANDS_FLUTTER = /^node tools\/scripts\/flutter\/flutter-build\.js --project=(\S+) --target=(web|apk|ios|web-server) --env=\{args\.env\}$/;
|
|
14
|
+
/** The run-commands target name and its script --target, for each plugin target. */
|
|
15
|
+
const CONVERTED = {
|
|
16
|
+
'build-web': 'web',
|
|
17
|
+
'build-android': 'apk',
|
|
18
|
+
'build-ios': 'ios',
|
|
19
|
+
serve: 'web-server',
|
|
20
|
+
};
|
|
21
|
+
const isObject = (v) => typeof v === 'object' && v !== null && !Array.isArray(v);
|
|
22
|
+
/**
|
|
23
|
+
* v1.5.2: every per-environment file of a project lives in environments/<project>/.
|
|
24
|
+
* - Angular/Ionic apps with a release target: the .htaccess their build copied becomes
|
|
25
|
+
* environments/<envProject>/htaccess.<env> for every release env (identical copies) and leaves
|
|
26
|
+
* the build assets; apps that built none get htaccess: false. Apps already on env files are kept.
|
|
27
|
+
* - Flutter apps on nx:run-commands targets calling tools/scripts/flutter/flutter-build.js (the
|
|
28
|
+
* exact form earlier workspaces were given) get the plugin's flutter-build targets.
|
|
29
|
+
* - Flutter apps on flutter-build: apps/<app>/env/<env>.json moves to
|
|
30
|
+
* environments/<envProject>/environment.<env>.json; build-web gets htaccess: false when the app
|
|
31
|
+
* has no htaccess.<env> files.
|
|
32
|
+
* Existing files are never replaced. References to the old paths in package.json scripts, GitHub
|
|
33
|
+
* workflows and Jenkinsfiles are listed, not rewritten.
|
|
34
|
+
*/
|
|
35
|
+
async function envFilesLayout(tree) {
|
|
36
|
+
const report = migrateEnvFilesLayout(tree);
|
|
37
|
+
// project.json files are written as JSON; keep them in the workspace's Prettier style. formatFiles
|
|
38
|
+
// also sorts the root tsconfig's paths, which this migration does not touch: put it back.
|
|
39
|
+
const rootTsconfigs = ['tsconfig.base.json', 'tsconfig.json'].flatMap((f) => {
|
|
40
|
+
const content = tree.exists(f) ? tree.read(f) : null;
|
|
41
|
+
return content ? [[f, content]] : [];
|
|
42
|
+
});
|
|
43
|
+
await (0, devkit_1.formatFiles)(tree);
|
|
44
|
+
for (const [f, content] of rootTsconfigs)
|
|
45
|
+
tree.write(f, content);
|
|
46
|
+
for (const c of report.changes)
|
|
47
|
+
devkit_1.logger.info(`env-files-layout: ${c}`);
|
|
48
|
+
if (report.references.length > 0) {
|
|
49
|
+
devkit_1.logger.warn('env-files-layout: these still name the old paths or invocations; update them by hand:\n' +
|
|
50
|
+
report.references.map((r) => ` ${r}`).join('\n'));
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.default = envFilesLayout;
|
|
54
|
+
function migrateEnvFilesLayout(tree) {
|
|
55
|
+
const changes = [];
|
|
56
|
+
const oldPaths = [];
|
|
57
|
+
const argsTargets = [];
|
|
58
|
+
/** Apps whose env files moved: direct calls of the old script no longer find them. */
|
|
59
|
+
const scriptApps = [];
|
|
60
|
+
for (const { name, root } of (0, project_json_files_1.readProjects)(tree)) {
|
|
61
|
+
const file = `${root}/project.json`;
|
|
62
|
+
const targetsOf = () => {
|
|
63
|
+
const pj = (0, devkit_1.readJson)(tree, file);
|
|
64
|
+
return isObject(pj['targets']) ? pj['targets'] : {};
|
|
65
|
+
};
|
|
66
|
+
// ── Angular / Ionic release builds ───────────────────────────────────────────
|
|
67
|
+
if (Object.values(targetsOf()).some((t) => t?.['executor'] === RELEASE_EXECUTOR)) {
|
|
68
|
+
const r = (0, htaccess_adopt_1.adoptHtaccess)(tree, file);
|
|
69
|
+
const notes = [];
|
|
70
|
+
(0, htaccess_adopt_1.htaccessNote)(r, name, notes);
|
|
71
|
+
changes.push(...notes.map((n) => `${name}: ${n}`));
|
|
72
|
+
if (r.source)
|
|
73
|
+
oldPaths.push(r.source);
|
|
74
|
+
}
|
|
75
|
+
// ── Flutter on the workspace-local script ────────────────────────────────────
|
|
76
|
+
const converted = convertRunCommandsFlutter(tree, file, name, root);
|
|
77
|
+
if (converted.length > 0) {
|
|
78
|
+
changes.push(`${name}: ${converted.join(', ')} now use the plugin's flutter-build executor ` +
|
|
79
|
+
`(nx run ${name}:build-web:<env>; tools/scripts/flutter/flutter-build.js is no longer used by them)`);
|
|
80
|
+
argsTargets.push(...converted.map((t) => `${name}:${t}`));
|
|
81
|
+
}
|
|
82
|
+
// ── Flutter on flutter-build ─────────────────────────────────────────────────
|
|
83
|
+
const targets = targetsOf();
|
|
84
|
+
const flutter = Object.values(targets).filter((t) => t?.['executor'] === FLUTTER_BUILD);
|
|
85
|
+
if (flutter.length === 0)
|
|
86
|
+
continue;
|
|
87
|
+
const web = targets['build-web'];
|
|
88
|
+
const webOptions = isObject(web?.['options']) ? web?.['options'] : undefined;
|
|
89
|
+
const envProject = typeof webOptions?.['envProject'] === 'string' ? webOptions['envProject'] : name;
|
|
90
|
+
const moved = (0, env_files_1.moveFlutterEnvFiles)(tree, root, envProject);
|
|
91
|
+
if (moved.moved.length > 0) {
|
|
92
|
+
changes.push(`${name}: env files moved to environments/${envProject}/ ` +
|
|
93
|
+
`(${moved.moved.map(([from, to]) => `${from} → ${to}`).join(', ')})`);
|
|
94
|
+
oldPaths.push(`${root}/env/`);
|
|
95
|
+
scriptApps.push(name);
|
|
96
|
+
}
|
|
97
|
+
if (moved.kept.length > 0) {
|
|
98
|
+
changes.push(`${name}: kept ${moved.kept.join(', ')}: environments/${envProject}/ already has that env ` +
|
|
99
|
+
'(compare them and delete the old one)');
|
|
100
|
+
}
|
|
101
|
+
if (web && webOptions?.['htaccess'] === undefined) {
|
|
102
|
+
const envs = Object.entries(isObject(web['configurations']) ? web['configurations'] : {}).map(([c, conf]) => String((isObject(conf) ? conf['env'] : undefined) ?? c).toLowerCase());
|
|
103
|
+
if (!envs.some((env) => tree.exists((0, htaccess_1.htaccessSourcePath)(envProject, env)))) {
|
|
104
|
+
const pj = (0, devkit_1.readJson)(tree, file);
|
|
105
|
+
const pjWeb = pj['targets']['build-web'];
|
|
106
|
+
pjWeb['options'] = {
|
|
107
|
+
...(isObject(pjWeb['options']) ? pjWeb['options'] : {}),
|
|
108
|
+
htaccess: false,
|
|
109
|
+
};
|
|
110
|
+
(0, devkit_1.writeJson)(tree, file, pj);
|
|
111
|
+
changes.push(`${name}: build-web makes no .htaccess (htaccess: false: the app had none); for one, add ` +
|
|
112
|
+
`environments/${envProject}/htaccess.<env> for each env and remove the option`);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
return { changes, references: findReferences(tree, oldPaths, argsTargets, scriptApps) };
|
|
117
|
+
}
|
|
118
|
+
exports.migrateEnvFilesLayout = migrateEnvFilesLayout;
|
|
119
|
+
/**
|
|
120
|
+
* Replaces build-web/build-android/build-ios/serve targets that are exactly the earlier
|
|
121
|
+
* `node tools/scripts/flutter/flutter-build.js --project=<app> --target=… --env={args.env}` commands
|
|
122
|
+
* (and whose project is the app at apps/<app>) with the targets pstack app --type=flutter writes.
|
|
123
|
+
* Returns the converted target names.
|
|
124
|
+
*/
|
|
125
|
+
function convertRunCommandsFlutter(tree, file, name, root) {
|
|
126
|
+
const pj = (0, devkit_1.readJson)(tree, file);
|
|
127
|
+
const targets = isObject(pj['targets']) ? pj['targets'] : {};
|
|
128
|
+
const generated = (0, generator_1.buildProjectJson)(name, { root, exportTarget: false })
|
|
129
|
+
.targets;
|
|
130
|
+
const converted = [];
|
|
131
|
+
for (const [targetName, scriptTarget] of Object.entries(CONVERTED)) {
|
|
132
|
+
const t = targets[targetName];
|
|
133
|
+
if (!t || t['executor'] !== 'nx:run-commands' || !isObject(t['options']))
|
|
134
|
+
continue;
|
|
135
|
+
const m = RUN_COMMANDS_FLUTTER.exec(String(t['options']['command'] ?? ''));
|
|
136
|
+
if (!m || m[2] !== scriptTarget || `apps/${m[1]}` !== root)
|
|
137
|
+
continue;
|
|
138
|
+
targets[targetName] = generated[targetName];
|
|
139
|
+
converted.push(targetName);
|
|
140
|
+
}
|
|
141
|
+
if (converted.length > 0)
|
|
142
|
+
(0, devkit_1.writeJson)(tree, file, pj);
|
|
143
|
+
return converted;
|
|
144
|
+
}
|
|
145
|
+
/** Files that name an old path, or pass --args to a converted target, with line numbers. */
|
|
146
|
+
function findReferences(tree, oldPaths, argsTargets, scriptApps) {
|
|
147
|
+
if (oldPaths.length === 0 && argsTargets.length === 0)
|
|
148
|
+
return [];
|
|
149
|
+
// The workspace-local script reads apps/<app>/env/<env>.json, and skips a missing one silently.
|
|
150
|
+
const scriptCalls = scriptApps.map((app) => new RegExp(`tools/scripts/flutter/flutter-build\\.js\\s[^"']*--project=${app.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')}(?![\\w-])`));
|
|
151
|
+
const files = ['package.json', ...workflowFiles(tree), ...jenkinsFiles(tree)];
|
|
152
|
+
const out = [];
|
|
153
|
+
for (const f of files) {
|
|
154
|
+
if (!tree.exists(f))
|
|
155
|
+
continue;
|
|
156
|
+
const lines = (tree.read(f, 'utf-8') ?? '').split('\n');
|
|
157
|
+
lines.forEach((line, i) => {
|
|
158
|
+
const hit = oldPaths.some((p) => line.includes(p)) ||
|
|
159
|
+
argsTargets.some((t) => line.includes(`nx run ${t} `) && line.includes('--args=')) ||
|
|
160
|
+
scriptCalls.some((re) => re.test(line));
|
|
161
|
+
if (hit)
|
|
162
|
+
out.push(`${f}:${i + 1}: ${line.trim().slice(0, 160)}`);
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
return out;
|
|
166
|
+
}
|
|
167
|
+
function workflowFiles(tree, dir = '.github') {
|
|
168
|
+
if (!tree.exists(dir) || tree.isFile(dir))
|
|
169
|
+
return [];
|
|
170
|
+
return tree.children(dir).flatMap((c) => {
|
|
171
|
+
const rel = `${dir}/${c}`;
|
|
172
|
+
if (!tree.isFile(rel))
|
|
173
|
+
return workflowFiles(tree, rel);
|
|
174
|
+
return /\.ya?ml$/.test(c) ? [rel] : [];
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
function jenkinsFiles(tree) {
|
|
178
|
+
return tree.children('').filter((c) => /^Jenkinsfile/.test(c) && tree.isFile(c));
|
|
179
|
+
}
|
|
180
|
+
//# sourceMappingURL=env-files-layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"env-files-layout.js","sourceRoot":"","sources":["../../../../src/migrations/env-files-layout/env-files-layout.ts"],"names":[],"mappings":";;;AAAA,uCAA4E;AAE5E,8DAAkE;AAClE,yDAAgE;AAChE,qEAA+E;AAC/E,yDAAgE;AAChE,2EAAkE;AAKlE,MAAM,gBAAgB,GAAG,gCAAgC,CAAC;AAC1D,MAAM,aAAa,GAAG,wCAAwC,CAAC;AAE/D,sGAAsG;AACtG,MAAM,oBAAoB,GACxB,yHAAyH,CAAC;AAC5H,oFAAoF;AACpF,MAAM,SAAS,GAA2B;IACxC,WAAW,EAAE,KAAK;IAClB,eAAe,EAAE,KAAK;IACtB,WAAW,EAAE,KAAK;IAClB,KAAK,EAAE,YAAY;CACpB,CAAC;AAEF,MAAM,QAAQ,GAAG,CAAC,CAAU,EAAa,EAAE,CACzC,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AAS3D;;;;;;;;;;;;GAYG;AACY,KAAK,UAAU,cAAc,CAAC,IAAU;IACrD,MAA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,SAAS,YAAY,CAAC,IAAU;IAC9B,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AACnF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mouryaamit/nx-polystack",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Nx plugin and pstack CLI that scaffold and build multi-tech monorepos (Angular, Ionic, Flutter) with a hardened release pipeline.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|