@pixpilot/scaffoldfy-configs 0.29.0 → 0.31.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,5 +1,17 @@
1
1
  # @pixpilot/scaffoldfy-configs
2
2
 
3
+ ## 0.31.0
4
+
5
+ ### Minor Changes
6
+
7
+ - add conditional prompts for Next.js and Expo visual-test values
8
+
9
+ ## 0.30.0
10
+
11
+ ### Minor Changes
12
+
13
+ - add JSONC configuration support
14
+
3
15
  ## 0.29.0
4
16
 
5
17
  ### Minor Changes
package/README.md CHANGED
@@ -104,16 +104,6 @@ Usage:
104
104
  npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/update-root-package-json/scaffoldfy.json
105
105
  ```
106
106
 
107
- ### workspace-generator
108
-
109
- Generate workspace with apps and packages
110
-
111
- Usage:
112
-
113
- ```sh
114
- npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/workspace-generator/scaffoldfy.json
115
- ```
116
-
117
107
  ### workspace-initializer
118
108
 
119
109
  Initial setup for a pnpm + Turbo monorepo template, including project info, license, and initial package generation.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixpilot/scaffoldfy-configs",
3
3
  "type": "module",
4
- "version": "0.29.0",
4
+ "version": "0.31.0",
5
5
  "author": "PixPilot <m.doaie@hotmail.com>",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -25,9 +25,9 @@
25
25
  "eslint": "^9.38.0",
26
26
  "@internal/eslint-config": "0.3.0",
27
27
  "@internal/prettier-config": "0.0.1",
28
- "@internal/tsdown-config": "0.1.0",
29
28
  "@internal/vitest-config": "0.1.0",
30
- "@pixpilot/scaffoldfy": "0.50.0"
29
+ "@internal/tsdown-config": "0.1.0",
30
+ "@pixpilot/scaffoldfy": "0.51.0"
31
31
  },
32
32
  "prettier": "@internal/prettier-config",
33
33
  "publishConfig": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "../node_modules/@pixpilot/scaffoldfy/schema/scaffoldfy.schema.json",
3
- "extends": ["../workspace-initializer/scaffoldfy.json"],
3
+ // "extends": ["../workspace-initializer/scaffoldfy.json"],
4
4
  "name": "pnpm-turbo-monorepo-template-setup",
5
5
  "description": "Generate workspace with apps and packages",
6
6
  "prompts": [
@@ -26,6 +26,24 @@
26
26
  "value": "expo"
27
27
  }
28
28
  ]
29
+ },
30
+ {
31
+ "id": "nextjsVisualTest",
32
+ "type": "input",
33
+ "message": "Next.js visual-test value:",
34
+ "enabled": {
35
+ "type": "condition",
36
+ "value": "workspaceApps.includes('nextjs')"
37
+ }
38
+ },
39
+ {
40
+ "id": "expoVisualTest",
41
+ "type": "input",
42
+ "message": "Expo visual-test value:",
43
+ "enabled": {
44
+ "type": "condition",
45
+ "value": "workspaceApps.includes('expo')"
46
+ }
29
47
  }
30
48
  ],
31
49
  "tasks": [
@@ -163,10 +163,7 @@
163
163
  "config": {
164
164
  "file": "./scripts/add-dependencies.cjs",
165
165
  "runtime": "node",
166
- "args": [
167
- "--file={{workspace}}/{{packageBaseName}}/package.json",
168
- "--deps={{deps}}"
169
- ]
166
+ "args": ["--file={{workspace}}/{{packageBaseName}}/package.json", "--deps={{deps}}"]
170
167
  }
171
168
  },
172
169
  {