Comparing version 7.0.3 to 7.0.4
#!/usr/bin/env node | ||
import './globals.js'; | ||
export {}; |
@@ -20,3 +20,2 @@ #!/usr/bin/env node | ||
import url from 'node:url'; | ||
import './globals.js'; | ||
import { updateArgv } from './goods.js'; | ||
@@ -27,2 +26,4 @@ import { $, argv, chalk, fetch, ProcessOutput } from './index.js'; | ||
await (async function main() { | ||
const globals = './globals.js'; | ||
await import(globals); | ||
$.verbose = !argv.quiet; | ||
@@ -29,0 +30,0 @@ if (typeof argv.shell === 'string') { |
@@ -15,2 +15,3 @@ // Copyright 2021 Google LLC | ||
import assert from 'node:assert'; | ||
import chalk from 'chalk'; | ||
import { $, within } from './core.js'; | ||
@@ -17,0 +18,0 @@ import { sleep } from './goods.js'; |
@@ -6,4 +6,4 @@ /// <reference types="node" resolution-mode="require"/> | ||
declare global { | ||
var ProcessPromise: typeof _.ProcessPromise; | ||
var ProcessOutput: typeof _.ProcessOutput; | ||
type ProcessPromise = _.ProcessPromise; | ||
type ProcessOutput = _.ProcessOutput; | ||
var log: typeof _.log; | ||
@@ -10,0 +10,0 @@ var $: typeof _.$; |
{ | ||
"name": "zx", | ||
"version": "7.0.3", | ||
"version": "7.0.4", | ||
"description": "A tool for writing better scripts.", | ||
@@ -40,5 +40,6 @@ "type": "module", | ||
"fmt:check": "prettier --check .", | ||
"build": "tsc", | ||
"test": "tsc && PATH=$(env -i bash -c 'echo $PATH') node_modules/.bin/uvu test -i fixtures", | ||
"tsd": "tsd", | ||
"build": "tsc --project tsconfig.prod.json", | ||
"build:check": "tsc", | ||
"test": "npm run build && PATH=$(env -i bash -c 'echo $PATH') node_modules/.bin/uvu test -i fixtures", | ||
"test:types": "tsd", | ||
"coverage": "c8 --check-coverage npm test -- -i package", | ||
@@ -45,0 +46,0 @@ "mutation": "stryker run" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65439
1240
147
8
11
1
51