@tuwaio/create-cosmos-playground 0.0.10 ā 0.0.12
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/CHANGELOG.md +14 -0
- package/dist/index.js +10 -1
- package/package.json +3 -3
- package/src/index.ts +14 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.12](https://github.com/TuwaIO/cosmos-playground/compare/create-cosmos-playground-v0.0.11...create-cosmos-playground-v0.0.12) (2026-01-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* update packages ([30d0484](https://github.com/TuwaIO/cosmos-playground/commit/30d048499b3f41b411848f0235bc090a235062bd))
|
|
9
|
+
|
|
10
|
+
## [0.0.11](https://github.com/TuwaIO/cosmos-playground/compare/create-cosmos-playground-v0.0.10...create-cosmos-playground-v0.0.11) (2026-01-07)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* update packages ([#12](https://github.com/TuwaIO/cosmos-playground/issues/12)) ([cfdd03b](https://github.com/TuwaIO/cosmos-playground/commit/cfdd03b68b18a721a74809879a643fb083487542))
|
|
16
|
+
|
|
3
17
|
## [0.0.10](https://github.com/TuwaIO/cosmos-playground/compare/create-cosmos-playground-v0.0.9...create-cosmos-playground-v0.0.10) (2025-12-15)
|
|
4
18
|
|
|
5
19
|
|
package/dist/index.js
CHANGED
|
@@ -58,9 +58,18 @@ async function main() {
|
|
|
58
58
|
console.log(`\nš Your new project "${projectName}" has been created!`);
|
|
59
59
|
console.log(`\nš¦ Installing dependencies with pnpm...`);
|
|
60
60
|
await (0, execa_1.execa)('pnpm', ['install'], { cwd: projectPath, stdio: 'inherit' });
|
|
61
|
-
console.log(`\
|
|
61
|
+
console.log(`\nā
Done! Next steps:`);
|
|
62
62
|
console.log(`cd ./${projectName}`);
|
|
63
63
|
console.log(`pnpm dev`);
|
|
64
|
+
console.log(`\n---------------------------------------------------------`);
|
|
65
|
+
console.log(`š” Troubleshooting:`);
|
|
66
|
+
console.log(`If you find that the downloaded files are "Read-only" and you cannot edit them,`);
|
|
67
|
+
console.log(`please change the directory permissions by running:`);
|
|
68
|
+
console.log(`sudo chmod -R 777 ./`);
|
|
69
|
+
console.log(`\nā¤ļø Support us:`);
|
|
70
|
+
console.log(`If you enjoy using TUWA, please give us a star on GitHub:`);
|
|
71
|
+
console.log(`https://github.com/TuwaIO/nova-uikit`);
|
|
72
|
+
console.log(`---------------------------------------------------------`);
|
|
64
73
|
}
|
|
65
74
|
catch (error) {
|
|
66
75
|
console.error(`\nā An error occurred: ${error}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuwaio/create-cosmos-playground",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"description": "A CLI tool to scaffold new Cosmos Playground examples.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/fs-extra": "^11.0.4",
|
|
28
28
|
"@types/prompts": "^2.4.9",
|
|
29
|
-
"@types/node": "^25.0.
|
|
29
|
+
"@types/node": "^25.0.8",
|
|
30
30
|
"typescript": "^5.9.3"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"prompts": "^2.4.2",
|
|
34
|
-
"fs-extra": "^11.3.
|
|
34
|
+
"fs-extra": "^11.3.3",
|
|
35
35
|
"degit": "^2.8.4",
|
|
36
36
|
"execa": "^9.6.1"
|
|
37
37
|
},
|
package/src/index.ts
CHANGED
|
@@ -69,13 +69,25 @@ async function main() {
|
|
|
69
69
|
console.log(`\nš¦ Installing dependencies with pnpm...`);
|
|
70
70
|
await execa('pnpm', ['install'], { cwd: projectPath, stdio: 'inherit' });
|
|
71
71
|
|
|
72
|
-
console.log(`\
|
|
72
|
+
console.log(`\nā
Done! Next steps:`);
|
|
73
73
|
console.log(`cd ./${projectName}`);
|
|
74
74
|
console.log(`pnpm dev`);
|
|
75
|
+
|
|
76
|
+
console.log(`\n---------------------------------------------------------`);
|
|
77
|
+
console.log(`š” Troubleshooting:`);
|
|
78
|
+
console.log(`If you find that the downloaded files are "Read-only" and you cannot edit them,`);
|
|
79
|
+
console.log(`please change the directory permissions by running:`);
|
|
80
|
+
console.log(`sudo chmod -R 777 ./`);
|
|
81
|
+
|
|
82
|
+
console.log(`\nā¤ļø Support us:`);
|
|
83
|
+
console.log(`If you enjoy using TUWA, please give us a star on GitHub:`);
|
|
84
|
+
console.log(`https://github.com/TuwaIO/nova-uikit`);
|
|
85
|
+
console.log(`---------------------------------------------------------`);
|
|
86
|
+
|
|
75
87
|
} catch (error) {
|
|
76
88
|
console.error(`\nā An error occurred: ${error}`);
|
|
77
89
|
process.exit(1);
|
|
78
90
|
}
|
|
79
91
|
}
|
|
80
92
|
|
|
81
|
-
main().catch(console.error);
|
|
93
|
+
main().catch(console.error);
|