@alexkroman1/aai-cli 1.0.3 → 1.0.4
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.
|
@@ -21,7 +21,10 @@ function resolveLocalTemplatesDir() {
|
|
|
21
21
|
async function resolveTemplatesDir() {
|
|
22
22
|
if (process.env.AAI_TEMPLATES_DIR) return process.env.AAI_TEMPLATES_DIR;
|
|
23
23
|
if (isDevMode()) return resolveLocalTemplatesDir();
|
|
24
|
-
const { dir } = await downloadTemplate(`${GIGET_SOURCE}#${GIGET_REF}`, {
|
|
24
|
+
const { dir } = await downloadTemplate(`${GIGET_SOURCE}#${GIGET_REF}`, {
|
|
25
|
+
force: true,
|
|
26
|
+
forceClean: true
|
|
27
|
+
});
|
|
25
28
|
return dir;
|
|
26
29
|
}
|
|
27
30
|
/**
|
package/dist/cli.mjs
CHANGED
|
@@ -113,7 +113,7 @@ const init = defineCommand({
|
|
|
113
113
|
},
|
|
114
114
|
async run({ args }) {
|
|
115
115
|
await runCommand(args, async (mode) => {
|
|
116
|
-
const { executeInit } = await import("./init-
|
|
116
|
+
const { executeInit } = await import("./init-BoEnTX4U.mjs");
|
|
117
117
|
return executeInit({
|
|
118
118
|
dir: args.dir,
|
|
119
119
|
force: args.force,
|
|
@@ -119,7 +119,7 @@ async function tryDeploy(cwd, server, monorepoRoot) {
|
|
|
119
119
|
}
|
|
120
120
|
/** Scaffold the project, optionally showing a spinner. */
|
|
121
121
|
async function scaffoldProject(dir, cwd, template, silent) {
|
|
122
|
-
const { runInit } = await import("./_init-
|
|
122
|
+
const { runInit } = await import("./_init-B1ES0Off.mjs");
|
|
123
123
|
if (silent) {
|
|
124
124
|
await runInit({
|
|
125
125
|
targetDir: cwd,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexkroman1/aai-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"aai": "dist/cli.mjs"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"p-debounce": "^5.1.0",
|
|
24
24
|
"vite": "^8.0.3",
|
|
25
25
|
"zod": "^4.3.6",
|
|
26
|
-
"@alexkroman1/aai": "1.0.
|
|
26
|
+
"@alexkroman1/aai": "1.0.4"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"get-port": "^7.2.0",
|