create-pluto 0.0.1-alpha.4 → 0.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.
@@ -0,0 +1,10 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bun
4
+ directory: /
5
+ schedule:
6
+ interval: weekly
7
+ - package-ecosystem: github-actions
8
+ directory: /
9
+ schedule:
10
+ interval: weekly
@@ -0,0 +1,28 @@
1
+ name: CI
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches: [main]
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ ci:
13
+ name: Build
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v4
18
+
19
+ - name: Setup Bun
20
+ uses: oven-sh/setup-bun@v2
21
+ with:
22
+ bun-version: latest
23
+
24
+ - name: Install dependencies
25
+ run: bun install --frozen-lockfile
26
+
27
+ - name: Build
28
+ run: bun run build
@@ -0,0 +1,59 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+
7
+ concurrency:
8
+ group: release
9
+ cancel-in-progress: false
10
+
11
+ jobs:
12
+ release-please:
13
+ name: Release Please
14
+ runs-on: ubuntu-latest
15
+ permissions:
16
+ contents: write
17
+ pull-requests: write
18
+ outputs:
19
+ release_created: ${{ steps.release.outputs.release_created }}
20
+ steps:
21
+ - name: Run release-please
22
+ id: release
23
+ uses: googleapis/release-please-action@v4
24
+ with:
25
+ token: ${{ secrets.RELEASE_PLEASE_TOKEN || github.token }}
26
+
27
+ publish:
28
+ name: Publish to npm
29
+ needs: release-please
30
+ if: ${{ needs.release-please.outputs.release_created }}
31
+ runs-on: ubuntu-latest
32
+ permissions:
33
+ id-token: write # npm provenance via OIDC trusted publishing
34
+ contents: read
35
+ steps:
36
+ - name: Checkout
37
+ uses: actions/checkout@v4
38
+
39
+ - name: Setup Bun
40
+ uses: oven-sh/setup-bun@v2
41
+ with:
42
+ bun-version: latest
43
+
44
+ - name: Setup Node.js
45
+ uses: actions/setup-node@v4
46
+ with:
47
+ node-version: 24
48
+ registry-url: https://registry.npmjs.org/
49
+
50
+ - name: Install dependencies
51
+ run: bun install --frozen-lockfile
52
+
53
+ - name: Build
54
+ run: bun run build
55
+
56
+ - name: Publish to npm
57
+ # No token needed — OIDC trusted publishing handles auth automatically.
58
+ # Provenance is also generated automatically; no --provenance flag required.
59
+ run: npm publish --access public
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.1.0"
3
+ }
@@ -2,6 +2,7 @@
2
2
  "recommendations": [
3
3
  "EditorConfig.EditorConfig",
4
4
  "esbenp.prettier-vscode",
5
- "streetsidesoftware.code-spell-checker",
5
+ "dbaeumer.vscode-eslint",
6
+ "streetsidesoftware.code-spell-checker"
6
7
  ]
7
8
  }
@@ -1,8 +1 @@
1
- {
2
- "editor.codeActionsOnSave": {
3
- "source.fixAll": "never",
4
- "source.fixAll.eslint": "explicit"
5
- },
6
- "editor.defaultFormatter": "esbenp.prettier-vscode",
7
- "editor.formatOnSave": true
8
- }
1
+ {}
package/CHANGELOG.md ADDED
@@ -0,0 +1,31 @@
1
+ # Changelog
2
+
3
+ ## [0.1.0](https://github.com/plutocms/create-pluto/compare/v0.0.1-alpha.4...v0.1.0) (2026-08-22)
4
+
5
+
6
+ ### Features
7
+
8
+ * add .npmignore to exclude src/ directory from npm package ([7112e6b](https://github.com/plutocms/create-pluto/commit/7112e6b7cc8eb94ee8058590c23344ca0509fe62))
9
+ * add color utility for blue and green text output ([8166894](https://github.com/plutocms/create-pluto/commit/8166894b996cb53d60128f658bce34137f6aa885))
10
+ * enhance CLI argument parsing and template selection logic ([a8cc048](https://github.com/plutocms/create-pluto/commit/a8cc048eea561ced68f04cdeb481bdcc766e762e))
11
+ * enhance project setup process with template download and .env configuration ([4e08695](https://github.com/plutocms/create-pluto/commit/4e08695536ab26b2190483a57d34f0bdfe35ed16))
12
+ * initial implementation for CLI ([b1fd74e](https://github.com/plutocms/create-pluto/commit/b1fd74e27419011eefccad629a9eb0e5593e7e9f))
13
+ * refactor Supabase setup and add template selection ([0423a4e](https://github.com/plutocms/create-pluto/commit/0423a4e8364af88db926f51bc7097c64dfc239f1))
14
+ * simplify CLI entry point and update dependencies ([8ea6cf6](https://github.com/plutocms/create-pluto/commit/8ea6cf664361a884dfbac97fd8dd6fe8af4f1973))
15
+ * update CLI entry point to use compiled JavaScript and add project setup functionality ([21716c8](https://github.com/plutocms/create-pluto/commit/21716c83b9992f86f6e2afc23fadd6cfa25ff8df))
16
+ * update package.json for scoped package name and enhance metadata ([0e78326](https://github.com/plutocms/create-pluto/commit/0e783264b6da6a3b7d922c9d5c9bdd3ade97a73f))
17
+ * update template source to use supabase shop template ([6a812b2](https://github.com/plutocms/create-pluto/commit/6a812b2583cd14242849a009716a3a5cd2c5049c))
18
+ * updated compiled code ([7f69135](https://github.com/plutocms/create-pluto/commit/7f69135aab989655191d661034078e498476e0b1))
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * ensure minification is enabled in tsdown configuration ([33949e4](https://github.com/plutocms/create-pluto/commit/33949e4a0bf356836c38aeda8d514e5d14480964))
24
+ * force template download in setup script ([78a1ebd](https://github.com/plutocms/create-pluto/commit/78a1ebdc8f2ccc392cf4e8fd11bdc11f23fd42c6))
25
+ * unscope package ([43f820e](https://github.com/plutocms/create-pluto/commit/43f820e1885fc00780ab92f3cc82ed01030680e7))
26
+ * update version to 0.0.1-alpha.2 in package.json ([657d4bf](https://github.com/plutocms/create-pluto/commit/657d4bf796238c53be3e349ad962fbc64f28a9f9))
27
+
28
+
29
+ ### Miscellaneous Chores
30
+
31
+ * **ci:** fix repo URLs and add release-please pipeline ([279a01e](https://github.com/plutocms/create-pluto/commit/279a01ed8a79687ebbf0b4e60098ba4e567cfb31))
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Victor Ribeiro
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Victor Ribeiro
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
package/README.md CHANGED
@@ -7,3 +7,15 @@ A command-line tool to quickly set up a new Pluto CMS project with your preferre
7
7
  ```bash
8
8
  npm create pluto@latest
9
9
  ```
10
+
11
+ You can also pass a target directory and preselect a template shortcut.
12
+
13
+ ```bash
14
+ npm create pluto@latest my-project -t supabase-shop
15
+ ```
16
+
17
+ Supported template shortcuts currently include:
18
+
19
+ ```bash
20
+ supabase-shop
21
+ ```
package/bin/cli.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import '../dist/index.mjs';
2
+ import '../dist/index.mjs'