@bitbybit-dev/create-app 1.0.0 → 1.0.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/README.md +23 -1
- package/dist/index.js +1 -1
- package/package.json +10 -10
- package/templates/cloud/backends/hono-rest/package.json +1 -1
- package/templates/cloud/backends/hono-sdk/package.json +2 -2
- package/templates/cloud/backends/nodejs-rest/package.json +1 -1
- package/templates/cloud/backends/nodejs-sdk/package.json +2 -2
- package/templates/cloud/frontend/package.json +1 -1
- package/templates/vite/babylonjs/typescript/package.json +1 -1
- package/templates/vite/playcanvas/typescript/package.json +1 -1
- package/templates/vite/threejs/typescript/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @bitbybit-dev/create-app
|
|
2
2
|
|
|
3
|
-
🚀 **CLI tool to scaffold Bit By Bit Developers 3D/CAD projects
|
|
3
|
+
🚀 **CLI tool to scaffold Bit By Bit Developers 3D/CAD projects - browser-based frontend apps and CAD Cloud backend projects**
|
|
4
4
|
|
|
5
5
|
Create stunning 3D/CAD applications with ease using our powerful geometry kernels: OCCT (OpenCascade), JSCAD, and Manifold. Or scaffold a full-stack project that connects to our [CAD Cloud API](https://learn.bitbybit.dev/api/cloud-api) for server-side model generation and file conversion.
|
|
6
6
|
|
|
@@ -98,6 +98,8 @@ npm run dev
|
|
|
98
98
|
|
|
99
99
|
## Project Structure
|
|
100
100
|
|
|
101
|
+
### Frontend Projects
|
|
102
|
+
|
|
101
103
|
```
|
|
102
104
|
my-project/
|
|
103
105
|
├── index.html
|
|
@@ -111,12 +113,32 @@ my-project/
|
|
|
111
113
|
└── vite-env.d.ts
|
|
112
114
|
```
|
|
113
115
|
|
|
116
|
+
### Cloud Projects
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
my-cloud-project/
|
|
120
|
+
├── README.md
|
|
121
|
+
├── frontend/
|
|
122
|
+
│ ├── src/
|
|
123
|
+
│ │ ├── App.tsx
|
|
124
|
+
│ │ ├── components/ # Three.js viewer, header, API key warning
|
|
125
|
+
│ │ └── panels/ # Models and Pipelines UI panels
|
|
126
|
+
│ ├── vite.config.ts # Dev proxy: /api → localhost:3000
|
|
127
|
+
│ └── package.json
|
|
128
|
+
└── backend/
|
|
129
|
+
├── src/
|
|
130
|
+
│ ├── index.ts # Routes
|
|
131
|
+
│ └── bitbybit-client.ts # API calls
|
|
132
|
+
└── package.json
|
|
133
|
+
```
|
|
134
|
+
|
|
114
135
|
## Links
|
|
115
136
|
|
|
116
137
|
- 🌐 **Website**: [https://bitbybit.dev](https://bitbybit.dev)
|
|
117
138
|
- 📚 **Documentation**: [https://bitbybit.dev/docs](https://bitbybit.dev/docs)
|
|
118
139
|
- 💬 **Discord Community**: [https://discord.gg/GSe3VMe](https://discord.gg/GSe3VMe)
|
|
119
140
|
- 🐛 **Issues**: [https://github.com/bitbybit-dev/bitbybit/issues](https://github.com/bitbybit-dev/bitbybit/issues)
|
|
141
|
+
- 📦 **Monorepo**: [https://github.com/bitbybit-dev/bitbybit](https://github.com/bitbybit-dev/bitbybit)
|
|
120
142
|
|
|
121
143
|
## Support Us
|
|
122
144
|
|
package/dist/index.js
CHANGED
|
@@ -751,7 +751,7 @@ async function main() {
|
|
|
751
751
|
program
|
|
752
752
|
.name("@bitbybit-dev/create-app")
|
|
753
753
|
.description("Scaffold a new Bit By Bit Developers 3D/CAD project")
|
|
754
|
-
.version("1.0.
|
|
754
|
+
.version("1.0.1")
|
|
755
755
|
.argument("[project-name]", "Name of the project to create")
|
|
756
756
|
.option("-e, --engine <engine>", "Game engine to use (threejs, babylonjs, playcanvas)")
|
|
757
757
|
.option("-o, --occt-architecture <arch>", "OCCT worker architecture (32, 64, 64-mt). Default: 32")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitbybit-dev/create-app",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "CLI tool to scaffold Bit By Bit Developers 3D/CAD projects with your favorite game engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -49,17 +49,17 @@
|
|
|
49
49
|
"prepublishOnly": "npm run build"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"chalk": "
|
|
53
|
-
"commander": "
|
|
54
|
-
"fs-extra": "
|
|
55
|
-
"gradient-string": "
|
|
56
|
-
"inquirer": "
|
|
57
|
-
"ora": "
|
|
52
|
+
"chalk": "5.6.2",
|
|
53
|
+
"commander": "14.0.3",
|
|
54
|
+
"fs-extra": "11.3.5",
|
|
55
|
+
"gradient-string": "3.0.0",
|
|
56
|
+
"inquirer": "13.4.3",
|
|
57
|
+
"ora": "9.4.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@types/fs-extra": "
|
|
61
|
-
"@types/gradient-string": "
|
|
62
|
-
"@types/inquirer": "
|
|
60
|
+
"@types/fs-extra": "11.0.4",
|
|
61
|
+
"@types/gradient-string": "1.1.6",
|
|
62
|
+
"@types/inquirer": "9.0.9",
|
|
63
63
|
"@types/node": "^22.10.2",
|
|
64
64
|
"typescript": "~5.8.3"
|
|
65
65
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bitbybit-api-hono-sdk-threejs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"hono": "^4.7.0",
|
|
12
|
-
"@bitbybit-dev/cad-cloud-sdk": "1.0.
|
|
12
|
+
"@bitbybit-dev/cad-cloud-sdk": "1.0.1"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@cloudflare/workers-types": "^4.20250410.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bitbybit-api-nodejs-sdk-threejs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"express": "^5.1.0",
|
|
13
13
|
"multer": "^1.4.5-lts.2",
|
|
14
|
-
"@bitbybit-dev/cad-cloud-sdk": "1.0.
|
|
14
|
+
"@bitbybit-dev/cad-cloud-sdk": "1.0.1"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/express": "^5.0.2",
|