@emeryld/manager 0.3.3 → 0.4.1
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 +40 -42
- package/dist/create-package/index.js +177 -10
- package/dist/create-package/shared.js +183 -0
- package/dist/create-package/variants/client.js +56 -25
- package/dist/create-package/variants/contract.js +46 -21
- package/dist/create-package/variants/docker.js +96 -29
- package/dist/create-package/variants/empty.js +40 -20
- package/dist/create-package/variants/fullstack.js +130 -406
- package/dist/create-package/variants/server.js +59 -26
- package/dist/publish.js +9 -1
- package/package.json +1 -1
package/dist/publish.js
CHANGED
|
@@ -5,7 +5,7 @@ import { getOrderedPackages, loadPackages, resolvePackage } from './packages.js'
|
|
|
5
5
|
import { releaseMultiple, releaseSingle, } from './release.js';
|
|
6
6
|
import { ensureWorkingTreeCommitted } from './preflight.js';
|
|
7
7
|
import { publishCliState } from './prompts.js';
|
|
8
|
-
import { createRrrPackage } from './create-package/index.js';
|
|
8
|
+
import { createRrrPackage, runCreatePackageCli, } from './create-package/index.js';
|
|
9
9
|
import { colors, logGlobal } from './utils/log.js';
|
|
10
10
|
function resolveTargetsFromArg(packages, arg) {
|
|
11
11
|
if (arg.toLowerCase() === 'all')
|
|
@@ -121,6 +121,14 @@ async function runPackageSelectionLoop(packages, helperArgs) {
|
|
|
121
121
|
}
|
|
122
122
|
async function main() {
|
|
123
123
|
const cliArgs = process.argv.slice(2);
|
|
124
|
+
if (cliArgs[0] === 'create') {
|
|
125
|
+
await runCreatePackageCli(cliArgs.slice(1));
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
if (cliArgs[0] === 'templates') {
|
|
129
|
+
await runCreatePackageCli(['--list']);
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
124
132
|
const parsed = parseCliArgs(cliArgs);
|
|
125
133
|
const packages = await loadPackages();
|
|
126
134
|
// If user provided non-interactive flags, run headless path
|