-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: publish as esm-only #36
feat!: publish as esm-only #36
Conversation
Following on from the conversation in ipld/ipld#224 this converts this repo to use the latest aegir with Unified CI. 1. Remove all dev deps apart from `aegir` 1. Run the `npx aegir check-project` command to update project config 1. Remove non-Unified-CI github actions 1. Update imports to import from `src/index.js` instead of `ipld-garbage` 1. Rename `test/*.js` to `test/*.spec.js` so aegir can find them 1. Update `tsconfig.json` to extend config from `aegir` 1. Remove `"main"` and other unused fields from `package.json` 1. Use `chai` from `aegir` pre-configured with plugins we use 1. Fixes everything the linter complains about 1. Upgrades multiformats to 10.x.x This will need a follow up PR to `protocol/.github` to add this repo to the Unified CI [config file](https://github.com/protocol/.github/blob/master/configs/js.json) so it'll get automated config updates in the future. Apologies that this PR is so noisy, most of it is from the `check-project` command
Socket Security ReportDependency issues detected. If you merge this pull request, you will not be alerted to the instances of these issues again. 📜 New install scripts detectedA dependency change in this PR is introducing new install scripts to your install step.
Socket.dev scan summary
Bot CommandsTo ignore an alert, reply with a comment starting with
Powered by socket.dev |
@achingbrain I wouldn't mind renaming this to |
I've renamed it the module.
Can you add |
## [6.0.0](v5.0.0...v6.0.0) (2022-10-19) ### ⚠ BREAKING CHANGES * publish as esm-only (#36) ### Features * publish as esm-only ([#36](#36)) ([464080f](464080f)) ### Trivial Changes * **no-release:** bump actions/setup-node from 3.3.0 to 3.4.0 ([#30](#30)) ([f5bb329](f5bb329)) * **no-release:** bump actions/setup-node from 3.4.0 to 3.4.1 ([#31](#31)) ([69e12de](69e12de)) * **no-release:** bump actions/setup-node from 3.4.1 to 3.5.0 ([#32](#32)) ([27a9d56](27a9d56)) * **no-release:** bump actions/setup-node from 3.5.0 to 3.5.1 ([#34](#34)) ([81dab8c](81dab8c)) ### Documentation * update readme badges and repo links ([cfe5d1b](cfe5d1b))
🎉 This PR is included in version 6.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Following on from the conversation in ipld/ipld#224 this converts this repo to use the latest aegir with Unified CI.
aegir
npx aegir check-project
command to update project configsrc/index.js
instead ofipld-garbage
test/*.js
totest/*.spec.js
so aegir can find themtsconfig.json
to extend config fromaegir
"main"
and other unused fields frompackage.json
chai
fromaegir
pre-configured with plugins we useThis will need a follow up PR to
protocol/.github
to add this repo to the Unified CI config file so it'll get automated config updates in the future.Apologies that this PR is so noisy, most of it is from the
check-project
command