chore(deps): upgrade dependencies

Upgrades project dependencies. See details in [workflow run].

[Workflow Run]: https://github.com/dkershner6/post-api-call-action/actions/runs/9769697469

------

*Automatically created by projen via the "upgrade-main" workflow*

Signed-off-by: github-actions <github-actions@github.com>
This commit is contained in:
github-actions 2024-07-03 00:15:05 +00:00
parent dd657422aa
commit 69e9f655c4
10 changed files with 418 additions and 318 deletions

42
.eslintrc.json generated
View File

@ -99,9 +99,7 @@
} }
} }
], ],
"no-duplicate-imports": [ "no-duplicate-imports": "off",
"error"
],
"no-shadow": [ "no-shadow": [
"off" "off"
], ],
@ -111,9 +109,7 @@
"key-spacing": [ "key-spacing": [
"error" "error"
], ],
"no-multiple-empty-lines": [ "no-multiple-empty-lines": "off",
"error"
],
"@typescript-eslint/no-floating-promises": [ "@typescript-eslint/no-floating-promises": [
"error" "error"
], ],
@ -121,11 +117,10 @@
"off" "off"
], ],
"@typescript-eslint/return-await": [ "@typescript-eslint/return-await": [
"error" "error",
], "always"
"no-trailing-spaces": [
"error"
], ],
"no-trailing-spaces": "off",
"dot-notation": [ "dot-notation": [
"error" "error"
], ],
@ -149,7 +144,7 @@
} }
], ],
"no-console": [ "no-console": [
"warn", "error",
{ {
"allow": [ "allow": [
"debug", "debug",
@ -160,10 +155,13 @@
} }
], ],
"import/namespace": "off", "import/namespace": "off",
"import/no-duplicates": "error",
"import/no-named-as-default": "error",
"import/no-named-as-default-member": "error",
"sonarjs/no-redundant-jump": "off", "sonarjs/no-redundant-jump": "off",
"sonarjs/no-small-switch": "warn", "sonarjs/no-small-switch": "warn",
"@typescript-eslint/explicit-function-return-type": [ "@typescript-eslint/explicit-function-return-type": [
"warn", "error",
{ {
"allowExpressions": true, "allowExpressions": true,
"allowTypedFunctionExpressions": true, "allowTypedFunctionExpressions": true,
@ -173,13 +171,31 @@
} }
], ],
"@typescript-eslint/no-unused-vars": [ "@typescript-eslint/no-unused-vars": [
"warn", "error",
{ {
"ignoreRestSiblings": true "ignoreRestSiblings": true
} }
] ]
}, },
"overrides": [ "overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"excludedFiles": [
"**/app/**",
"**/app/**",
"**/pages/**",
"**/pages/**",
"**/.storybook/**",
"*.stories.ts",
"*.stories.tsx"
],
"rules": {
"import/no-default-export": "warn"
}
},
{ {
"files": [ "files": [
"*.js", "*.js",

1
.gitattributes generated vendored
View File

@ -20,6 +20,7 @@
/.projen/tasks.json linguist-generated /.projen/tasks.json linguist-generated
/action.yml linguist-generated /action.yml linguist-generated
/dist/** linguist-generated /dist/** linguist-generated
/docs/** linguist-generated
/LICENSE linguist-generated /LICENSE linguist-generated
/package.json linguist-generated /package.json linguist-generated
/pnpm-lock.yaml linguist-generated /pnpm-lock.yaml linguist-generated

3
.github/workflows/release.yml generated vendored
View File

@ -55,7 +55,8 @@ jobs:
permissions: permissions:
contents: write contents: write
steps: steps:
- uses: actions/checkout@v3 - name: Checkout
uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: rickstaa/action-create-tag@v1 - uses: rickstaa/action-create-tag@v1

1
.gitignore generated vendored
View File

@ -49,4 +49,5 @@ junit.xml
!/.eslintrc.json !/.eslintrc.json
!/dist/ !/dist/
!/action.yml !/action.yml
.DS_Store
!/.projenrc.ts !/.projenrc.ts

8
.npmignore generated
View File

@ -22,5 +22,13 @@ dist
/.projenrc.js /.projenrc.js
tsconfig.tsbuildinfo tsconfig.tsbuildinfo
/.eslintrc.json /.eslintrc.json
.DS_Store
/project.json
/docs/
**/*.md
/.jest/
/CONTRIBUTING.md
/README.md
/LICENSE
/.gitattributes /.gitattributes
/.projenrc.ts /.projenrc.ts

9
.projen/deps.json generated
View File

@ -10,7 +10,7 @@
}, },
{ {
"name": "@types/node", "name": "@types/node",
"version": "^18", "version": "^20",
"type": "build" "type": "build"
}, },
{ {
@ -33,7 +33,7 @@
}, },
{ {
"name": "constructs", "name": "constructs",
"version": "^10.0.0", "version": "10.3.0",
"type": "build" "type": "build"
}, },
{ {
@ -83,11 +83,12 @@
"type": "build" "type": "build"
}, },
{ {
"name": "projen", "name": "projen-github-action-typescript",
"type": "build" "type": "build"
}, },
{ {
"name": "projen-github-action-typescript", "name": "projen",
"version": "0.82.5",
"type": "build" "type": "build"
}, },
{ {

29
.projen/tasks.json generated
View File

@ -49,6 +49,15 @@
} }
] ]
}, },
"clean-compile": {
"name": "clean-compile",
"description": "Clean up the compiled output",
"steps": [
{
"exec": "rm -rf lib && rm -rf dist"
}
]
},
"clobber": { "clobber": {
"name": "clobber", "name": "clobber",
"description": "hard resets to HEAD of origin and cleans the local repo", "description": "hard resets to HEAD of origin and cleans the local repo",
@ -106,7 +115,8 @@
{ {
"exec": "typedoc src --disableSources --out docs/" "exec": "typedoc src --disableSources --out docs/"
} }
] ],
"condition": "if [ \"$RELEASE\" = \"true\" ] ; then exit 1 ; fi"
}, },
"eject": { "eject": {
"name": "eject", "name": "eject",
@ -126,11 +136,10 @@
"steps": [ "steps": [
{ {
"exec": "eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern $@ src test build-tools projenrc .projenrc.ts", "exec": "eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern $@ src test build-tools projenrc .projenrc.ts",
"args": [ "receiveArgs": true
"--max-warnings=0"
]
} }
] ],
"condition": "if [ \"$RELEASE\" = \"true\" ] ; then exit 1 ; fi"
}, },
"i": { "i": {
"name": "i", "name": "i",
@ -165,7 +174,8 @@
{ {
"spawn": "eslint" "spawn": "eslint"
} }
] ],
"condition": "if [ \"$RELEASE\" = \"true\" ] ; then exit 1 ; fi"
}, },
"package": { "package": {
"name": "package", "name": "package",
@ -240,7 +250,8 @@
"exec": "jest --passWithNoTests --coverageProvider=v8 --updateSnapshot", "exec": "jest --passWithNoTests --coverageProvider=v8 --updateSnapshot",
"receiveArgs": true "receiveArgs": true
} }
] ],
"condition": "if [ \"$RELEASE\" = \"true\" ] ; then exit 1 ; fi"
}, },
"test:watch": { "test:watch": {
"name": "test:watch", "name": "test:watch",
@ -283,13 +294,13 @@
}, },
"steps": [ "steps": [
{ {
"exec": "pnpx npm-check-updates@16 --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@types/clone-deep,@types/jest,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,@vercel/ncc,clone-deep,constructs,dkershner6-projen-github-actions,eslint-config-prettier,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-jest,eslint-plugin-prettier,eslint-plugin-sonarjs,eslint,jest,jest-junit,prettier,projen,projen-github-action-typescript,standard-version,ts-jest,ts-node,typedoc,typescript,@actions/core,@actions/github,axios" "exec": "pnpx npm-check-updates@16 --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@types/clone-deep,@types/jest,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,@vercel/ncc,clone-deep,dkershner6-projen-github-actions,eslint-config-prettier,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-jest,eslint-plugin-prettier,eslint-plugin-sonarjs,eslint,jest,jest-junit,prettier,projen-github-action-typescript,standard-version,ts-jest,ts-node,typedoc,typescript,@actions/core,@actions/github,axios"
}, },
{ {
"exec": "pnpm i --no-frozen-lockfile" "exec": "pnpm i --no-frozen-lockfile"
}, },
{ {
"exec": "pnpm update @types/clone-deep @types/jest @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser @vercel/ncc clone-deep constructs dkershner6-projen-github-actions eslint-config-prettier eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-jest eslint-plugin-prettier eslint-plugin-sonarjs eslint jest jest-junit prettier projen projen-github-action-typescript standard-version ts-jest ts-node typedoc typescript @actions/core @actions/github axios" "exec": "pnpm update @types/clone-deep @types/jest @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser @vercel/ncc clone-deep dkershner6-projen-github-actions eslint-config-prettier eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-jest eslint-plugin-prettier eslint-plugin-sonarjs eslint jest jest-junit prettier projen-github-action-typescript standard-version ts-jest ts-node typedoc typescript @actions/core @actions/github axios"
}, },
{ {
"exec": "npx projen" "exec": "npx projen"

40
package.json generated
View File

@ -5,6 +5,7 @@
"build": "npx projen build", "build": "npx projen build",
"bump": "npx projen bump", "bump": "npx projen bump",
"ci": "npx projen ci", "ci": "npx projen ci",
"clean-compile": "npx projen clean-compile",
"clobber": "npx projen clobber", "clobber": "npx projen clobber",
"compile": "npx projen compile", "compile": "npx projen compile",
"default": "npx projen default", "default": "npx projen default",
@ -29,36 +30,36 @@
}, },
"devDependencies": { "devDependencies": {
"@types/clone-deep": "^4.0.4", "@types/clone-deep": "^4.0.4",
"@types/jest": "^29.5.11", "@types/jest": "^29.5.12",
"@types/node": "^18", "@types/node": "^20",
"@typescript-eslint/eslint-plugin": "^6", "@typescript-eslint/eslint-plugin": "^6",
"@typescript-eslint/parser": "^6", "@typescript-eslint/parser": "^6",
"@vercel/ncc": "^0.38.1", "@vercel/ncc": "^0.38.1",
"clone-deep": "^4.0.1", "clone-deep": "^4.0.1",
"constructs": "^10.0.0", "constructs": "10.3.0",
"dkershner6-projen-github-actions": "^0.0.24", "dkershner6-projen-github-actions": "^0.0.76",
"eslint": "^8", "eslint": "^8",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1", "eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.6.1", "eslint-plugin-jest": "^27.9.0",
"eslint-plugin-prettier": "^5.1.2", "eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-sonarjs": "^0.23.0", "eslint-plugin-sonarjs": "^0.25.1",
"jest": "^29.7.0", "jest": "^29.7.0",
"jest-junit": "^15", "jest-junit": "^15",
"prettier": "^3.1.1", "prettier": "^3.3.2",
"projen": "^0.78.11", "projen": "0.82.5",
"projen-github-action-typescript": "^0.0.395", "projen-github-action-typescript": "^0.0.397",
"standard-version": "^9", "standard-version": "^9",
"ts-jest": "^29.1.1", "ts-jest": "^29.1.5",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typedoc": "^0.25.6", "typedoc": "^0.26.3",
"typescript": "^5.3.3" "typescript": "^5.5.3"
}, },
"dependencies": { "dependencies": {
"@actions/core": "^1.10.1", "@actions/core": "^1.10.1",
"@actions/github": "^6.0.0", "@actions/github": "^6.0.0",
"axios": "^1.6.5" "axios": "^1.7.2"
}, },
"pnpm": {}, "pnpm": {},
"keywords": [ "keywords": [
@ -67,17 +68,14 @@
"setup" "setup"
], ],
"engines": { "engines": {
"node": ">= 18.12.0 <= 20.10.0" "node": ">= 20.10.0 <= 20.10.0"
}, },
"main": "lib/index.js", "main": "lib/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"version": "0.0.0", "version": "0.0.0",
"jest": { "jest": {
"testEnvironment": "node", "testEnvironment": "node",
"transformIgnorePatterns": [ "testTimeout": 15000,
"node_modules/(?!(@babel/runtime|@buildresonance/global-lib-storefront-shared-components|@buildresonance/global-lib-storefront-next-markdown|@mui*|.*separated-tokens|.*util-gfm.*|bail|ccount|character-entities.*|decode-named-character-reference|direction|escape-string-regexp|github-slugger|hast.*|html-void-elements|is-plain-obj|longest-streak|markdown.*|mdast.*|micromark.*|property-information|rehype.*|remark.*|stringify-entities|strip-markdown|trim-lines|trough|unified|unist.*|vfile.*|web-namespaces|zwitch|@panva/hkdf|jose|swiper|swiper/react|ssr-window|dom7|uuid)/)",
"\\.pnp\\.[^\\/]+$"
],
"testMatch": [ "testMatch": [
"<rootDir>/src/**/__tests__/**/*.ts?(x)", "<rootDir>/src/**/__tests__/**/*.ts?(x)",
"<rootDir>/(test|src)/**/*(*.)@(spec|test).ts?(x)" "<rootDir>/(test|src)/**/*(*.)@(spec|test).ts?(x)"
@ -114,11 +112,13 @@
"^.+\\.[t]sx?$": [ "^.+\\.[t]sx?$": [
"ts-jest", "ts-jest",
{ {
"tsconfig": "tsconfig.json" "tsconfig": "tsconfig.json",
"isolatedModules": true
} }
] ]
} }
}, },
"types": "lib/index.d.ts", "types": "lib/index.d.ts",
"sideEffects": false,
"//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"." "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"."
} }

601
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

2
tsconfig.json generated
View File

@ -2,7 +2,7 @@
{ {
"compilerOptions": { "compilerOptions": {
"alwaysStrict": true, "alwaysStrict": true,
"declaration": true, "declaration": false,
"esModuleInterop": true, "esModuleInterop": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"inlineSourceMap": true, "inlineSourceMap": true,