adminforth 2.25.0-test.1 → 2.25.0-test.2

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.
@@ -8,12 +8,12 @@
8
8
  "license": "ISC",
9
9
  "description": "",
10
10
  "scripts": {
11
- "dev": "pnpm _env:dev -- tsx watch index.ts",
12
- "prod": "pnpm _env:prod -- tsx index.ts",
11
+ "dev": "pnpm _env:dev tsx watch index.ts",
12
+ "prod": "pnpm _env:prod tsx index.ts",
13
13
  "start": "pnpm dev",
14
- "makemigration": "pnpm _env:dev -- npx --yes prisma migrate dev --create-only",
15
- "migrate:local": "pnpm _env:dev -- npx --yes prisma migrate deploy",
16
- "migrate:prod": "pnpm _env:prod -- npx --yes prisma migrate deploy",
14
+ "makemigration": "pnpm _env:dev npx --yes prisma migrate dev --create-only",
15
+ "migrate:local": "pnpm _env:dev npx --yes prisma migrate deploy",
16
+ "migrate:prod": "pnpm _env:prod npx --yes prisma migrate deploy",
17
17
  "_env:dev": "dotenvx run -f .env -f .env.local --",
18
18
  "_env:prod": "dotenvx run -f .env.prod --"
19
19
  },
@@ -0,0 +1,2 @@
1
+ onlyBuiltDependencies:
2
+ - better-sqlite3
@@ -338,6 +338,11 @@ async function writeTemplateFiles(dirname, cwd, options) {
338
338
  data: {
339
339
  sqliteFile,
340
340
  },
341
+ },
342
+ {
343
+ src: 'pnpm-workspace.yaml.hbs',
344
+ dest: 'pnpm-workspace.yaml',
345
+ data: {},
341
346
  }
342
347
  ];
343
348
 
@@ -387,7 +392,7 @@ function generateFinalInstructions(skipPrismaSetup, options) {
387
392
 
388
393
  instruction += `
389
394
  ${chalk.dim('// Generate and apply initial migration')}
390
- ${chalk.dim('$')}${chalk.cyan(' pnpm makemigration -- --name init && pnpm migrate:local')}\n`;
395
+ ${chalk.dim('$')}${chalk.cyan(' pnpm makemigration --name init && pnpm migrate:local')}\n`;
391
396
 
392
397
  instruction += `
393
398
  ${chalk.dim('// Start dev server with tsx watch for hot-reloading')}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.25.0-test.1",
3
+ "version": "2.25.0-test.2",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",