@plutocms/pluto 0.1.0 → 0.2.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/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## [0.2.1](https://github.com/plutocms/pluto/compare/v0.2.0...v0.2.1) (2026-09-08)
5
+
6
+
7
+ ### Bug Fixes
8
+
9
+ * remove invalid @typescript-eslint/comma-dangle rule override ([db269da](https://github.com/plutocms/pluto/commit/db269da152beb7f0ff931a4c21dd64bb5cd99708))
10
+
11
+ ## [0.2.0](https://github.com/plutocms/pluto/compare/v0.1.0...v0.2.0) (2026-09-03)
12
+
13
+
14
+ ### Features
15
+
16
+ * allow overriding the utils layer path via env var ([9c32fa3](https://github.com/plutocms/pluto/commit/9c32fa306bf712fd2dcb3493d90db5e6bf0b4716))
17
+ * enhance CI and release workflows with improved tagging and verification steps ([8e4695a](https://github.com/plutocms/pluto/commit/8e4695a84442ed9b16629dedb983e30dc6fa582e))
18
+
4
19
  ## [0.1.0](https://github.com/plutocms/pluto/compare/v0.0.10...v0.1.0) (2026-07-09)
5
20
 
6
21
 
package/nuxt.config.ts CHANGED
@@ -2,9 +2,13 @@ import tailwindcss from '@tailwindcss/vite'
2
2
 
3
3
  const websiteName = process.env.WEBSITE_NAME || 'Untitled'
4
4
 
5
+ // Point PLUTO_UTILS_PATH at a local checkout (e.g. `../utils`) to test
6
+ // unpublished changes; unset, it resolves to the published npm package.
7
+ const utilsLayer = process.env.PLUTO_UTILS_PATH || '@plutocms/utils'
8
+
5
9
  // https://nuxt.com/docs/api/configuration/nuxt-config
6
10
  export default defineNuxtConfig({
7
- extends: ['@plutocms/utils'],
11
+ extends: [utilsLayer],
8
12
 
9
13
  modules: [
10
14
  '@nuxt/eslint',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plutocms/pluto",
3
3
  "type": "module",
4
- "version": "0.1.0",
4
+ "version": "0.2.1",
5
5
  "description": "The layerable CMS",
6
6
  "author": "Victor Ribeiro",
7
7
  "license": "MIT",
@@ -30,7 +30,8 @@
30
30
  "prettier": "prettier --write .",
31
31
  "lint": "eslint .",
32
32
  "lint:fix": "eslint . --fix && prettier --write .",
33
- "typecheck": "nuxt prepare && vue-tsc -b --noEmit"
33
+ "typecheck": "nuxt prepare && vue-tsc -b --noEmit",
34
+ "test": "vitest run"
34
35
  },
35
36
  "trustedDependencies": [
36
37
  "@parcel/watcher",
@@ -45,7 +46,7 @@
45
46
  "@vueuse/nuxt": "^14.3.0"
46
47
  },
47
48
  "devDependencies": {
48
- "@antfu/eslint-config": "^7.4.3",
49
+ "@antfu/eslint-config": "^9.1.0",
49
50
  "@iconify-json/lucide": "^1.2.116",
50
51
  "@iconify-json/simple-icons": "^1.2.89",
51
52
  "@nuxt/eslint": "^1.16.0",
@@ -56,16 +57,20 @@
56
57
  "mysql2": "^3.22.6",
57
58
  "nuxt": "^4.3.1",
58
59
  "prettier": "^3.9.4",
59
- "prettier-plugin-tailwindcss": "^0.7.4",
60
+ "prettier-plugin-tailwindcss": "^0.8.0",
60
61
  "reka-ui": "^2.10.1",
61
62
  "tailwind-merge": "^3.6.0",
62
63
  "tailwindcss": "^4.3.2",
63
- "typescript": "^6.0.3",
64
+ "typescript": "6.0.3",
65
+ "vitest": "^5.0.0",
64
66
  "vue": "^3.5.39",
65
67
  "vue-router": "^5.1.0",
66
68
  "vue-tsc": "^3.3.7"
67
69
  },
68
70
  "overrides": {
69
71
  "eslint-flat-config-utils": "^3.2.0"
72
+ },
73
+ "publishConfig": {
74
+ "access": "public"
70
75
  }
71
76
  }
package/.editorconfig DELETED
@@ -1,12 +0,0 @@
1
- # EditorConfig is awesome: https://EditorConfig.org
2
-
3
- # top-most EditorConfig file
4
- root = true
5
-
6
- [*]
7
- indent_style = space
8
- indent_size = 2
9
- end_of_line = lf
10
- charset = utf-8
11
- trim_trailing_whitespace = true
12
- insert_final_newline = true
@@ -1,10 +0,0 @@
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
@@ -1,34 +0,0 @@
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: Lint, typecheck & 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: Lint
28
- run: bun run lint
29
-
30
- - name: Typecheck
31
- run: bun run typecheck
32
-
33
- - name: Build
34
- run: bun run build
@@ -1,56 +0,0 @@
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: Publish to npm
54
- # No token needed — OIDC trusted publishing handles auth automatically.
55
- # Provenance is also generated automatically; no --provenance flag required.
56
- run: npm publish --access public
package/.prettierrc DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "tabWidth": 2,
3
- "useTabs": false,
4
- "singleQuote": true,
5
- "semi": false,
6
- "trailingComma": "es5",
7
- "arrowParens": "always",
8
- "endOfLine": "lf",
9
- "plugins": ["prettier-plugin-tailwindcss"]
10
- }
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.1.0"
3
- }
@@ -1,14 +0,0 @@
1
- {
2
- "recommendations": [
3
- "Vue.volar",
4
- "EditorConfig.EditorConfig",
5
- "esbenp.prettier-vscode",
6
- "dbaeumer.vscode-eslint",
7
- "bradlc.vscode-tailwindcss",
8
- "antfu.goto-alias",
9
- "antfu.iconify",
10
- "streetsidesoftware.code-spell-checker",
11
- "usernamehw.errorlens"
12
- ],
13
- "unwantedRecommendations": ["octref.vetur"]
14
- }
@@ -1,72 +0,0 @@
1
- {
2
- "css.lint.unknownAtRules": "ignore",
3
- "less.lint.unknownAtRules": "ignore",
4
- "scss.lint.unknownAtRules": "ignore",
5
- "tailwindCSS.classAttributes": ["class", ".*-class(es)?", "theme", "ui"],
6
- "tailwindCSS.experimental.classRegex": [
7
- ["Theme \\=([^;]*);?", "'([^']*)'"],
8
- ["Theme \\=([^;]*);?", "\"([^\"]*)\""],
9
- ["Theme \\=([^;]*);?", "\\`([^\\`]*)\\`"],
10
- ["Class \\=([^;]*);?", "'([^']*)'"],
11
- ["Classes \\=([^;]*);?", "'([^']*)'"],
12
- ["Class \\=([^;]*);?", "\"([^\"]*)\""],
13
- ["Classes \\=([^;]*);?", "\"([^\"]*)\""],
14
- ["Class \\=([^;]*);?", "\\`([^\\`]*)\\`"],
15
- ["Classes \\=([^;]*);?", "\\`([^\\`]*)\\`"],
16
- ["tw`(.*?)`", "tw\\('(.*?)'\\)", "tw\\(\\s*('(.*?)'|\"(.*?)\")\\s*\\)"],
17
- ["ui:\\s*{([^)]*)\\s*}", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
18
- ],
19
- "files.associations": {
20
- "*.css": "tailwindcss"
21
- },
22
-
23
- "editor.codeActionsOnSave": {
24
- "source.fixAll": "never",
25
- "source.fixAll.eslint": "explicit"
26
- },
27
- "editor.defaultFormatter": "esbenp.prettier-vscode",
28
- "editor.formatOnSave": true,
29
- "editor.gotoLocation.multipleDefinitions": "goto",
30
- "editor.quickSuggestions": {
31
- "strings": true
32
- },
33
-
34
- "cSpell.words": [
35
- "bunx",
36
- "defu",
37
- "nuxt",
38
- "nuxtjs",
39
- "oklch",
40
- "pinia",
41
- "plutocms",
42
- "tailwindcss"
43
- ],
44
-
45
- "eslint.useFlatConfig": true,
46
- "eslint.validate": [
47
- "javascript",
48
- "javascriptreact",
49
- "typescript",
50
- "typescriptreact",
51
- "vue",
52
- "html",
53
- "markdown",
54
- "json",
55
- "jsonc",
56
- "yaml",
57
- "toml",
58
- "xml",
59
- "gql",
60
- "graphql",
61
- "astro",
62
- "svelte",
63
- "css",
64
- "less",
65
- "scss",
66
- "pcss",
67
- "postcss",
68
- "mjs"
69
- ],
70
-
71
- "vue.inlayHints.missingProps": true
72
- }
@@ -1,16 +0,0 @@
1
- {
2
- "Vue Component": {
3
- "prefix": ["vue", "tem", "template", "setup"],
4
- "body": [
5
- "<script setup lang=\"ts\">",
6
- "$1",
7
- "</script>",
8
- "",
9
- "<template>",
10
- " <div>$2</div>",
11
- "</template>",
12
- "",
13
- ],
14
- "description": "Vue Component (Script first)",
15
- },
16
- }