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

chore: remove lerna (#2170)

This commit is contained in:
Gao Sun 2022-10-17 19:37:59 +08:00 committed by GitHub
parent c71dc2dc5e
commit 0c4fd3c7be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 35 additions and 2555 deletions

View file

@ -22,7 +22,7 @@ jobs:
uses: silverhand-io/actions-node-pnpm-run-steps@v2
- name: Build
run: pnpm -- lerna run build --stream
run: pnpm -r build
- name: Package
run: ./package.sh

View file

@ -46,7 +46,7 @@ jobs:
- name: Publish to GitHub
# add `no-verify-access` due to https://github.com/lerna/lerna/issues/2788
run: |
pnpm lerna publish \
pnpx lerna@^5.0.0 publish \
-m "release: %s" \
--conventional-commits \
--preid=${{ github.event.inputs.preid }} \

View file

@ -102,7 +102,7 @@ jobs:
> /tmp/changelog.txt
- name: Build
run: pnpm -- lerna run build --stream
run: pnpm -r build
- name: Package
run: ./package.sh

View file

@ -28,7 +28,7 @@ jobs:
run: pnpm prepack
- name: Lint with Report
run: pnpm -- lerna run --parallel lint:report && node merge-eslint-reports.js
run: pnpm -r --parallel lint:report && node merge-eslint-reports.js
- name: Annotate Code Linting Results
uses: ataylorme/eslint-annotate-action@1.2.0

View file

@ -13,7 +13,7 @@ tasks:
command: |
export ENDPOINT=$(gp url 3001)
pnpm cli db seed
pnpm lerna --ignore=@logto/integration-test run --parallel dev
pnpm -r --parallel --filter=!@logto/integration-tests dev
env:
TRUST_PROXY_HEADER: 1
DB_URL: postgres://postgres:p0stgr3s@127.0.0.1:5432

View file

@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
FORCE_COLOR=1 pnpm -- lerna run --concurrency 1 --stream precommit --since HEAD --exclude-dependents
FORCE_COLOR=1 pnpm -r --filter "[HEAD]" precommit

View file

@ -11,7 +11,7 @@ RUN apk add --no-cache python3 make g++
# Install dependencies and build
RUN pnpm i
RUN pnpm -- lerna run build --stream
RUN pnpm -r build
# Add official connectors
WORKDIR /etc/logto

View file

@ -5,25 +5,22 @@
"scripts": {
"preinstall": "npx only-allow pnpm",
"version": "pnpm i --frozen-lockfile=false && git add pnpm-lock.yaml",
"lerna": "lerna",
"bootstrap": "lerna bootstrap",
"prepare": "if test \"$NODE_ENV\" != \"production\" && test \"$CI\" != \"true\" ; then husky install ; fi",
"prepack": "lerna run --stream prepack",
"dev": "lerna run --stream prepack -- --incremental && lerna --ignore=@logto/integration-tests run --parallel dev",
"prepack": "pnpm -r prepack",
"dev": "pnpm -r prepack --incremental && pnpm -r --parallel --filter=!@logto/integration-tests dev",
"start": "cd packages/core && NODE_ENV=production node .",
"cli": "logto",
"alteration": "logto db alt",
"ci:build": "lerna run --stream build",
"ci:lint": "lerna run --parallel lint",
"ci:stylelint": "lerna run --parallel stylelint",
"ci:test": "lerna run --parallel test:ci"
"ci:build": "pnpm -r build",
"ci:lint": "pnpm -r --parallel lint",
"ci:stylelint": "pnpm -r --parallel stylelint",
"ci:test": "pnpm -r --parallel test:ci"
},
"devDependencies": {
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@commitlint/types": "^17.0.0",
"husky": "^8.0.0",
"lerna": "^5.0.0",
"typescript": "^4.7.4"
},
"workspaces": {

File diff suppressed because it is too large Load diff