create-skateboard-app 1.0.8 → 1.1.0

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 CHANGED
@@ -1,4 +1,11 @@
1
1
 
2
+ 1.1.0
3
+ changed constants to include /api route
4
+
5
+ 1.0.9
6
+
7
+ Add black color
8
+
2
9
  1.0.8
3
10
 
4
11
  Fix pages template
package/bin/cli.js CHANGED
@@ -203,7 +203,8 @@ async function collectProjectConfig(projectName) {
203
203
  { label: '🟠 Orange', value: 'orange' },
204
204
  { label: '🟡 Yellow', value: 'yellow' },
205
205
  { label: '🩷 Pink', value: 'pink' },
206
- { label: '🩵 Cyan', value: 'cyan' }
206
+ { label: '🩵 Cyan', value: 'cyan' },
207
+ { label: '⚫ Black', value: 'black' }
207
208
  ];
208
209
 
209
210
  const selectedColor = await askChoice('Choose your app color:', colorChoices);
@@ -240,8 +241,8 @@ async function collectProjectConfig(projectName) {
240
241
  }
241
242
 
242
243
  // Default values for removed questions
243
- const backendURL = 'https://api.example.com';
244
- const devBackendURL = 'http://localhost:8000';
244
+ const backendURL = '/api';
245
+ const devBackendURL = 'http://localhost:8000/api';
245
246
  const companyName = 'Your Company';
246
247
 
247
248
  // Read pages from the downloaded template's constants.json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-skateboard-app",
3
- "version": "1.0.8",
3
+ "version": "1.1.0",
4
4
  "description": "Create a new Skateboard app with React, TailwindCSS, and more",
5
5
  "main": "index.js",
6
6
  "type": "module",