Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync code from refs/heads/dev/1.11.0 to enterprise #2962

Draft
wants to merge 119 commits into
base: enterprise
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
6a826d2
chore(package): upgrade node version and use vite
Kinplemelon Sep 4, 2024
512c209
refactor(components etc): some dependency introduction paths
Kinplemelon Sep 4, 2024
12dcb66
refactor(global): env variable
Kinplemelon Sep 4, 2024
804261c
refactor(global): remove `require`
Kinplemelon Sep 4, 2024
4827d03
chore(package): use newer vite and support jsx
Kinplemelon Sep 5, 2024
b356c17
chore(package): use pnpm
Kinplemelon Sep 5, 2024
1be8750
fix(websocket): `global` & `Buffer`
Kinplemelon Sep 5, 2024
2e35788
fix(monaco): fix some errors in console
Kinplemelon Sep 6, 2024
7e593a2
chore(package): use pnpm to build
Kinplemelon Sep 6, 2024
c50931e
chore(package): use correct polyfill dep
Kinplemelon Sep 6, 2024
fa92f54
fix(style): solving some sass errors
Kinplemelon Sep 6, 2024
d11ad11
chore(package): git commit hook
Kinplemelon Sep 9, 2024
dfe8165
chore(package): upgrade eslint
Kinplemelon Sep 10, 2024
46e6df5
chore(hooks): hooks for pre commit
Kinplemelon Sep 10, 2024
6262262
chore(global): some env variables
Kinplemelon Sep 11, 2024
fdad682
doc(readme): update readme
Kinplemelon Sep 11, 2024
c93e998
test(script): update orval script
Kinplemelon Sep 11, 2024
7917632
chore(ci): update shell in ci
Kinplemelon Sep 11, 2024
327df0e
refactor(scripts): use esm
Kinplemelon Sep 11, 2024
bf3e7b0
chore(config): add schema folder to eslint and prettier ignore path
Kinplemelon Sep 11, 2024
6023295
refactor(index): position of favicon icon
Kinplemelon Sep 12, 2024
5fb1ca9
refactor(.d.ts): add reference
Kinplemelon Sep 12, 2024
6d6bfc2
chore(package): replace moment with dayjs
Kinplemelon Sep 12, 2024
e473f09
fix(global): fix some type issue
Kinplemelon Sep 12, 2024
156b813
chore(ci): upgrade action
Kinplemelon Sep 12, 2024
3267103
chore(pnpm): upgrade pnpm to 9.x
Kinplemelon Sep 12, 2024
e793fdf
test(ci): optimize the ci for check schema
Kinplemelon Sep 12, 2024
259fa4d
test(schemas): remove ignore item from prettier and eslint config
Kinplemelon Sep 19, 2024
9841b7d
fix(rule): path for get source icon
Kinplemelon Sep 19, 2024
1b2981a
chore(package): upgrade element-plus
Kinplemelon Sep 20, 2024
ba53d4d
fix(rule): some style issue
Kinplemelon Sep 20, 2024
d57d080
refactor(global): update label prop of `el-radio` to value prop
Kinplemelon Sep 20, 2024
5c67b0d
refactor(http): convert to ts
Kinplemelon Sep 23, 2024
b575009
style(message): style issue
Kinplemelon Sep 23, 2024
7039dd8
refactor(banned): replace moment with dayjs
Kinplemelon Sep 26, 2024
50cbe44
refactor(global): remove some unnecessary imports like `defineProps`
Kinplemelon Sep 26, 2024
8d9e14f
chore(package): upgrade @emqx/shared-ui-utils
Kinplemelon Oct 10, 2024
a825e5e
refactor(global): remove some useless component
Kinplemelon Oct 11, 2024
2fd31d9
refactor(gateway): convert script of `topicEditList` component from J…
Kinplemelon Oct 11, 2024
eb4bb4c
refactor(gateway): convert script of `stompBasic` component from JS t…
Kinplemelon Oct 11, 2024
88ac8ab
refactor(gateway): convert script of `coapBasic` component from JS to TS
Kinplemelon Oct 11, 2024
346d9da
refactor(gateway): convert script of `basic` component from JS to TS
Kinplemelon Oct 11, 2024
9b22cad
refactor(gateway): convert script of `GatewayCreate` page from JS to TS
Kinplemelon Oct 11, 2024
01dff2f
refactor(gateway): title on the create gateway page
Kinplemelon Oct 11, 2024
9ab5643
refactor(gateway): convert script of `exprotoBasic` component from JS…
Kinplemelon Oct 11, 2024
9791d92
refactor(gateway): convert script of `auth` component from JS to TS
Kinplemelon Oct 11, 2024
df3b117
refactor(gateway): declares some specific types
Kinplemelon Oct 12, 2024
181c9f1
refactor(component): convert script of `CodeView` component from JS t…
Kinplemelon Oct 12, 2024
d4b92e3
refactor(authn): convert script of `AuthnDetails` component from JS t…
Kinplemelon Oct 15, 2024
f4e9b8d
refactor(authz): convert script of `AuthzCreate` page from JS to TS
Kinplemelon Oct 15, 2024
6dea7f2
refactor(authz): convert script of `AuthzDetail` page from JS to TS
Kinplemelon Oct 15, 2024
be07f0e
refactor(websocket): convert script of `WebsocketItem` component from…
Kinplemelon Oct 15, 2024
6de1bf8
refactor(components): refactor(authz): convert script of `Monaco` pag…
Kinplemelon Oct 15, 2024
279b9fd
refactor(i18n): convert file format from JS to TS
Kinplemelon Oct 16, 2024
5a967a1
refactor(code view): convert custom language file from JS to TS
Kinplemelon Oct 17, 2024
99198ff
fix(rule): highlighting of rule sql
Kinplemelon Nov 5, 2024
bad7e9f
style(global): adapt element-plus changed
Kinplemelon Nov 8, 2024
5c20f29
style(element): adapt element plus changed
Kinplemelon Nov 11, 2024
2b87265
refactor(i18n): remove zone level
Kinplemelon Nov 12, 2024
7d79595
refactor(i18n): remove some meaningless prefix
Kinplemelon Nov 12, 2024
71beae4
refactor(i18n): remove some useless i18n
Kinplemelon Nov 12, 2024
7fdf0c0
refactor(i18n): remove useless i18n in sysmon and remove key prefix
Kinplemelon Nov 12, 2024
9f9c079
refactor(i18n): changed the logic for getting the text key
Kinplemelon Nov 12, 2024
c982a28
refactor(i18n): unify functions to get text key for each type; remove…
Kinplemelon Nov 12, 2024
2a89897
refactor(i18n): remove useless i18n (WIP)
Kinplemelon Nov 13, 2024
00265ab
refactor(i18n): remove useless i18n text
Kinplemelon Nov 13, 2024
729c8a9
fix(listener): repeated configs in custom configs
Kinplemelon Nov 18, 2024
e343abe
refactor(i18n): convert json file to ts file
Kinplemelon Nov 18, 2024
42f66c0
fix(gateway): desc for `connection_required` in CoAP
Kinplemelon Nov 21, 2024
352141e
test(schemas): update schemas
Kinplemelon Nov 21, 2024
47de3e2
fix(mqtt): adapt new field `clientid_override`
Kinplemelon Nov 21, 2024
eca7455
fix(gateway): label for client `connectedAt`
Kinplemelon Dec 1, 2024
722d57b
refactor(monitoring integration): remove files which should be remove…
Kinplemelon Dec 2, 2024
c97ac69
test(schemas): update schemas
Kinplemelon Dec 2, 2024
46b8bab
fix(mqtt): desc for `clientid_override`
Kinplemelon Dec 2, 2024
c692359
fix(mqtt & listener): update desc from emqx
Kinplemelon Dec 2, 2024
db002b8
ci: use GitHub App to create PRs in emqx/emqx
id Dec 3, 2024
8e714ad
fix(listener): desc for mountpoint
Kinplemelon Dec 3, 2024
3ca8954
fix(component): not allow input negative number for InputWithUnit
Kinplemelon Dec 5, 2024
384e675
fix(rule): repeated error message
Kinplemelon Dec 5, 2024
95a9016
fix(rule): support jump to action detail page
Kinplemelon Dec 6, 2024
0ed22de
fix(listener & connector): optimize view password
Kinplemelon Dec 9, 2024
ed947f4
refactor(package): upgrade shared-i18n
Kinplemelon Dec 9, 2024
9f328a2
refactor(schema form): optimize the input interaction for enum types …
Kinplemelon Dec 10, 2024
85e0338
Merge branch 'dev/1.10.4' into dev/1.11.0
Kinplemelon Dec 11, 2024
90ce56f
fix(action): style of detail tooltip
Kinplemelon Dec 10, 2024
9f8be67
feat(overview): support reset monitor data
Kinplemelon Dec 11, 2024
f318328
refactor(i18n): remove some repeated i18n
Kinplemelon Nov 19, 2024
854efbd
refactor(login): need change password if password is expired
Kinplemelon Dec 12, 2024
c1559ec
fix(listener): update desc for `mountpoint`
Kinplemelon Dec 12, 2024
5eabbd1
fix(actions): fix tilte name too long issue
ysfscream Dec 16, 2024
29f14e9
refactor(schema): handle boolean type field with is_template
Kinplemelon Dec 16, 2024
7ccc0b0
fix(connector): support custom password input on form item component
ysfscream Dec 16, 2024
8750521
fix(rule): adapt map_size and is_empty funcs in rule
ysfscream Dec 16, 2024
a77eafa
fix(action): default value of boolean enums
Kinplemelon Dec 18, 2024
0e8609e
fix(rule): adapt str_utf16_le and sqlserver_bin2hexstr funcs in rule
ysfscream Dec 18, 2024
263cb81
fix(schema): optimize input with placeholder select
Kinplemelon Dec 19, 2024
d33dfcc
chore(deps): bump version
ysfscream Dec 20, 2024
0f243a0
fix(schema): do not show boolean options if there are other type
Kinplemelon Dec 23, 2024
c36c016
fix(monitoring): update large heap desc
ysfscream Dec 23, 2024
17c1ab1
feat(sources): support no local to mqtt source config
ysfscream Dec 24, 2024
e26704d
fix(connector): support static client ids for mqtt connector
ysfscream Dec 25, 2024
6d6e863
refactor(global): exact CreateButton component
Kinplemelon Dec 25, 2024
bd1ca3c
refactor(global): extract TableButton component
Kinplemelon Dec 25, 2024
b96e192
refactor(rule): unify reset icon
Kinplemelon Dec 25, 2024
fda4549
refactor(global): extract RefreshButton component
Kinplemelon Dec 25, 2024
08faa56
refactor(global): add SearchButton component and replace search butto…
Kinplemelon Dec 25, 2024
b8c4dea
refactor(global): extract ResetButton component
Kinplemelon Dec 25, 2024
9df39f7
refactor(exhook): text for create button
Kinplemelon Dec 25, 2024
2708e85
Merge branch 'dev/1.10.5' into dev/1.11.0
Kinplemelon Dec 26, 2024
f1acf9d
Merge branch 'dev/1.10.5' into dev/1.11.0
Kinplemelon Dec 26, 2024
e98777e
fix(buttons): wrong text
Kinplemelon Dec 26, 2024
e647e91
refactor(buttons): add ShowMoreButton component
Kinplemelon Dec 26, 2024
a16509b
refactor(rule): order of buttons at the bottom of detail page
Kinplemelon Dec 26, 2024
28d456e
style(tables): unify components of some tables
Kinplemelon Dec 27, 2024
a77036f
refactor(buttons): centre-aligned
Kinplemelon Dec 27, 2024
83e1da8
feat(config): expose force shutdown config
ysfscream Jan 2, 2025
db0d5bd
Merge branch 'dev/1.10.5' into dev/1.11.0
Kinplemelon Jan 6, 2025
9d16da1
refactor(login): optimize autocomplete
Kinplemelon Jan 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,27 @@ module.exports = {
root: true,
env: {
node: true,
es2022: true,
},
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/typescript/recommended',
'@vue/prettier',
'@vue/prettier/@typescript-eslint',
'@vue/eslint-config-typescript',
],
parserOptions: {
ecmaVersion: 2020,
ecmaVersion: 2022,
},
ignorePatterns: ['dist', 'node_modules', '/src/assets/fonts', '/src/assets/iconfont'],
rules: {
// FIXME:FIXME:FIXME: can not get node env now
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-empty-function': 'off',
'@typescript-eslint/no-empty-function': [1],
'@typescript-eslint/no-explicit-any': 'off',
'vue/multi-word-component-names': 'off',
},
overrides: [
{
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_enterprise_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
run: apt-get update && apt-get install -y zip
- name: build
run: |
yarn
yarn build:enterprise
pnpm install
pnpm build:enterprise
- name: create package
run: |
touch dist/version
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/build_oss_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ on:
jobs:
build:
runs-on: ubuntu-20.04
container: node:16.20
container: node:20.17
steps:
- uses: actions/checkout@v2
- name: Install pnpm
run: npm install -g pnpm
- name: install zip
run: apt-get update && apt-get install -y zip
- name: build
run: |
yarn
yarn build
pnpm install
pnpm build
- name: create package
run: |
touch dist/version
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/check_newest_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,23 @@ jobs:

- name: checkout dashboard code
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20.17'

- name: run script that checks schemas
run: |
yarn
yarn orval
npm install -g pnpm
pnpm install
pnpm orval

- name: check for changes
run: |
git_diff=$(git diff)
if [ -n "$git_diff" ]; then
git diff
git diff src/types/schemas
echo "Detected differences in the repository. Uploading mismatched schemas."
exit 1
else
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check_package_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:

- name: install dep
run: |
yarn
pnpm install

- name: run script that checks the version of the package
run: |
node ./scripts/checkPackageVersion.js
node ./scripts/checkPackageVersion.cjs

- name: check for script errors
if: ${{ failure() }}
Expand Down
20 changes: 18 additions & 2 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,17 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.AUTH_APP_ID }}
private-key: ${{ secrets.AUTH_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}

- name: Create PR in emqx/emqx
env:
GH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN_EMQX_RW }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}
EMQX_NAME: emqx
VERSION: ${{ github.ref_name }}
run: |
Expand All @@ -74,9 +82,17 @@ jobs:
if: (github.ref == 'refs/heads/enterprise') || startsWith(github.ref, 'refs/tags/e')
runs-on: ubuntu-latest
steps:
- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.AUTH_APP_ID }}
private-key: ${{ secrets.AUTH_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}

- name: Create PR in emqx/emqx
env:
GH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN_EMQX_RW }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}
EMQX_NAME: emqx-enterprise
VERSION: ${{ github.ref_name }}
run: |
Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
20
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,31 +79,31 @@ To set up for local development, follow these steps:
2. Install the dependencies:

```shell
yarn
pnpm install
```

3. To start the development server, run:

```shell
yarn serve
pnpm dev
```

4. For production compilation and minification:

```shell
yarn build
pnpm build
```

5. Lint and fix files:

```shell
yarn lint
pnpm lint
```

Or, format the code with Prettier:

```shell
yarn format
pnpm format
```

## ☁️ Development with Cloud Host
Expand All @@ -125,11 +125,11 @@ To set up for development with a cloud host:
3. Start the development server:

```shell
yarn serve
pnpm serve
```

## ⚙️ Vue.js Customize Configuration

Refer to the [Configuration Reference](https://cli.vuejs.org/config/) for more information.
Refer to the [Configuring Vite](https://vitejs.dev/config/#configuring-vite) for more information.

After the completion of setup, the CI will run automatically and deploy upon successful execution.
3 changes: 0 additions & 3 deletions babel.config.js

This file was deleted.

13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/favicon.ico" />
<title>EMQX Dashboard</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
3 changes: 0 additions & 3 deletions jest.config.js

This file was deleted.

12 changes: 7 additions & 5 deletions orval.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const { camelCase } = require('lodash')
const filterTargetSchema = require('./scripts/transformer/filterTagsSchema.js')
import { camelCase } from 'lodash'
import { loadEnv } from 'vite'
import filterTargetSchema from './scripts/transformer/filterTagsSchema.js'

const baseURL = process.env.HOST_URL || 'http://localhost:18083'
const envVariables = loadEnv('development', process.cwd(), '')
const baseURL = envVariables.HOST_URL || 'http://localhost:18083'
const swaggerURL = `${baseURL}/api-docs/swagger.json`

const tagArr = [
Expand Down Expand Up @@ -59,10 +61,10 @@ const configs = tagArr.reduce((obj: Record<string, any>, tag: string) => {
override: { header: false },
},
hooks: {
afterAllFilesWrite: ['prettier --write', `yarn remove-orval-client ${filePath}`],
afterAllFilesWrite: ['prettier --write', `pnpm remove-orval-client ${filePath}`],
},
}
return obj
}, {})

module.exports = configs
export default configs
76 changes: 37 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,94 +1,92 @@
{
"name": "emqx-dashboard5",
"version": "5.8.1",
"version": "5.8.4",
"private": true,
"type": "module",
"scripts": {
"serve": "vue-cli-service serve",
"serve:enterprise": "VUE_APP_VERSION=enterprise vue-cli-service serve",
"build": "vue-cli-service build",
"build:enterprise": "VUE_APP_VERSION=enterprise vue-cli-service build",
"test:unit": "vue-cli-service test:unit",
"lint": "vue-cli-service lint",
"dev": "vite",
"dev:enterprise": "VITE_APP_VERSION=enterprise vite",
"build": "vite build",
"build:enterprise": "VITE_APP_VERSION=enterprise vite build",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
"format": "prettier --write \"src/**/*.js\" \"src/**/*.ts\" \"src/**/*.tsx\" \"src/**/*.vue\" \"src/**/*.scss\"",
"escape": "node ./scripts/escapeI18N.js",
"checkI18n": "node ./scripts/checkUselessI18n.js",
"remove-orval-client": "node ./scripts/removeOrvalClient.js",
"orval:api": "source ./.env.development.local && yarn orval --input $HOST_URL\\api-docs/swagger.json",
"orval:local": "yarn orval --input ./swagger.json"
"orval:api": "source ./.env.development.local && pnpm orval --input $HOST_URL\\api-docs/swagger.json",
"orval:local": "pnpm orval --input ./swagger.json",
"prepare": "husky"
},
"dependencies": {
"@element-plus/icons-vue": "^1.1.0",
"@emqx/shared-ui-i18n": "~0.0.25",
"@emqx/shared-ui-i18n": "~0.0.35",
"@emqx/shared-ui-utils": "^0.0.14",
"@highlightjs/vue-plugin": "^2.1.0",
"@vue-flow/core": "^1.20.1",
"axios": "^1.4.0",
"compare-versions": "^6.0.0-rc.3",
"copy-to-clipboard": "^3.3.1",
"crypto-js": "^4.1.1",
"dayjs": "^1.11.13",
"echarts": "^5.2.1",
"element-plus": "~2.3.0",
"element-plus": "^2.8.3",
"github-markdown-css": "^5.7.0",
"highlight.js": "10.7.3",
"hocon-parser": "^1.0.1",
"js-base64": "^3.7.2",
"json-to-avro": "^1.1.1",
"lodash": "^4.17.21",
"marked": "^4.0.9",
"moment": "^2.29.1",
"monaco-editor": "^0.30.0",
"mqtt": "^4.2.8",
"nprogress": "^0.2.0",
"qs": "^6.12.1",
"sortablejs": "^1.14.0",
"vue": "~3.2.16",
"vite-plugin-node-polyfills": "^0.22.0",
"vue": "^3.2.16",
"vue-i18n": "^9.2.0-beta.19",
"vue-router": "^4.0.0-0",
"vuex": "^4.0.0-0",
"xss": "^1.0.14"
},
"devDependencies": {
"@types/crypto-js": "^4.1.1",
"@types/jest": "^29.5.4",
"@types/lodash": "^4.14.191",
"@types/marked": "^4.0.1",
"@types/nprogress": "^0.2.3",
"@types/sortablejs": "^1.10.7",
"@types/utf8": "^3.0.1",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"@vue/babel-plugin-jsx": "^1.1.1",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-plugin-router": "~4.5.0",
"@vue/cli-plugin-typescript": "~4.5.0",
"@vue/cli-plugin-vuex": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^7.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-vue": "^5.0.0",
"@vitejs/plugin-vue-jsx": "^4.0.0",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/test-utils": "^2.0.0-0",
"eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^7.0.0",
"eslint": "^8.57.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-vue": "^9.28.0",
"esm": "^3.2.25",
"husky": "^7.0.4",
"jest": "^29.6.4",
"lint-staged": "^12.1.7",
"monaco-editor-webpack-plugin": "^6.0.0",
"husky": "^9.1.5",
"lint-staged": "^15.2.10",
"orval": "^6.17.0",
"prettier": "^2.2.1",
"prettier": "^3.3.3",
"sass": "^1.26.5",
"sass-loader": "^8.0.2",
"typescript": "~4.1.5",
"webpack": "^4.36.0"
"typescript": "~5.5.4",
"vite": "^5.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{vue,js,scss}": [
"prettier --write \"src/**/*.js\" \"src/**/*.ts\" \"src/**/*.vue\" \"src/**/*.scss\""
"*.{js,ts,vue}": [
"eslint --fix",
"prettier --write"
],
"*.scss": [
"prettier --write"
]
}
}
}
Loading