diff --git a/.env b/.env index fe12a308..71285b91 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ NODE_ENV=development -VUE_APP_SEQUENCESCAPE_BASE_URL=http://localhost:3000/api/v2 -VUE_APP_SEQUENCESCAPE_API_KEY=development -VUE_APP_PRINT_MY_BARCODE_BASE_URL=http://localhost:3000 -VUE_APP_LABEL_TEMPLATE_ID=33 +VITE_SEQUENCESCAPE_BASE_URL=http://localhost:3000/api/v2 +VITE_SEQUENCESCAPE_API_KEY=development +VITE_PRINT_MY_BARCODE_BASE_URL=http://localhost:3000 +VITE_LABEL_TEMPLATE_ID=33 diff --git a/.env.production b/.env.production index 6f168288..a27cfeb7 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ -VUE_APP_SEQUENCESCAPE_BASE_URL=REPLACE_VUE_APP_SEQUENCESCAPE_BASE_URL -VUE_APP_SEQUENCESCAPE_API_KEY=REPLACE_VUE_APP_SEQUENCESCAPE_API_KEY -VUE_APP_PRINT_MY_BARCODE_BASE_URL=REPLACE_VUE_APP_PRINT_MY_BARCODE_BASE_URL -VUE_APP_LABEL_TEMPLATE_ID=REPLACE_VUE_APP_LABEL_TEMPLATE_ID +VITE_SEQUENCESCAPE_BASE_URL=REPLACE_VITE_SEQUENCESCAPE_BASE_URL +VITE_SEQUENCESCAPE_API_KEY=REPLACE_VITE_SEQUENCESCAPE_API_KEY +VITE_PRINT_MY_BARCODE_BASE_URL=REPLACE_VITE_PRINT_MY_BARCODE_BASE_URL +VITE_LABEL_TEMPLATE_ID=REPLACE_VITE_LABEL_TEMPLATE_ID diff --git a/.env.uat b/.env.uat index 6f168288..a27cfeb7 100644 --- a/.env.uat +++ b/.env.uat @@ -1,4 +1,4 @@ -VUE_APP_SEQUENCESCAPE_BASE_URL=REPLACE_VUE_APP_SEQUENCESCAPE_BASE_URL -VUE_APP_SEQUENCESCAPE_API_KEY=REPLACE_VUE_APP_SEQUENCESCAPE_API_KEY -VUE_APP_PRINT_MY_BARCODE_BASE_URL=REPLACE_VUE_APP_PRINT_MY_BARCODE_BASE_URL -VUE_APP_LABEL_TEMPLATE_ID=REPLACE_VUE_APP_LABEL_TEMPLATE_ID +VITE_SEQUENCESCAPE_BASE_URL=REPLACE_VITE_SEQUENCESCAPE_BASE_URL +VITE_SEQUENCESCAPE_API_KEY=REPLACE_VITE_SEQUENCESCAPE_API_KEY +VITE_PRINT_MY_BARCODE_BASE_URL=REPLACE_VITE_PRINT_MY_BARCODE_BASE_URL +VITE_LABEL_TEMPLATE_ID=REPLACE_VITE_LABEL_TEMPLATE_ID diff --git a/.eslintrc.js b/.eslintrc.js index 9f63f560..b3a673ff 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -2,14 +2,12 @@ module.exports = { root: true, env: { node: true, + es2022: true, }, - extends: ['plugin:vue/essential', 'eslint:recommended', 'prettier'], + extends: ['plugin:vue/vue3-recommended', 'eslint:recommended', 'prettier'], rules: { - 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', + 'no-console': import.meta.env.NODE_ENV === 'production' ? 'error' : 'off', + 'no-debugger': import.meta.NODE_ENV === 'production' ? 'error' : 'off', 'prefer-const': 'error', }, - parserOptions: { - parser: 'babel-eslint', - }, } diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index c1b783ea..00000000 --- a/babel.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - presets: ['@vue/cli-plugin-babel/preset'], -} diff --git a/public/favicon.ico b/favicon.ico similarity index 100% rename from public/favicon.ico rename to favicon.ico diff --git a/public/index.html b/index.html similarity index 82% rename from public/index.html rename to index.html index 56d5287b..98272cd6 100644 --- a/public/index.html +++ b/index.html @@ -4,7 +4,7 @@ - +