@citolab/tspci 2.3.0 → 2.3.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/package.json +2 -2
- package/preset/base/package.json +1 -1
- package/src/cli.js +6 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citolab/tspci",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "an opiniated typescript ims-pci builder with tao integration",
|
|
5
5
|
"author": "patrick <patrick.deklein@cito.nl>",
|
|
6
6
|
"repository": "@citolab/tspci",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"help": "tspci --help",
|
|
47
47
|
"init": "tspci init --force --path=../../pcis"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "32377e27a791cc3198b1fdf35b9680b35c5814f0"
|
|
50
50
|
}
|
package/preset/base/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -338,7 +338,7 @@ const run = async () => {
|
|
|
338
338
|
packageJsonContentJson.dependencies = {
|
|
339
339
|
...packageJsonContentJson.dependencies,
|
|
340
340
|
preact: "^10.13.2",
|
|
341
|
-
"@citolab/preact-store": "
|
|
341
|
+
"@citolab/preact-store": "latest",
|
|
342
342
|
};
|
|
343
343
|
packageJsonContentJson = { ...packageJsonContentJson, source: "src/index.tsx" };
|
|
344
344
|
const newPackageJsonContent = JSON.stringify(packageJsonContentJson, null, 2);
|
|
@@ -349,7 +349,11 @@ const run = async () => {
|
|
|
349
349
|
if (args.indexOf("--no-install") === -1) {
|
|
350
350
|
console.log(chalk.green("📦 Installing dependencies"));
|
|
351
351
|
execSync("npm install", { cwd: destinationFolder, stdio: [0, 1, 2] });
|
|
352
|
-
console.log(chalk.green(`📦 Done
|
|
352
|
+
console.log(chalk.green(`📦 Done!`));
|
|
353
|
+
console.log(chalk.blue(`Navigate to ${destinationFolder} or open this folder (e.g. with vscode).`));
|
|
354
|
+
console.log(chalk.blue(`Start the dev server with: npm run dev`));
|
|
355
|
+
console.log(chalk.blue(`Add support for TAO with: npm run tspci -- add --target tao`));
|
|
356
|
+
|
|
353
357
|
return;
|
|
354
358
|
} else {
|
|
355
359
|
console.log(chalk.yellow("Skipping npm install, run npm install in the project folder to install dependencies"));
|