mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 10:13:32 -04:00 
			
		
		
		
	remove explicity typescript version (#1285)
* remove explicity typescript version * i hate javascript
This commit is contained in:
		| @@ -1,5 +1,8 @@ | |||||||
| module.exports = { | module.exports = { | ||||||
|   root: true, |   root: true, | ||||||
|  |   settings: { | ||||||
|  |     "import/ignore": ["@vueuse*"], | ||||||
|  |   }, | ||||||
|   env: { |   env: { | ||||||
|     browser: true, |     browser: true, | ||||||
|     node: true, |     node: true, | ||||||
|   | |||||||
| @@ -57,8 +57,7 @@ | |||||||
|  |  | ||||||
| <script lang="ts"> | <script lang="ts"> | ||||||
| import { defineComponent, computed, toRefs, reactive, useContext } from "@nuxtjs/composition-api"; | import { defineComponent, computed, toRefs, reactive, useContext } from "@nuxtjs/composition-api"; | ||||||
| import { whenever } from "@vueuse/shared"; | import { useClipboard, useShare, whenever } from "@vueuse/core"; | ||||||
| import { useClipboard, useShare } from "@vueuse/core"; |  | ||||||
| import { RecipeShareToken } from "~/types/api-types/recipe"; | import { RecipeShareToken } from "~/types/api-types/recipe"; | ||||||
| import { useUserApi } from "~/composables/api"; | import { useUserApi } from "~/composables/api"; | ||||||
| import { alert } from "~/composables/use-toast"; | import { alert } from "~/composables/use-toast"; | ||||||
|   | |||||||
| @@ -7,7 +7,7 @@ | |||||||
|  |  | ||||||
| <script lang="ts"> | <script lang="ts"> | ||||||
| import { defineComponent, watch } from "@nuxtjs/composition-api"; | import { defineComponent, watch } from "@nuxtjs/composition-api"; | ||||||
| import { useToggle } from "@vueuse/shared"; | import { useToggle } from "@vueuse/core"; | ||||||
|  |  | ||||||
| export default defineComponent({ | export default defineComponent({ | ||||||
|   props: { |   props: { | ||||||
| @@ -34,4 +34,3 @@ export default defineComponent({ | |||||||
|   }, |   }, | ||||||
| }); | }); | ||||||
| </script> | </script> | ||||||
|      |  | ||||||
| @@ -51,7 +51,6 @@ | |||||||
|     "lint-staged": "^12.4.2", |     "lint-staged": "^12.4.2", | ||||||
|     "nuxt-vite": "0.2.3", |     "nuxt-vite": "0.2.3", | ||||||
|     "prettier": "^2.3.2", |     "prettier": "^2.3.2", | ||||||
|     "typescript": "^4.7.2", |  | ||||||
|     "vue2-script-setup-transform": "^0.3.5" |     "vue2-script-setup-transform": "^0.3.5" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -17,7 +17,15 @@ | |||||||
|       "~/*": ["./*"], |       "~/*": ["./*"], | ||||||
|       "@/*": ["./*"] |       "@/*": ["./*"] | ||||||
|     }, |     }, | ||||||
|     "types": ["@nuxt/types", "@nuxtjs/axios", "@types/node", "@nuxtjs/i18n", "@nuxtjs/auth-next", "@nuxtjs/vuetify", "@types/sortablejs"] |     "types": [ | ||||||
|  |       "@nuxt/types", | ||||||
|  |       "@nuxtjs/axios", | ||||||
|  |       "@types/node", | ||||||
|  |       "@nuxtjs/i18n", | ||||||
|  |       "@nuxtjs/auth-next", | ||||||
|  |       "@nuxtjs/vuetify", | ||||||
|  |       "@types/sortablejs" | ||||||
|  |     ] | ||||||
|   }, |   }, | ||||||
|   "include": ["**/*", ".eslintrc.js"], |   "include": ["**/*", ".eslintrc.js"], | ||||||
|   "exclude": ["node_modules", ".nuxt", "dist"], |   "exclude": ["node_modules", ".nuxt", "dist"], | ||||||
|   | |||||||
| @@ -10729,11 +10729,6 @@ typedarray@^0.0.6: | |||||||
|   resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" |   resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" | ||||||
|   integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= |   integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= | ||||||
|  |  | ||||||
| typescript@^4.7.2: |  | ||||||
|   version "4.7.2" |  | ||||||
|   resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.2.tgz#1f9aa2ceb9af87cca227813b4310fff0b51593c4" |  | ||||||
|   integrity sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A== |  | ||||||
|  |  | ||||||
| typescript@~4.2: | typescript@~4.2: | ||||||
|   version "4.2.4" |   version "4.2.4" | ||||||
|   resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.4.tgz#8610b59747de028fda898a8aef0e103f156d0961" |   resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.4.tgz#8610b59747de028fda898a8aef0e103f156d0961" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user