@contractspec/tool.create-contractspec-plugin 1.56.0 → 1.57.0

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.
Files changed (2) hide show
  1. package/dist/index.mjs +4 -4
  2. package/package.json +6 -6
package/dist/index.mjs CHANGED
@@ -1135,15 +1135,15 @@ program.command("list-templates").description("List available templates").action
1135
1135
  async function collectPluginConfig(options) {
1136
1136
  const name = options.name ?? await input({
1137
1137
  message: "Plugin name (kebab-case):",
1138
- validate: (input$1) => {
1139
- if (!input$1.trim()) return "Plugin name is required";
1140
- if (!/^[a-z][a-z0-9-]*$/.test(input$1)) return "Plugin name must be kebab-case and start with a letter";
1138
+ validate: (input) => {
1139
+ if (!input.trim()) return "Plugin name is required";
1140
+ if (!/^[a-z][a-z0-9-]*$/.test(input)) return "Plugin name must be kebab-case and start with a letter";
1141
1141
  return true;
1142
1142
  }
1143
1143
  });
1144
1144
  const description = options.description ?? await input({
1145
1145
  message: "Plugin description:",
1146
- validate: (input$1) => input$1.trim().length > 0 || "Description is required"
1146
+ validate: (input) => input.trim().length > 0 || "Description is required"
1147
1147
  });
1148
1148
  const defaultAuthor = (() => {
1149
1149
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/tool.create-contractspec-plugin",
3
- "version": "1.56.0",
3
+ "version": "1.57.0",
4
4
  "type": "module",
5
5
  "description": "CLI tool for creating ContractSpec plugins from templates",
6
6
  "keywords": [
@@ -39,8 +39,8 @@
39
39
  "README.md"
40
40
  ],
41
41
  "dependencies": {
42
- "@contractspec/lib.contracts": "1.56.0",
43
- "@contractspec/lib.schema": "1.56.0",
42
+ "@contractspec/lib.contracts": "1.57.0",
43
+ "@contractspec/lib.schema": "1.57.0",
44
44
  "@inquirer/prompts": "^8.2.0",
45
45
  "zod": "^4.3.5",
46
46
  "commander": "^12.1.0",
@@ -49,11 +49,11 @@
49
49
  "mustache": "^4.2.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@contractspec/tool.tsdown": "1.56.0",
53
- "@contractspec/tool.typescript": "1.56.0",
52
+ "@contractspec/tool.tsdown": "1.57.0",
53
+ "@contractspec/tool.typescript": "1.57.0",
54
54
  "@types/fs-extra": "^11.0.4",
55
55
  "@types/mustache": "^4.2.5",
56
- "tsdown": "^0.19.0",
56
+ "tsdown": "^0.20.3",
57
57
  "typescript": "^5.9.3"
58
58
  },
59
59
  "publishConfig": {