Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit 7b9dacc

Browse files
authored
feat: use user provided name for package.json and go.mod (#595)
1 parent e1769bf commit 7b9dacc

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- feat: Add API explorer to runtime [#578](https://github.com/hypermodeinc/modus/pull/578)
88
- feat: Add API explorer component to runtime [#584](https://github.com/hypermodeinc/modus/pull/584)
99
- fix: logic for jwks endpoint unmarshalling was incorrect [#594](https://github.com/hypermodeinc/modus/pull/594)
10+
- feat: use user provided name for package.json and go.mod [#595](https://github.com/hypermodeinc/modus/pull/595)
1011

1112
## 2024-11-18 - AssemblyScript SDK 0.13.5
1213

cli/src/commands/new/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ export default class NewCommand extends BaseCommand {
302302
await execFile("npm", ["install"], execOpts);
303303
break;
304304
case SDK.Go:
305+
await execFile("go", ["mod", "edit", "-module", name], execOpts);
305306
await execFile("go", ["mod", "download"], execOpts);
306307
break;
307308
}

sdk/assemblyscript/templates/default/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)