Comparing version 0.4.0 to 0.4.1
{ | ||
"name": "jsh", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Helpers for Bash like shell scripting in JavaScript", | ||
@@ -19,11 +19,12 @@ "author": "Brady Holt", | ||
], | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/mjs/index.js", | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.mjs", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"require": "./dist/cjs/index.js", | ||
"import": "./dist/mjs/index.mjs" | ||
"require": "./dist/index.cjs", | ||
"import": "./dist/index.mjs" | ||
} | ||
}, | ||
"types": "dist/index.d.ts", | ||
"bin": "./bin/jsh.mjs", | ||
@@ -39,6 +40,6 @@ "devDependencies": { | ||
"scripts": { | ||
"build": "rm -rf dist/ && tsc -p src/tsconfig.mjs.json && tsc -p src/tsconfig.cjs.json && mv ./dist/mjs/index.js ./dist/mjs/index.mjs", | ||
"build": "rm -rf dist/ && tsc -p src/tsconfig.mjs.json && mv ./dist/index.js ./dist/index.mjs && tsc -p src/tsconfig.cjs.json && mv ./dist/index.js ./dist/index.cjs", | ||
"test": "jest --clearCache && jest --silent", | ||
"prepublishOnly": "npm run build && bin/local-run.mjs ./scripts/source-version-prefix.mjs" | ||
"prepublishOnly": "npm run build && bin/jsh-local.mjs ./scripts/source-version-prefix.mjs" | ||
} | ||
} |
@@ -97,3 +97,3 @@ # jsh | ||
You can refer to the [definition file](https://github.com/bradymholt/jsh/blob/main/dist/cjs/index.d.ts) for a full list of the helpers and JSDoc documentation for arguments and usage. | ||
You can refer to the [definition file](https://github.com/bradymholt/jsh/blob/main/dist/index.d.ts) for a full list of the helpers and JSDoc documentation for arguments and usage. | ||
@@ -269,3 +269,3 @@ ## Command Execution | ||
``` | ||
wget -O jsh.js https://raw.githubusercontent.com/bradymholt/jsh/main/dist/cjs/index.js | ||
wget -O jsh.js https://raw.githubusercontent.com/bradymholt/jsh/main/dist/index.cjs | ||
``` | ||
@@ -272,0 +272,0 @@ |
@@ -5,5 +5,5 @@ { | ||
"module": "CommonJS", | ||
"outDir": "../dist/cjs" | ||
"outDir": "../dist" | ||
}, | ||
"files": ["./index.ts"] | ||
} |
{ | ||
"extends": "../tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "../dist/mjs" | ||
"outDir": "../dist" | ||
}, | ||
"files": ["./index.ts"] | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
93229
40
2411
7