22 Commits

Author SHA1 Message Date
dependabot[bot]
4aef5d59e6 chore(deps-dev): bump tar from 7.5.3 to 7.5.6
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.3 to 7.5.6.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.3...v7.5.6)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-24 13:17:47 -08:00
dependabot[bot]
23fffb89e2 chore(deps-dev): bump tar from 7.4.3 to 7.5.3
Bumps [tar](https://github.com/isaacs/node-tar) from 7.4.3 to 7.5.3.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.4.3...v7.5.3)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-18 15:24:40 -08:00
Nate Fischer
964fb48e9e test: check for README changes in the unit tests
No change to logic. This checks for stale README in the unit tests
instead of by calling 'gendocs' directly.

The main goal is for GitHub CI to stop getting tripped up by
package-lock.json formatting changes. `npm install` sometimes overwrites
the package-lock file with a new format, and this breaks the
after-travis step.

Test: node_modules/.bin/ava test/docs.js
2025-11-18 22:25:05 -08:00
Nate Fischer
d44f3b95a6 chore: update deps
No change to logic. This updates dependencies using `npm audit fix`.
2025-11-18 21:11:30 -08:00
Nate Fischer
475797321a chore: update deps
No change to logic. This updates dependencies using `npm audit fix`.
2025-09-01 18:48:39 -07:00
Nate Fischer
4580c00398
0.10.0 2025-05-09 12:16:36 -07:00
Nate Fischer
9a06336bc1 Deprecate the shjs binary
This removes the shjs binary. This feature was not widely used and it
was buggy. The recommended workaround is to invoke scripts directly with
'node' (you may also need to set your NODE_PATH environmental variable).

Dropping this script lets us trim down the dependency tree.

For those who still need the original script, the source code has moved
to https://github.com/shelljs/shjs.
2025-05-09 00:55:23 -07:00
Nate Fischer
3b03c85ef6
chore: remove accidental audit dep
I think this was installed by accident when running `npm audit`. The
`audit` module is entirely unrelated and I didn't meant to add a
dependency on this.
2025-05-05 16:56:51 -07:00
Nate Fischer
33db5147e2
Regenerate package-lock.json with npm 9.2.0 2025-04-29 18:11:58 -07:00
Julien Barbay
e48e919543
bump execa (#1216)
This update execa to v5.
2025-04-29 18:08:01 -07:00
Nate Fischer
8bc5833828 chore: update ava
This updates ava to v6. This resolves some `npm audit` warnings in our
project's devDependencies. This adds `workerThreads: false` because
operations like `process.chdir()` don't work in workers (but are
required for shelljs).

This is a partial fix #1180, although I found more errors when I ran the
tests locally on v22.10.0.

Test: npm audit
2025-04-10 01:11:39 -07:00
Nate Fischer
6ce29393d7 chore: update deps 2025-04-07 21:39:11 -07:00
Nate Fischer
6434b5fed3 chore: update deps
This updates shelljs-release, shx, and travis-check-changes to the
latest versions.
2025-03-16 18:44:57 -07:00
Nate Fischer
b90139fb62
0.9.2 2025-03-16 17:50:04 -07:00
Nate Fischer
8c3c2ac385
0.9.1 2025-03-08 15:42:37 -08:00
Nate Fischer
7d88393006
0.9.0 2025-03-08 15:02:06 -08:00
Nate Fischer
495933f13a chore: update ava dep
No change to logic. This updates ava to major version 2. This is not the
latest version, however updating to version 3 is not trivial because of
some breaking changes.

This removes the commandline options from the ava invocation in favor of
moving this into the well-supported ava JSON configuration. This is
required for Windows compatibility, because otherwise Windows won't
properly expand "test/*.js" on the commandline and ava v2 won't expand
this unless it's specified in the JSON config.

Test: npm test
Test: npm run test-with-coverage
2025-03-08 14:18:53 -08:00
Nate Fischer
ea621f5afc chore: commit package-lock.json
No change to logic. This commits the package-lock.json file because
we've since dropped support for old Node versions.
2025-03-08 13:50:09 -08:00
Nate Fischer
87c1ff7d4c
chore(npm): remove lockfile (#911)
This removes our lockfile and our `ci-or-install` script. The lockfile
caused headaches, since `npm install` would modify the lockfile.

Unfortunately, `ci-or-install` (added in #896) didn't work reliably on
appveyor, so removing the lockfile seems easier. We remove the script
since it's now obsolete.

Fixes #893
2018-11-29 22:55:45 -08:00
Nate Fischer
d4d1317ce6
0.8.3 2018-11-12 20:49:46 -08:00
Nate Fischer
37acb86e89
chore(npm): add ci-or-install script (#896)
* chore(npm): add ci-or-install script

This adds a script which checks the npm version and runs either `npm ci`
or `npm install` based on support. This is primarily to work around an
issue where `npm install` modifies `package-lock.json` for newer npm
versions.

A side benefit is that `npm ci` is slightly faster than `npm install`.

Fixes #893
2018-10-27 13:48:31 -07:00
Nate Fischer
72ff790f4f
chore: bump dev dependencies and add package-lock (#864)
No change to logic.

This reduces install spam by bumping codecov to avoid depending on a
deprecated graceful-fs version, as well as adding a package-lock.json.
2018-06-28 14:15:38 -07:00