node-version-utils 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js ADDED
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ spawn: require('./spawn'),
3
+ spawnSync: require('./spawnSync'),
4
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-version-utils",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Utilities for running commands on a specific version of node by installed path",
5
5
  "keywords": [
6
6
  "node",
@@ -19,7 +19,10 @@
19
19
  "url": "git@github.com:kmalakoff/node-version-utils.git"
20
20
  },
21
21
  "license": "MIT",
22
- "main": "index.js",
22
+ "main": "lib/index.js",
23
+ "files": [
24
+ "lib"
25
+ ],
23
26
  "scripts": {
24
27
  "format": "prettier --write .",
25
28
  "lint": "eslint .",
@@ -40,13 +43,12 @@
40
43
  "eslint-config-prettier": "^8.5.0",
41
44
  "eslint-config-standard": "^17.0.0",
42
45
  "eslint-plugin-import": "^2.26.0",
43
- "eslint-plugin-node": "^11.1.0",
44
46
  "eslint-plugin-promise": "^6.0.0",
45
47
  "is-version": "^0.2.0",
46
48
  "lodash.find": "^4.6.0",
47
49
  "match-semver": "^0.1.0",
48
50
  "mocha-compat": "^3.5.5",
49
- "node-install-release": "^0.2.5",
51
+ "node-install-release": "^0.2.6",
50
52
  "prettier": "^2.7.1",
51
53
  "semver": "^5.7.1"
52
54
  },
package/.eslintrc.json DELETED
@@ -1,13 +0,0 @@
1
- {
2
- "extends": ["standard", "prettier"],
3
- "parser": "@typescript-eslint/parser",
4
- "env": {
5
- "es6": true,
6
- "node": true,
7
- "mocha": true
8
- },
9
- "rules": {
10
- "no-var": "off",
11
- "object-shorthand": "off"
12
- }
13
- }
@@ -1,11 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: npm
4
- directory: '/'
5
- schedule:
6
- interval: daily
7
- - package-ecosystem: 'github-actions'
8
- directory: '/'
9
- schedule:
10
- # Check for updates to GitHub Actions every weekday
11
- interval: 'daily'
@@ -1,23 +0,0 @@
1
- name: CI
2
- on:
3
- - push
4
- - pull_request
5
- jobs:
6
- test:
7
- name: Node.js ${{ matrix.node-version }} ${{ matrix.os }}
8
- runs-on: ${{ matrix.os }}
9
- strategy:
10
- matrix:
11
- node: ['latest']
12
- os: [ubuntu-latest, windows-latest, macOS-latest]
13
- steps:
14
- - uses: actions/checkout@v2
15
- - uses: actions/setup-node@v2.4.1
16
- with:
17
- node-version: ${{ matrix.node-version }}
18
- - run: git config --global user.name "Github Actions"
19
- - run: git config --global user.email "actions@users.noreply.github.com"
20
- - run: npm install node-version-use -g
21
- - run: npm ci
22
- - run: npm run lint
23
- - run: nvu engines --desc npm run test
package/index.js DELETED
@@ -1,4 +0,0 @@
1
- module.exports = {
2
- spawn: require('./lib/spawn'),
3
- spawnSync: require('./lib/spawnSync'),
4
- };