Skip to content

Commit bc6c464

Browse files
committed
Fix packaging of the Go CLI
1 parent 8e4a552 commit bc6c464

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

packages/ui-extensions-go-cli/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"start": "cd packages/dev-console-app; yarn start",
1313
"test": "yarn --cwd ../.. nx run ui-extensions-go-cli:test",
1414
"test:nx": "node bin/test.js",
15-
"package": "node bin/package.js",
15+
"package": "yarn --cwd ../.. nx run ui-extensions-go-cli:package",
16+
"package:nx": "node bin/package.js",
1617
"lint": "gofmt -s .",
1718
"lint:fix": "gofmt -w -s ."
1819
},

packages/ui-extensions-go-cli/project.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212
"options": {
1313
"script": "test:nx"
1414
}
15+
},
16+
"package": {
17+
"executor": "nx:run-script",
18+
"dependsOn": ["^build"],
19+
"options": {
20+
"script": "package:nx"
21+
}
1522
}
1623
}
1724
}

0 commit comments

Comments
 (0)