@cloud-copilot/iam-shrink 0.1.13 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -74,6 +74,7 @@ jobs:
74
74
  uses: actions/checkout@v4
75
75
  with:
76
76
  ref: ${{ github.event.pull_request.head.sha }}
77
+ fetch-depth: 0
77
78
 
78
79
  - name: Set up Python
79
80
  uses: actions/setup-python@v5
@@ -89,7 +90,7 @@ jobs:
89
90
  - name: Check if package.json changed
90
91
  id: package_check
91
92
  run: |
92
- if git diff --name-only origin/${{ github.event.pull_request.base.ref }}...HEAD | grep -q '^package\.json$'; then
93
+ if git diff --name-only ${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }} | grep -q '^package\.json$'; then
93
94
  echo "changed=true" >> $GITHUB_OUTPUT
94
95
  else
95
96
  echo "changed=false" >> $GITHUB_OUTPUT
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.1.15](https://github.com/cloud-copilot/iam-shrink/compare/v0.1.14...v0.1.15) (2025-04-19)
2
+
3
+
4
+ ### Features
5
+
6
+ * Export shrink option types ([eaba0dc](https://github.com/cloud-copilot/iam-shrink/commit/eaba0dcd1e5d3bb5b684f9f01f32b28d2b9b27ff))
7
+
8
+ ## [0.1.14](https://github.com/cloud-copilot/iam-shrink/compare/v0.1.13...v0.1.14) (2025-04-19)
9
+
1
10
  ## [0.1.13](https://github.com/cloud-copilot/iam-shrink/compare/v0.1.12...v0.1.13) (2025-04-14)
2
11
 
3
12
 
@@ -1,4 +1,5 @@
1
1
  export { extractActionsFromLineOfInput } from './cli_utils.js';
2
2
  export { shrink } from './shrink.js';
3
+ export type { ActionAccessLevel, ShrinkOptions } from './shrink.js';
3
4
  export { shrinkJsonDocument } from './shrink_file.js';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAA;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAA;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,+CAA8D;AAArD,6HAAA,6BAA6B,OAAA;AACtC,yCAAoC;AAA3B,mGAAA,MAAM,OAAA;AACf,mDAAqD;AAA5C,oHAAA,kBAAkB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,+CAA8D;AAArD,6HAAA,6BAA6B,OAAA;AACtC,yCAAoC;AAA3B,mGAAA,MAAM,OAAA;AAEf,mDAAqD;AAA5C,oHAAA,kBAAkB,OAAA"}
@@ -1,4 +1,5 @@
1
1
  export { extractActionsFromLineOfInput } from './cli_utils.js';
2
2
  export { shrink } from './shrink.js';
3
+ export type { ActionAccessLevel, ShrinkOptions } from './shrink.js';
3
4
  export { shrinkJsonDocument } from './shrink_file.js';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAA;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAA;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAA;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAA;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-copilot/iam-shrink",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "Shrink IAM Policies",
5
5
  "scripts": {
6
6
  "build": "npx tsc -p tsconfig.cjs.json && npx tsc -p tsconfig.esm.json && ./postbuild.sh",
package/src/index.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { extractActionsFromLineOfInput } from './cli_utils.js'
2
2
  export { shrink } from './shrink.js'
3
+ export type { ActionAccessLevel, ShrinkOptions } from './shrink.js'
3
4
  export { shrinkJsonDocument } from './shrink_file.js'