v1.2.0
- upgraded dependencies
- new build script:
- Removes dependency: clean-publish
- Refactored different steps into functions
- new utility
copyFiles
to handle statically copying files (such asREADME.md
andLICENSE
) - new utility
handlePkgJson
to replaceclear-package-json
- better error handling
- added typedefs for esbuild config
- added testing setup using
uvu
- added
"private"
key to package.json to prevent accidental publishing from the project root instead of the dist directory
To upgrade your existing repository made from this template you can:
- run
pnpm upgrade --latest "\!eslint"
(eslint is currently pinned at the latest v8 version as many plugins do not yet have v9 in their peerDependencies. Feel free to ignore this recommendation as you wish). - Add the new testing setup with:
- Running
pnpm add -D uvu esbuild-register
- Adding the
"test"
script - Copying the updated
.github/workflows/test.yml
file
- Running
- Upgrade to the new build script:
- Running
pnpm remove clean-publish
- Copying the new
build.js
file and adjusting it as needed - Updating your package.json to reflect changes in commit
01f454c
- Running
Full Changelog: v1.1.4...v1.2.0