feat: use aegir for build/testing/release#196
Conversation
d43aaa2 to
b536638
Compare
b536638 to
06a2dce
Compare
06a2dce to
10d4604
Compare
|
I'm getting the following errors when I try to lint: Any tips for what I should do about the For the "blocks are nested too deeply" bit, I was thinking of splitting out some code into separate functions, but the use of yield makes it harder. Should I just disable the rule for that file? What should I do about the TODO comment? |
|
TODO: Compare the types published from aegir with old data. |
|
such a hard pill to swallow, and one of the primary reasons I've resisted aegir to date:
which is bad enough to:
|
## [9.8.0](v9.7.1...v9.8.0) (2022-09-06) ### Features * use aegir for build/testing/release ([10d4604](10d4604)) ### Bug Fixes * address JS & TS linting complaints ([e494e3c](e494e3c))
|
Fixed up the linting complaints and pushed to this branch, @RangerMauve you may want to pull rebase for this. A quick look at the types differences:
I think those method definition changes are fine. The Also, pushing to this branch and making the tests pass resulted in a release! So something's wonky and I'll need to push a patch release to overwrite it. |
|
Fixed up the release thing, there was an error in the diff --git a/.github/workflows/js-test-and-release.yml b/.github/workflows/js-test-and-release.yml
index 4c19afa..76f568f 100644
--- a/.github/workflows/js-test-and-release.yml
+++ b/.github/workflows/js-test-and-release.yml
@@ -126,7 +126,7 @@ jobs:
release:
needs: [test-node, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-electron-main, test-electron-renderer]
runs-on: ubuntu-latest
- if: github.event_name == 'push' && github.ref == 'refs/heads/esm-migration' # with #262 - 'refs/heads/${{{ github.default_branch }}}'
+ if: github.event_name == 'push' && github.ref == 'refs/heads/${{{ github.default_branch }}}'
steps:
- uses: actions/checkout@v3
with:I've pushed a 9.8.1 to restore the 9.7.1 code. |
|
So, a couple of things to note as I drive by this:
I'm going to try and get #197 and this one bundled together for a v10.0.0 release; somehow, still think through that process. |
|
OK, I've "merged" this with #197 into a I just have a weird and annoying browser failure now, it doesn't seem to be reading the |
This is part of the overall ESM migration. ipld/ipld#224
We're removing building cjs on publish and are replacing a bunch of our existing build tooling to publish just ESM with typescript declarations using aegir
TODO: