From 8803e8faa74d8dfa5d6df0af661a9d7359c2a913 Mon Sep 17 00:00:00 2001 From: alvarosabu Date: Mon, 22 May 2023 20:21:53 +0200 Subject: [PATCH] feat: temporally tweak eslint for deconstructed props --- .eslintrc.cjs | 1 + package.json | 12 +- playground/src/components/TheSmoke.vue | 6 - pnpm-lock.yaml | 296 ++++++++++++------------- src/core/abstractions/Smoke.vue | 1 - 5 files changed, 155 insertions(+), 161 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index da224a92..568552ab 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -33,5 +33,6 @@ module.exports = { 'vue/no-multiple-template-root': 'off', 'vue/first-attribute-linebreak': 'off', 'vue/setup-compiler-macros': 0, + 'vue/no-dupe-keys': 'off', // TODO: remove this when https://github.com/vuejs/eslint-plugin-vue/issues/2121 is fixed }, } diff --git a/package.json b/package.json index 243c8c1b..7ce37c51 100644 --- a/package.json +++ b/package.json @@ -45,9 +45,9 @@ "docs:preview": "vitepress preview docs" }, "peerDependencies": { - "@tresjs/core": "2.0.0", + "@tresjs/core": "2.1.1", "three": "latest", - "vue": "^3.2.47" + "vue": "^3.3.4" }, "devDependencies": { "@alvarosabu/prettier-config": "^1.3.0", @@ -55,8 +55,8 @@ "@tweakpane/plugin-essentials": "^0.1.8", "@types/node": "^20.2.3", "@types/three": "^0.152.0", - "@typescript-eslint/eslint-plugin": "^5.59.6", - "@typescript-eslint/parser": "^5.59.6", + "@typescript-eslint/eslint-plugin": "^5.59.7", + "@typescript-eslint/parser": "^5.59.7", "@vitejs/plugin-vue": "^4.2.3", "eslint": "^8.41.0", "eslint-config-prettier": "^8.8.0", @@ -70,12 +70,12 @@ "rollup-plugin-visualizer": "^5.9.0", "tweakpane": "^3.1.9", "typescript": "^5.0.4", - "unocss": "^0.52.0", + "unocss": "^0.52.1", "vite": "^4.3.8", "vite-plugin-banner": "^0.7.0", "vite-plugin-dts": "2.3.0", "vite-svg-loader": "^4.0.0", - "vitepress": "1.0.0-alpha.76" + "vitepress": "1.0.0-beta.1" }, "dependencies": { "@tresjs/core": "2.1.1", diff --git a/playground/src/components/TheSmoke.vue b/playground/src/components/TheSmoke.vue index 1a9888a6..14eb2b77 100644 --- a/playground/src/components/TheSmoke.vue +++ b/playground/src/components/TheSmoke.vue @@ -2,21 +2,15 @@ import { TresCanvas } from '@tresjs/core' import { OrbitControls, Smoke, Box } from '@tresjs/cientos' import { SRGBColorSpace, NoToneMapping } from 'three' -import { ref } from 'vue' const gl = { clearColor: '#333', alpha: true, outputColorSpace: SRGBColorSpace, toneMapping: NoToneMapping, } - -const speed = ref(1) -const wireframe = ref(true)