Skip to content

Commit 5a5d7e9

Browse files
committed
feat: bump packages and publish to npm
1 parent 8fc4b13 commit 5a5d7e9

File tree

8 files changed

+2579
-6124
lines changed

8 files changed

+2579
-6124
lines changed

.github/workflows/preview.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- next
99
jobs:
1010
Deploy-Preview:
11+
needs: release-next
1112
runs-on: ubuntu-latest
1213
steps:
1314
- name: Checkout
@@ -21,8 +22,6 @@ jobs:
2122
with:
2223
node-version: 20
2324
cache: pnpm
24-
registry-url: 'https://npm.pkg.github.com'
25-
scope: '@thecodeorigin'
2625

2726
- name: Install dependencies
2827
run: pnpm install

.github/workflows/release-next.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Release to GitHub Packages
2+
3+
on:
4+
push:
5+
branches:
6+
- next
7+
8+
env:
9+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
10+
11+
jobs:
12+
release:
13+
permissions:
14+
contents: write
15+
packages: write
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Setup Corepack
23+
shell: bash
24+
run: corepack enable
25+
26+
- uses: actions/setup-node@v4
27+
with:
28+
node-version: 20
29+
cache: pnpm
30+
31+
- name: Install dependencies
32+
run: pnpm install
33+
34+
- name: Publish to GitHub Packages
35+
run: pnpm -r publish --publish-branch next --access public --tag next

.npmrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@thecodeorigin:registry=https://npm.pkg.github.com/
21
auto-install-peers=true
32
shamefully-hoist=true
43
package-manager-strict=false

.stylelintrc.json

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,6 @@
77
"plugins": [
88
"@stylistic/stylelint-plugin"
99
],
10-
"overrides": [
11-
{
12-
"files": [
13-
"**/*.scss"
14-
],
15-
"customSyntax": "postcss-scss"
16-
},
17-
{
18-
"files": [
19-
"**/*.vue"
20-
],
21-
"customSyntax": "postcss-html"
22-
}
23-
],
2410
"rules": {
2511
"@stylistic/max-line-length": [
2612
220,

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors-)
44
<!-- ALL-CONTRIBUTORS-BADGE:END -->
55

6+
> Please purchase Nuxt UI Pro before deploying this template to production. You can purchase it [here](https://ui.nuxt.com/pro/pricing)
7+
68
Nuxt 3 template is a opinionated template for Nuxt 3 project. It includes the following features:
79

8-
- [UnoCSS](https://unocss.com) for utility-first CSS
9-
- [Vuetify](https://vuetifyjs.com) for component library
10+
- [Tailwindcss](https://tailwindcss.com/) for utility-first CSS
11+
- [Nuxt UI](https://ui.nuxt.com/) for component library
1012
- [Nuxt i18n](https://i18n.nuxtjs.org) for internationalization
11-
- [Nuxt Auth](https://auth.sidebase.io) for authentication
13+
- [LogTo](https://logto.io/) for user management and authentication
1214
- [Drizzle ORM](https://orm.drizzle.team) for Database communication
1315
- [CASL](https://casl.js.org) for Access Control
1416
- [Firebase Notification](https://firebase.google.com) for push notification

docker-compose.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
version: '3.7'
22

33
services:
4+
# logto:
5+
# depends_on:
6+
# postgres:
7+
# condition: service_healthy
8+
# image: svhd/logto:${TAG-latest}
9+
# entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"]
10+
# ports:
11+
# - 3001:3001
12+
# - 3002:3002
13+
# environment:
14+
# - TRUST_PROXY_HEADER=1
15+
# - DB_URL=postgres://postgres:${POSTGRES_PASSWORD:-postgres}@${POSTGRES_USER:-postgres}:${POSTGRES_PORT:-5432}/logto
16+
# # Mandatory for GitPod to map host env to the container, thus GitPod can dynamically configure the public URL of Logto;
17+
# # Or, you can leverage it for local testing.
18+
# - ENDPOINT
19+
# - ADMIN_ENDPOINT
420
postgres:
521
container_name: nuxt-pg
622
image: postgres:latest
@@ -16,21 +32,6 @@ services:
1632
- '${POSTGRES_PORT}:5432'
1733
restart: unless-stopped
1834

19-
pgadmin:
20-
container_name: nuxt-pgadmin
21-
image: dpage/pgadmin4
22-
depends_on:
23-
- postgres
24-
volumes:
25-
- ./docker/pgadmin:/var/lib/pgadmin
26-
environment:
27-
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:-admin@gmail.com}
28-
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin}
29-
PGADMIN_CONFIG_SERVER_MODE: 'False'
30-
ports:
31-
- '${PGADMIN_PORT:-5050}:80'
32-
restart: unless-stopped
33-
3435
mailhog:
3536
container_name: nuxt-mailhog
3637
image: mailhog/mailhog
@@ -42,5 +43,3 @@ services:
4243
volumes:
4344
postgres:
4445
driver: local
45-
pgadmin:
46-
driver: local

package.json

Lines changed: 36 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"type": "module",
44
"version": "2.0.0-beta.1",
55
"publishConfig": {
6-
"registry": "https://npm.pkg.github.com/",
7-
"access": "restricted"
6+
"registry": "https://registry.npmjs.org",
7+
"access": "public"
88
},
99
"packageManager": "pnpm@9.12.1",
1010
"author": "thecodeorigin <contact@thecodeorigin.com>",
@@ -46,38 +46,21 @@
4646
"gettext:compile": "vue-gettext-compile"
4747
},
4848
"dependencies": {
49-
"@antfu/utils": "0.7.7",
50-
"@aws-sdk/client-s3": "^3.637.0",
51-
"@aws-sdk/s3-request-presigner": "^3.637.0",
52-
"@casl/ability": "6.7.1",
49+
"@antfu/utils": "^0.7.10",
50+
"@aws-sdk/client-s3": "^3.717.0",
51+
"@aws-sdk/s3-request-presigner": "^3.717.0",
52+
"@casl/ability": "6.7.2",
5353
"@casl/vue": "2.2.2",
54-
"@firebase/app-types": "^0.9.2",
55-
"@floating-ui/dom": "1.6.3",
56-
"@formkit/drag-and-drop": "0.0.38",
57-
"@fullcalendar/core": "6.1.11",
58-
"@fullcalendar/daygrid": "6.1.11",
59-
"@fullcalendar/interaction": "6.1.11",
60-
"@fullcalendar/list": "6.1.11",
61-
"@fullcalendar/timegrid": "6.1.11",
62-
"@fullcalendar/vue3": "6.1.11",
63-
"@iconify-json/bxl": "1.1.10",
64-
"@iconify-json/heroicons": "^1.2.1",
65-
"@iconify-json/mdi": "1.1.66",
66-
"@iconify-json/ri": "1.1.20",
67-
"@iconify-json/simple-icons": "^1.2.9",
68-
"@iconify/tools": "4.0.4",
69-
"@iconify/utils": "2.1.23",
70-
"@iconify/vue": "4.1.1",
54+
"@firebase/app-types": "^0.9.3",
55+
"@iconify-json/heroicons": "^1.2.2",
56+
"@iconify-json/simple-icons": "^1.2.17",
7157
"@logto/nuxt": "^1.1.5",
72-
"@ngneat/falso": "^7.2.0",
7358
"@nuxt/content": "^2.13.4",
74-
"@nuxt/eslint": "^0.7.3",
75-
"@nuxt/fonts": "^0.9.2",
59+
"@nuxt/eslint": "^0.6.0",
60+
"@nuxt/fonts": "^0.10.0",
7661
"@nuxt/image": "^1.8.1",
77-
"@nuxt/kit": "^3.13.2",
78-
"@nuxt/schema": "^3.13.2",
79-
"@nuxt/ui-pro": "^1.4.4",
80-
"@nuxthq/studio": "^2.2.1",
62+
"@nuxt/ui-pro": "^1.6.0",
63+
"@nuxthq/studio": "^2.1.1",
8164
"@nuxtjs/device": "^3.2.4",
8265
"@nuxtjs/i18n": "^8.5.5",
8366
"@nuxtjs/robots": "^5.0.1",
@@ -87,21 +70,6 @@
8770
"@pinia/nuxt": "^0.5.1",
8871
"@sentry/nuxt": "^8.36.0",
8972
"@sindresorhus/is": "6.3.0",
90-
"@stylistic/stylelint-config": "1.0.1",
91-
"@stylistic/stylelint-plugin": "2.1.1",
92-
"@thecodeorigin/eslint-config": "workspace:*",
93-
"@tiptap/extension-character-count": "2.3.0",
94-
"@tiptap/extension-highlight": "2.3.0",
95-
"@tiptap/extension-image": "2.3.0",
96-
"@tiptap/extension-link": "2.3.0",
97-
"@tiptap/extension-placeholder": "2.3.0",
98-
"@tiptap/extension-subscript": "2.3.0",
99-
"@tiptap/extension-superscript": "2.3.0",
100-
"@tiptap/extension-text-align": "2.3.0",
101-
"@tiptap/extension-underline": "2.3.0",
102-
"@tiptap/pm": "2.3.0",
103-
"@tiptap/starter-kit": "2.3.0",
104-
"@tiptap/vue-3": "2.3.0",
10573
"@types/bcrypt": "^5.0.2",
10674
"@types/lodash-es": "^4.17.12",
10775
"@types/mapbox-gl": "3.1.0",
@@ -110,87 +78,44 @@
11078
"@types/pdfmake": "^0.2.9",
11179
"@types/uuid": "^8.3.3",
11280
"@types/webfontloader": "1.6.38",
113-
"@typescript-eslint/eslint-plugin": "7.7.1",
114-
"@typescript-eslint/parser": "7.7.1",
115-
"@unovis/ts": "^1.4.4",
116-
"@unovis/vue": "^1.4.4",
117-
"@videojs-player/vue": "1.0.0",
118-
"@vueuse/core": "10.9.0",
119-
"@vueuse/math": "10.9.0",
120-
"@vueuse/nuxt": "^10.11.0",
121-
"apexcharts": "3.49.0",
81+
"@vueuse/core": "^11.1.0",
82+
"@vueuse/math": "^11.1.0",
83+
"@vueuse/nuxt": "^11.1.0",
12284
"bcrypt": "^5.1.1",
123-
"chart.js": "4.4.2",
12485
"cookie-es": "1.1.0",
12586
"date-fns": "^4.1.0",
126-
"docx": "^8.5.0",
127-
"dotenv": "^16.4.5",
128-
"drizzle-kit": "^0.23.0",
129-
"drizzle-orm": "^0.32.0",
130-
"drizzle-zod": "^0.5.1",
131-
"eslint": "9.17.0",
132-
"execa": "^9.3.0",
133-
"firebase": "^10.12.4",
134-
"firebase-admin": "^12.2.0",
135-
"firebase-functions": "^5.0.1",
136-
"h3": "^1.13.0",
87+
"dotenv": "^16.4.7",
88+
"drizzle-kit": "^0.30.1",
89+
"drizzle-orm": "^0.38.3",
90+
"drizzle-zod": "^0.6.1",
91+
"eslint": "^9.17.0",
92+
"execa": "^9.5.2",
93+
"firebase": "^11.1.0",
94+
"firebase-admin": "^13.0.2",
95+
"firebase-functions": "^6.2.0",
13796
"lodash-es": "^4.17.21",
138-
"mapbox-gl": "3.2.0",
139-
"mongodb": "^6.9.0",
140-
"nodemailer": "^6.9.15",
97+
"mongodb": "^6.12.0",
98+
"nodemailer": "^6.9.16",
14199
"nuxt": "^3.13.2",
142100
"nuxt-gtag": "^3.0.2",
143101
"nuxt-link-checker": "^4.0.2",
144102
"nuxt-module-hotjar": "^1.3.2",
145103
"nuxt-nodemailer": "^1.1.2",
146-
"nuxt-og-image": "^4.0.1",
104+
"nuxt-og-image": "^3.0.6",
147105
"nuxt-schema-org": "^4.0.4",
148106
"nuxt-security": "^2.1.4",
149107
"nuxt-site-config": "^3.0.6",
150108
"nuxt-vuefire": "^1.0.3",
151-
"ofetch": "1.3.4",
152-
"parse-srt": "1.0.0-alpha",
153-
"pdfmake": "^0.2.12",
154-
"pinia": "2.1.7",
155-
"postcss-html": "1.6.0",
156-
"postcss-scss": "4.0.9",
157-
"postgres": "^3.4.3",
158-
"prismjs": "1.29.0",
159-
"puppeteer": "^23.4.1",
160-
"rimraf": "^6.0.1",
161-
"roboto-fontface": "0.10.0",
162-
"sass": "1.75.0",
163-
"shepherd.js": "11.2.0",
164-
"stripe": "^16.7.0",
165-
"stylelint": "16.2.1",
166-
"stylelint-config-idiomatic-order": "10.0.0",
167-
"stylelint-config-standard-scss": "13.0.0",
168-
"stylelint-use-logical-spec": "5.0.1",
169-
"swiper": "11.1.1",
170-
"ts-pattern": "^5.2.0",
171-
"tsx": "4.7.3",
172-
"type-fest": "4.17.0",
173-
"typescript": "5.4.5",
174-
"ufo": "1.5.3",
175-
"unbuild": "^2.0.0",
176-
"unplugin-vue-define-options": "1.4.3",
109+
"postgres": "^3.4.5",
110+
"stripe": "^17.5.0",
111+
"ts-pattern": "^5.6.0",
112+
"type-fest": "4.31.0",
177113
"v-calendar": "^3.1.2",
178-
"video.js": "8.6.0",
179-
"vite": "5.2.10",
180-
"vite-svg-loader": "5.1.0",
181-
"vitest": "^2.1.1",
182-
"vnpay": "^1.6.0",
183-
"vue": "^3.5.8",
184-
"vue-chartjs": "5.3.1",
185-
"vue-flatpickr-component": "11.0.5",
114+
"vnpay": "^1.6.1",
186115
"vue-i18n-extract": "^2.0.7",
187-
"vue-prism-component": "2.0.0",
188-
"vue-shepherd": "3.0.0",
189-
"vue-toastification": "2.0.0-rc.5",
190-
"vue3-apexcharts": "1.5.2",
191-
"vue3-perfect-scrollbar": "2.0.0",
192-
"vuefire": "^3.1.24",
193-
"zod": "^3.23.8"
116+
"vue-tsc": "^2.2.0",
117+
"vuefire": "^3.2.1",
118+
"zod": "^3.24.1"
194119
},
195120
"devDependencies": {
196121
"vercel": "^39.2.2"
@@ -199,12 +124,5 @@
199124
"patchedDependencies": {
200125
"@nuxt/ui-pro@1.6.0": "patches/@nuxt__ui-pro@1.6.0.patch"
201126
}
202-
},
203-
"resolutions": {
204-
"@tiptap/core": "^2",
205-
"@types/video.js": "^7",
206-
"h3": "^1.13.0",
207-
"postcss": "^8",
208-
"stylelint-order": "6.0.3"
209127
}
210128
}

0 commit comments

Comments
 (0)