build: move from pnpm to npm

Replace pnpm-lock.yaml with package-lock.json. The three overrides move to
package.json#overrides, including the request -> @cypress/request alias, which
npm supports as an override value. allowBuilds for es5-ext becomes
package.json#allowScripts. The Dockerfile installs with npm ci instead of
enabling corepack.
This commit is contained in:
tiennm99 committed 2026-08-17 12:17:53 +07:00
1 parent 31998f8759
commit 93796a16a5
6 files changed
+2348 -1545

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
.npm-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
+2 -3
View File
@@ -1,7 +1,6 @@
FROM node:24-alpine
RUN corepack enable && corepack prepare pnpm@11.1.1 --activate
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
CMD ["node", "server.js"]
+2337
View File
File diff suppressed because it is too large. Load diff
+8 -1
View File
@@ -2,7 +2,6 @@
"name": "store-scraper",
"type": "module",
"version": "1.0.0",
"packageManager": "pnpm@11.1.1",
"description": "Host [google-play-scraper](https://github.com/facundoolano/google-play-scraper) and [app-store-scraper](https://github.com/facundoolano/app-store-scraper)",
"main": "index.js",
"scripts": {
@@ -25,5 +24,13 @@
"app-store-scraper": "^0.18.0",
"express": "^5.2.0",
"google-play-scraper": "^10.1.3"
},
"overrides": {
"qs": "^6.15.3",
"request": "npm:@cypress/request@^4.0.1",
"undici": "7.28.0"
},
"allowScripts": {
"es5-ext": true
}
}
-1533
View File
File diff suppressed because it is too large. Load diff
-7
View File
@@ -1,7 +0,0 @@
allowBuilds:
es5-ext: true
overrides:
qs: "^6.15.3"
request: "npm:@cypress/request@^4.0.1"
undici: "7.28.0"