Skip to content

Commit

Permalink
Feat/export policy model (#168)
Browse files Browse the repository at this point in the history
* chore(core): add command publish-global for publish to npm

* feat(nx-aws-cdk): export policy model for create cplocy asset

* feat(nx-aws-cdk): update release version 2.0.1 =\> 2.0.2
  • Loading branch information
NarongOk authored Oct 31, 2024
1 parent 3cbe547 commit 10e5fb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/aws-cdk-stack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flowaccount/aws-cdk-stack",
"version": "2.0.1",
"version": "2.0.2",
"dependencies": {
"constructs": "^10.3.0",
"aws-cdk": "^2.143.1",
Expand Down
2 changes: 1 addition & 1 deletion libs/aws-cdk-stack/src/lib/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ class SecurityGroupsModel {
name: string;
inboudRule: SecurityGroupsInboudRuleModel[];
}
class PolicyStatementModel {
export class PolicyStatementModel {
actions: string[];
resources: string[];
conditions?: Conditions;
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"help": "nx help",
"workspace-generator": "nx workspace-generator",
"e2e-registry": "yarn verdaccio --config ./tools/scripts/local-registry/config.yml --listen 4872",
"publish-global": "yarn nx build $1 && cd dist/libs/$1 && npm publish",
"publish-beta": "ts-node tools/scripts/publish-beta",
"publish-local": "cp .npmrc.local .npmrc && run-p \"rimraf tmp\" e2e-registry \"ts-node ./tools/scripts/publish-all 99.99.99 local\"",
"semantic-release": "semantic-release",
Expand Down

0 comments on commit 10e5fb8

Please sign in to comment.