Skip to content

Commit

Permalink
Chore/updates (#980)
Browse files Browse the repository at this point in the history
* Upgrade lerna

Closes #975

* Upgrade prettier

Closes #974

* Upgrade workflows for Yarn 4

* Changeset

* Upgrade workflows for Yarn 4

* Upgrade workflows for Yarn 4

* Prettier
  • Loading branch information
steveukx authored Mar 9, 2024
1 parent 7ecc146 commit 9f1a174
Show file tree
Hide file tree
Showing 9 changed files with 101 additions and 107 deletions.
5 changes: 5 additions & 0 deletions .changeset/twelve-trains-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"simple-git": patch
---

Update build tools and workflows for Yarn 4 compatibility
2 changes: 1 addition & 1 deletion .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
node-version: 18

- run: yarn --frozen-lockfile
- run: yarn install --immutable
- run: yarn build

- uses: changesets/action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: yarn
- run: node --version
- run: git --version
- run: yarn install --frozen-lockfile
- run: yarn install --immutable
- run: yarn build
- name: Test
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
with:
node-version: 18
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn install --immutable
- run: yarn prettier --check .
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"dependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.26.2",
"lerna": "^8.0.1",
"prettier": "^3.0.1"
"lerna": "^8.1.2",
"prettier": "^3.2.5"
},
"packageManager": "yarn@4.1.0"
}
4 changes: 2 additions & 2 deletions packages/test-typescript-consumer/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"baseUrl": ".",
"paths": {},
"esModuleInterop": false,
"allowSyntheticDefaultImports": false,
"allowSyntheticDefaultImports": false
},
"files": ["test/ts-default-from-root.spec.ts"],
"files": ["test/ts-default-from-root.spec.ts"]
}
4 changes: 2 additions & 2 deletions packages/test-typescript-esm-consumer/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"moduleResolution": "node16",
"noEmit": true,
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"baseUrl": "."
// "emitDecoratorMetadata": true,
// "experimentalDecorators": true,
// "forceConsistentCasingInFileNames": true,
Expand All @@ -18,5 +18,5 @@
// "sourceMap": true,
// "strictBindCallApply": true,
// "strictNullChecks": false,
},
}
}
6 changes: 3 additions & 3 deletions simple-git/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
"declarationMap": false,
"sourceMap": true,
"paths": {},
"noEmit": true,
"noEmit": true
},
"exclude": ["node_modules"],
"include": [
"src/lib/**/*.ts",
"test/__fixtures__/**/*.ts",
"test/integration/**/*.ts",
"test/unit/**/*.ts",
"typings/index.d.ts",
],
"typings/index.d.ts"
]
}
Loading

0 comments on commit 9f1a174

Please sign in to comment.