Commit graph

9 commits

Author SHA1 Message Date
Christopher Willis-Ford
a5d298de3b fix: work around semantic-release/npm plugin prepack issue
There's an issue where the `npm` plugin for `semantic-release`
effectively runs `npm prepack` twice when `tarballDir` is set. Worse, if
the `tarballDir` is within the package directory and not excluded (by
`.npmignore`, for example) then the tarball from the first `prepack`
will end up inside the tarball for the second `prepack`, effectively
doubling the package size.

See https://github.com/semantic-release/npm/issues/535
2024-09-10 12:59:50 -07:00
Christopher Willis-Ford
2990abafd1 chore(lint): break up long config line to make lint happy 2022-10-03 11:33:40 -07:00
Christopher Willis-Ford
7d40354117 fix(release): limit release git commit message to 32k
This fixes "spawn E2BIG" errors with VERY long commit messages, which
can happen with the first release after enabling semantic-release.

We should consider whether it's possible to merge multiple dependency
updates into one line, since in our situation that's the source of many
redundant lines in the changelog.
2022-10-03 08:57:50 -07:00
Christopher Willis-Ford
a99400805b fix(release): run npm plugin before git so new package.json version gets committed 2022-08-31 08:48:52 -07:00
Christopher Willis-Ford
6c29ff243e style: use eslint-config-scratch 2022-05-31 12:11:19 -07:00
Christopher Willis-Ford
d001e99191 fix(ci): fix release config by moving branches setting
Instead of merging the configuration values in `package.json` with those
in `relase.config.js`, the `package.json` configuration was treated as
the only configuration.
2022-05-20 17:51:34 -07:00
Christopher Willis-Ford
c5a0e9d42e fix(ci): add assets to semantic-release/git config 2022-05-20 17:33:21 -07:00
Christopher Willis-Ford
95498c3dc7 style: reformat release.config.js 2022-05-20 17:31:59 -07:00
Christopher Willis-Ford
e4e298f073 refactor: fork from @jedmao/semantic-release-npm-github-config@1.0.9
* Update repository references
* Update `package-lock.json`
* Rename `.releaserc.json` to `release.config.js`
* A few other minor tweaks
2022-05-20 10:35:49 -07:00
Renamed from .releaserc.json (Browse further)