@squadbase/vantage-template 0.1.0-dev1.f48cfad → 0.1.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 +6 -6
- package/base-template/.squadbase/skills/vantage-app/SKILL.md +6 -6
- package/base-template/AGENTS.md +0 -18
- package/base-template/package-lock.json +5841 -0
- package/base-template/package.json +2 -2
- package/base-template/pipelines/pyproject.toml +1 -1
- package/base-template/squadbase.yml +0 -1
- package/dist/index.js +6 -15
- package/package.json +2 -2
- package/base-template/bun.lock +0 -907
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@squadbase/react": "^0.1.0",
|
|
15
|
-
"@squadbase/vantage": "0.6.1
|
|
16
|
-
"@squadbase/vantage-sdk": "0.1.1
|
|
15
|
+
"@squadbase/vantage": "0.6.1",
|
|
16
|
+
"@squadbase/vantage-sdk": "0.1.1",
|
|
17
17
|
"date-fns": "^4.1.0",
|
|
18
18
|
"lucide-react": "^0.468.0",
|
|
19
19
|
"react": "^19.2.7",
|
package/dist/index.js
CHANGED
|
@@ -1022,36 +1022,27 @@ function initProject(options) {
|
|
|
1022
1022
|
applyChartPreset(targetDir, options.chart);
|
|
1023
1023
|
log("cyan", ` chart preset: ${options.chart}`);
|
|
1024
1024
|
}
|
|
1025
|
-
const packageManager = isBunAvailable() ? "bun" : "npm";
|
|
1026
1025
|
if (options.skipInstall) {
|
|
1027
1026
|
log("green", "\nProject initialized successfully!");
|
|
1028
1027
|
log("dim", "\nNext steps:");
|
|
1029
|
-
log("dim",
|
|
1030
|
-
log("dim",
|
|
1028
|
+
log("dim", " npm install");
|
|
1029
|
+
log("dim", " npm run dev");
|
|
1031
1030
|
return;
|
|
1032
1031
|
}
|
|
1033
|
-
log("green",
|
|
1034
|
-
|
|
1035
|
-
const install = spawnSync(packageManager, ["install"], {
|
|
1032
|
+
log("green", "\nInstalling dependencies...");
|
|
1033
|
+
const install = spawnSync("npm", ["install"], {
|
|
1036
1034
|
cwd: targetDir,
|
|
1037
1035
|
stdio: "inherit",
|
|
1038
1036
|
shell: process.platform === "win32"
|
|
1039
1037
|
});
|
|
1040
1038
|
if (install.error || install.status !== 0) {
|
|
1041
1039
|
log("red", "\nDependency installation failed.");
|
|
1042
|
-
log("yellow",
|
|
1040
|
+
log("yellow", "Run 'npm install' manually in the project directory.");
|
|
1043
1041
|
process.exit(1);
|
|
1044
1042
|
}
|
|
1045
1043
|
log("green", "\nProject initialized successfully!");
|
|
1046
1044
|
log("dim", "\nNext steps:");
|
|
1047
|
-
log("dim",
|
|
1048
|
-
}
|
|
1049
|
-
function isBunAvailable() {
|
|
1050
|
-
const probe = spawnSync("bun", ["--version"], {
|
|
1051
|
-
stdio: "ignore",
|
|
1052
|
-
shell: process.platform === "win32"
|
|
1053
|
-
});
|
|
1054
|
-
return !probe.error && probe.status === 0;
|
|
1045
|
+
log("dim", " npm run dev");
|
|
1055
1046
|
}
|
|
1056
1047
|
|
|
1057
1048
|
// src/commands/list.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squadbase/vantage-template",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "CLI tool for initializing and customizing Squadbase Vantage projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"squadbase",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"type-check": "tsc",
|
|
43
43
|
"agents": "node scripts/build-agents.cjs",
|
|
44
44
|
"agents:check": "node scripts/build-agents.cjs --check",
|
|
45
|
-
"template:install": "
|
|
45
|
+
"template:install": "npm --prefix template ci",
|
|
46
46
|
"template:build": "npm --prefix template run build",
|
|
47
47
|
"prepublishOnly": "npm run agents:check && npm run build",
|
|
48
48
|
"release": "npm publish --@squadbase:registry=https://registry.npmjs.org",
|