Skip to content

Commit

Permalink
Merge pull request #44 from webdevnerdstuff/vitest
Browse files Browse the repository at this point in the history
Package updates
  • Loading branch information
webdevnerdstuff authored Jan 11, 2024
2 parents d00c3fb + 9727856 commit 0f5bc22
Show file tree
Hide file tree
Showing 9 changed files with 1,265 additions and 1,639 deletions.
9 changes: 8 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ module.exports = {
"@vue/typescript/recommended",
"prettier",
],
ignorePatterns: [
'.eslintrc.js',
'stylelint.config.js',
'vite.build.config.mts',
'vite.config.mts',
'*.bk.vue',
],
overrides: [
{
files: [
Expand All @@ -25,7 +32,7 @@ module.exports = {
Prism: true,
},
parserOptions: {
parser: "@typescript-eslint/parser",
parser: '@typescript-eslint/parser',
},
plugins: [
'@typescript-eslint',
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
node-version=20.9.0
node-version=20.10.0
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.9.0
20.10.0
73 changes: 37 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"module": "dist/vue-code-block.es.js",
"types": "dist/plugin/types/index.d.ts",
"scripts": {
"dev": "vite",
"dev": "NODE_OPTIONS='--no-warnings' vite",
"watch": "pnpm dev",
"play": "sh src/playground/configs/build.sh && NODE_ENV=playground vite",
"play": "sh src/playground/configs/build.sh && NODE_ENV=playground pnpm dev",
"sass": "sass --watch --no-source-map src/plugin/themes/scss/:src/plugin/themes/css",
"sass:min": "sass --style compressed --watch --no-source-map src/plugin/themes/scss/:src/plugin/themes/css/min",
"build": "vue-tsc -p tsconfig.dist.json && npm run test:build && vite build --config vite.build.config.mts",
Expand All @@ -22,7 +22,7 @@
"prepublishOnly": "npm run build",
"lint": "eslint src/**/*.{ts,vue} --max-warnings 4",
"prepare": "husky install",
"test": "vitest",
"test:dev": "NODE_OPTIONS='--no-warnings' vitest",
"test:commit": "vitest --run --bail 1",
"test:build": "vitest --run --bail 1 --reporter dot"
},
Expand Down Expand Up @@ -76,64 +76,65 @@
"highlight.js": "^11.8.0",
"prismjs": "^1.29.0",
"ua-parser-js": "^1.0.35",
"vue": "^3.3.9"
"vue": "^3.4.10"
},
"devDependencies": {
"@fortawesome/fontawesome-svg-core": "^6.5.1",
"@fortawesome/free-brands-svg-icons": "^6.5.1",
"@fortawesome/free-regular-svg-icons": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/vue-fontawesome": "^3.0.5",
"@mdi/font": "^7.3.67",
"@mdi/font": "^7.4.47",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@types/node": "^20.10.2",
"@stylistic/stylelint-plugin": "^2.0.0",
"@types/node": "^20.11.0",
"@types/prismjs": "^1.26.3",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"@vitejs/plugin-vue": "^4.5.1",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@vitejs/plugin-vue": "^5.0.3",
"@vue/cli-plugin-eslint": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"@vue/compiler-sfc": "^3.3.9",
"@vue/compiler-sfc": "^3.4.10",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/test-utils": "^2.4.3",
"autoprefixer": "^10.4.16",
"eslint": "^8.55.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-vue": "^9.19.2",
"gh-pages": "^6.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.20.0",
"gh-pages": "^6.1.1",
"husky": "^8.0.3",
"jsdom": "^23.0.1",
"lint-staged": "^15.0.2",
"jsdom": "^23.2.0",
"lint-staged": "^15.2.0",
"pinia": "^2.1.7",
"postcss": "^8.4.32",
"postcss": "^8.4.33",
"postcss-html": "^1.5.0",
"postcss-scss": "^4.0.9",
"prettier": "^3.1.0",
"rollup": "^4.6.1",
"prettier": "^3.1.1",
"rollup": "^4.9.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-scss": "^4.0.0",
"rollup-plugin-typescript2": "^0.36.0",
"sass": "^1.69.5",
"stylelint": "^15.11.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-order": "^6.0.2",
"stylelint-scss": "^5.3.1",
"typescript": "^5.3.2",
"unplugin-auto-import": "^0.17.1",
"vite": "^4.5.1",
"vite-plugin-css-injected-by-js": "^3.3.0",
"vite-plugin-dts": "^3.6.4",
"sass": "^1.69.7",
"stylelint": "^16.1.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-order": "^6.0.4",
"stylelint-scss": "^6.0.0",
"typescript": "^5.3.3",
"unplugin-auto-import": "^0.17.3",
"vite": "^5.0.11",
"vite-plugin-css-injected-by-js": "^3.3.1",
"vite-plugin-dts": "^3.7.0",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-static-copy": "^0.17.0",
"vite-plugin-stylelint": "^5.2.1",
"vite-plugin-vuetify": "^1.0.2",
"vitest": "^1.0.4",
"vue-tsc": "^1.8.24",
"vuetify": "^3.4.4",
"vite-plugin-static-copy": "^1.0.0",
"vite-plugin-stylelint": "^5.3.1",
"vite-plugin-vuetify": "^2.0.1",
"vitest": "^1.1.3",
"vue-tsc": "^1.8.27",
"vuetify": "^3.4.10",
"webfontloader": "^1.6.28"
}
}
Loading

0 comments on commit 0f5bc22

Please sign in to comment.