Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Commit

Permalink
build: Move to NPM 7
Browse files Browse the repository at this point in the history
Run `npm install` with NPM 7 to update `package-lock.json` format to v2.

NPM v7 has a bug with aliased packages when running `npm outdated`. To
avoid this, install `kolmafia-types` without aliasing, and update
TypeScript's config to resolve `kolmafia` to `kolmafia-types`.

Also, update `kolmafia-types` to 0.1.1.

- Description of the NPM v7 bug: npm/cli#2800
- Description of the workaround:
  https://github.com/pastelmind/kolmafia-types/tree/v0.1.1#method-2-use-a-custom-path-to-resolve-kolmafia
  • Loading branch information
pastelmind committed Jun 14, 2021
1 parent f238a4f commit e81fb8d
Show file tree
Hide file tree
Showing 3 changed files with 4,067 additions and 6 deletions.
Loading

0 comments on commit e81fb8d

Please sign in to comment.