Skip to content

Commit

Permalink
chore: migrate from yarn to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
openhands-agent committed Nov 19, 2024
1 parent bfedc0d commit 8373da4
Show file tree
Hide file tree
Showing 8 changed files with 11,141 additions and 5,789 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

- uses: actions/setup-node@v4
with:
cache: 'yarn'
cache: 'npm'

- name: Install Node dependencies
run: yarn --frozen-lockfile
run: npm ci

- run: yarn lint
- run: yarn build
- run: npm run lint
- run: npm run build
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ build
coverage/
node_modules
npm-debug.log*
yarn-debug.log*
yarn-error.log*
2 changes: 1 addition & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"release": true
},
"hooks": {
"after:bump": "yarn build"
"after:bump": "npm run build"
},
"plugins": {
"@release-it/conventional-changelog": {
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ Chart theme modeled after IBM Carbon Charts - grey 100 theme. This is the grey 9

To view and test different themes, follow these steps:

1. Install dependencies via `yarn`.
2. Launch a local web server in the top-level directory with `yarn start`.
1. Install dependencies via `npm install`.
2. Launch a local web server in the top-level directory with `npm start`.
3. Make changes. The website will automatically reload.

## Publishing

To make a release, run `npm run release`. To deploy the examples, run `yarn deploy:gh`.
To make a release, run `npm run release`. To deploy the examples, run `npm run deploy:gh`.
Loading

0 comments on commit 8373da4

Please sign in to comment.