Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "copypack", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "like links but copies", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -9,3 +9,3 @@ #!/usr/bin/env node | ||
relativeProjectPath: string, | ||
sourcePackages: string[] | ||
sourcePackagesFilter: string[] | ||
) { | ||
@@ -18,5 +18,9 @@ const targetProjectPath = path.join(context, relativeProjectPath); | ||
undefined, | ||
sourcePackages | ||
sourcePackagesFilter | ||
); | ||
if (packageJsonPaths.length === 0) { | ||
throw new Error(`No package.json files found for the given pattern [${sourcePackagesFilter}]`); | ||
} | ||
for (const filePath of packageJsonPaths) { | ||
@@ -23,0 +27,0 @@ try { |
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
24871
307