create-appraisejs 0.1.10-alpha.0 → 0.1.10-alpha.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-appraisejs",
3
- "version": "0.1.10-alpha.0",
3
+ "version": "0.1.10-alpha.2",
4
4
  "description": "Scaffold a new AppraiseJS app in your directory",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Hasnat Jamil",
@@ -1,5 +1,5 @@
1
1
  {
2
- "preparedAt": "2026-03-10T19:07:15.992Z",
3
- "inputHash": "9aec77c6cf9122a632e1f6cc7748e781e174e88ad26fdb425b6a2152270a2e2a",
2
+ "preparedAt": "2026-03-10T19:32:54.296Z",
3
+ "inputHash": "f696b7c9a5375303fc0767a08bdf6219126e0c471acfbb85604adcb1561959ba",
4
4
  "databasePath": "prisma/dev.db"
5
5
  }
@@ -14,7 +14,7 @@
14
14
  "install-dependencies": "npm install --legacy-peer-deps",
15
15
  "setup-env": "npx tsx scripts/setup-env.ts",
16
16
  "migrate-db": "npx prisma migrate deploy",
17
- "setup": "npm run install-dependencies && npm run setup-env && npm run build:local",
17
+ "setup": "npm run install-dependencies && npm run setup:db && npm run build:local",
18
18
  "sync-features": "npx tsx scripts/regenerate-features.ts",
19
19
  "sync-features:dry-run": "npx tsx scripts/regenerate-features.ts --dry-run",
20
20
  "sync-locator-groups": "npx tsx scripts/sync-locator-groups.ts",
@@ -29,8 +29,9 @@
29
29
  "sync-all": "npx tsx scripts/sync-all.ts",
30
30
  "sync-template": "npx tsx scripts/sync-appraise-base-template.ts",
31
31
  "test": "cucumber-js",
32
- "build:local": "npm run build:cucumber-runtime && next build",
33
- "setup:db": "npm run setup-env && npm run migrate-db && npm run sync-all",
32
+ "build:local": "npm run generate-db-client && npm run build:cucumber-runtime && next build",
33
+ "generate-db-client": "npx prisma generate --schema prisma/schema.prisma",
34
+ "setup:db": "npm run setup-env && npm run generate-db-client && npm run migrate-db && npm run sync-all",
34
35
  "setup:full": "npm run install-dependencies && npm run setup:db && npm run build:local",
35
36
  "appraisejs:setup": "npm run setup",
36
37
  "appraisejs:sync": "npm run sync-all"
@@ -149,12 +149,13 @@ const rootPkg = JSON.parse(readFileSync(join(repoRoot, 'package.json'), 'utf8'))
149
149
  rootPkg.scripts = {
150
150
  ...rootPkg.scripts,
151
151
  build: 'npm run build:local',
152
- 'build:local': 'npm run build:cucumber-runtime && next build',
152
+ 'build:local': 'npm run generate-db-client && npm run build:cucumber-runtime && next build',
153
153
  start: 'next start',
154
+ 'generate-db-client': 'npx prisma generate --schema prisma/schema.prisma',
154
155
  'migrate-db': 'npx prisma migrate deploy',
155
156
  'install-playwright': 'npx playwright install',
156
- setup: 'npm run install-dependencies && npm run setup-env && npm run build:local',
157
- 'setup:db': 'npm run setup-env && npm run migrate-db && npm run sync-all',
157
+ setup: 'npm run install-dependencies && npm run setup:db && npm run build:local',
158
+ 'setup:db': 'npm run setup-env && npm run generate-db-client && npm run migrate-db && npm run sync-all',
158
159
  'setup:full': 'npm run install-dependencies && npm run setup:db && npm run build:local',
159
160
  'appraisejs:setup': 'npm run setup',
160
161
  'appraisejs:sync': 'npm run sync-all',