mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-09-03 06:05:04 +09:00
feat!: Initial v2 commit
* Implemented editorconfig * Switched to ESM * Switched to a TypeScript workflow * Switched to projen for project management * Major code refactor * TODO: need tests
This commit is contained in:
Generated
+120
-25
@@ -1,37 +1,132 @@
|
||||
{
|
||||
"name": "aws-actions-configure-aws-credentials",
|
||||
"version": "1.7.0",
|
||||
"description": "Configure AWS Credentials",
|
||||
"main": "index.js",
|
||||
"name": "configure-aws-credentials",
|
||||
"description": "A GitHub Action to configure AWS credentials",
|
||||
"scripts": {
|
||||
"lint": "eslint **.js",
|
||||
"package": "ncc build index.js -o dist && ncc build cleanup.js -o dist/cleanup",
|
||||
"test": "npm run lint && jest --coverage --verbose"
|
||||
"build": "npx projen build",
|
||||
"bump": "npx projen bump",
|
||||
"clobber": "npx projen clobber",
|
||||
"compile": "npx projen compile",
|
||||
"default": "npx projen default",
|
||||
"eject": "npx projen eject",
|
||||
"eslint": "npx projen eslint",
|
||||
"package": "npx projen package",
|
||||
"post-compile": "npx projen post-compile",
|
||||
"post-upgrade": "npx projen post-upgrade",
|
||||
"pre-compile": "npx projen pre-compile",
|
||||
"release": "npx projen release",
|
||||
"test": "node --no-warnings --experimental-vm-modules node_modules/.bin/jest.js",
|
||||
"unbump": "npx projen unbump",
|
||||
"upgrade": "npx projen upgrade",
|
||||
"watch": "npx projen watch",
|
||||
"projen": "node .projenrc.cjs"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/aws-actions/configure-aws-credentials.git"
|
||||
"author": {
|
||||
"name": "Amazon.com, Inc. or its affiliates",
|
||||
"url": "https://aws.amazon.com",
|
||||
"organization": true
|
||||
},
|
||||
"devDependencies": {
|
||||
"@aws-sdk/credential-provider-env": "^3.186.0",
|
||||
"@jest/globals": "^29.1.2",
|
||||
"@types/jest": "^29.1.2",
|
||||
"@types/node": "^14",
|
||||
"@typescript-eslint/eslint-plugin": "^5",
|
||||
"@typescript-eslint/parser": "^5",
|
||||
"@vercel/ncc": "^0.34.0",
|
||||
"aws-sdk-client-mock": "^2.0.0",
|
||||
"eslint": "^8",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-import-resolver-node": "^0.3.6",
|
||||
"eslint-import-resolver-typescript": "^3.5.1",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"jest": "^29.1.2",
|
||||
"jest-junit": "^13",
|
||||
"json-schema": "^0.4.0",
|
||||
"npm-check-updates": "^16",
|
||||
"prettier": "^2.7.1",
|
||||
"projen": "^0.63.19",
|
||||
"projen-github-action-typescript": "^0.0.155",
|
||||
"standard-version": "^9",
|
||||
"ts-jest": "^29.0.3",
|
||||
"typescript": "^4.8.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.0",
|
||||
"@actions/github": "^5.1.1",
|
||||
"@aws-sdk/client-sts": "^3"
|
||||
},
|
||||
"keywords": [
|
||||
"AWS",
|
||||
"GitHub",
|
||||
"Actions",
|
||||
"JavaScript"
|
||||
"aws",
|
||||
"github",
|
||||
"github-action"
|
||||
],
|
||||
"author": "AWS",
|
||||
"engines": {
|
||||
"node": ">= 14.0.0"
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/aws-actions/configure-aws-credentials",
|
||||
"version": "0.0.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/aws-actions/configure-aws-credentials/issues"
|
||||
},
|
||||
"homepage": "https://github.com/aws-actions/configure-aws-credentials#readme",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.0",
|
||||
"aws-sdk": "^2.1232.0",
|
||||
"axios": "^1.1.2"
|
||||
"jest": {
|
||||
"testMatch": [
|
||||
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
||||
"<rootDir>/(test|src)/**/*(*.)@(spec|test).ts?(x)",
|
||||
"<rootDir>/test/**/*.(test|spec).(js|jsx|ts|tsx)"
|
||||
],
|
||||
"clearMocks": true,
|
||||
"collectCoverage": true,
|
||||
"coverageReporters": [
|
||||
"json",
|
||||
"lcov",
|
||||
"clover",
|
||||
"cobertura",
|
||||
"text"
|
||||
],
|
||||
"coverageDirectory": "coverage",
|
||||
"coveragePathIgnorePatterns": [
|
||||
"/node_modules/"
|
||||
],
|
||||
"testPathIgnorePatterns": [
|
||||
"/node_modules/"
|
||||
],
|
||||
"watchPathIgnorePatterns": [
|
||||
"/node_modules/"
|
||||
],
|
||||
"reporters": [
|
||||
"default",
|
||||
[
|
||||
"jest-junit",
|
||||
{
|
||||
"outputDirectory": "test-reports"
|
||||
}
|
||||
]
|
||||
],
|
||||
"preset": "ts-jest/presets/default-esm-legacy",
|
||||
"extensionsToTreatAsEsm": [
|
||||
".ts"
|
||||
],
|
||||
"moduleNameMapper": {
|
||||
"^(\\.{1,2}/.*)\\.js$": "$1"
|
||||
},
|
||||
"transform": {
|
||||
"^.+\\.[tj]sx?$": [
|
||||
"ts-jest",
|
||||
{
|
||||
"useESM": true,
|
||||
"tsconfig": "tsconfig.dev.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@zeit/ncc": "^0.22.3",
|
||||
"eslint": "^8.25.0",
|
||||
"jest": "^29.1.2"
|
||||
}
|
||||
"types": "lib/index.d.ts",
|
||||
"overrides": {
|
||||
"@types/responselike": "1.0.0",
|
||||
"got": "12.3.1"
|
||||
},
|
||||
"type": "module",
|
||||
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user