chore: migrate to biomejs (#1167)

* chore: migrate to biomejs

* chore: migrate to biomejs

* chore: migrate from jest to vitest

* chore: error on lint warnings

* chore: remove obsolete depedencies
This commit is contained in:
Tom Keller
2024-11-04 10:19:12 -08:00
committed by GitHub
parent d90c1f89e1
commit ccbdafa425
17 changed files with 4393 additions and 8410 deletions
+15 -25
View File
@@ -3,9 +3,9 @@
"description": "A GitHub Action to configure AWS credentials",
"scripts": {
"build": "tsc --project tsconfig.build.json",
"lint": "eslint .",
"package": "npm run build && ncc build --license THIRD-PARTY -o dist && ncc build src/cleanup/index.ts -o dist/cleanup && copyup -E dist/THIRD-PARTY . && del-cli dist/THIRD-PARTY",
"test": "npm run lint && jest --verbose"
"lint": "biome check --error-on-warnings ./src",
"package": "npm run build && ncc build --license THIRD-PARTY -o dist && ncc build src/cleanup/index.ts -o dist/cleanup && cpy -E dist/THIRD-PARTY . && del-cli dist/THIRD-PARTY",
"test": "npm run lint && vitest run"
},
"author": {
"name": "Amazon.com, Inc. or its affiliates",
@@ -14,35 +14,25 @@
},
"devDependencies": {
"@aws-sdk/credential-provider-env": "^3.515.0",
"@smithy/property-provider": "^3.1.8",
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.14",
"@types/node": "^22",
"@typescript-eslint/eslint-plugin": "<=5.62.0",
"@typescript-eslint/parser": "<=5.62.0",
"@biomejs/biome": "1.9.4",
"@smithy/property-provider": "^3.1.7",
"@types/node": "^22.7.7",
"@vercel/ncc": "^0.38.2",
"@vitest/coverage-v8": "^2.1.3",
"aws-sdk-client-mock": "^4.1.0",
"copyfiles": "^2.4.1",
"cpy-cli": "^5.0.0",
"del-cli": "^6.0.0",
"eslint": "^8",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"jest-junit": "^16",
"json-schema": "^0.4.0",
"prettier": "^3.3.3",
"standard-version": "^9",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3"
"memfs": "^4.14.0",
"standard-version": "^9.5.0",
"typescript": "^5.6.3",
"vitest": "^2.1.3"
},
"dependencies": {
"@actions/core": "^1.11.1",
"@aws-sdk/client-sts": "^3",
"@smithy/node-http-handler": "^3.2.5",
"https-proxy-agent": "^5.0.0"
"@aws-sdk/client-sts": "^3.675.0",
"@smithy/node-http-handler": "^3.2.4",
"https-proxy-agent": "^5.0.1"
},
"keywords": [
"aws",