Skip to content

Commit

Permalink
update deps, fix lint and build
Browse files Browse the repository at this point in the history
  • Loading branch information
newcat committed Nov 30, 2024
1 parent 602404d commit b781125
Show file tree
Hide file tree
Showing 55 changed files with 681 additions and 601 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

42 changes: 0 additions & 42 deletions .eslintrc.cjs

This file was deleted.

46 changes: 46 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// @ts-check

import eslint from "@eslint/js";
import globals from "globals";
import tseslint from "typescript-eslint";
import pluginVue from "eslint-plugin-vue";

export default tseslint.config(
{
ignores: ["*.d.ts", "**/coverage", "**/dist", "src/stage/fixtures/dmx/open-fixture.ts", "src/rust/pkg/rust.js"],
},
{
extends: [
eslint.configs.recommended,
tseslint.configs.strict,
tseslint.configs.stylistic,
...pluginVue.configs["flat/recommended"],
],
files: ["**/*.{ts,vue}"],
languageOptions: {
ecmaVersion: "latest",
sourceType: "module",
globals: globals.browser,
parserOptions: {
parser: tseslint.parser,
},
},
rules: {
"vue/html-indent": ["warn", 4],
"vue/max-attributes-per-line": "off",
"vue/html-self-closing": "off",
"vue/singleline-html-element-content-newline": "off",
"vue/multi-word-component-names": "off",
"vue/no-mutating-props": "warn",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
args: "after-used",
destructuredArrayIgnorePattern: "^_",
},
],
},
},
);
35 changes: 18 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"app:build": "pnpm build:for:electron && pnpm build:electron && pnpm electron:builder",
"build:wasm": "wasm-pack build ./src/rust --target web",
"build:electron": "tsc -p tsconfig.main.json && node ./postbuild.mjs",
"lint": "eslint --ext .js,.ts,.vue src",
"lint": "eslint src",
"generate:fixture-types": "json2ts --cwd ./src/stage/fixtures/dmx/fixture-schemas ./src/stage/fixtures/dmx/fixture-schemas/fixture.json -o --output ./src/stage/fixtures/dmx/open-fixture.ts"
},
"dependencies": {
Expand All @@ -27,11 +27,11 @@
"@codemirror/theme-one-dark": "^6.1.2",
"@fontsource-variable/inter": "^5.1.0",
"@mdi/font": "^7.4.47",
"@primevue/themes": "^4.2.3",
"@primevue/themes": "^4.2.4",
"@types/splitpanes": "^2.2.6",
"@vueuse/core": "^11.3.0",
"@vueuse/core": "^12.0.0",
"ajv": "^8.17.1",
"axios": "^1.7.7",
"axios": "^1.7.8",
"baklavajs": "^2.6.0",
"chroma-js": "^3.1.2",
"codemirror": "^6.0.1",
Expand All @@ -42,39 +42,40 @@
"lamejs": "^1.2.1",
"msgpackr": "^1.11.2",
"open-simplex-noise": "^2.5.0",
"pinia": "^2.2.6",
"pinia": "^2.2.8",
"primeicons": "^7.0.0",
"primevue": "^4.2.3",
"primevue": "^4.2.4",
"splitpanes": "^3.1.5",
"three": "^0.170.0",
"three": "^0.171.0",
"uuid": "^11.0.3",
"vue": "^3.5.13",
"vue-codemirror": "^6.1.1",
"vue-router": "4.4.5"
"vue-router": "4.5.0"
},
"devDependencies": {
"@eslint/js": "^9.16.0",
"@types/chroma-js": "^2.4.4",
"@types/node": "22.9.3",
"@types/node": "22.10.1",
"@types/offscreencanvas": "^2019.7.3",
"@types/three": "^0.170.0",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-vue": "^5.2.0",
"@vitejs/plugin-vue": "^5.2.1",
"autoprefixer": "^10.4.20",
"concurrently": "^9.1.0",
"cross-env": "^7.0.3",
"electron": "^33.2.0",
"electron": "^33.2.1",
"electron-builder": "^25.1.8",
"electron-devtools-installer": "^3.2.0",
"eslint": "^8.57.1",
"eslint-plugin-vue": "^9.31.0",
"eslint": "^9.16.0",
"eslint-plugin-vue": "^9.32.0",
"globals": "^15.12.0",
"json-schema-to-typescript": "^15.0.3",
"postcss": "^8.4.49",
"rollup-plugin-visualizer": "^5.12.0",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3",
"vite": "^5.4.11",
"typescript-eslint": "^8.16.0",
"vite": "^6.0.1",
"vue-tsc": "^2.1.10",
"wait-on": "^8.0.1"
},
Expand All @@ -98,5 +99,5 @@
"output": "dist_electron"
}
},
"packageManager": "pnpm@9.14.2+sha512.6e2baf77d06b9362294152c851c4f278ede37ab1eba3a55fda317a4a17b209f4dbb973fb250a77abc463a341fcb1f17f17cfa24091c4eb319cda0d9b84278387"
"packageManager": "pnpm@9.14.4"
}
Loading

0 comments on commit b781125

Please sign in to comment.