@appling/codegen-go 0.1.3 → 0.1.4

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/out/index.js +1 -1
  2. package/package.json +4 -4
package/out/index.js CHANGED
@@ -1069,7 +1069,7 @@ function scenarioSteps(scenario, context) {
1069
1069
  const imports = new Set(['testing']);
1070
1070
  try {
1071
1071
  const lines = scenarioTest(scenario, context, imports);
1072
- const does = scenario.data.does ? `: ${String(scenario.data.does).trim().replace(/\s+/g, ' ')}` : '.';
1072
+ const does = scenario.data.describe ? `: ${String(scenario.data.describe).trim().replace(/\s+/g, ' ')}` : '.';
1073
1073
  const comment = [`// ${name} runs the scenario ${scenario.qn}${does}`];
1074
1074
  const helper = goFile(scenario.module, file, context, new Set(), '// ptr returns a pointer to a copy of v, for optional fields.\nfunc ptr[T any](v T) *T { return &v }', true);
1075
1075
  return [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appling/codegen-go",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Appling code generation extension for Go",
5
5
  "homepage": "https://www.appling.tools/docs/",
6
6
  "repository": {
@@ -19,13 +19,13 @@
19
19
  "out"
20
20
  ],
21
21
  "dependencies": {
22
- "@appling/model": "0.1.3"
22
+ "@appling/model": "0.1.4"
23
23
  },
24
24
  "peerDependencies": {
25
- "@appling/codegen": "0.1.3"
25
+ "@appling/codegen": "0.2.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@appling/codegen": "0.1.3",
28
+ "@appling/codegen": "0.2.0",
29
29
  "@types/node": "^24.19.2",
30
30
  "typescript": "7.0.2"
31
31
  },