@beesolve/aws-accounts 1.0.1 → 1.0.2

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.
package/README.md CHANGED
@@ -19,6 +19,7 @@ Requires Node.js 24+ and valid AWS credentials (via environment, profile, or SSO
19
19
  # 1. Create a project directory
20
20
  mkdir my-org && cd my-org
21
21
  npm init -y
22
+ npm pkg set type=module
22
23
  npm install @beesolve/aws-accounts
23
24
 
24
25
  # 2. Deploy remote infrastructure (S3 bucket, IAM role, Lambda)
package/bin/cli.js ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import "../dist/cli.js";
package/dist/cli.js CHANGED
File without changes
Binary file
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@beesolve/aws-accounts",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "AWS Organizations and IAM Identity Center management CLI",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {
7
- "aws-accounts": "dist/cli.js"
7
+ "aws-accounts": "bin/cli.js"
8
8
  },
9
9
  "files": [
10
+ "bin",
10
11
  "dist",
11
12
  "!dist/**/*.test.js",
12
13
  "dist-lambda"
@@ -21,7 +22,7 @@
21
22
  },
22
23
  "scripts": {
23
24
  "clean": "rm -rf dist",
24
- "build": "npm run clean && esbuild $(find src -name '*.ts' ! -name '*.test.ts') --platform=node --target=node24 --format=esm --outdir=dist --outbase=src && chmod +x dist/cli.js",
25
+ "build": "npm run clean && esbuild $(find src -name '*.ts' ! -name '*.test.ts') --platform=node --target=node24 --format=esm --outdir=dist --outbase=src",
25
26
  "build:lambda": "node scripts/buildLambda.ts",
26
27
  "build:tests": "find dist -name '*.test.js' -delete && esbuild \"src/**/*.test.ts\" --platform=node --target=node24 --format=esm --outdir=dist --outbase=src",
27
28
  "cli": "npm run build && node dist/cli.js",