-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Replace lerna with turborepo + changesets (#2321)
* Add WIP document with context * Add criteria * WIP (generated -> lint, versioning, release) * Remove (likely) unnecessary yarn prefixes * Lint after generate * Fix check * Update generated clients * Generate services * Revert "Update generated clients" This reverts commit 80d23ad. * Update ADR * Use changesets * Simplify util.ts * Fix top level check:public-api script * chore: Prepare changesets * Remove changeset README * Add first changeset * Remove lerna from release scripts * Add generate:common * Use fixed versions with changesets * Split test services * Change flags as files are different when restored from cache * Add more details to ADR * Fix tests * Move private test utils * Get rid of postinstall * Fix tests * Use filter instead of scope * Update yarn.lock * Return postinstall to fix tests * Add comment regarding cycles to ADR * Remove references from private test utils * Add transitive peer deps * import nock from nock * Revert test-util refactoring * Remove postinstall & update yarn * Revert remove postinstall * Back to yarn 1.22.10 * Revert prepare and postinstall * Fix build... * Update yarn lock * Update generated service * Remove postinstall and move prepare to prepublishOnly * Restore postinstall * Add comment to ADR * Comments in ADR * Always build fresh without cache in checks * Fix tests * Upgrade yarn * Add comment to PR template * Add a compile script on root level * Add lint fix for e2e script for service * Remove unnecessary changeset * Update ADR
- Loading branch information
Florian Richter
authored
Apr 29, 2022
1 parent
2cd28c4
commit a2997ce
Showing
1,101 changed files
with
24,909 additions
and
173,288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [["@sap-cloud-sdk/*"]], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,6 @@ name: bump | |
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
bump: | ||
description: Version bump to be used. Can either be 'patch' or 'minor'. | ||
required: false | ||
default: 'minor' | ||
|
||
jobs: | ||
bump: | ||
|
@@ -24,9 +19,5 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "cloud-sdk-js" | ||
- name: Bump minor version | ||
if: github.event.inputs.bump == 'minor' | ||
run: yarn lerna version minor --force-publish -y | ||
- name: Bump patch version | ||
if: github.event.inputs.bump == 'patch' | ||
run: yarn lerna version patch --force-publish -y | ||
- name: Bump version | ||
run: yarn changeset version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ docs/ | |
coverage/ | ||
CHANGELOG.md | ||
README.md | ||
.*rc |
Oops, something went wrong.