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

1
.gitattributes generated vendored
View File

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

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

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

1
.gitignore generated vendored
View File

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

8
.npmignore generated
View File

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

9
.projen/deps.json generated
View File

@ -10,7 +10,7 @@
},
{
"name": "@types/node",
"version": "^18",
"version": "^20",
"type": "build"
},
{
@ -33,7 +33,7 @@
},
{
"name": "constructs",
"version": "^10.0.0",
"version": "10.3.0",
"type": "build"
},
{
@ -83,11 +83,12 @@
"type": "build"
},
{
"name": "projen",
"name": "projen-github-action-typescript",
"type": "build"
},
{
"name": "projen-github-action-typescript",
"name": "projen",
"version": "0.82.5",
"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": {
"name": "clobber",
"description": "hard resets to HEAD of origin and cleans the local repo",
@ -106,7 +115,8 @@
{
"exec": "typedoc src --disableSources --out docs/"
}
]
],
"condition": "if [ \"$RELEASE\" = \"true\" ] ; then exit 1 ; fi"
},
"eject": {
"name": "eject",
@ -126,11 +136,10 @@
"steps": [
{
"exec": "eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern $@ src test build-tools projenrc .projenrc.ts",
"args": [
"--max-warnings=0"
]
"receiveArgs": true
}
]
],
"condition": "if [ \"$RELEASE\" = \"true\" ] ; then exit 1 ; fi"
},
"i": {
"name": "i",
@ -165,7 +174,8 @@
{
"spawn": "eslint"
}
]
],
"condition": "if [ \"$RELEASE\" = \"true\" ] ; then exit 1 ; fi"
},
"package": {
"name": "package",
@ -240,7 +250,8 @@
"exec": "jest --passWithNoTests --coverageProvider=v8 --updateSnapshot",
"receiveArgs": true
}
]
],
"condition": "if [ \"$RELEASE\" = \"true\" ] ; then exit 1 ; fi"
},
"test:watch": {
"name": "test:watch",
@ -283,13 +294,13 @@
},
"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 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"

40
package.json generated
View File

@ -5,6 +5,7 @@
"build": "npx projen build",
"bump": "npx projen bump",
"ci": "npx projen ci",
"clean-compile": "npx projen clean-compile",
"clobber": "npx projen clobber",
"compile": "npx projen compile",
"default": "npx projen default",
@ -29,36 +30,36 @@
},
"devDependencies": {
"@types/clone-deep": "^4.0.4",
"@types/jest": "^29.5.11",
"@types/node": "^18",
"@types/jest": "^29.5.12",
"@types/node": "^20",
"@typescript-eslint/eslint-plugin": "^6",
"@typescript-eslint/parser": "^6",
"@vercel/ncc": "^0.38.1",
"clone-deep": "^4.0.1",
"constructs": "^10.0.0",
"dkershner6-projen-github-actions": "^0.0.24",
"constructs": "10.3.0",
"dkershner6-projen-github-actions": "^0.0.76",
"eslint": "^8",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.6.1",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-sonarjs": "^0.23.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-sonarjs": "^0.25.1",
"jest": "^29.7.0",
"jest-junit": "^15",
"prettier": "^3.1.1",
"projen": "^0.78.11",
"projen-github-action-typescript": "^0.0.395",
"prettier": "^3.3.2",
"projen": "0.82.5",
"projen-github-action-typescript": "^0.0.397",
"standard-version": "^9",
"ts-jest": "^29.1.1",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"typedoc": "^0.25.6",
"typescript": "^5.3.3"
"typedoc": "^0.26.3",
"typescript": "^5.5.3"
},
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"axios": "^1.6.5"
"axios": "^1.7.2"
},
"pnpm": {},
"keywords": [
@ -67,17 +68,14 @@
"setup"
],
"engines": {
"node": ">= 18.12.0 <= 20.10.0"
"node": ">= 20.10.0 <= 20.10.0"
},
"main": "lib/index.js",
"license": "Apache-2.0",
"version": "0.0.0",
"jest": {
"testEnvironment": "node",
"transformIgnorePatterns": [
"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\\.[^\\/]+$"
],
"testTimeout": 15000,
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
"<rootDir>/(test|src)/**/*(*.)@(spec|test).ts?(x)"
@ -114,11 +112,13 @@
"^.+\\.[t]sx?$": [
"ts-jest",
{
"tsconfig": "tsconfig.json"
"tsconfig": "tsconfig.json",
"isolatedModules": true
}
]
}
},
"types": "lib/index.d.ts",
"sideEffects": false,
"//": "~~ 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": {
"alwaysStrict": true,
"declaration": true,
"declaration": false,
"esModuleInterop": true,
"experimentalDecorators": true,
"inlineSourceMap": true,