Skip to content

Commit

Permalink
Upgrade to Yarn v4
Browse files Browse the repository at this point in the history
  • Loading branch information
amacneil committed Jan 29, 2025
1 parent 8d14693 commit 5736362
Show file tree
Hide file tree
Showing 8 changed files with 6,112 additions and 4,027 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
cache: yarn
registry-url: https://registry.npmjs.org

- run: corepack enable
- run: yarn install --immutable
- run: yarn lint:ci
- run: yarn typecheck
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.catkin_tools
.DS_Store
.yarn
build
dist
install
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- jsonc -*-
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
Expand Down
2 changes: 0 additions & 2 deletions .yarnrc

This file was deleted.

1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ These schemas can be used in [MCAP](https://github.com/foxglove/mcap) files or [

## Development

Corepack is required for development.

```sh
corepack enable
```

The schema definitions are in [internal/schemas.ts](internal/schemas.ts).

After editing the schemas, re-generate the language-specific definitions by running `yarn update-generated-files`.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"engines": {
"node": ">=16"
},
"packageManager": "[email protected]",
"main": "schemas/typescript/index.js",
"typings": "schemas/typescript/index.d.ts",
"scripts": {
Expand Down
10,125 changes: 6,101 additions & 4,024 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 5736362

Please sign in to comment.