@notation/cli 0.4.1 → 0.4.2
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/dist/index.js
CHANGED
|
@@ -140,7 +140,7 @@ Creating app from template...`);
|
|
|
140
140
|
});
|
|
141
141
|
console.log("\nApp ready! To get started run:\n");
|
|
142
142
|
console.log(`\u279C cd ${appName}`);
|
|
143
|
-
console.log(`\u279C
|
|
143
|
+
console.log(`\u279C ${getPmRunCommand(packageManager)} viz`);
|
|
144
144
|
}
|
|
145
145
|
function getPmInstallCommand(pm) {
|
|
146
146
|
switch (pm) {
|
|
@@ -154,6 +154,18 @@ function getPmInstallCommand(pm) {
|
|
|
154
154
|
return "npm install";
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
+
function getPmRunCommand(pm) {
|
|
158
|
+
switch (pm) {
|
|
159
|
+
case "yarn":
|
|
160
|
+
return "yarn";
|
|
161
|
+
case "pnpm":
|
|
162
|
+
return "pnpm";
|
|
163
|
+
case "bun":
|
|
164
|
+
return "bun";
|
|
165
|
+
default:
|
|
166
|
+
return "npm run";
|
|
167
|
+
}
|
|
168
|
+
}
|
|
157
169
|
|
|
158
170
|
// src/index.ts
|
|
159
171
|
program.command("create").argument("[appName]", "app name", "notation-starter").description("Create Notation App").action(async (appName) => {
|
package/package.json
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"display": "Default",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"lib": ["esnext"],
|
|
6
|
+
"module": "esnext",
|
|
7
|
+
"target": "esnext",
|
|
8
|
+
|
|
9
|
+
"moduleResolution": "bundler",
|
|
10
|
+
"noEmit": true,
|
|
11
|
+
|
|
12
|
+
"composite": false,
|
|
13
|
+
"declaration": true,
|
|
14
|
+
"declarationMap": true,
|
|
15
|
+
"forceConsistentCasingInFileNames": true,
|
|
16
|
+
"inlineSources": false,
|
|
17
|
+
"isolatedModules": true,
|
|
18
|
+
"noUnusedLocals": false,
|
|
19
|
+
"noUnusedParameters": false,
|
|
20
|
+
"preserveWatchOutput": true,
|
|
21
|
+
"skipDefaultLibCheck": true,
|
|
22
|
+
"skipLibCheck": true,
|
|
23
|
+
"strict": true,
|
|
24
|
+
"strictNullChecks": true
|
|
25
|
+
},
|
|
26
|
+
"exclude": ["node_modules"]
|
|
3
27
|
}
|