Skip to content

Commit 59fab76

Browse files
authored
Merge pull request #75 from prabhuignoto/new_1792023
chore: upgrade packages
2 parents edd46ca + fd89b20 commit 59fab76

File tree

5 files changed

+1517
-3135
lines changed

5 files changed

+1517
-3135
lines changed

.github/workflows/build-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
name: Install pnpm
2424
id: pnpm-install
2525
with:
26-
version: 7
26+
version: 8
2727
run_install: false
2828

2929
- name: Get pnpm store directory

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
yarn lint:all
4+
pnpm lint:all

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
- [Fixed Menu](#fixed-menu)
5959
- [🎨 Custom icon](#-custom-icon)
6060
- [🌈 Theme](#-theme)
61+
6162
- [📦 Build Setup](#-build-setup)
6263
- [🔨 Contributing](#-contributing)
6364
- [Built with](#built-with)
@@ -67,7 +68,7 @@
6768
## ⚡ Installation
6869

6970
```sh
70-
yarn install vue-float-menu
71+
pnpm install vue-float-menu
7172
```
7273

7374
## 🚀 Getting Started
@@ -132,17 +133,17 @@ export default {
132133
133134
## Props
134135
135-
| Prop | Type | Description |
136-
| ---------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------- |
137-
| dimension | number | dimension of the Menu Head `width x height` in pixels. |
138-
| position | String | initial position of the Menu Head. can be any one of the values `top left`, `top right`, `bottom left`, `bottom right` |
139-
| fixed | Boolean | disables dragging and the menu will be fixed. use the `position` prop to fix the menu position |
140-
| menu-dimension | Object | sets the `width` and `minimum` height of the Menu. |
141-
| menu-data | Object | data to generate the menu. refer to [populating the menu](#populating-the-menu) for usage details. |
142-
| on-selected | Function | hook that is called on selection. |
143-
| menu-style | String | can be `slide-out` or `accordion`.`slide-out` is the default menu style. |
144-
| flip-on-edges | Boolean | flips the menu content on the right edges of the screen. |
145-
| theme | Object | prop to customize the color schemes. refer [theme](#theme) for usage. |
136+
| Prop | Type | Description |
137+
| -------------- | -------- | ---------------------------------------------------------------------------------------------------------------------- |
138+
| dimension | number | dimension of the Menu Head `width x height` in pixels. |
139+
| position | String | initial position of the Menu Head. can be any one of the values `top left`, `top right`, `bottom left`, `bottom right` |
140+
| fixed | Boolean | disables dragging and the menu will be fixed. use the `position` prop to fix the menu position |
141+
| menu-dimension | Object | sets the `width` and `minimum` height of the Menu. |
142+
| menu-data | Object | data to generate the menu. refer to [populating the menu](#populating-the-menu) for usage details. |
143+
| on-selected | Function | hook that is called on selection. |
144+
| menu-style | String | can be `slide-out` or `accordion`.`slide-out` is the default menu style. |
145+
| flip-on-edges | Boolean | flips the menu content on the right edges of the screen. |
146+
| theme | Object | prop to customize the color schemes. refer [theme](#theme) for usage. |
146147
147148
### Position
148149
@@ -213,12 +214,12 @@ Use the `menu-data` prop to create simple or nested menus of your liking. `menu-
213214
214215
`MenuItem` properties
215216
216-
| property | description |
217-
| ----------- | --------------------------------------------------------------------- |
218-
| name | display name of the menu item. |
219-
| subMenu | data for the sub-menu |
220-
| disabled | disables the menu item |
221-
| divider | makes the item as a divider |
217+
| property | description |
218+
| -------- | ------------------------------ |
219+
| name | display name of the menu item. |
220+
| subMenu | data for the sub-menu |
221+
| disabled | disables the menu item |
222+
| divider | makes the item as a divider |
222223
223224
Here we create a simple Menu structure with 3 Menu items with no sub menus.
224225
@@ -393,7 +394,6 @@ export default defineComponent({
393394
});
394395
```
395396
396-
397397
### 🌈 Theme
398398
399399
Customize the color schemes with the `theme` prop.
@@ -414,18 +414,18 @@ Customize the color schemes with the `theme` prop.
414414
415415
## 📦 Build Setup
416416
417-
``` bash
417+
```bash
418418
# install dependencies
419-
yarn install
419+
pnpm install
420420
421421
# start dev
422-
yarn run dev
422+
pnpm run dev
423423
424424
# run css linting
425-
yarn run lint:css
425+
pnpm run lint:css
426426
427427
# lint everything
428-
yarn run lint:all
428+
pnpm run lint:all
429429
430430
# package lib
431431
npm run rollup

package.json

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"rollup": "rimraf ./dist && rollup -c",
2525
"lint": "eslint src/**/*.vue",
2626
"lint:css": "stylelint src/**/*.scss --custom-syntax postcss-scss",
27-
"lint:all": "yarn lint && yarn lint:css",
27+
"lint:all": "pnpm lint && pnpm lint:css",
2828
"prepare": "husky install",
2929
"format": "prettier --write \"src/**/*.vue\" \"src/**/*.scss\"",
3030
"clean": "pnpm format && pnpm lint:all"
@@ -50,34 +50,35 @@
5050
"devDependencies": {
5151
"@rollup/plugin-beep": "^1.0.2",
5252
"@rollup/plugin-buble": "^1.0.2",
53-
"@rollup/plugin-commonjs": "^24.1.0",
54-
"@rollup/plugin-node-resolve": "^15.0.2",
53+
"@rollup/plugin-commonjs": "^25.0.3",
54+
"@rollup/plugin-node-resolve": "^15.1.0",
5555
"@rollup/plugin-sucrase": "^5.0.1",
56-
"@rollup/plugin-terser": "^0.4.1",
57-
"@rollup/plugin-typescript": "^11.1.0",
58-
"@typescript-eslint/eslint-plugin": "^5.59.2",
59-
"@typescript-eslint/parser": "^5.59.2",
60-
"@vitejs/plugin-vue": "^4.2.1",
61-
"@vue/compiler-sfc": "^3.2.47",
62-
"eslint": "^8.39.0",
63-
"eslint-plugin-vue": "^9.11.0",
56+
"@rollup/plugin-terser": "^0.4.3",
57+
"@rollup/plugin-typescript": "^11.1.2",
58+
"@typescript-eslint/eslint-plugin": "^6.1.0",
59+
"@typescript-eslint/parser": "^6.1.0",
60+
"@vitejs/plugin-vue": "^4.2.3",
61+
"@vue/compiler-sfc": "^3.3.4",
62+
"eslint": "^8.45.0",
63+
"eslint-plugin-vue": "^9.15.1",
6464
"husky": "^8.0.3",
65-
"lint-staged": "^13.2.2",
66-
"postcss": "^8.4.23",
65+
"lint-staged": "^13.2.3",
66+
"postcss": "^8.4.26",
6767
"postcss-html": "^1.5.0",
6868
"postcss-scss": "^4.0.6",
69-
"rollup": "^3.21.3",
69+
"prettier": "^3.0.0",
70+
"rollup": "^3.26.3",
7071
"rollup-plugin-postcss": "^4.0.2",
7172
"rollup-plugin-scss": "^4.0.0",
7273
"rollup-plugin-vue": "^6.0.0",
73-
"sass": "^1.62.1",
74-
"stylelint": "^15.6.1",
74+
"sass": "^1.63.6",
75+
"stylelint": "^15.10.2",
7576
"stylelint-config-prettier": "^9.0.5",
76-
"stylelint-config-standard": "^33.0.0",
77-
"tslib": "^2.5.0",
78-
"typescript": "^5.0.4",
79-
"vite": "^4.3.4",
80-
"vue": "^3.2.47",
77+
"stylelint-config-standard": "^34.0.0",
78+
"tslib": "^2.6.0",
79+
"typescript": "^5.1.6",
80+
"vite": "^4.4.4",
81+
"vue": "^3.3.4",
8182
"vue-float-menu": "^1.9.1"
8283
},
8384
"peerDependencies": {

0 commit comments

Comments
 (0)