Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
// eslint-disable-next-line import/export
export * from './main.js';
//# sourceMappingURL=cli.js.map
1 change: 0 additions & 1 deletion bin/cli.js.map

This file was deleted.

5 changes: 2 additions & 3 deletions bin/index.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion bin/index.js.map

This file was deleted.

363 changes: 363 additions & 0 deletions bin/licenses.txt

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion bin/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,3 @@ catch (e) {
logger.error(e);
process.exit(1);
}
//# sourceMappingURL=main.js.map
1 change: 0 additions & 1 deletion bin/main.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion bin/package.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"appstore-connect-jwt-generator-cli","version":"1.0.7","author":"poad","license":"MIT","private":false,"homepage":"https://github.com/poad/appstore-connect-jwt-generator-cli#readme","bin":{"jwt-gen":"bin/index.js"},"main":"bin/cli.js","type":"module","repository":{"type":"git","url":"git+https://github.com/poad/appstore-connect-jwt-generator-cli.git"},"keywords":["jwt","appstore","cli"],"scripts":{"test":"vitest run --silent=false --coverage --passWithNoTests","clean":"tsc --build --clean","compile":"tsc","watch":"tsc --watch","build":"pnpm clean && pnpm compile","dev":"tsx src/main.ts","package":"ncc build --source-map --license licenses.txt -m -q -o bin","lint":"eslint","lint-fix":"eslint --fix","all":"pnpm build && pnpm package && pnpm lint && pnpm test"},"devDependencies":{"@eslint/compat":"^1.3.2","@eslint/js":"^9.35.0","@stylistic/eslint-plugin":"^5.3.1","@types/node":"^24.3.1","@vercel/ncc":"^0.38.3","@vitest/coverage-v8":"^3.2.4","eslint":"^9.35.0","eslint-config-prettier":"^10.1.8","eslint-import-resolver-typescript":"^4.4.4","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.32.0","eslint-plugin-jest":"^29.0.1","eslint-plugin-prettier":"^5.5.4","eslint-plugin-promise":"^7.2.1","prettier":"^3.6.2","tsx":"^4.20.5","typescript":"^5.9.2","typescript-eslint":"^8.43.0","vite":"^7.1.5","vite-tsconfig-paths":"^5.1.4","vitest":"^3.2.4"},"dependencies":{"appstore-connect-jwt-generator-core":"^2.0.1","arg":"^5.0.2","chalk":"^5.6.2","chalk-template":"^1.1.2","log4js":"^6.9.1"},"files":["package.json","bin/*"],"exports":{".":{"node":"./bin/index.js","default":"./bin/index.js"}},"engines":{"npm":"use pnpm please!","yarn":"use pnpm please!","pnpm":">=8.7.1","node":">=22.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"packageManager":"[email protected]"}
{"name":"appstore-connect-jwt-generator-cli","version":"1.0.7","author":"poad","license":"MIT","private":false,"homepage":"https://github.com/poad/appstore-connect-jwt-generator-cli#readme","main":"bin/cli.js","bin":{"jwt-gen":"./bin/cli.js","appstore-jwt-gen":"./bin/cli.js"},"type":"module","repository":{"type":"git","url":"git+https://github.com/poad/appstore-connect-jwt-generator-cli.git"},"keywords":["appstore","jwt","api","cli"],"preferGlobal":false,"scripts":{"test":"vitest run --silent=false --coverage --passWithNoTests","prebuild":"tsc --build --clean","watch":"tsc --watch","build":"tsc","dev":"tsx src/main.ts","package":"ncc build --license licenses.txt -m -q -o bin && chmod +x bin/cli.js","lint":"eslint","lint-fix":"eslint --fix","all":"pnpm build && pnpm package && pnpm lint && pnpm test"},"devDependencies":{"@eslint/compat":"^1.3.2","@eslint/js":"^9.35.0","@stylistic/eslint-plugin":"^5.3.1","@types/node":"^24.3.1","@vercel/ncc":"^0.38.3","@vitest/coverage-v8":"^3.2.4","eslint":"^9.35.0","eslint-config-prettier":"^10.1.8","eslint-import-resolver-typescript":"^4.4.4","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.32.0","eslint-plugin-jest":"^29.0.1","eslint-plugin-prettier":"^5.5.4","eslint-plugin-promise":"^7.2.1","prettier":"^3.6.2","tsx":"^4.20.5","typescript":"^5.9.2","typescript-eslint":"^8.43.0","vite":"^7.1.5","vite-tsconfig-paths":"^5.1.4","vitest":"^3.2.4"},"dependencies":{"appstore-connect-jwt-generator-core":"^2.0.2","arg":"^5.0.2","chalk":"^5.6.2","chalk-template":"^1.1.2","log4js":"^6.9.1"},"files":["package.json","bin/*","README.md"],"exports":{".":{"node":"./bin/index.js","default":"./bin/index.js"}},"engines":{"npm":"use pnpm please!","yarn":"use pnpm please!","node":">=22.0.0"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"packageManager":"[email protected]"}
1 change: 0 additions & 1 deletion bin/sourcemap-register.cjs

This file was deleted.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"private": false,
"homepage": "https://github.com/poad/appstore-connect-jwt-generator-cli#readme",
"main": "bin/index.js",
"main": "bin/cli.js",
"bin": {
"jwt-gen": "./bin/cli.js",
"appstore-jwt-gen": "./bin/cli.js"
Expand All @@ -24,12 +24,11 @@
"preferGlobal": false,
"scripts": {
"test": "vitest run --silent=false --coverage --passWithNoTests",
"clean": "tsc --build --clean",
"compile": "tsc",
"prebuild": "tsc --build --clean",
"watch": "tsc --watch",
"build": "pnpm clean && pnpm compile",
"build": "tsc",
"dev": "tsx src/main.ts",
"package": "ncc build --source-map --license licenses.txt -m -q -o bin",
"package": "ncc build --license licenses.txt -m -q -o bin && chmod +x bin/cli.js",
"lint": "eslint",
"lint-fix": "eslint --fix",
"all": "pnpm build && pnpm package && pnpm lint && pnpm test"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outDir": "./bin",
"declaration": false,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ソースマップの無効化について:

sourceMap: false への変更は、配布パッケージのサイズ削減とセキュリティ向上の観点から適切な判断です。実行時のデバッグ情報は必要最小限に抑えるべきです。

"declarationMap": false,
"sourceMap": true,
"sourceMap": false,
"strict": true,
"noImplicitAny": true,
"esModuleInterop": true,
Expand Down