cmyr-template-cli 1.34.0 → 1.34.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/plopfile.js CHANGED
@@ -1268,7 +1268,7 @@ async function initEslint(projectPath, answers) {
1268
1268
  eslint: "^8.31.0"
1269
1269
  };
1270
1270
  let eslintType = "cmyr";
1271
- const extnames = ["js", "mjs", "cjs", "ts"];
1271
+ const extnames = ["js", "mjs", "cjs", "ts", "cts", "mts"];
1272
1272
  if (templateMeta?.language === "vue") {
1273
1273
  Object.assign(devDependencies, {
1274
1274
  "@vue/eslint-config-typescript": "^11.0.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmyr-template-cli",
3
- "version": "1.34.0",
3
+ "version": "1.34.2",
4
4
  "description": "草梅友仁自制的项目模板创建器",
5
5
  "author": "CaoMeiYouRen",
6
6
  "license": "MIT",
@@ -65,7 +65,7 @@
65
65
  "acorn": "^8.12.1",
66
66
  "acorn-walk": "^8.3.3",
67
67
  "axios": "^1.0.0",
68
- "commander": "^12.0.0",
68
+ "commander": "^13.0.0",
69
69
  "dayjs": "^1.9.6",
70
70
  "download-git-repo": "^3.0.2",
71
71
  "ejs": "^3.1.6",
@@ -25,7 +25,9 @@
25
25
  <img src="https://img.shields.io/node/v/<%= packageName %>" />
26
26
  <% } -%>
27
27
  <% if (!isProjectOnNpm && projectPrerequisites) { -%>
28
+ <% projectPrerequisites.map(({ name, value }) => { -%>
28
29
  <img src="https://img.shields.io/badge/<%= name %>-<%= encodeURIComponent(value) %>-blue.svg" />
30
+ <% }) -%>
29
31
  <% } -%>
30
32
  <% if (projectDocumentationUrl) { -%>
31
33
  <a href="<%= projectDocumentationUrl %>" target="_blank">