-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added changelog workspace * Added changelog plugin code repliace script * Added Backstage app for changelog development * Added copy of the changelog plugin * Added documentation resources * Updated plugin integration in dev app * Applied prettier * Use relative link to examples * Fixed api report * Removed support for old backend * Updated tsconfig * Fixed express router handling * Added api report * Added changeset * Fixed typos * Normalized annotation condition name * Applied Prettier * Added repository references --------- Co-authored-by: Florian JUDITH <[email protected]>
- Loading branch information
Showing
125 changed files
with
2,938 additions
and
15,277 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,56 @@ | ||
#!/usr/bin/env bash | ||
set -eEuo pipefail | ||
|
||
VERSION="main" | ||
|
||
function sync() { | ||
mkdir -p .tmp/backstage-changelog-plugin/${VERSION} | ||
|
||
curl -fsSL https://github.com/RSC-Labs/backstage-changelog-plugin/archive/refs/heads/${VERSION}.tar.gz | | ||
tar -xvzf - \ | ||
--strip-components=1 \ | ||
--directory=.tmp/backstage-changelog-plugin/${VERSION} \ | ||
backstage-changelog-plugin-${VERSION/"/"/"-"} | ||
|
||
# bulletin board | ||
rsync -av \ | ||
.tmp/backstage-changelog-plugin/${VERSION/"/"/"-"}/plugins/backstage-changelog-plugin-backend/* \ | ||
./workspaces/changelog/plugins/changelog-backend | ||
rsync -av \ | ||
.tmp/backstage-changelog-plugin/${VERSION/"/"/"-"}/plugins/backstage-changelog-plugin/* \ | ||
./workspaces/changelog/plugins/changelog | ||
rsync -av \ | ||
.tmp/backstage-changelog-plugin/${VERSION/"/"/"-"}/examples/* \ | ||
./workspaces/changelog/examples | ||
rsync -av \ | ||
.tmp/backstage-changelog-plugin/${VERSION/"/"/"-"}/docs/* \ | ||
./workspaces/changelog/docs | ||
rsync -av \ | ||
.tmp/backstage-changelog-plugin/${VERSION/"/"/"-"}/plugins/README.md \ | ||
./workspaces/changelog/README.md | ||
} | ||
|
||
function rename() { | ||
changes=( | ||
"s#@rsc-labs/backstage-changelog-plugin-backend#@alithya-oss/backstage-plugin-changelog-backend#g" | ||
"s#@rsc-labs/backstage-changelog-plugin#@alithya-oss/backstage-plugin-changelog#g" | ||
) | ||
|
||
for item in "${changes[@]}"; do | ||
find -type f \ | ||
-not -name "install-state.gz" \ | ||
-not -name "yarn.lock" \ | ||
-not -name "CHANGELOG.md" \ | ||
-not -path "**/.yarn*" \ | ||
-not -path "**/.changeset" \ | ||
-not -path "**/node_modules*" \ | ||
-not -path "**/dist*" \ | ||
-exec sed -i ${item} {} + | ||
done | ||
} | ||
|
||
sync | ||
cd ./workspaces/changelog/ | ||
rename | ||
yarn install | ||
yarn backstage-cli versions:bump --release 1.35.0 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
workspaces/bulletin-board/plugins/bulletin-board-backend/CHANGELOG.md
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
workspaces/bulletin-board/plugins/bulletin-board-backend/README.md
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
workspaces/bulletin-board/plugins/bulletin-board-backend/knexfile.js
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
workspaces/bulletin-board/plugins/bulletin-board-backend/migrations/20230212201147_init.js
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
workspaces/bulletin-board/plugins/bulletin-board-backend/src/index.ts
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
workspaces/bulletin-board/plugins/bulletin-board-backend/src/plugin.ts
This file was deleted.
Oops, something went wrong.
91 changes: 0 additions & 91 deletions
91
workspaces/bulletin-board/plugins/bulletin-board-backend/src/router.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.