Skip to content

Commit f88430e

Browse files
committed
chore: housekeeping
1 parent 7507122 commit f88430e

File tree

5 files changed

+2251
-2725
lines changed

5 files changed

+2251
-2725
lines changed

.github/workflows/docs.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Deploy docs to Pages
44
on:
55
# Runs on pushes targeting the default branch
66
push:
7-
branches: ["main"]
7+
branches: [main]
88

99
# Allows you to run this workflow manually from the Actions tab
1010
workflow_dispatch:
@@ -18,7 +18,7 @@ permissions:
1818
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1919
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2020
concurrency:
21-
group: "pages"
21+
group: pages
2222
cancel-in-progress: false
2323

2424
jobs:
@@ -31,27 +31,27 @@ jobs:
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@v4
34-
34+
3535
- uses: actions/setup-node@v4
3636
with:
3737
node-version: 20
38-
38+
3939
- uses: pnpm/action-setup@v3
4040
with:
4141
version: 8
4242
run_install: true
43-
43+
4444
- run: pnpm run build:docs
45-
45+
4646
- name: Setup Pages
4747
uses: actions/configure-pages@v5
48-
48+
4949
- name: Upload artifact
5050
uses: actions/upload-pages-artifact@v3
5151
with:
5252
# Upload entire repository
53-
path: './dist-docs/'
54-
53+
path: ./dist-docs/
54+
5555
- name: Deploy to GitHub Pages
5656
id: deployment
5757
uses: actions/deploy-pages@v4

docs/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,5 +195,5 @@ onMounted(async () => {
195195
</template>
196196

197197
<style lang="scss">
198-
@import '@/assets/highlight.scss';
198+
@use '@/assets/highlight.scss';
199199
</style>

package.json

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vue-modern-cropper",
33
"type": "module",
44
"version": "0.2.12",
5-
"packageManager": "pnpm@9.8.0",
5+
"packageManager": "pnpm@10.5.2",
66
"description": "Power-packed wrapper over cropperjs@next",
77
"author": "NamesMT <dangquoctrung123@gmail.com>",
88
"homepage": "https://github.com/NamesMT/vue-modern-cropper",
@@ -39,41 +39,45 @@
3939
"prerelease": "pnpm run build:lib"
4040
},
4141
"peerDependencies": {
42-
"cropperjs": "2.0.0-rc.1"
42+
"cropperjs": "^2.0.0"
4343
},
4444
"peerDependenciesMeta": {
4545
"cropperjs": {
4646
"optional": false
4747
}
4848
},
4949
"devDependencies": {
50-
"@antfu/eslint-config": "^2.27.1",
51-
"@iconify-json/tabler": "^1.1.120",
50+
"@antfu/eslint-config": "^4.3.0",
51+
"@iconify-json/tabler": "^1.2.16",
5252
"@types/clean-css": "^4.2.11",
53-
"@types/node": "^20.16.1",
54-
"@unocss/eslint-plugin": "^0.62.2",
55-
"@unocss/reset": "^0.62.2",
56-
"@vitejs/plugin-vue": "^5.1.2",
57-
"@vue/tsconfig": "^0.5.1",
58-
"@vueuse/core": "^11.0.1",
53+
"@types/node": "^20.17.22",
54+
"@unocss/eslint-plugin": "^66.0.0",
55+
"@unocss/reset": "^66.0.0",
56+
"@vitejs/plugin-vue": "^5.2.1",
57+
"@vue/tsconfig": "^0.7.0",
58+
"@vueuse/core": "^12.7.0",
5959
"clean-css": "^5.3.3",
60-
"eslint": "^9.9.1",
61-
"highlight.js": "^11.10.0",
62-
"sass": "^1.77.8",
63-
"type-fest": "^4.25.0",
64-
"typescript": "^5.5.4",
65-
"unocss": "^0.62.2",
66-
"unplugin-icons": "^0.19.2",
67-
"unplugin-vue-components": "^0.27.4",
68-
"vite": "^5.4.2",
69-
"vue": "^3.4.38",
70-
"vue-tsc": "^2.0.29"
60+
"eslint": "^9.21.0",
61+
"highlight.js": "^11.11.1",
62+
"sass": "^1.85.1",
63+
"type-fest": "^4.36.0",
64+
"typescript": "^5.8.2",
65+
"unocss": "^66.0.0",
66+
"unplugin-icons": "^22.1.0",
67+
"unplugin-vue-components": "^28.4.1",
68+
"vite": "^6.2.0",
69+
"vue": "^3.5.13",
70+
"vue-tsc": "^2.2.8"
7171
},
7272
"pnpm": {
7373
"overrides": {
74-
"hasown": "npm:@nolyfill/hasown@^1",
75-
"is-core-module": "npm:@nolyfill/is-core-module@^1",
76-
"isarray": "npm:@nolyfill/isarray@^1"
77-
}
74+
"hasown": "npm:@nolyfill/hasown@^1.0.29",
75+
"is-core-module": "npm:@nolyfill/is-core-module@^1.0.39",
76+
"isarray": "npm:@nolyfill/isarray@^1.0.29"
77+
},
78+
"onlyBuiltDependencies": [
79+
"@parcel/watcher",
80+
"esbuild"
81+
]
7882
}
7983
}

0 commit comments

Comments
 (0)