create-ol-app
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "create-ol-app", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Initialize a new OpenLayers application", | ||
@@ -25,5 +25,5 @@ "main": "src/main.js", | ||
"devDependencies": { | ||
"eslint": "^7.32.0", | ||
"eslint-config-openlayers": "^16.0.1", | ||
"mocha": "^9.1.2" | ||
"eslint": "^8.57.1", | ||
"eslint-config-openlayers": "^19.0.0", | ||
"mocha": "^10.8.2" | ||
}, | ||
@@ -36,5 +36,5 @@ "eslintConfig": { | ||
"degit": "^2.8.4", | ||
"fs-extra": "^10.0.0", | ||
"validate-npm-package-name": "^3.0.0" | ||
"fs-extra": "^11.2.0", | ||
"validate-npm-package-name": "^6.0.0" | ||
} | ||
} |
@@ -16,3 +16,3 @@ #!/usr/bin/env node | ||
const {projectDir, options} = parseArgs(args); | ||
const packageName = path.basename(projectDir); | ||
const packageName = path.basename(projectDir).toLowerCase(); | ||
@@ -28,3 +28,3 @@ const { | ||
process.stderr.write( | ||
`\nPackage name rules:\n${issues.map((issue) => '\n * ' + issue)}\n` | ||
`\nPackage name rules:\n${issues.map((issue) => '\n * ' + issue)}\n`, | ||
); | ||
@@ -51,3 +51,3 @@ throw new Error(`Invalid package name: ${packageName}`); | ||
.default(templates[0]) | ||
.choices(templates) | ||
.choices(templates), | ||
) | ||
@@ -96,4 +96,4 @@ .usage('[project-directory] [options]') | ||
main(process.argv).catch((error) => | ||
process.stderr.write(`\n${error.message}\n`, () => process.exit(1)) | ||
process.stderr.write(`\n${error.message}\n`, () => process.exit(1)), | ||
); | ||
} |
5801
+ Addedfs-extra@11.3.0(transitive)
+ Addedvalidate-npm-package-name@6.0.0(transitive)
- Removedbuiltins@1.0.3(transitive)
- Removedfs-extra@10.1.0(transitive)
- Removedvalidate-npm-package-name@3.0.0(transitive)
Updatedfs-extra@^11.2.0