@coze-arch/cli 0.0.31-alpha.87aef4 → 0.0.31-alpha.e8a17f
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/lib/__templates__/expo/.cozeproj/scripts/validate.sh +1 -1
- package/lib/__templates__/expo/package.json +1 -1
- package/lib/__templates__/nextjs/package.json +1 -1
- package/lib/__templates__/nextjs/scripts/prepare.sh +2 -2
- package/lib/__templates__/nextjs/scripts/validate.sh +1 -1
- package/lib/__templates__/nuxt-vue/package.json +1 -1
- package/lib/__templates__/nuxt-vue/scripts/prepare.sh +2 -2
- package/lib/__templates__/nuxt-vue/scripts/validate.sh +1 -1
- package/lib/__templates__/vite/package.json +1 -1
- package/lib/__templates__/vite/scripts/prepare.sh +2 -2
- package/lib/__templates__/vite/scripts/validate.sh +1 -1
- package/lib/cli.js +409 -542
- package/package.json +3 -5
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"lint:client": "npm run lint --prefix ./client",
|
|
11
11
|
"lint:server": "npm run lint --prefix ./server",
|
|
12
12
|
"lint:all": "npm run lint --prefix ./client; npm run lint --prefix ./server",
|
|
13
|
-
"validate": "
|
|
13
|
+
"validate": "pnpm dlx concurrently --group --names expo,server \"pnpm lint:client\" \"pnpm lint:server\""
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {},
|
|
16
16
|
"devDependencies": {},
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"lint:style": "stylelint \"src/**/*.css\"",
|
|
12
12
|
"start": "bash ./scripts/start.sh",
|
|
13
13
|
"ts-check": "tsc -p tsconfig.json",
|
|
14
|
-
"validate": "
|
|
14
|
+
"validate": "pnpm dlx concurrently --group --names lint-tsc,lint-build,lint-style \"pnpm ts-check\" \"pnpm lint:build\" \"pnpm lint:style\""
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@aws-sdk/client-s3": "^3.958.0",
|
|
@@ -7,6 +7,6 @@ cd "${COZE_WORKSPACE_PATH}"
|
|
|
7
7
|
|
|
8
8
|
echo "Installing dependencies..."
|
|
9
9
|
pnpm install --prefer-frozen-lockfile --prefer-offline --loglevel debug --reporter=append-only
|
|
10
|
-
if command -v coze
|
|
11
|
-
coze
|
|
10
|
+
if command -v coze > /dev/null 2>&1 && coze check-bins --help > /dev/null 2>&1; then
|
|
11
|
+
coze check-bins --fix
|
|
12
12
|
fi
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"preview": "nuxt preview",
|
|
15
15
|
"start": "bash ./scripts/start.sh",
|
|
16
16
|
"ts-check": "nuxi typecheck",
|
|
17
|
-
"validate": "
|
|
17
|
+
"validate": "pnpm dlx concurrently --group --names lint-tsc,lint-build,lint-style \"pnpm ts-check\" \"pnpm lint:build\" \"pnpm lint:style\""
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@nuxt/image": "^1.8.1",
|
|
@@ -7,8 +7,8 @@ cd "${COZE_WORKSPACE_PATH}"
|
|
|
7
7
|
|
|
8
8
|
echo "Installing dependencies..."
|
|
9
9
|
pnpm install --prefer-frozen-lockfile --prefer-offline
|
|
10
|
-
if command -v coze
|
|
11
|
-
coze
|
|
10
|
+
if command -v coze > /dev/null 2>&1 && coze check-bins --help > /dev/null 2>&1; then
|
|
11
|
+
coze check-bins --fix
|
|
12
12
|
fi
|
|
13
13
|
|
|
14
14
|
echo "Preparing Nuxt project..."
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"lint:style": "stylelint \"src/**/*.css\"",
|
|
12
12
|
"start": "bash ./scripts/start.sh",
|
|
13
13
|
"ts-check": "tsc -p tsconfig.json",
|
|
14
|
-
"validate": "
|
|
14
|
+
"validate": "pnpm dlx concurrently --group --names lint-tsc,lint-build,lint-style \"pnpm ts-check\" \"pnpm lint:build\" \"pnpm lint:style\""
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@supabase/supabase-js": "2.95.3",
|
|
@@ -7,6 +7,6 @@ cd "${COZE_WORKSPACE_PATH}"
|
|
|
7
7
|
|
|
8
8
|
echo "Installing dependencies..."
|
|
9
9
|
pnpm install --prefer-frozen-lockfile --prefer-offline --loglevel debug --reporter=append-only
|
|
10
|
-
if command -v coze
|
|
11
|
-
coze
|
|
10
|
+
if command -v coze > /dev/null 2>&1 && coze check-bins --help > /dev/null 2>&1; then
|
|
11
|
+
coze check-bins --fix
|
|
12
12
|
fi
|