create-devc
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -136,4 +136,7 @@ "use strict"; | ||
function hasPackage(packageJson, packageList) { | ||
return packageList.some((packageName) => packageJson.dependencies[packageName] || | ||
packageJson.devDependencies[packageName]); | ||
return packageList.some((packageName) => { | ||
var _a, _b; | ||
return ((_a = packageJson.dependencies) === null || _a === void 0 ? void 0 : _a[packageName]) || | ||
((_b = packageJson.devDependencies) === null || _b === void 0 ? void 0 : _b[packageName]); | ||
}); | ||
} | ||
@@ -140,0 +143,0 @@ function hasOneOfFiles(root, files) { |
{ | ||
"name": "create-devc", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Quickly add .devcontainer configuration to any JavaScript project, and more!", | ||
@@ -19,3 +19,4 @@ "bin": { | ||
"release:check": "semantic-release --dry-run", | ||
"prepare": "npm run build:clean -s" | ||
"prepare": "npm run build:clean -s", | ||
"publish:create-devc": "node ./scripts/rename-pkg.js create-devc && npm publish" | ||
}, | ||
@@ -22,0 +23,0 @@ "repository": { |
@@ -85,3 +85,4 @@ # 📦 devc | ||
- https://github.com/microsoft/dev-container-spec | ||
- https://code.visualstudio.com/docs/remote/devcontainer-cli | ||
- https://github.com/stuartleeks/devcontainer-cli/ |
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
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
127155
1948
88