Releases: jaydenseric/install-from
Releases · jaydenseric/install-from
Release list
Version 3.0.0
Major
- Updated Node.js support to
^12.20 || >= 14.13. - Updated dev dependencies, some of which require newer Node.js versions than were previously supported.
- The API is now ESM in
.mjsfiles instead of CJS in.jsfiles, accessible viaimportbut notrequire. - The function
installFromis now a default export. - The tests are now ESM in
.mjsfiles instead of CJS in a.jsfile. - Added a package
exportsfield.
Patch
- Updated GitHub Actions CI config:
- Also run on pull request.
- Run tests with Node.js v12, v14, v16.
- Updated
actions/checkoutto v2. - Updated
actions/setup-nodeto v2. - Use the simpler
npm install-testcommand. - Don’t specify the
CIenvironment variable as it’s set by default.
- Stop using
hard-rejectionto detect unhandledPromiserejections in tests, as Node.js v15+ does this natively. - Simplified JSDoc related package scripts now that
jsdoc-mdv10+ automatically generates a Prettier formatted readme. - Added a package
test:jsdocscript that checks the readme API docs are up to date with the source JSDoc. - Improved the package
test:prettierscript. - Configured Prettier option
semito the default,true. - Simplified the ESLint config.
- Updated the package
keywordsfield. - More specific package
mainfield. - More specific package
binfield. - Updated CLI module file structure.
- Removed
npm-debug.logfrom the.gitignorefile as npm v4.2.0+ doesn’t create it in the current working directory. - Updated the EditorConfig.
- Improved documentation.
- The file
changelog.mdis no longer published.
Version 2.0.1
Patch
- Updated dev dependencies.
- Added a new
hard-rejectiondev dependency to ensure unhandled rejections in tests exit the process with an error. - Use
disposable-directoryto create test fixtures on demand. - Support installing scoped packages.
Version 2.0.0
Major
- Updated Node.js support from v8.5+ to v10+.
- Updated dev dependencies, some of which only support Node.js v10+.
- Use
coverage-nodefor test code coverage.
Minor
- The second
installFromfunctionpathPackageToargument now defaults toprocess.cwd(). - Setup GitHub Sponsors funding:
- Added
.github/funding.ymlto display a sponsor button in GitHub. - Added a
package.jsonfundingfield to enable npm CLI funding features.
- Added
Patch
- Removed the now redundant
eslint-plugin-import-order-alphabeticaldev dependency. - Stop using
huskyandlint-staged. - Fixed the package
filesfield. - Use strict mode for scripts.
- The
install-fromCLI exits more gracefully when no arguments are used. - Use destructuring for imports.
- Test Node.js v13 in CI.
- Refactored and improved tests.
- Use the Node.js
child_processexecFileAPI instead ofexecin theinstallFromfunction. - Documented what the
installFromfunction returns.