@plutocms/pluto 0.0.9 → 0.2.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,17 +1,300 @@
1
1
  # Changelog
2
2
 
3
3
 
4
- ## v0.0.9
5
-
6
- [compare changes](https://github.com/plutocms/pluto/compare/v0.0.9...v0.0.9)
7
-
8
- ### 🩹 Fixes
9
-
10
- - Streamline changelogen step to bump version, generate changelog, and create release in one command ([1c085e4](https://github.com/plutocms/pluto/commit/1c085e4))
11
-
12
- ### ❤️ Contributors
13
-
14
- - Victor Ribeiro <devjvribeiro@gmail.com>
4
+ ## [0.2.0](https://github.com/plutocms/pluto/compare/v0.1.0...v0.2.0) (2026-09-03)
5
+
6
+
7
+ ### Features
8
+
9
+ * allow overriding the utils layer path via env var ([9c32fa3](https://github.com/plutocms/pluto/commit/9c32fa306bf712fd2dcb3493d90db5e6bf0b4716))
10
+ * enhance CI and release workflows with improved tagging and verification steps ([8e4695a](https://github.com/plutocms/pluto/commit/8e4695a84442ed9b16629dedb983e30dc6fa582e))
11
+
12
+ ## [0.1.0](https://github.com/plutocms/pluto/compare/v0.0.10...v0.1.0) (2026-07-09)
13
+
14
+
15
+ ### ⚠ BREAKING CHANGES
16
+
17
+ * use product `id` instead of `slug` for paths
18
+ * move products list endpoint to `api/product/list`
19
+
20
+ ### Features
21
+
22
+ * `formatCurrency` util ([328445a](https://github.com/plutocms/pluto/commit/328445a6d62850f78c9113c3f6360f1dce056a61))
23
+ * `PlutoRoot` component ([41192d8](https://github.com/plutocms/pluto/commit/41192d88033c50255151619b67f7c8e343420fec))
24
+ * `slugify` utililty ([eb76e6f](https://github.com/plutocms/pluto/commit/eb76e6f6b96bb19a1ba3f9ceeeb9e700c8af3218))
25
+ * `useCategory` composable ([8344826](https://github.com/plutocms/pluto/commit/83448264a9743ed6caabebc0653a8a329b13d363))
26
+ * `useMedia` composable ([a64b6fc](https://github.com/plutocms/pluto/commit/a64b6fc1d44cb721e982d124e83a367f450ffdab))
27
+ * `useObjectURL` composable ([1d451d1](https://github.com/plutocms/pluto/commit/1d451d17744563af6657170f288d5b244121e746))
28
+ * `useProduct` composable ([bb9270a](https://github.com/plutocms/pluto/commit/bb9270af409fc0038b07a691373d8b7442b63d10))
29
+ * `v-autofocus` directive ([832d30b](https://github.com/plutocms/pluto/commit/832d30b858911f15062d001b2dfd577d4250afed))
30
+ * add @plutocms/utils dependency ([be8d14d](https://github.com/plutocms/pluto/commit/be8d14d482e4c23157a1b357850b39291adecc6c))
31
+ * add 3D model support and improved media management ([2085506](https://github.com/plutocms/pluto/commit/208550671762499a337e4ca61aeb76c59fd56d6d))
32
+ * add availability status handling and update product model ([d80df85](https://github.com/plutocms/pluto/commit/d80df851ade7e7dab49b10a528b5a1557f43e586))
33
+ * add category field and endpoint ([7b15d4a](https://github.com/plutocms/pluto/commit/7b15d4a5f511f0c63188ff112b347986b6f76eaf))
34
+ * add edit product link to admin navbar ([ba1a1fd](https://github.com/plutocms/pluto/commit/ba1a1fd92b376a97e036ecac6ea5e166cf00c9b2))
35
+ * add GitHub Actions workflow for automated release process ([20a4e59](https://github.com/plutocms/pluto/commit/20a4e598f7a198b170a014e4a3082d9984c58862))
36
+ * add grid layout with placeholder cards to admin home ([17f51ed](https://github.com/plutocms/pluto/commit/17f51edec48a86c0a14d860736af82173da02f76))
37
+ * add publish workflow for npm and create release PR step ([0658b2e](https://github.com/plutocms/pluto/commit/0658b2e12edaf42429cab1b177dda2be11d9bc1c))
38
+ * add redirect option to logout function ([cf0a1fe](https://github.com/plutocms/pluto/commit/cf0a1fe2733176a5730217b2e3e806296c10da95))
39
+ * add Supabase types for database schema and entities ([7a96907](https://github.com/plutocms/pluto/commit/7a96907e4f18766ee956f151de0fac7f435dbe23))
40
+ * add toast notifications for product and media actions ([91dbe59](https://github.com/plutocms/pluto/commit/91dbe59d7c629d054b4d7f8867ccc650c116750e))
41
+ * added "Add Product" navbar button ([e430f07](https://github.com/plutocms/pluto/commit/e430f0741dfbf25211ebf62fe1c240569d0061db))
42
+ * added `admin-content` and `admin-sidebar` colors ([4091a7f](https://github.com/plutocms/pluto/commit/4091a7f2884edb6c55f8fec6296897b973134614))
43
+ * added admin layout ([2dce393](https://github.com/plutocms/pluto/commit/2dce39372aed8cf4f3bc137de649a00c53dfa167))
44
+ * added Back button ([46f45b1](https://github.com/plutocms/pluto/commit/46f45b1f135dfedeef26dc299a9400f19f1f62f2))
45
+ * added bg color to right sidebar ([d46ce3e](https://github.com/plutocms/pluto/commit/d46ce3ef9730e5b663a24f1cbf39db034793fa4e))
46
+ * added ColorModeButton component ([d104c90](https://github.com/plutocms/pluto/commit/d104c90f0dc9035cb7c24eb13848f11653c35cbe))
47
+ * added default button style ([cb20bd2](https://github.com/plutocms/pluto/commit/cb20bd240f176d87b41c3060cdbec58fcb984888))
48
+ * added ESLint rules ([a4e46a3](https://github.com/plutocms/pluto/commit/a4e46a358c26f85ad6eb2a75fdf5345be014a75e))
49
+ * added layer name ([9c5b756](https://github.com/plutocms/pluto/commit/9c5b756bb40a8efd77e1130b714d6ca4b92a822b))
50
+ * added loading state ([212b0f2](https://github.com/plutocms/pluto/commit/212b0f24465c76fbc5ceb7203996997d09809335))
51
+ * added navbar options ([8b246aa](https://github.com/plutocms/pluto/commit/8b246aa909b2bda6f01569377bde3a24cd8e56ae))
52
+ * added Pluto logo ([d312bd8](https://github.com/plutocms/pluto/commit/d312bd8cc1dd33f217652172361aeefe3d131796))
53
+ * added Pluto Utils layer ([b7e47ca](https://github.com/plutocms/pluto/commit/b7e47cac7c735e81f8f95732547c6f9692530835))
54
+ * added product endpoints ([71bd867](https://github.com/plutocms/pluto/commit/71bd86718b380e6dbe7fc1dfae1e21402e7f82f9))
55
+ * added selection hints ([0d00c41](https://github.com/plutocms/pluto/commit/0d00c4159c10f107940605f4764dbf8e6893e6bb))
56
+ * added Supabase ([c8932fd](https://github.com/plutocms/pluto/commit/c8932fd03df99b6d47c1448054cc0831ffff0017))
57
+ * added supabase typegen script ([f26d713](https://github.com/plutocms/pluto/commit/f26d713050af8eea4a869e603d624f4185338ad1))
58
+ * added Tailwind ([418f741](https://github.com/plutocms/pluto/commit/418f741169638a943027cebf79d5b679ccd00e41))
59
+ * admin home page ([234ef1e](https://github.com/plutocms/pluto/commit/234ef1e33dbf5e336315a4d13ec8b047abbd8f6a))
60
+ * Alt text field ([ec897f4](https://github.com/plutocms/pluto/commit/ec897f40564388c36b29235de719d7d87ca8623a))
61
+ * category field ([6e5b619](https://github.com/plutocms/pluto/commit/6e5b61949ff98955ca9df965152c2daed9de285e))
62
+ * configurable per-layer admin navbar action buttons ([96f7123](https://github.com/plutocms/pluto/commit/96f71233a14140178eeb4d6f3eac61e620289352))
63
+ * controlled tabs state ([86b6c79](https://github.com/plutocms/pluto/commit/86b6c79fa169c58245f2a2c785b09a22edd18bda))
64
+ * created `AdminView` component ([b5a5d2f](https://github.com/plutocms/pluto/commit/b5a5d2f84e3a69a23eeac3dfe3a63bf7ca5c03cb))
65
+ * created `sql` layer ([f99a8d5](https://github.com/plutocms/pluto/commit/f99a8d518958776734a1faea0933e01e62480629))
66
+ * created `useAuth` composable ([cf6738c](https://github.com/plutocms/pluto/commit/cf6738c99d8577e3f500ae421f16a06b17f241cc))
67
+ * created `utils` layer and moved actions functionalities ([f2224cc](https://github.com/plutocms/pluto/commit/f2224ccfa0631ee14e7a3a0bf26a6c7a21d87cd5))
68
+ * created default layout ([86ce11e](https://github.com/plutocms/pluto/commit/86ce11e22dddce2b561a08f8f2e14b5987a98142))
69
+ * created sidebar admin actions ([78bb4a1](https://github.com/plutocms/pluto/commit/78bb4a14adc7ba12a718931ba0d43e641863d7cd))
70
+ * created Sign Up page ([d68f90c](https://github.com/plutocms/pluto/commit/d68f90c0880288784ee8500f5f0b5419c81c94c8))
71
+ * created supabase connector layer ([c45b0d9](https://github.com/plutocms/pluto/commit/c45b0d9af2deda75e5a7a9b5ae116cde72e3aabc))
72
+ * created Supabase signup API wrapper ([83c8509](https://github.com/plutocms/pluto/commit/83c850984e543a7cf86b048cd1b93a834b58713b))
73
+ * created title template ([f5fa054](https://github.com/plutocms/pluto/commit/f5fa05430cf343f2744aaf58515f0cad5fa040f9))
74
+ * created UI layer ([fbcf54d](https://github.com/plutocms/pluto/commit/fbcf54d7d2cc9a6547a14dcd48fd23bcc0d1bf06))
75
+ * default index page if none is present on root project ([6a88158](https://github.com/plutocms/pluto/commit/6a88158c1131ed717fb14ffeff075d41ff3d81aa))
76
+ * **deps:** added `@iconify-json/lucide` collection ([fed96d6](https://github.com/plutocms/pluto/commit/fed96d607e81c82535ac163be90e67a6807ad154))
77
+ * **dev:** add agent skill docs for Nuxt/Vue ecosystems ([d30eff9](https://github.com/plutocms/pluto/commit/d30eff95003ef1312639a766d2cf1be1878b0556))
78
+ * **dev:** add comma-dangle rule for Vue in ESLint config ([38412b4](https://github.com/plutocms/pluto/commit/38412b45ef5afde4f1bdb26224909e8e0b3700c0))
79
+ * Edit product page ([1988060](https://github.com/plutocms/pluto/commit/1988060ee0adb579c66bfbc8327e80283e17526a))
80
+ * enable user menu shortcuts ([6f9ade7](https://github.com/plutocms/pluto/commit/6f9ade77ba70bb20520d9e7895c048abcfa25d60))
81
+ * endpoint for "Add product" ([91ae0b0](https://github.com/plutocms/pluto/commit/91ae0b0a7cb3a36d855bd924bcc687f5a46510b7))
82
+ * enhance useProduct function to handle null/undefined productId and improve type definitions ([c053b08](https://github.com/plutocms/pluto/commit/c053b081eb0faeebbd4676c10e97f0e9d73cebe4))
83
+ * entry point view ([504e900](https://github.com/plutocms/pluto/commit/504e90076387cc04bc78a1c8df632e2b093bdac7))
84
+ * error handling and notification toast for login ([82c6b34](https://github.com/plutocms/pluto/commit/82c6b3443678ab8bc75b2297688147bdecab5174))
85
+ * get images from bucket ([dc48fca](https://github.com/plutocms/pluto/commit/dc48fca628b0dc90aaee59ec60fbe856db25cc5d))
86
+ * handle media insertion for product ([0e2ba5c](https://github.com/plutocms/pluto/commit/0e2ba5cd32bf1b80bf2df3b5bcb4199a157d6661))
87
+ * insert button disabled state ([15a0df6](https://github.com/plutocms/pluto/commit/15a0df6f665786e28802271c45adc9990db9763d))
88
+ * insert media from upload tab ([9edb45c](https://github.com/plutocms/pluto/commit/9edb45c3fef9e5c2cdabf37605bd38571c27a816))
89
+ * insert media reference in media table ([f21a014](https://github.com/plutocms/pluto/commit/f21a014bff633808ae0f33f319795f28074f227f))
90
+ * login page ([97614ec](https://github.com/plutocms/pluto/commit/97614ec6c440fc8c39f898253cc62aa7a66034e4))
91
+ * make sidebar links better ([7fc2778](https://github.com/plutocms/pluto/commit/7fc27785e1af3f127d45dd6d9d083e295c4a91f1))
92
+ * Media page ([e7e7f8f](https://github.com/plutocms/pluto/commit/e7e7f8f007e0c866ae2effc1dfa67dbe498f04e3))
93
+ * media selection ([f871410](https://github.com/plutocms/pluto/commit/f87141069f7037c069bbceaeebfeb14205affd62))
94
+ * migrate workflow from Node.js to Bun for dependency management and build process ([0634682](https://github.com/plutocms/pluto/commit/0634682265f3e14c316ee89b0a2ed06e70c9747b))
95
+ * Modal (and related) component ([5d3c7bc](https://github.com/plutocms/pluto/commit/5d3c7bc663bd7264cf2108924d3c321f7adbec77))
96
+ * move admin product pages to shop layer ([b741c7c](https://github.com/plutocms/pluto/commit/b741c7cea2c15e41c8238f32ce71a51f80249295))
97
+ * move products list endpoint to `api/product/list` ([d7818ac](https://github.com/plutocms/pluto/commit/d7818ac5cf1b527392973c8bef4fab2ec2f6ce03))
98
+ * moved `tailwindcss` and `nuxt/ui` setting to `ui` layer ([ecbd25b](https://github.com/plutocms/pluto/commit/ecbd25b59485acda80b328105d04c83b06188f40))
99
+ * Navbar ([da82129](https://github.com/plutocms/pluto/commit/da82129d03268af0f72603aad4eb2ceff7902af8))
100
+ * **NavbarAdminActionButton:** use pure CSS ([ea901c2](https://github.com/plutocms/pluto/commit/ea901c2dec1be67a87cde62e5672a3a4c5febe30))
101
+ * **NavbarAdminActions:** add new component for admin actions ([6ecee36](https://github.com/plutocms/pluto/commit/6ecee36a4c9f4c85461720b0a1a02572b317e972))
102
+ * **NavbarAdmin:** make it a wrapper ([134c856](https://github.com/plutocms/pluto/commit/134c856ad4c450b2aabe2aa6520007c3af42a6df))
103
+ * New product page ([5117ce8](https://github.com/plutocms/pluto/commit/5117ce83648ab277533cd3e3f5dcfe20233ae0d9))
104
+ * Post component to handle POST/PUT operations ([24eb011](https://github.com/plutocms/pluto/commit/24eb011daaffa3211f7b153a587ce2bd5af5bfa2))
105
+ * **Post:** added fields ([6a119e8](https://github.com/plutocms/pluto/commit/6a119e8c0ee20fb4af4ab4405ea5ce792521fe5e))
106
+ * product deletion ([641c1d8](https://github.com/plutocms/pluto/commit/641c1d81e538fac82c21ca8f364015d0b6bb62a3))
107
+ * product media modal ([4e29a1f](https://github.com/plutocms/pluto/commit/4e29a1fdef500cc990c93d9d6f895e98458f1828))
108
+ * products list page ([f76de28](https://github.com/plutocms/pluto/commit/f76de281e829f5efd8835c6adfa8a864e8911868))
109
+ * refactors and initial MySQL layer implementation ([7aef02b](https://github.com/plutocms/pluto/commit/7aef02b4cfedc410bbc14bf6fdb41e0dbd28c499))
110
+ * refresh data when changing to Gallery tab ([8d8fc46](https://github.com/plutocms/pluto/commit/8d8fc465a946d60e7f150c11015b84b84240421f))
111
+ * revamp README with Pluto details and usage ([5b3cbf1](https://github.com/plutocms/pluto/commit/5b3cbf1c38a632e00aa3f19bd42d11223ea7f4b7))
112
+ * ScrollArea component ([22516bd](https://github.com/plutocms/pluto/commit/22516bdae527588aad2d3cc4daa3caf15e889a22))
113
+ * Settings page with initial configuration features ([8859775](https://github.com/plutocms/pluto/commit/8859775bfbfa514c4f12273b821ee042dcd92769))
114
+ * tab aware session ([6c64791](https://github.com/plutocms/pluto/commit/6c64791f7adf446d973ad8bb697f42c4111cdcda))
115
+ * tailwind main CSS ([0949946](https://github.com/plutocms/pluto/commit/0949946847e6a819bdc5f69b33e3ed0f77a8dfb5))
116
+ * **types:** `User` type ([cde02ea](https://github.com/plutocms/pluto/commit/cde02ea69baca0c4b6f81f560860af80a9e1d9bc))
117
+ * **ui:** Container component ([5e03a2d](https://github.com/plutocms/pluto/commit/5e03a2d6310f355e31da6eb473fc00ab434c1f33))
118
+ * update availability handling in form model and enhance availability options ([7022d0b](https://github.com/plutocms/pluto/commit/7022d0bd4f347137125ce1e06f8c57b7a91d946d))
119
+ * upgraded to Nuxt 4 ([46659b5](https://github.com/plutocms/pluto/commit/46659b5356290b889b7bce5bc660f63cddf05dc3))
120
+ * upload media on click ([5efe0eb](https://github.com/plutocms/pluto/commit/5efe0eb7b5d464b5269ce3448659091f0a920101))
121
+ * **useProduct:** created `pending` and `refresh` utilities ([09d8b6c](https://github.com/plutocms/pluto/commit/09d8b6cd7aa4bb51fb7867f245453659870c459c))
122
+ * **useProduct:** return the products list ([3391037](https://github.com/plutocms/pluto/commit/339103710dd3ac12aecd51bc41076730b5c48e10))
123
+ * **utils:** created `fileNameToKebabCase` util ([60b02e5](https://github.com/plutocms/pluto/commit/60b02e51536e50a1c02d3818ecbf629ebf382eda))
124
+
125
+
126
+ ### Bug Fixes
127
+
128
+ * `NavbarAdmin` dark mode fixes ([15a5231](https://github.com/plutocms/pluto/commit/15a5231d2bcbfc6aa1286bce33ddc0b4254f51cc))
129
+ * add ignores to ESLint configuration for specific file types ([3c6a4e5](https://github.com/plutocms/pluto/commit/3c6a4e599986a343984ecc1a3a3f95b3104278d5))
130
+ * add npm registry URL and NODE_AUTH_TOKEN for publishing ([2a54bac](https://github.com/plutocms/pluto/commit/2a54bac66245cb3a057f07f6157e3945496a76dc))
131
+ * add ts-expect-error comment for Vite plugin type compatibility ([d8a73ed](https://github.com/plutocms/pluto/commit/d8a73edd4e5585a041f95362b26bcabf1cb2b170))
132
+ * add type annotation to `has_settings_modified` state ([b524e23](https://github.com/plutocms/pluto/commit/b524e236c44a8ea082ca5aa8fb46c9fb99097e58))
133
+ * added `reka-ui` module to `ui` layer ([5752102](https://github.com/plutocms/pluto/commit/5752102b0282c5773f3136d72c24a3740e2c3161))
134
+ * added `tresjs/cientos` to optimized dependencies ([7aece39](https://github.com/plutocms/pluto/commit/7aece3909ad9a3f5ede551e448ed347827f3ad13))
135
+ * added basic validation ([bd91b83](https://github.com/plutocms/pluto/commit/bd91b837244789e0898187e16ce43b5d3a7bb801))
136
+ * added field labels ([dddabaf](https://github.com/plutocms/pluto/commit/dddabaf1eb9723a5c29dcaa8a382ee6834b00411))
137
+ * added form input labels ([e03b0ce](https://github.com/plutocms/pluto/commit/e03b0cec5a14b0da05dfbb1b71fba3ab3113423f))
138
+ * added image url array to payload ([a815d3a](https://github.com/plutocms/pluto/commit/a815d3a43ae487abec014640e6c34dd9726e810f))
139
+ * added input autocomplete ([81edada](https://github.com/plutocms/pluto/commit/81edada7f609cd53046b0d3bef2085eb758a317f))
140
+ * added link to "Add product" page ([a1bc978](https://github.com/plutocms/pluto/commit/a1bc9780886d06251e78baa8046e85aa388f25ae))
141
+ * added missing composable ([616f190](https://github.com/plutocms/pluto/commit/616f1907423da0cd52af913a692b1c422e777c71))
142
+ * added missing optional chaining operators ([6814c2b](https://github.com/plutocms/pluto/commit/6814c2b29fbca10a0ef47b1d69c9929b3d3d74c4))
143
+ * added missing properties ([3e00e97](https://github.com/plutocms/pluto/commit/3e00e97e9ffb253f326831a175fd66ba9e1f99ee))
144
+ * added missing reactive change-case ([92cb80b](https://github.com/plutocms/pluto/commit/92cb80b1092229bfc025854aa2e627083d050305))
145
+ * added path to pluto's css file ([2927672](https://github.com/plutocms/pluto/commit/292767278a721fec620fc7358a29337a17dfa55c))
146
+ * added placeholder ([68fc3db](https://github.com/plutocms/pluto/commit/68fc3db9541ce779e4568e80fd1097ceedd42e02))
147
+ * added scroll area to image vertical carousel and added contain fit ([452bb20](https://github.com/plutocms/pluto/commit/452bb20d2154eefb2fdd774170a8d5c2083f1e6a))
148
+ * added Settings menu ([3d65577](https://github.com/plutocms/pluto/commit/3d65577ac0d0f2c36064fc8e8225d2f0cf071e1d))
149
+ * added temp logo (text-only) ([64e464d](https://github.com/plutocms/pluto/commit/64e464d48f35cd8dc824f36396535fe9c905c1ab))
150
+ * added title page to Settings ([97d43ce](https://github.com/plutocms/pluto/commit/97d43cee472e7b31a2358f480804849c38d8836a))
151
+ * added user name to navbar ([f67069c](https://github.com/plutocms/pluto/commit/f67069ccdf4f154f7d536f9b544a0f8e2ede43fb))
152
+ * **API:** get media from table instead of bucket ([5cf12a3](https://github.com/plutocms/pluto/commit/5cf12a32748f9ac3ed06c612837c9f4a8223e959))
153
+ * **API:** product insertion ([26f4dd0](https://github.com/plutocms/pluto/commit/26f4dd0ed294bc7f9880f4a60513c082a53c65ef))
154
+ * apply Outfit font to admin and auth layouts ([a28b11d](https://github.com/plutocms/pluto/commit/a28b11da1b28959d0e0481c55fa890c09934450e))
155
+ * better handle media ([178d547](https://github.com/plutocms/pluto/commit/178d547c24d6729fad8bc3b7869a6b43f52cd6a8))
156
+ * better HTML structure ([5b4b5b6](https://github.com/plutocms/pluto/commit/5b4b5b644088b022f5a49d11cb0f52096281bc88))
157
+ * better media naming convention ([26fa04d](https://github.com/plutocms/pluto/commit/26fa04d05d1490356cb83730972758ca6a8a5d83))
158
+ * break word on file name ([57b9d4f](https://github.com/plutocms/pluto/commit/57b9d4fad57330338c83daa3779d6f32ada8c763))
159
+ * **bun:** add no-fork flag ([1e8400c](https://github.com/plutocms/pluto/commit/1e8400cd6563ab9b6491ed48aa14550fcf27aeea))
160
+ * button icon size ([31ada7c](https://github.com/plutocms/pluto/commit/31ada7c0373decccc93c69e67b8cad5fbe48172c))
161
+ * change title field placeholder text ([d919afc](https://github.com/plutocms/pluto/commit/d919afc9fdc4ce847bc9f084e871b63fde7660bb))
162
+ * changed deprecated `cookieName` to `cookiePrefix` ([f099516](https://github.com/plutocms/pluto/commit/f099516e5bb789b0b47bb7c80524a4b3b68a5baf))
163
+ * changed file name format ([c4d9b1f](https://github.com/plutocms/pluto/commit/c4d9b1f66f79ae7487224a9f85c89b809bbd180f))
164
+ * changed project name to "plutocms" ([379b8ae](https://github.com/plutocms/pluto/commit/379b8aef1eb5fd699f87d8a885ef342b1fa9f170))
165
+ * changed View Site button title ([04233b3](https://github.com/plutocms/pluto/commit/04233b3a2ac763301941f192e9922fcf8900064d))
166
+ * clear tab data on tab change ([523f05e](https://github.com/plutocms/pluto/commit/523f05ecb5c93b6b78a1ca44c4fda4f913021b98))
167
+ * color mode button size ([36e5828](https://github.com/plutocms/pluto/commit/36e5828a8fe5a6baf71ca0e37aa1c412b0835bcf))
168
+ * **ColorModeButton:** change variant to `solid` ([25fd267](https://github.com/plutocms/pluto/commit/25fd26767276f119a51387d993c0f075cc2d5604))
169
+ * colors ([1d5a81c](https://github.com/plutocms/pluto/commit/1d5a81c3a1c2ae408566c8e6551f01e49cacb570))
170
+ * **config:** only apply default style to non-square buttons ([8e7c1bb](https://github.com/plutocms/pluto/commit/8e7c1bbadce7d01824127a969f8a06c1efa92ac1))
171
+ * **config:** updated supabase options ([f86a5f0](https://github.com/plutocms/pluto/commit/f86a5f0d2ecbd777d4809f49ef8ed9fed492aef7))
172
+ * dark style ([eaedcbd](https://github.com/plutocms/pluto/commit/eaedcbdc25b87a33e215ff23860fcb35b55f154b))
173
+ * **deps:** added `simple-icons` collection ([043a00d](https://github.com/plutocms/pluto/commit/043a00dd6d121fb2d8d9e468f9d9b83b874b25a5))
174
+ * **dev:** prevent vite optmization reloads ([65ca0dd](https://github.com/plutocms/pluto/commit/65ca0dd398b53b7976516238a7a3ff5a8bfcff63))
175
+ * disable supabase auth redirect and handle it via middleware ([ae9cece](https://github.com/plutocms/pluto/commit/ae9cecef485e49ab6f8d755e312108e66feae6f5))
176
+ * do not insert new date on product edit ([252a6db](https://github.com/plutocms/pluto/commit/252a6db9aa522ba031c3339221e1ed809af0a4c4))
177
+ * edit post endpoint not saving data ([453a7d3](https://github.com/plutocms/pluto/commit/453a7d358b48b549a7284c1c90a7ef2de4aacdd4))
178
+ * edit product link ([07a9d71](https://github.com/plutocms/pluto/commit/07a9d71d1dc558104dd9814b59b84d927a1d1d42))
179
+ * enable TypeScript workspace inclusion in config ([2a667a4](https://github.com/plutocms/pluto/commit/2a667a494e2831a6211a709a255682620ea00e6e))
180
+ * endpoint path ([ae23558](https://github.com/plutocms/pluto/commit/ae23558878233b23b5174d38be2a85fc8bc873f3))
181
+ * explicitly import `NavbarAdminActionButtonProps` type ([b6ed892](https://github.com/plutocms/pluto/commit/b6ed892305e28957b519f38f8f57e5d0093a53e1))
182
+ * extends utils layer before UI layer ([126ea86](https://github.com/plutocms/pluto/commit/126ea8601354a9508d9c820794842a2facc5f2a9))
183
+ * field width ([2f08074](https://github.com/plutocms/pluto/commit/2f08074f773dc08dec1e5dd077507321958c6106))
184
+ * fix user name display in admin navbar ([c882699](https://github.com/plutocms/pluto/commit/c88269963ae9fa82e8824f318346acba556ccefe))
185
+ * general styling ([5ec6df3](https://github.com/plutocms/pluto/commit/5ec6df33ee216a1a4dba06704adee59ab7385765))
186
+ * general type fixes ([b11897c](https://github.com/plutocms/pluto/commit/b11897c0f345c14e5441608dfce60ca60e3f7f12))
187
+ * get all data from product ([2da0557](https://github.com/plutocms/pluto/commit/2da0557b8044b95a7c5a46b9bf6ff7d29b6befb1))
188
+ * global wrapper heights ([e6fcad4](https://github.com/plutocms/pluto/commit/e6fcad46b6463cc20933a08087ce9e8d55a8bb23))
189
+ * heading style ([2c3d01a](https://github.com/plutocms/pluto/commit/2c3d01ae37f92ae6aa2903b57736facdaa171901))
190
+ * image bg and sizing ([9e603db](https://github.com/plutocms/pluto/commit/9e603dbf54acad02e0902e570c6a5c4ebe58eb36))
191
+ * improve admin logout and redirect handling ([e7a4220](https://github.com/plutocms/pluto/commit/e7a4220c2e888f62a2750602c28a5959016a6de0))
192
+ * keep Products menu open by default ([efa8a63](https://github.com/plutocms/pluto/commit/efa8a63e2cdf5253324e6dd581434c9e3c663283))
193
+ * make `getMediaUrl` accept null or undefined ([b574795](https://github.com/plutocms/pluto/commit/b574795c1d189e434c0cba5ae0a73d601ee138e9))
194
+ * make dark mode default ([53cc90e](https://github.com/plutocms/pluto/commit/53cc90ebb30ff1115bf7cf8b897b3055453f6f6b))
195
+ * make form inputs full-width by default ([6dde874](https://github.com/plutocms/pluto/commit/6dde874b5023696b59d6e76fe55ce4676e40a37a))
196
+ * make inputs bigger by default ([d3c9cc4](https://github.com/plutocms/pluto/commit/d3c9cc4617223e082b9af5e30f7201b0d80f992b))
197
+ * media insertion in table ([6632864](https://github.com/plutocms/pluto/commit/66328644b9f4a25305b4ef35e96d6b3c0440b8a6))
198
+ * modal size ([bdf589a](https://github.com/plutocms/pluto/commit/bdf589ab8547b82882c337375b5462df80008470))
199
+ * modal title ([ce4b0f0](https://github.com/plutocms/pluto/commit/ce4b0f0957783e7c6621d81efaff597c92be3985))
200
+ * **Modal:** added 16px margin on smaller screens ([dac2490](https://github.com/plutocms/pluto/commit/dac24903918baf3dae00a0a03a526d926c89ce2a))
201
+ * **Modal:** added div as single root element ([17c74b0](https://github.com/plutocms/pluto/commit/17c74b00e7ddc72b9a1c5b45022d8524b340542e))
202
+ * **Modal:** define default width ([119171a](https://github.com/plutocms/pluto/commit/119171a7419aaa4ece646525417af404c48f59eb))
203
+ * **Modal:** make overlay darker ([1c80d94](https://github.com/plutocms/pluto/commit/1c80d9432206e625d8e5ed5a7409368dabf445a0))
204
+ * **Modal:** padding ([62a7d7a](https://github.com/plutocms/pluto/commit/62a7d7a22dc09dd88ad6777f636f9b40e8929c07))
205
+ * **Modal:** size configuration ([e3d2942](https://github.com/plutocms/pluto/commit/e3d294206546ecd4c20031fd1cd324ea68c12460))
206
+ * **Modal:** text color ([eed4525](https://github.com/plutocms/pluto/commit/eed452556e3a2407bb4526b7d377572346c98790))
207
+ * move @plutocms/utils dependency to devDependencies in package.json and bun.lock ([9e4a853](https://github.com/plutocms/pluto/commit/9e4a8535a23645661e897ae0a56512de2cc991e7))
208
+ * names ([902990d](https://github.com/plutocms/pluto/commit/902990de80209dea339b2c6c42ab21245943ebde))
209
+ * **NavbarAdmin:** prevent logo shrinking ([dab504b](https://github.com/plutocms/pluto/commit/dab504be627d7e963c7ceaf1b30ef36e6871d0da))
210
+ * **Navbar:** colors ([bb9ae51](https://github.com/plutocms/pluto/commit/bb9ae5155dcb9bca2ea14a60414e55da8d4b0ffd))
211
+ * navigate to correct edit page after slug change ([d1df235](https://github.com/plutocms/pluto/commit/d1df2359e20ab7f853304a43fe1cdf43d06c3a0e))
212
+ * **nuxt.config:** streamline extends configuration for development and production ([20d39c0](https://github.com/plutocms/pluto/commit/20d39c00012427c54ecb595861d5a6883ba76c7e))
213
+ * **nuxt.config:** update extends path for utils module ([80d7ad3](https://github.com/plutocms/pluto/commit/80d7ad3b629b0ef56f1cdd4a787806d6c07fe4ff))
214
+ * only send required data to signup ([57d6507](https://github.com/plutocms/pluto/commit/57d65079a141aa705c59ea5cd4887cb8d5ba15ca))
215
+ * only show "Visit site" button when in dashboard ([2a553d0](https://github.com/plutocms/pluto/commit/2a553d033fda7ca0196a52981fd46573f9ca32a6))
216
+ * only show admin navbar if user is admin ([157f353](https://github.com/plutocms/pluto/commit/157f35381649d8601ccffd8722b079f2765c7dd8))
217
+ * order products list by `created_at` column ([b6b5944](https://github.com/plutocms/pluto/commit/b6b59442e719e833e3739c2c821b36f4a7c662ce))
218
+ * **package:** reorganize package.json fields for clarity ([c3a5dc7](https://github.com/plutocms/pluto/commit/c3a5dc7b26ea2ea58702e603f9766d6dfda8ccf7))
219
+ * **package:** update @plutocms/utils to version 0.0.1-alpha.5 and adjust dependencies ([3ee47ec](https://github.com/plutocms/pluto/commit/3ee47ecdd7e81b6f32ffa2dacabadc2120d88e90))
220
+ * **package:** update package name and add metadata ([a4944f8](https://github.com/plutocms/pluto/commit/a4944f89d4e484d1f05208217c0fdf43699796b6))
221
+ * **package:** update version to 0.0.1-alpha.2 ([4507b56](https://github.com/plutocms/pluto/commit/4507b56cface9511764a9d956c6ddf3ceb7708a2))
222
+ * **package:** update version to 0.0.1-alpha.3 ([dd80eff](https://github.com/plutocms/pluto/commit/dd80eff0628657c459c8c48467f3538627fde4c0))
223
+ * **package:** update version to 0.0.1-alpha.4 ([852b4fa](https://github.com/plutocms/pluto/commit/852b4fad236d720e7df2f09e3c0ec00aaa0078ea))
224
+ * path to Pluto layer ([a92ae06](https://github.com/plutocms/pluto/commit/a92ae06e4ab3d702ae59093a9514ba4006bb578e))
225
+ * paths ([d5c97b0](https://github.com/plutocms/pluto/commit/d5c97b0994c5ddf7287bd609cb6eae3c6f5ee45d))
226
+ * paths ([3b50ec7](https://github.com/plutocms/pluto/commit/3b50ec7f5b63bc18c082afe32cf9f3822ac5ec4c))
227
+ * paths for `components.dirs` config ([0785afd](https://github.com/plutocms/pluto/commit/0785afd40c25c76503eb32d2681c31070f5193b0))
228
+ * pin @nuxt/ui dependency version to 4.2.1 ([8a32641](https://github.com/plutocms/pluto/commit/8a326419f12fd8a4bfabc4cf26b2e34fda45978a))
229
+ * Pluto layers not being auto-registered ([39996f7](https://github.com/plutocms/pluto/commit/39996f708c1c04e536fb7a78e670639a1d987e33))
230
+ * **Post:** dynamic page title for Add/Edit post ([f48924b](https://github.com/plutocms/pluto/commit/f48924b7a0ee1733817dad0d177607b7ad7fbfca))
231
+ * prevent navigating to login/signup if logged-in ([27f7457](https://github.com/plutocms/pluto/commit/27f745789dd61c29610636ababc55adf124b4fab))
232
+ * prevent scroll lock on navbar user menu open ([e2429dc](https://github.com/plutocms/pluto/commit/e2429dcad627e3c17a8ef9b77433459ad0b513d6))
233
+ * redirect to /admin/home if logged user tries to go to login or signup ([64b2c28](https://github.com/plutocms/pluto/commit/64b2c28a1b48fdc86ce8fb4f9d5ddebc0f585d4e))
234
+ * refactor `product_style` to use category ID ([d5460a9](https://github.com/plutocms/pluto/commit/d5460a984a2364590675028e1f6ded5e26193cb7))
235
+ * refactor modal components for consistent padding and rounding ([4a0c7ad](https://github.com/plutocms/pluto/commit/4a0c7ad1d7d5fb8ff1abf00040110b5dbf288817))
236
+ * remove auto-import `domainFromUrl` from utils ([17cc7f5](https://github.com/plutocms/pluto/commit/17cc7f595e77da5e613b105187ce284954af03b4))
237
+ * remove custom components directory configuration ([7c1ae08](https://github.com/plutocms/pluto/commit/7c1ae08ffee4593e20c0e222f6180bd371dadda2))
238
+ * remove finally block from useAuth submit handler ([0d85ef0](https://github.com/plutocms/pluto/commit/0d85ef053ceb54d99ca52b07b3a26a2938c3c8f1))
239
+ * remove npm registry URL and NODE_AUTH_TOKEN from release workflow ([bc10443](https://github.com/plutocms/pluto/commit/bc104431789e086da3cd5d8b2f31a34f2f97e598))
240
+ * remove TypeScript error comment from Vite plugin configuration ([6b91a40](https://github.com/plutocms/pluto/commit/6b91a40b8668eadf92d067e1a996e1d161b5f5ca))
241
+ * remove unused dependencies ([bf46404](https://github.com/plutocms/pluto/commit/bf4640461843fc296be43723235dd58e603b8ad7))
242
+ * remove unused dependency "change-case" ([2ef5677](https://github.com/plutocms/pluto/commit/2ef56777f1040afec86f640abf4aaf65253860e6))
243
+ * removed `utils` layer extends from `ui` layer ([81761b1](https://github.com/plutocms/pluto/commit/81761b14a3bd91cf1fdf390765f670fc0f6af077))
244
+ * removed v-model modifier ([8520e6d](https://github.com/plutocms/pluto/commit/8520e6d91176009ebd7c687a63487eceb73fb810))
245
+ * renamed product_style to category and general type fixes ([738337f](https://github.com/plutocms/pluto/commit/738337f66ba2858660f42155630eb6d1f09c3d97))
246
+ * reorder npm publish step in release workflow ([aee9845](https://github.com/plutocms/pluto/commit/aee9845513873e43447f330db72297e1ee560ec6))
247
+ * reorder setup steps for Bun and Node.js in release workflow ([84b206c](https://github.com/plutocms/pluto/commit/84b206c2b3d6b8af5cdb2327bbbc3b819706e2bc))
248
+ * reset isSubmitting on login error in useAuth ([bff2946](https://github.com/plutocms/pluto/commit/bff29468db20d49ee34fb44bf5533da766e6501e))
249
+ * resolve layer components folder ([9ea96c0](https://github.com/plutocms/pluto/commit/9ea96c05e819e661766bc0caac890543fdfee5a4))
250
+ * resolve supabase types on typegen script ([a2dbf36](https://github.com/plutocms/pluto/commit/a2dbf3685c4835087886a9918ee1be6b0711f2b8))
251
+ * route path ([c62d639](https://github.com/plutocms/pluto/commit/c62d63941a3ef4dc73d54e3e07719fc406b87940))
252
+ * send product_style ([cca0aa1](https://github.com/plutocms/pluto/commit/cca0aa1e5381c018d8cfcc1307cd181fe3a0da8b))
253
+ * set document height to 100% ([66bd7fc](https://github.com/plutocms/pluto/commit/66bd7fc774ce7296c915a4a17eccaaabe98d9806))
254
+ * sidebar color and size ([8d0960a](https://github.com/plutocms/pluto/commit/8d0960aac32a14ee0976f4f8e50a65bd3597fe61))
255
+ * slug creation ([ae32eb6](https://github.com/plutocms/pluto/commit/ae32eb68df057a5dd6c88bda91f1eac0935a4280))
256
+ * specify type for actions ref in navbar admin ([484ce24](https://github.com/plutocms/pluto/commit/484ce24874de8a8a75f7ac74e5f32c1bb8f053a3))
257
+ * streamline changelogen step to bump version, generate changelog, and create release in one command ([1c085e4](https://github.com/plutocms/pluto/commit/1c085e48a271fc9e8479b1ee5cbe9112e9387631))
258
+ * tailwind scan path ([0953a3a](https://github.com/plutocms/pluto/commit/0953a3a408ae0707f558e0b3a66d158e1c9d35e1))
259
+ * tailwind source detection ([62bd389](https://github.com/plutocms/pluto/commit/62bd389047e3bee4049b3ab41490cc07a3170bb0))
260
+ * tailwind source scan path ([3f89b2d](https://github.com/plutocms/pluto/commit/3f89b2d11b2d52c3b890bbd27a7bce7b5268865c))
261
+ * tailwind theme file ([7ef26da](https://github.com/plutocms/pluto/commit/7ef26daeb70c2c522716d220f45f0ca68808f48b))
262
+ * **tailwind:** added `app.config` to source detection ([ae85256](https://github.com/plutocms/pluto/commit/ae85256c425c0d1ce14992fdc66ad5f50d532a5e))
263
+ * **tailwind:** better source scanning ([42b897c](https://github.com/plutocms/pluto/commit/42b897c63da87fc77e69135808fa3db59275c899))
264
+ * **tailwind:** use singe asterisc ([4e2592a](https://github.com/plutocms/pluto/commit/4e2592aba528600a538cf0605e166a5bae0308c8))
265
+ * temp remove condition ([1e17d8e](https://github.com/plutocms/pluto/commit/1e17d8e02ca0b7fe8fd09cca93fac8cf7ca27e80))
266
+ * title size ([00c98ec](https://github.com/plutocms/pluto/commit/00c98ec4ecefc89ac7636df684e4095a3d037a27))
267
+ * update @plutocms/utils dependency to version 0.0.1-alpha.4 ([6b4dc36](https://github.com/plutocms/pluto/commit/6b4dc36da1b3ee66adb90c5d90e51b028eea75e6))
268
+ * update changelog generation logic in release workflow ([b76901e](https://github.com/plutocms/pluto/commit/b76901e5d88ab6cf244165eed3b0387ba2ebc3e5))
269
+ * update close button style in ModalHeader ([6bc5afc](https://github.com/plutocms/pluto/commit/6bc5afc39353e5a71853132cc951bc6fb8852447))
270
+ * update environment variable for GitHub token in publish workflow ([f3a27b5](https://github.com/plutocms/pluto/commit/f3a27b512eafeb532a64558c543d1e9575108a77))
271
+ * update environment variable for GitHub token in release workflow ([e15eadf](https://github.com/plutocms/pluto/commit/e15eadf61ec1e57bbc15aef9e60e4569da6e1dee))
272
+ * update main entry in package.json and adjust dependencies versions ([a4186b9](https://github.com/plutocms/pluto/commit/a4186b93dfb7948db1ac345131a08eb23ce9076e))
273
+ * update Node.js version to 24 in release workflow ([e25eaa6](https://github.com/plutocms/pluto/commit/e25eaa66282c5ab216db680731a67e4107d21c69))
274
+ * update npm publishing configuration for OIDC trusted publishing ([72eb117](https://github.com/plutocms/pluto/commit/72eb11754e27b567312738f0c89ae1300ec6d58a))
275
+ * update nuxt.config.ts to correct module extends configuration ([277e486](https://github.com/plutocms/pluto/commit/277e486847f74bdd535e4cee561e974a25e99244))
276
+ * update README for clarity and consistency in installation instructions ([df85f07](https://github.com/plutocms/pluto/commit/df85f07c5b3e00dc642723de83102b318a2590fd))
277
+ * update release workflow to correctly set up Node.js and npm publishing ([eba0a6a](https://github.com/plutocms/pluto/commit/eba0a6a8b85ba859d5bdeb672a8a9211a2be4993))
278
+ * update roadmap link in README ([dbbc627](https://github.com/plutocms/pluto/commit/dbbc627d0cc0a8dc2fdddf0ae89b2178a77bb91e))
279
+ * update sidebar menu type to avoid cross-app type mismatch ([cb9c817](https://github.com/plutocms/pluto/commit/cb9c817c903105eef732703d4eee6e2f70d777d9))
280
+ * update tailwind.css path in nuxt.config.ts ([075853e](https://github.com/plutocms/pluto/commit/075853ed90511231cb6f78e11a2d9c1e05c7f775))
281
+ * updated `useAuth` usage ([6baff71](https://github.com/plutocms/pluto/commit/6baff71846ba64d1bbbc26bc8c87cbf345715824))
282
+ * **UploadMedia:** responsive media grid ([cc6a3bc](https://github.com/plutocms/pluto/commit/cc6a3bc7068e3ac0fb93107715499ab589736505))
283
+ * **UploadMedia:** set width to 1200px ([4e1d448](https://github.com/plutocms/pluto/commit/4e1d448bb70d4f698a7d5dde84044bc876f57675))
284
+ * use `isLoggedIn` instead of `user` ([74f89c4](https://github.com/plutocms/pluto/commit/74f89c4a87b2e1976e90822f813694a4e1df7155))
285
+ * use correct column name for `product_style` ([17a1c9d](https://github.com/plutocms/pluto/commit/17a1c9d62983e1978e559bfd5a5768d621affa67))
286
+ * use correct utility path ([524308f](https://github.com/plutocms/pluto/commit/524308f8ab27ac4f44a415e9b228976e5d703fd6))
287
+ * use local URL when in dev mode ([06ce9f0](https://github.com/plutocms/pluto/commit/06ce9f0bb1b49ac12dce6b1a481f595e8f340637))
288
+ * use product `id` instead of `slug` for paths ([0a25afa](https://github.com/plutocms/pluto/commit/0a25afaf06d006af9e5fa580bec8ba105d18f6eb))
289
+ * use relative path as components dir path ([0005f97](https://github.com/plutocms/pluto/commit/0005f970ec700ddaa9b975d7dcbfa14bfa6b8e0c))
290
+ * use return function as titleTemplate ([e3864b2](https://github.com/plutocms/pluto/commit/e3864b23ce71d983df0a49464bc8eb6d8cfcb2c1))
291
+ * **useProduct:** return the list of products ([5f24617](https://github.com/plutocms/pluto/commit/5f24617920b89b41553438e0690779420134e287))
292
+ * Visit button style ([c09d4ae](https://github.com/plutocms/pluto/commit/c09d4ae361af753f7cd6c459508faeb59a017271))
293
+
294
+
295
+ ### Miscellaneous Chores
296
+
297
+ * **ci:** migrate to release-please for automated releases ([2855be1](https://github.com/plutocms/pluto/commit/2855be196e27e7e86300322e78fcd63fa4b8d066))
15
298
 
16
299
  ## v0.0.8
17
300
 
@@ -471,4 +754,3 @@
471
754
  ### ❤️ Contributors
472
755
 
473
756
  - Victor Ribeiro <devjvribeiro@gmail.com>
474
-
@@ -1,13 +1,20 @@
1
1
  <script setup lang="ts">
2
+ import type { NavigationMenuItem } from '@nuxt/ui'
3
+
4
+ // `to` is typed per-app via Nuxt's typed pages, so it differs across every
5
+ // app that extends this layout as a layer. This menu only ever uses `href`,
6
+ // so drop `to` here to avoid a cross-app type mismatch on that field.
7
+ type SidebarMenuItem = Omit<NavigationMenuItem, 'to'>
8
+
2
9
  const { actions: sidebarActions } = useSidebarAdminActions()
3
10
 
4
- const menu = ref([
11
+ const menu = shallowRef<SidebarMenuItem[]>([
5
12
  {
6
13
  label: 'Home',
7
14
  href: '/admin/home',
8
15
  icon: 'lucide:house',
9
16
  },
10
- ...sidebarActions.value,
17
+ ...(sidebarActions.value as unknown as SidebarMenuItem[]),
11
18
  {
12
19
  label: 'Settings',
13
20
  href: '/admin/settings',
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',
@@ -64,7 +68,6 @@ export default defineNuxtConfig({
64
68
  compatibilityDate: '2025-08-15',
65
69
 
66
70
  vite: {
67
- // @ts-expect-error - Vite plugin types are not compatible with Nuxt's Vite configuration
68
71
  plugins: [tailwindcss()],
69
72
  },
70
73
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plutocms/pluto",
3
3
  "type": "module",
4
- "version": "0.0.9",
4
+ "version": "0.2.0",
5
5
  "description": "The layerable CMS",
6
6
  "author": "Victor Ribeiro",
7
7
  "license": "MIT",
@@ -41,27 +41,34 @@
41
41
  "vue-demi"
42
42
  ],
43
43
  "dependencies": {
44
- "@plutocms/utils": "^0.0.1-alpha.5",
45
- "@vueuse/nuxt": "^14.2.1"
44
+ "@plutocms/utils": "^0.1.0",
45
+ "@vueuse/nuxt": "^14.3.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@antfu/eslint-config": "^7.4.3",
49
- "@iconify-json/lucide": "^1.2.71",
50
- "@iconify-json/simple-icons": "^1.2.55",
51
- "@nuxt/eslint": "^1.15.1",
52
- "@nuxt/ui": "^4.5.1",
48
+ "@antfu/eslint-config": "^9.1.0",
49
+ "@iconify-json/lucide": "^1.2.116",
50
+ "@iconify-json/simple-icons": "^1.2.89",
51
+ "@nuxt/eslint": "^1.16.0",
52
+ "@nuxt/ui": "^4.9.0",
53
53
  "@tailwindcss/vite": "^4.2.1",
54
- "@types/bun": "^1.3.9",
55
- "eslint": "^10.0.2",
56
- "mysql2": "^3.18.2",
54
+ "@types/bun": "^1.3.14",
55
+ "eslint": "^10.6.0",
56
+ "mysql2": "^3.22.6",
57
57
  "nuxt": "^4.3.1",
58
- "prettier": "^3.8.1",
59
- "prettier-plugin-tailwindcss": "^0.7.2",
60
- "reka-ui": "^2.8.2",
61
- "tailwind-merge": "^3.5.0",
62
- "tailwindcss": "^4.2.1",
63
- "typescript": "^5.9.3",
64
- "vue": "^3.5.29",
65
- "vue-router": "^5.0.3"
58
+ "prettier": "^3.9.4",
59
+ "prettier-plugin-tailwindcss": "^0.8.0",
60
+ "reka-ui": "^2.10.1",
61
+ "tailwind-merge": "^3.6.0",
62
+ "tailwindcss": "^4.3.2",
63
+ "typescript": "6.0.3",
64
+ "vue": "^3.5.39",
65
+ "vue-router": "^5.1.0",
66
+ "vue-tsc": "^3.3.7"
67
+ },
68
+ "overrides": {
69
+ "eslint-flat-config-utils": "^3.2.0"
70
+ },
71
+ "publishConfig": {
72
+ "access": "public"
66
73
  }
67
74
  }
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,11 +0,0 @@
1
- # To get started with Dependabot version updates, you'll need to specify which
2
- # package ecosystems to update and where the package manifests are located.
3
- # Please see the documentation for all configuration options:
4
- # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5
-
6
- version: 2
7
- updates:
8
- - package-ecosystem: bun # See documentation for possible values
9
- directory: / # Location of package manifests
10
- schedule:
11
- interval: weekly
@@ -1,74 +0,0 @@
1
- name: Release
2
-
3
- on:
4
- workflow_dispatch:
5
- inputs:
6
- bump:
7
- description: Version bump type (auto-detected from conventional commits if not set)
8
- required: false
9
- default: ''
10
- type: choice
11
- options:
12
- - ''
13
- - patch
14
- - minor
15
- - major
16
-
17
- # Prevent concurrent releases
18
- concurrency:
19
- group: release
20
- cancel-in-progress: false
21
-
22
- jobs:
23
- release:
24
- name: Release
25
- runs-on: ubuntu-latest
26
- permissions:
27
- contents: write # push commits, create tags & GitHub releases
28
- id-token: write # npm provenance attestation
29
-
30
- steps:
31
- - name: Checkout
32
- uses: actions/checkout@v4
33
- with:
34
- fetch-depth: 0 # full history required by changelogen to read all commits
35
-
36
- - name: Setup Bun
37
- uses: oven-sh/setup-bun@v1
38
- with:
39
- bun-version: latest
40
-
41
- - name: Setup Node.js
42
- uses: actions/setup-node@v4
43
- with:
44
- node-version: 24
45
-
46
- - name: Configure git
47
- run: |
48
- git config user.name "github-actions[bot]"
49
- git config user.email "github-actions[bot]@users.noreply.github.com"
50
-
51
- - name: Install dependencies
52
- run: bun install --frozen-lockfile
53
-
54
- - name: Lint
55
- run: bun run lint || true
56
-
57
- - name: Test
58
- run: bun test || true
59
-
60
- # changelogen reads conventional commits, bumps package.json, writes CHANGELOG.md,
61
- # commits, tags, pushes, and creates the GitHub release — all in one step.
62
- - name: Bump version, generate changelog & create release
63
- run: |
64
- BUMP="${{ inputs.bump }}"
65
- if [ -n "$BUMP" ]; then
66
- npx changelogen@latest --$BUMP --push --release
67
- else
68
- npx changelogen@latest --bump --push --release
69
- fi
70
- env:
71
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72
-
73
- - name: Publish to npm
74
- run: npm publish --provenance --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,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
- }