Skip to content

Commit

Permalink
npm to pnpm
Browse files Browse the repository at this point in the history
Migrate project to use pnpm for package management and update related documentation
  • Loading branch information
osmestad committed Feb 25, 2025
1 parent 174c755 commit ba90a8d
Show file tree
Hide file tree
Showing 5 changed files with 4,846 additions and 7,261 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
- name: pnpm install and test
run: |
npm ci --force
npm run type-check
npm run lint -- --quiet
npm test
pnpm install
pnpm type-check
pnpm lint --quiet
pnpm test
env:
CI: true
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,12 @@ In this package however rules should (ideally) either be "error" or "off".
## Development:

In the package you want to lint: (assuming it is in a sibling folder)
`yarn link ../eslint-config-tidal`
`pnpm|yarn|npm link ../eslint-config-tidal`

### Updating dependencies:
Normally handled by Renovate, but if you want to do it manually:
`npx npm-check-updates --interactive --format group`
`pnpm update --interactive --latest`


### Publishing
Done locally for now (using `npm publish` and manual git tagging).
Done locally for now (using `pnpm publish` and manual git tagging).
Loading

0 comments on commit ba90a8d

Please sign in to comment.