|
8 | 8 | "_env:dev": "dotenvx run -f .env.local -f .env --overload --", |
9 | 9 | "start": "npm run _env:dev -- tsx watch index.ts", |
10 | 10 |
|
11 | | - "makemigration:sqlite": "npm run _env:dev -- npx --yes prisma migrate dev --create-only --schema=./prisma/sqlite/schema.prisma", |
12 | | - "migrate:sqlite": "npm run _env:dev -- npx --yes prisma migrate deploy --schema=./prisma/sqlite/schema.prisma", |
| 11 | + "makemigration:sqlite": "npm run _env:dev -- npx --yes prisma migrate dev --create-only --schema=./migrations/prisma/sqlite/schema.prisma", |
| 12 | + "migrate:sqlite": "npm run _env:dev -- npx --yes prisma migrate deploy --schema=./migrations/prisma/sqlite/schema.prisma", |
13 | 13 |
|
14 | | - "makemigration:mysql": "npm run _env:dev -- npx --yes prisma migrate dev --create-only --schema=./prisma/mysql/schema.mysql.prisma", |
15 | | - "migrate:mysql": "npm run _env:dev -- npx --yes prisma migrate deploy --schema=./prisma/mysql/schema.mysql.prisma", |
| 14 | + "makemigration:mysql": "npm run _env:dev -- npx --yes prisma migrate dev --create-only --schema=./migrations/prisma/mysql/schema.mysql.prisma", |
| 15 | + "migrate:mysql": "npm run _env:dev -- npx --yes prisma migrate deploy --schema=./migrations/prisma/mysql/schema.mysql.prisma", |
16 | 16 |
|
17 | | - "makemigration:postgres": "npm run _env:dev -- npx --yes prisma migrate dev --create-only --schema=./prisma/postgres/schema.postgres.prisma", |
18 | | - "migrate:postgres": "npm run _env:dev -- npx --yes prisma migrate deploy --schema=./prisma/postgres/schema.postgres.prisma", |
| 17 | + "makemigration:postgres": "npm run _env:dev -- npx --yes prisma migrate dev --create-only --schema=./migrations/prisma/postgres/schema.postgres.prisma", |
| 18 | + "migrate:postgres": "npm run _env:dev -- npx --yes prisma migrate deploy --schema=./migrations/prisma/postgres/schema.postgres.prisma", |
19 | 19 |
|
20 | 20 | "migrate:clickhouse": "npx clickhouse-migrations migrate --host=http://localhost:8124/demo --user=demo --password=demo --db=demo --migrations-home=./migrations/clickhouse_migrations", |
21 | 21 |
|
22 | 22 | "install-plugins": "cd ../plugins && bash install-plugins.sh", |
23 | 23 | "install-adapters": "cd ../adapters && bash install-adapters.sh", |
| 24 | + |
| 25 | + "build-adminforth": "cd ../ && npm ci && npm run build ", |
24 | 26 |
|
25 | | - "setup-dev-demo": "cp .env.local .env && npm run install-plugins && npm run install-adapters && npm install && bash ./run_inventory.sh && npm run migrate:sqlite && npm run migrate:mysql && npm run migrate:postgres && npm run migrate:clickhouse" |
| 27 | + "setup-dev-demo": "npm run build-adminforth && cp .env.local .env && npm run install-plugins && npm run install-adapters && npm install && bash ./run_inventory.sh && npm run migrate:sqlite && npm run migrate:mysql && npm run migrate:postgres && npm run migrate:clickhouse" |
26 | 28 | }, |
27 | 29 | "author": "", |
28 | 30 | "license": "ISC", |
|
0 commit comments