Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/instructions/github-actions.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ jobs:
run: pnpm install

- name: Run lint
run: npx lerna run lint
run: pnpm turbo run lint

- name: Run build
run: npx lerna run build --ignore="@sassysaint/tauri"
run: pnpm turbo run build --filter=!@sassysaint/tauri

- name: Run tests
run: npx lerna run test
run: pnpm turbo run test

deploy-staging:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
- run: |
corepack enable
pnpm install
npx lerna run build
npx lerna run test:coverage --scope=@node-cli/npmrc
pnpm turbo run build
pnpm turbo run test:coverage --filter=@node-cli/npmrc
- name: Setup Pages
if: ${{ always() }}
uses: actions/configure-pages@v6
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
- run: |
corepack enable
pnpm install
npx lerna run build
npx lerna run lint
npx lerna run test:coverage
pnpm turbo run build
pnpm turbo run lint
pnpm turbo run test:coverage
7 changes: 4 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ jobs:
run: |
corepack enable
pnpm install
npx lerna run build
pnpm turbo run build

# Release Please has already incremented versions and published tags, so we just
# need to publish all unpublished versions to NPM here
# See: https://github.com/lerna/lerna/tree/main/commands/publish#bump-from-package
# `pnpm publish -r` skips private packages and any version already on the
# registry, which is what `lerna publish from-package --no-private` did.
- name: Publish to NPM
if: ${{ steps.release.outputs.releases_created }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}
run: npx lerna publish from-package --no-push --no-private --yes --loglevel debug
run: pnpm publish -r --no-git-checks
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,6 @@ types
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Turbo
.turbo
6 changes: 0 additions & 6 deletions lerna.json

This file was deleted.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
],
"description": "Monorepo of small Node CLI helpers, such as logger, run, perf, bundlesize, etc.",
"scripts": {
"build": "lerna run build",
"comments:fix": "lerna run comments:fix",
"build": "turbo run build",
"comments:fix": "turbo run comments:fix",
"fix": "npm-run-all --serial comments:fix lint:fix",
"lint": "lerna run lint",
"lint:fix": "lerna run lint:fix",
"lint": "turbo run lint",
"lint:fix": "turbo run lint:fix",
"lint-staged": "lint-staged --config \"./configuration/lint-staged.config.cjs\"",
"prepare": "husky",
"test": "lerna run test",
"test:coverage": "lerna run test:coverage"
"test": "turbo run test",
"test:coverage": "turbo run test:coverage"
},
"devDependencies": {
"@node-cli/comments": "workspace:*",
"@versini/dev-dependencies-common": "14.0.4",
"barrelsby": "2.8.1",
"lerna": "10.0.0"
"turbo": "2.10.9"
},
"packageManager": "pnpm@11.21.0",
"engines": {
Expand Down
Loading