@pixpilot/scaffoldfy-configs 0.26.1 → 0.28.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,21 @@
1
1
  # @pixpilot/scaffoldfy-configs
2
2
 
3
+ ## 0.28.0
4
+
5
+ ### Minor Changes
6
+
7
+ - add loading spinner for remote file fetching
8
+
9
+ ### Patch Changes
10
+
11
+ - update package URL to use latest version
12
+
13
+ ## 0.27.0
14
+
15
+ ### Minor Changes
16
+
17
+ - add checkbox prompt support
18
+
3
19
  ## 0.26.1
4
20
 
5
21
  ### Patch Changes
package/README.md CHANGED
@@ -21,7 +21,7 @@ Generate a LICENSE file with common open-source licenses
21
21
  Usage:
22
22
 
23
23
  ```sh
24
- npx @pixpilot/scaffoldfy --config https://unpkg.com/@pixpilot/scaffoldfy-configs/license-file/scaffoldfy.json
24
+ npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/license-file/scaffoldfy.json
25
25
  ```
26
26
 
27
27
  ### monorepo-generate-packages-section
@@ -31,7 +31,7 @@ Generates packages section in monorepo README by reading package.json files
31
31
  Usage:
32
32
 
33
33
  ```sh
34
- npx @pixpilot/scaffoldfy --config https://unpkg.com/@pixpilot/scaffoldfy-configs/monorepo-generate-packages-section/scaffoldfy.json
34
+ npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/monorepo-generate-packages-section/scaffoldfy.json
35
35
  ```
36
36
 
37
37
  ### pixpilot-changesets-release
@@ -41,7 +41,7 @@ Pixpilot workspace package generator template for pnpm + Turbo monorepo. Provide
41
41
  Usage:
42
42
 
43
43
  ```sh
44
- npx @pixpilot/scaffoldfy --config https://unpkg.com/@pixpilot/scaffoldfy-configs/pixpilot-changesets-release/scaffoldfy.json
44
+ npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/pixpilot-changesets-release/scaffoldfy.json
45
45
  ```
46
46
 
47
47
  ### pixpilot-copilot-instructions
@@ -51,7 +51,7 @@ GitHub Copilot instructions template for Pixpilot projects
51
51
  Usage:
52
52
 
53
53
  ```sh
54
- npx @pixpilot/scaffoldfy --config https://unpkg.com/@pixpilot/scaffoldfy-configs/pixpilot-copilot-instructions/scaffoldfy.json
54
+ npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/pixpilot-copilot-instructions/scaffoldfy.json
55
55
  ```
56
56
 
57
57
  ### pixpilot-info
@@ -61,7 +61,7 @@ Project information prompts for pnpm-turbo-monorepo-template
61
61
  Usage:
62
62
 
63
63
  ```sh
64
- npx @pixpilot/scaffoldfy --config https://unpkg.com/@pixpilot/scaffoldfy-configs/pixpilot-info/scaffoldfy.json
64
+ npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/pixpilot-info/scaffoldfy.json
65
65
  ```
66
66
 
67
67
  ### project-info
@@ -71,7 +71,7 @@ Project information prompts for pnpm-turbo-monorepo-template
71
71
  Usage:
72
72
 
73
73
  ```sh
74
- npx @pixpilot/scaffoldfy --config https://unpkg.com/@pixpilot/scaffoldfy-configs/project-info/scaffoldfy.json
74
+ npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/project-info/scaffoldfy.json
75
75
  ```
76
76
 
77
77
  ### security-policy
@@ -81,7 +81,7 @@ Security policy template with configurable contact email
81
81
  Usage:
82
82
 
83
83
  ```sh
84
- npx @pixpilot/scaffoldfy --config https://unpkg.com/@pixpilot/scaffoldfy-configs/security-policy/scaffoldfy.json
84
+ npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/security-policy/scaffoldfy.json
85
85
  ```
86
86
 
87
87
  ### turbo-workspace-package-generator
@@ -91,7 +91,7 @@ Pixpilot workspace package generator template for pnpm + Turbo monorepo. Provide
91
91
  Usage:
92
92
 
93
93
  ```sh
94
- npx @pixpilot/scaffoldfy --config https://unpkg.com/@pixpilot/scaffoldfy-configs/turbo-workspace-package-generator/scaffoldfy.json
94
+ npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/turbo-workspace-package-generator/scaffoldfy.json
95
95
  ```
96
96
 
97
97
  ### update-root-package-json
@@ -101,7 +101,17 @@ Update root package.json with repository information
101
101
  Usage:
102
102
 
103
103
  ```sh
104
- npx @pixpilot/scaffoldfy --config https://unpkg.com/@pixpilot/scaffoldfy-configs/update-root-package-json/scaffoldfy.json
104
+ npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/update-root-package-json/scaffoldfy.json
105
+ ```
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
105
115
  ```
106
116
 
107
117
  ### workspace-initializer
@@ -111,7 +121,7 @@ Initial setup for a pnpm + Turbo monorepo template, including project info, lice
111
121
  Usage:
112
122
 
113
123
  ```sh
114
- npx @pixpilot/scaffoldfy --config https://unpkg.com/@pixpilot/scaffoldfy-configs/workspace-initializer/scaffoldfy.json
124
+ npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/workspace-initializer/scaffoldfy.json
115
125
  ```
116
126
 
117
127
  ### workspace-package-generator
@@ -121,7 +131,7 @@ Generate a new package for a pnpm + Turbo monorepo workspace
121
131
  Usage:
122
132
 
123
133
  ```sh
124
- npx @pixpilot/scaffoldfy --config https://unpkg.com/@pixpilot/scaffoldfy-configs/workspace-package-generator/scaffoldfy.json
134
+ npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/workspace-package-generator/scaffoldfy.json
125
135
  ```
126
136
 
127
137
  ### workspace-package-generator/experiment
@@ -131,7 +141,7 @@ Generate a new package for a pnpm + Turbo monorepo workspace
131
141
  Usage:
132
142
 
133
143
  ```sh
134
- npx @pixpilot/scaffoldfy --config https://unpkg.com/@pixpilot/scaffoldfy-configs/workspace-package-generator/experiment/scaffoldfy.json
144
+ npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/workspace-package-generator/experiment/scaffoldfy.json
135
145
  ```
136
146
 
137
147
  <!-- scaffoldfy-templates:end -->
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixpilot/scaffoldfy-configs",
3
3
  "type": "module",
4
- "version": "0.26.1",
4
+ "version": "0.28.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.49.0"
29
+ "@pixpilot/scaffoldfy": "0.50.0",
30
+ "@internal/tsdown-config": "0.1.0"
31
31
  },
32
32
  "prettier": "@internal/prettier-config",
33
33
  "publishConfig": {
@@ -4,7 +4,7 @@ import { fileURLToPath } from 'node:url';
4
4
 
5
5
  const packageDirectory = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
6
6
  const readmePath = path.join(packageDirectory, 'README.md');
7
- const packageUrl = 'https://unpkg.com/@pixpilot/scaffoldfy-configs';
7
+ const packageUrl = 'https://unpkg.com/@pixpilot/scaffoldfy-configs@latest';
8
8
  const startMarker = '<!-- scaffoldfy-templates:start -->';
9
9
  const endMarker = '<!-- scaffoldfy-templates:end -->';
10
10
  const ignoredDirectories = new Set(['.cache', '.turbo', 'node_modules']);
@@ -62,7 +62,7 @@ async function generateReadme() {
62
62
  const generatedSection = templates
63
63
  .map(
64
64
  ({ configUrl, description, name }) =>
65
- `### ${name}\n\n${description}\n\nUsage:\n\n\`\`\`sh\nnpx @pixpilot/scaffoldfy --config ${configUrl}\n\`\`\``,
65
+ `### ${name}\n\n${description}\n\nUsage:\n\n\`\`\`sh\nnpx @pixpilot/scaffoldfy@latest --config ${configUrl}\n\`\`\``,
66
66
  )
67
67
  .join('\n\n');
68
68
  const readme = await readFile(readmePath, 'utf8');
@@ -0,0 +1,48 @@
1
+ {
2
+ "$schema": "../node_modules/@pixpilot/scaffoldfy/schema/scaffoldfy.schema.json",
3
+ "extends": ["../workspace-initializer/scaffoldfy.json"],
4
+ "name": "pnpm-turbo-monorepo-template-setup",
5
+ "description": "Generate workspace with apps and packages",
6
+ "prompts": [
7
+ {
8
+ "id": "workspaceApps",
9
+ "type": "checkbox",
10
+ "message": "Select the apps to include:",
11
+ "choices": [
12
+ {
13
+ "name": "Library",
14
+ "value": "library"
15
+ },
16
+ {
17
+ "name": "Next.js",
18
+ "value": "nextjs"
19
+ },
20
+ {
21
+ "name": "Chrome Extension",
22
+ "value": "chrome-extension"
23
+ },
24
+ {
25
+ "name": "Expo",
26
+ "value": "expo"
27
+ }
28
+ ]
29
+ }
30
+ ],
31
+ "tasks": [
32
+ {
33
+ "id": "update-contributing",
34
+ "name": "Update CONTRIBUTING.md",
35
+ "description": "Update contributing guidelines with project info",
36
+ "type": "replace-in-file",
37
+ "config": {
38
+ "file": "CONTRIBUTING.md",
39
+ "replacements": [
40
+ {
41
+ "find": "<projectName>",
42
+ "replace": "{{projectName}}"
43
+ }
44
+ ]
45
+ }
46
+ }
47
+ ]
48
+ }
@@ -70,7 +70,7 @@
70
70
  "type": "regex-replace",
71
71
  "config": {
72
72
  "file": "package.json",
73
- "pattern": "\\n\\s*\"setup\":\\s*\"npx @pixpilot/scaffoldfy --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/workspace-initializer/scaffoldfy.json\",",
73
+ "pattern": "\\n\\s*\"setup\":\\s*\"npx @pixpilot/scaffoldfy@latest --config https://unpkg.com/@pixpilot/scaffoldfy-configs@latest/workspace-initializer/scaffoldfy.json\",",
74
74
  "flags": "",
75
75
  "replacement": ""
76
76
  }