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
|
||||
|
||||
Reference in New Issue
Block a user