Skip to content

Commit 7707036

Browse files
authored
chore: convert this repo from yarn to npm (#625)
* chore: convert this repo from yarn to npm Convert the repository from yarn to npm. * **package.json**: Update scripts section to use npm commands instead of yarn. * **.github/workflows/test.yml**: Update to use npm for installing dependencies and building the project. * **.release-it.json**: Update after:bump hook to use npm run build instead of yarn build. * **README.md**: Update instructions to use npm for installing dependencies instead of yarn. * **package-lock.json**: Add new npm lockfile. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/vega/vega-datasets?shareId=XXXX-XXXX-XXXX-XXXX). * remove yarn lockfile * chore: update deps
1 parent 0cc890f commit 7707036

File tree

6 files changed

+8416
-4440
lines changed

6 files changed

+8416
-4440
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
- name: Setup Node
2121
uses: actions/setup-node@v4
2222
with:
23-
cache: 'yarn'
23+
cache: 'npm'
2424
node-version: 20
2525

2626
- name: Install Node dependencies
27-
run: yarn --frozen-lockfile
27+
run: npm ci
2828

29-
- run: yarn build
29+
- run: npm run build

.release-it.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"release": true
77
},
88
"hooks": {
9-
"after:bump": "yarn build"
9+
"after:bump": "npm run build"
1010
},
1111
"plugins": {
1212
"@release-it/conventional-changelog": {

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ console.log(cars);
6464

6565
## Development process
6666

67-
Install dependencies with `yarn`.
67+
Install dependencies with `npm install`.
6868

6969
## Release process
7070

0 commit comments

Comments
 (0)