Skip to content

Commit 10e5fb8

Browse files
authored
Feat/export policy model (#168)
* 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
1 parent 3cbe547 commit 10e5fb8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

libs/aws-cdk-stack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flowaccount/aws-cdk-stack",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"dependencies": {
55
"constructs": "^10.3.0",
66
"aws-cdk": "^2.143.1",

libs/aws-cdk-stack/src/lib/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ class SecurityGroupsModel {
373373
name: string;
374374
inboudRule: SecurityGroupsInboudRuleModel[];
375375
}
376-
class PolicyStatementModel {
376+
export class PolicyStatementModel {
377377
actions: string[];
378378
resources: string[];
379379
conditions?: Conditions;

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"help": "nx help",
3636
"workspace-generator": "nx workspace-generator",
3737
"e2e-registry": "yarn verdaccio --config ./tools/scripts/local-registry/config.yml --listen 4872",
38+
"publish-global": "yarn nx build $1 && cd dist/libs/$1 && npm publish",
3839
"publish-beta": "ts-node tools/scripts/publish-beta",
3940
"publish-local": "cp .npmrc.local .npmrc && run-p \"rimraf tmp\" e2e-registry \"ts-node ./tools/scripts/publish-all 99.99.99 local\"",
4041
"semantic-release": "semantic-release",

0 commit comments

Comments
 (0)