chore: upgrade npm dependencies (#1443)
This commit is contained in:
parent
0848746534
commit
62b16d6a89
16 changed files with 1173 additions and 1043 deletions
|
@ -53,6 +53,8 @@ rules:
|
|||
},
|
||||
]
|
||||
|
||||
'import/no-extraneous-dependencies': 2
|
||||
|
||||
'@typescript-eslint/adjacent-overload-signatures': 2
|
||||
|
||||
'@typescript-eslint/await-thenable': 2
|
||||
|
|
|
@ -4,5 +4,8 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"build": "node ../cli/scripts/index.js build --js false --release"
|
||||
},
|
||||
"devDependencies": {
|
||||
"benny": "^3.7.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
"@types/lodash-es": "^4.17.6",
|
||||
"clipanion": "^3.1.0",
|
||||
"colorette": "^2.0.19",
|
||||
"core-js": "^3.26.1",
|
||||
"core-js": "^3.27.1",
|
||||
"debug": "^4.3.4",
|
||||
"env-paths": "^3.0.0",
|
||||
"fdir": "^5.3.0",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { join, parse } from 'path'
|
||||
|
||||
import chalk from 'chalk'
|
||||
import { Command, Option } from 'clipanion'
|
||||
import * as chalk from 'colorette'
|
||||
import { fdir } from 'fdir'
|
||||
|
||||
import { getNapiConfig } from './consts'
|
||||
|
|
|
@ -3,8 +3,8 @@ import { existsSync, mkdirSync } from 'fs'
|
|||
import { tmpdir } from 'os'
|
||||
import { join, parse, sep } from 'path'
|
||||
|
||||
import { Instance } from 'chalk'
|
||||
import { Command, Option } from 'clipanion'
|
||||
import * as chalk from 'colorette'
|
||||
import envPaths from 'env-paths'
|
||||
import { groupBy } from 'lodash-es'
|
||||
|
||||
|
@ -22,7 +22,6 @@ import {
|
|||
} from './utils'
|
||||
|
||||
const debug = debugFactory('build')
|
||||
const chalk = new Instance({ level: 1 })
|
||||
|
||||
const ZIG_PLATFORM_TARGET_MAP = {
|
||||
'x86_64-unknown-linux-musl': 'x86_64-linux-musl',
|
||||
|
@ -167,8 +166,8 @@ export class BuildCommand extends Command {
|
|||
'lto',
|
||||
)} and increase ${chalk.green(
|
||||
'codegen-units',
|
||||
)}. Disabled by default. See ${chalk.underline.blue(
|
||||
'https://github.com/napi-rs/napi-rs/issues/297',
|
||||
)}. Disabled by default. See ${chalk.underline(
|
||||
chalk.blue('https://github.com/napi-rs/napi-rs/issues/297'),
|
||||
)}`,
|
||||
},
|
||||
)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { mkdirSync } from 'fs'
|
||||
import { join } from 'path'
|
||||
|
||||
import chalk from 'chalk'
|
||||
import { Command, Option } from 'clipanion'
|
||||
import * as chalk from 'colorette'
|
||||
|
||||
import { getNapiConfig } from './consts'
|
||||
import { debugFactory } from './debug'
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { writeFileSync, mkdirSync } from 'fs'
|
||||
import { join } from 'path'
|
||||
|
||||
import chalk from 'chalk'
|
||||
import { Command, Option } from 'clipanion'
|
||||
import * as chalk from 'colorette'
|
||||
import inquirer from 'inquirer'
|
||||
|
||||
import { CreateNpmDirCommand } from '../create-npm-dir'
|
||||
|
|
|
@ -2,8 +2,8 @@ import { createReadStream, existsSync, statSync } from 'fs'
|
|||
import { join } from 'path'
|
||||
|
||||
import { Octokit } from '@octokit/rest'
|
||||
import chalk from 'chalk'
|
||||
import { Command, Option } from 'clipanion'
|
||||
import * as chalk from 'colorette'
|
||||
|
||||
import { getNapiConfig } from './consts'
|
||||
import { debugFactory } from './debug'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { join } from 'path'
|
||||
|
||||
import chalk from 'chalk'
|
||||
import { Command, Option } from 'clipanion'
|
||||
import * as chalk from 'colorette'
|
||||
import inquirer from 'inquirer'
|
||||
import { load, dump } from 'js-yaml'
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { spawnSync } from 'child_process'
|
||||
import { join } from 'path'
|
||||
|
||||
import chalk from 'chalk'
|
||||
import { Command, Option } from 'clipanion'
|
||||
import * as chalk from 'colorette'
|
||||
|
||||
import { getNapiConfig } from './consts'
|
||||
import { debugFactory } from './debug'
|
||||
|
@ -61,7 +61,9 @@ export class UniversalCommand extends Command {
|
|||
}
|
||||
|
||||
debug(
|
||||
`Looking up source binaries to combine: ${chalk.yellowBright(srcFiles)}`,
|
||||
`Looking up source binaries to combine: ${chalk.yellowBright(
|
||||
srcFiles.join(', '),
|
||||
)}`,
|
||||
)
|
||||
const srcFileLookup = await Promise.all(
|
||||
srcFiles.map((f) => fileExists(join(this.sourceDir, f))),
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { join } from 'path'
|
||||
|
||||
import chalk from 'chalk'
|
||||
import { Command, Option } from 'clipanion'
|
||||
import * as chalk from 'colorette'
|
||||
|
||||
import { getNapiConfig } from './consts'
|
||||
import { debugFactory } from './debug'
|
||||
|
|
|
@ -11,5 +11,8 @@
|
|||
"build-i686-release": "node ../../cli/scripts/index.js build --js false --release --features \"latest\" --target i686-pc-windows-msvc",
|
||||
"build-release": "node ../../cli/scripts/index.js build --js false --features \"latest\" --release",
|
||||
"test": "node ./index.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"sinon": "^15.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
"build-release": "node ../../cli/scripts/index.js build --js false --release"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/lodash": "^4.14.189",
|
||||
"lodash": "^4.17.21"
|
||||
"@types/lodash": "^4.14.191",
|
||||
"lodash": "^4.17.21",
|
||||
"sinon": "^15.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { setTimeout } from 'timers'
|
||||
import { promisify } from 'util'
|
||||
|
||||
import chalk from 'chalk'
|
||||
import * as chalk from 'colorette'
|
||||
import Dockerode from 'dockerode'
|
||||
import prettyBytes from 'pretty-bytes'
|
||||
|
||||
|
|
36
package.json
36
package.json
|
@ -73,40 +73,40 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-alias": "^4.0.2",
|
||||
"@rollup/plugin-commonjs": "^23.0.2",
|
||||
"@rollup/plugin-json": "^5.0.1",
|
||||
"@rollup/plugin-commonjs": "^24.0.0",
|
||||
"@rollup/plugin-json": "^6.0.0",
|
||||
"@rollup/plugin-node-resolve": "^15.0.1",
|
||||
"@rollup/plugin-replace": "^5.0.1",
|
||||
"@rollup/plugin-replace": "^5.0.2",
|
||||
"@taplo/cli": "^0.5.2",
|
||||
"@types/debug": "^4.1.7",
|
||||
"@types/lodash-es": "^4.17.6",
|
||||
"@types/node": "^18.11.9",
|
||||
"@types/node": "^18.11.18",
|
||||
"@types/sinon": "^10.0.13",
|
||||
"@typescript-eslint/eslint-plugin": "^5.43.0",
|
||||
"@typescript-eslint/parser": "^5.43.0",
|
||||
"ava": "^5.1.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
||||
"@typescript-eslint/parser": "^5.48.2",
|
||||
"ava": "^5.1.1",
|
||||
"benny": "^3.7.1",
|
||||
"c8": "^7.12.0",
|
||||
"colorette": "^2.0.19",
|
||||
"cross-env": "^7.0.3",
|
||||
"electron": "20.3.3",
|
||||
"esbuild": "^0.15.14",
|
||||
"eslint": "^8.28.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"esbuild": "^0.17.2",
|
||||
"eslint": "^8.32.0",
|
||||
"eslint-config-prettier": "^8.6.0",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"husky": "^8.0.2",
|
||||
"lerna": "^6.0.3",
|
||||
"lint-staged": "^13.0.3",
|
||||
"husky": "^8.0.3",
|
||||
"lerna": "^6.4.1",
|
||||
"lint-staged": "^13.1.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "^2.7.1",
|
||||
"rollup": "^3.3.0",
|
||||
"prettier": "^2.8.3",
|
||||
"rollup": "^3.10.0",
|
||||
"shx": "^0.3.4",
|
||||
"sinon": "^14.0.2",
|
||||
"sinon": "^15.0.1",
|
||||
"source-map-support": "^0.5.21",
|
||||
"ts-node": "^10.9.1",
|
||||
"tslib": "^2.4.1",
|
||||
"typescript": "^4.9.3"
|
||||
"typescript": "^4.9.4"
|
||||
},
|
||||
"packageManager": "yarn@3.3.0"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue