-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: put sources under a single TypeScript config
Internal imports should be resolve relatively (i.e. player should not import from the package itself). The simplest way is to further group all sources, and use a single TypeScript configuration. With code-splitting enabled, the result is essentially the same.
- Loading branch information
Showing
160 changed files
with
509 additions
and
636 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,42 @@ | ||
# Checks that proper housekeeping has been performed on a PR. | ||
name: Housekeeping | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
merge_group: | ||
|
||
jobs: | ||
versioning: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Checkout repository@main | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
path: __ref-main | ||
|
||
- name: Check if package.json version was updated | ||
run: | | ||
this_version=$(jq -r '.version' package.json) | ||
if [[ "$this_version" == "null" ]]; then | ||
continue | ||
fi | ||
if [[ ! -f "__ref-main/package.json" ]]; then | ||
main_version="" | ||
else | ||
main_version=$(jq -r '.version' __ref-main/package.json) | ||
fi | ||
if [[ "$main_version" == "$this_version" ]]; then | ||
echo "::error:: package.json version ($main_version) was not updated" | ||
exit 1 | ||
elif ! grep -q "^## $this_version" CHANGELOG.md; then | ||
echo "::error:: CHANGELOG.md was not updated with latest version" | ||
exit 1 | ||
else | ||
echo "::notice:: package.json updated: $main_version => $this_version" | ||
fi |
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
Oops, something went wrong.