chore: update package management from yarn to npm
Remove unused dependencies from package.json and switch the project’s package manager from Yarn to NPM. This enhances compatibility with NPM-based workflows and reduces conflicts by ensuring consistent installs through npm ci. Additionally, update the Pinia plugin to a newer version for better performance and functionality.
This commit is contained in:
+3
-3
@@ -2,11 +2,11 @@ FROM cypress/base:22.11.0@sha256:d8168b757f16fa9276f5319909dad171916d4163dbe440a
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
COPY ./package.json ./yarn.lock ./.snyk ./
|
||||
RUN yarn install --frozen-lockfile
|
||||
COPY ./package.json ./package-lock.json ./.snyk ./
|
||||
RUN npm ci --no-progress
|
||||
|
||||
COPY ./ ./
|
||||
RUN yarn run generate && yarn lint
|
||||
RUN npm run generate && npm run lint
|
||||
#RUN yarn start:ci & yarn wait && yarn test:cypress
|
||||
|
||||
FROM nginx@sha256:28402db69fec7c17e179ea87882667f1e054391138f77ffaf0c3eb388efc3ffb
|
||||
|
||||
+6
-2
@@ -6,6 +6,10 @@ export default defineNuxtConfig({
|
||||
transpile: ['vuetify', 'date-fns'],
|
||||
},
|
||||
|
||||
devServer: {
|
||||
port: 3001,
|
||||
},
|
||||
|
||||
devtools: { enabled: true },
|
||||
|
||||
i18n: {
|
||||
@@ -40,7 +44,7 @@ export default defineNuxtConfig({
|
||||
},
|
||||
'@nuxt/eslint',
|
||||
'@pinia/nuxt',
|
||||
'@pinia-plugin-persistedstate/nuxt',
|
||||
'pinia-plugin-persistedstate/nuxt',
|
||||
'@nuxtjs/i18n',
|
||||
'@nuxt/devtools',
|
||||
'@sentry/nuxt/module',
|
||||
@@ -74,4 +78,4 @@ export default defineNuxtConfig({
|
||||
},
|
||||
|
||||
compatibilityDate: '2024-11-03',
|
||||
})
|
||||
})
|
||||
|
||||
Generated
+20393
File diff suppressed because it is too large
Load Diff
+2
-4
@@ -25,10 +25,8 @@
|
||||
"@graphql-codegen/typescript-vue-apollo": "4.1.1",
|
||||
"@nuxt/devtools": "1.6.0",
|
||||
"@nuxt/eslint": "0.6.1",
|
||||
"@nuxtjs/eslint-config-typescript": "12.1.0",
|
||||
"@nuxtjs/eslint-module": "4.1.0",
|
||||
"@nuxtjs/i18n": "9.0.0",
|
||||
"@pinia-plugin-persistedstate/nuxt": "1.2.1",
|
||||
"@vue/test-utils": "2.4.6",
|
||||
"esbuild": "0.24.0",
|
||||
"eslint": "9.14.0",
|
||||
@@ -59,10 +57,10 @@
|
||||
"graphql": "16.9.0",
|
||||
"graphql-tag": "2.12.6",
|
||||
"pinia": "2.2.6",
|
||||
"pinia-plugin-persistedstate": "^4.1.2",
|
||||
"subscriptions-transport-ws": "0.11.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "22"
|
||||
},
|
||||
"packageManager": "yarn@1.22.21"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,6 +46,7 @@ export const useState = defineStore(
|
||||
},
|
||||
{
|
||||
persist: {
|
||||
storage: localStorage,
|
||||
key: 'dancefinder_state',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user