adminforth 2.25.0-test.2 → 2.25.0-test.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- FROM node:{{nodeMajor}}-slim
1
+ FROM devforth/node20-pnpm:latest
2
2
  WORKDIR /code/
3
- ADD package.json package-lock.json /code/
4
- RUN npm ci
3
+ ADD package.json pnpm-lock.yaml pnpm-workspace.yaml /code/
4
+ RUN pnpm i
5
5
  ADD . /code/
6
- RUN npx adminforth bundle
7
- CMD ["sh", "-c", "npm run migrate:prod && npm run prod"]
6
+ RUN pnpm exec adminforth bundle
7
+ CMD ["sh", "-c", "pnpm migrate:prod && pnpm prod"]
@@ -317,11 +317,6 @@ async function writeTemplateFiles(dirname, cwd, options) {
317
317
  dest: 'resources/adminuser.ts',
318
318
  data: {},
319
319
  },
320
- {
321
- src: 'custom/package.json.hbs',
322
- dest: 'custom/package.json',
323
- data: {},
324
- },
325
320
  {
326
321
  src: 'custom/tsconfig.json.hbs',
327
322
  dest: 'custom/tsconfig.json',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.25.0-test.2",
3
+ "version": "2.25.0-test.3",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -1,12 +0,0 @@
1
- {
2
- "name": "custom",
3
- "version": "1.0.0",
4
- "main": "index.ts",
5
- "scripts": {
6
- "test": "echo \"Error: no test specified\" && exit 1"
7
- },
8
- "keywords": [],
9
- "author": "",
10
- "license": "ISC",
11
- "description": ""
12
- }