0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore: fix gitpod (#2104)

This commit is contained in:
Gao Sun 2022-10-11 01:20:15 +08:00 committed by GitHub
parent 5eeb06e301
commit 3fae7b7edc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View file

@ -12,12 +12,13 @@ tasks:
cd - cd -
command: | command: |
export ENDPOINT=$(gp url 3001) export ENDPOINT=$(gp url 3001)
pnpm cli db seed
pnpm lerna --ignore=@logto/integration-test run --parallel dev pnpm lerna --ignore=@logto/integration-test run --parallel dev
env: env:
ALL_YES: 1 ALL_YES: 1
NO_INQUIRY: 0 NO_INQUIRY: 0
TRUST_PROXY_HEADER: 1 TRUST_PROXY_HEADER: 1
DB_URL_DEFAULT: postgres://postgres:p0stgr3s@127.0.0.1:5432 DB_URL: postgres://postgres:p0stgr3s@127.0.0.1:5432
ports: ports:
- name: Logto - name: Logto

View file

@ -11,8 +11,10 @@
"prepack": "lerna run --stream prepack", "prepack": "lerna run --stream prepack",
"dev": "lerna run --stream prepack -- --incremental && lerna --ignore=@logto/integration-tests run --parallel dev", "dev": "lerna run --stream prepack -- --incremental && lerna --ignore=@logto/integration-tests run --parallel dev",
"start": "cd packages/core && NODE_ENV=production node . --from-root", "start": "cd packages/core && NODE_ENV=production node . --from-root",
"cli": "cd packages/core && logto", "//": "For production, use NPM instead",
"alteration": "cd packages/core && pnpm alteration", "cli": "cd packages/core && npm run cli",
"//": "For production, use NPM instead",
"alteration": "cd packages/core && npm run alteration",
"ci:build": "lerna run --stream build", "ci:build": "lerna run --stream build",
"ci:lint": "lerna run --parallel lint", "ci:lint": "lerna run --parallel lint",
"ci:stylelint": "lerna run --parallel stylelint", "ci:stylelint": "lerna run --parallel stylelint",