create-esm
Advanced tools
Comparing version 1.0.7 to 1.0.8
10
main.js
@@ -113,8 +113,12 @@ import execa from "execa" | ||
function initPackage(bin) { | ||
const args = [ | ||
const initArgs = process.argv | ||
.slice(2) | ||
.filter((arg) => arg.startsWith("-")) | ||
const binArgs = [ | ||
"init", | ||
...process.argv.slice(2) | ||
...initArgs | ||
] | ||
return execa(bin, args, { | ||
return execa(bin, binArgs, { | ||
stdio: "inherit" | ||
@@ -121,0 +125,0 @@ }) |
{ | ||
"name": "create-esm", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Create `esm` enabled packages.", | ||
@@ -5,0 +5,0 @@ "keywords": "commonjs, ecmascript, export, import, modules, node, require", |
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
5458
136