@tuwaio/create-cosmos-playground 0.0.11 → 0.0.13
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 +11 -1
- package/package.json +2 -2
- package/src/index.ts +15 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.13](https://github.com/TuwaIO/cosmos-playground/compare/create-cosmos-playground-v0.0.12...create-cosmos-playground-v0.0.13) (2026-01-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* added custom theme (accountable) ([#15](https://github.com/TuwaIO/cosmos-playground/issues/15)) ([c98826a](https://github.com/TuwaIO/cosmos-playground/commit/c98826ac84a858744e27be3f55bc4f41fead9d8f))
|
|
9
|
+
|
|
10
|
+
## [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)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* update packages ([30d0484](https://github.com/TuwaIO/cosmos-playground/commit/30d048499b3f41b411848f0235bc090a235062bd))
|
|
16
|
+
|
|
3
17
|
## [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)
|
|
4
18
|
|
|
5
19
|
|
package/dist/index.js
CHANGED
|
@@ -12,6 +12,7 @@ const REPO_URL = 'TuwaIO/cosmos-playground/examples';
|
|
|
12
12
|
async function main() {
|
|
13
13
|
console.log('✨ Creating a new Cosmos Playground project...');
|
|
14
14
|
const availableTemplates = [
|
|
15
|
+
'accountable-style',
|
|
15
16
|
'nextjs-tuwa',
|
|
16
17
|
'nextjs-solana',
|
|
17
18
|
'nextjs-evm',
|
|
@@ -58,9 +59,18 @@ async function main() {
|
|
|
58
59
|
console.log(`\n🎉 Your new project "${projectName}" has been created!`);
|
|
59
60
|
console.log(`\n📦 Installing dependencies with pnpm...`);
|
|
60
61
|
await (0, execa_1.execa)('pnpm', ['install'], { cwd: projectPath, stdio: 'inherit' });
|
|
61
|
-
console.log(`\
|
|
62
|
+
console.log(`\n✅ Done! Next steps:`);
|
|
62
63
|
console.log(`cd ./${projectName}`);
|
|
63
64
|
console.log(`pnpm dev`);
|
|
65
|
+
console.log(`\n---------------------------------------------------------`);
|
|
66
|
+
console.log(`💡 Troubleshooting:`);
|
|
67
|
+
console.log(`If you find that the downloaded files are "Read-only" and you cannot edit them,`);
|
|
68
|
+
console.log(`please change the directory permissions by running:`);
|
|
69
|
+
console.log(`sudo chmod -R 777 ./`);
|
|
70
|
+
console.log(`\n❤️ Support us:`);
|
|
71
|
+
console.log(`If you enjoy using TUWA, please give us a star on GitHub:`);
|
|
72
|
+
console.log(`https://github.com/TuwaIO/nova-uikit`);
|
|
73
|
+
console.log(`---------------------------------------------------------`);
|
|
64
74
|
}
|
|
65
75
|
catch (error) {
|
|
66
76
|
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.13",
|
|
4
4
|
"description": "A CLI tool to scaffold new Cosmos Playground examples.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -26,7 +26,7 @@
|
|
|
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": {
|
package/src/index.ts
CHANGED
|
@@ -11,6 +11,7 @@ async function main() {
|
|
|
11
11
|
console.log('✨ Creating a new Cosmos Playground project...');
|
|
12
12
|
|
|
13
13
|
const availableTemplates = [
|
|
14
|
+
'accountable-style',
|
|
14
15
|
'nextjs-tuwa',
|
|
15
16
|
'nextjs-solana',
|
|
16
17
|
'nextjs-evm',
|
|
@@ -69,13 +70,25 @@ async function main() {
|
|
|
69
70
|
console.log(`\n📦 Installing dependencies with pnpm...`);
|
|
70
71
|
await execa('pnpm', ['install'], { cwd: projectPath, stdio: 'inherit' });
|
|
71
72
|
|
|
72
|
-
console.log(`\
|
|
73
|
+
console.log(`\n✅ Done! Next steps:`);
|
|
73
74
|
console.log(`cd ./${projectName}`);
|
|
74
75
|
console.log(`pnpm dev`);
|
|
76
|
+
|
|
77
|
+
console.log(`\n---------------------------------------------------------`);
|
|
78
|
+
console.log(`💡 Troubleshooting:`);
|
|
79
|
+
console.log(`If you find that the downloaded files are "Read-only" and you cannot edit them,`);
|
|
80
|
+
console.log(`please change the directory permissions by running:`);
|
|
81
|
+
console.log(`sudo chmod -R 777 ./`);
|
|
82
|
+
|
|
83
|
+
console.log(`\n❤️ Support us:`);
|
|
84
|
+
console.log(`If you enjoy using TUWA, please give us a star on GitHub:`);
|
|
85
|
+
console.log(`https://github.com/TuwaIO/nova-uikit`);
|
|
86
|
+
console.log(`---------------------------------------------------------`);
|
|
87
|
+
|
|
75
88
|
} catch (error) {
|
|
76
89
|
console.error(`\n❌ An error occurred: ${error}`);
|
|
77
90
|
process.exit(1);
|
|
78
91
|
}
|
|
79
92
|
}
|
|
80
93
|
|
|
81
|
-
main().catch(console.error);
|
|
94
|
+
main().catch(console.error);
|