diff --git a/packages/ui-extensions-go-cli/package.json b/packages/ui-extensions-go-cli/package.json index b3b9dc526c..55233a46f5 100644 --- a/packages/ui-extensions-go-cli/package.json +++ b/packages/ui-extensions-go-cli/package.json @@ -12,7 +12,8 @@ "start": "cd packages/dev-console-app; yarn start", "test": "yarn --cwd ../.. nx run ui-extensions-go-cli:test", "test:nx": "node bin/test.js", - "package": "node bin/package.js", + "package": "yarn --cwd ../.. nx run ui-extensions-go-cli:package", + "package:nx": "node bin/package.js", "lint": "gofmt -s .", "lint:fix": "gofmt -w -s ." }, diff --git a/packages/ui-extensions-go-cli/project.json b/packages/ui-extensions-go-cli/project.json index a3d954fb90..4329959ddd 100644 --- a/packages/ui-extensions-go-cli/project.json +++ b/packages/ui-extensions-go-cli/project.json @@ -12,6 +12,13 @@ "options": { "script": "test:nx" } + }, + "package": { + "executor": "nx:run-script", + "dependsOn": ["^build"], + "options": { + "script": "package:nx" + } } } }