8.0.0 (2023-12-17)
- Given a boatload of deps are dropping it, We have to drop it too.
- deps: update dependency corepack to v0.21.0 (6f401a4)
- deps: update dependency corepack to v0.22.0 (c5fea52)
- deps: update dependency corepack to v0.23.0 (d63576e)
- deps: update dependency lilconfig to v3 (9c6737f)
- deps: update dependency zod to v3.22.4 (eea3d68)
- deps: update dependency zod-validation-error to v2 (b3f5fa8)
- deps: update dependency zod-validation-error to v2.1.0 (0e16699)
- midnight-smoker: add overload for normalization to readPackageJson (b4e781f)
- midnight-smoker: fix missing 'cause' prop on errors (dc3ac8f)
- midnight-smoker: fix npm9 load() function (3d171ec), closes #401
- no-missing-exports: correctly check the 'types' field (eef4876)
- remove ErrorOptions reference (4282e74)
- drop Node.js v16 (1bc5a7e)
7.0.3 (2023-09-26)
- deps: update definitelytyped (d66b6d6)
- deps: update dependency @types/semver to v7.5.2 (c8bc0a1)
- deps: update dependency glob to v10.3.5 (33b8869)
- deps: update dependency glob to v10.3.6 (0d1d95c)
- deps: update dependency glob to v10.3.7 (166a8c2)
- deps: update dependency glob to v10.3.9 (71dbefa)
7.0.2 (2023-09-09)
- deps: update dependency glob to v10.3.4 (fd3a8af)
7.0.1 (2023-08-30)
7.0.0 (2023-08-29)
- The
Smoker
class can no longer be instantiated directly; useSmoker.init()
. Theverbose
option will now cause a fatal error to throw its exception to the terminal. Rule configuration is nowseverity string
,rule-specific options
, or a tuple of[rule-specifc options, severity string]
. It can no longer be[rule-specific options
nor[severity string]
. The config file schema has changed to reflect this. TypeSmokeOptions
removed and is now the same type asSmokerOptions
.
- rules: no-missing-pkg-files checks "unpkg" and "module" fields by default (6df6087)
- checks: the "warn" severity is respected; closes #333 (faf6a91)
- deps: update dependency @types/semver to v7.5.1 (03277db)
- deps: update dependency corepack to v0.20.0 (7ef49b2)
- deps: update dependency which to v4 (b566df4)
- consolidate option parsing (faf6a91)
6.1.1 (2023-08-25)
- rules: no-banned-files ignores node_modules (4eb6e5d), closes #330
- rules: no-missing-exports supports arrays (6dc69c2)
6.1.0 (2023-08-24)
6.0.0 (2023-08-23)
midnight-smoker
now runs a small suite of automated checks by default.
- add builtin checks (26d3979)
- deps: update dependency zod to v3.22.2 (4926a4e)
5.1.0 (2023-08-21)
- yarn: fix workspace-related problems (8a35799)
5.0.0 (2023-08-14)
- This package now requires a minimum Node.js of v16.20.0.
- config: fix weird config file handling (#282) (83a0fac)
- pin corepack version (20a0a03)
- types: export
SmokerConfig
type (83a0fac)
4.0.0 (2023-08-11)
- package-managers: The following CLI options have been removed:
--npm
: replaced by--pm
functionality; provide a version, not a path--install-args
: may be re-added later, but package managers accept different args, so this became a problem--dir
,--clean
, and--force
: package managers each have their own temp dir and we cannot share a dir between them
- package-managers: add ability to run tests against multiple arbitrary package managers
- package-managers: add ability to run tests against multiple arbitrary package managers (ad94ad4)
- package-managers: add datafiles and generation script (42d2d7e)
- package-managers: add package manager support (16b391e)
3.1.0 (2023-08-09)
- new --add flag (41b423c)
- --json can now fail (5df9d9c)
3.0.4 (2023-07-25)
- ci: force default registry (1dcac87)
3.0.3 (2023-07-24)
- ci: skip npm upgrade step on release if no release (41760a9)
3.0.2 (2023-07-24)
- ci: fix broken node version in release action (bb13b59)
3.0.1 (2023-07-24)
- ci: add missing step id (0c721ff)
3.0.0 (2023-07-24)
- npm v9 changes
--global-style
to--install-strategy=shallow
. so now we need to retain the version that we found when runningwhich npm
, and change the shell command accordingly. Note that even passing a custom path tonpm
will cause it to be executed so that we can verify the version. This also modifies theFIND_NPM_OK
event to return anNpmInfo
object containing propspath
andversion
, instead of just thestring
path. - This drops official support for Node.js v14.x, which is now at end-of-life.
- suppress warning when using npm v9 (a325ad4)
- drop Node.js v14.x support (03f81be)
2.0.4 (2023-05-19)
- deps: update dependency which to v3.0.1 (8b4b0f1)
- deps: update dependency yargs to v17.7.2 (b4b86f8)
2.0.3 (2023-04-17)
- windows: fix windows for real, hopefully (7f7746c)
2.0.2 (2023-04-17)
- attempt to make it work in windows (11bc003)
- deps: update dependency yargs to v17.7.0 (1e7a964)
- deps: update dependency yargs to v17.7.1 (5bae5e5)
2.0.1 (2023-01-11)
2.0.0 (2022-12-05)
- Now supports ^14.17.0 || ^16.13.0 || >=18.0.0 only!
- deps: update dependency which to v3 (b743420)
- drop support for Node.js <= v14.17.0 (5890e11)
1.2.2 (2022-11-18)
- deps: update dependency yargs to v17.6.0 (1fb217e)
1.2.1 (2022-10-27)
- cli: handle non-Error errors better (00a094e)
- README: reasonable readme (842e54e)
- types: fix path to typings (d02ad15)
- types: fix static types (9c2acb5)
- types: include necessary types (1cfb550)
- main: release v1.2.1 (1cd8fba)
1.1.2 (2022-10-18)
- cli: handle non-Error errors better (00a094e)
1.1.1 (2022-08-05)
- types: include necessary types (1cfb550)
1.1.0 (2022-08-05)
- add json output option (0b5b9e3)
1.0.1 (2022-07-23)
- README: reasonable readme (842e54e)
- nice CLI (717ad33)