-
Notifications
You must be signed in to change notification settings - Fork 2
Modernization and error handling #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
7fc431c
710e200
91c51f5
5fb04d6
02bd627
0ea53f8
0033a41
e01782b
1b0c808
63bd5a0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| nodeLinker: node-modules |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,22 +36,22 @@ | |
| "licenseFilename": "LICENSE", | ||
| "readmeFilename": "README.md", | ||
| "devDependencies": { | ||
| "@babel/core": "^7.18.2", | ||
| "@babel/preset-env": "^7.18.2", | ||
| "@babel/preset-typescript": "^7.17.12", | ||
| "@types/jest": "^29.4.0", | ||
| "@typescript-eslint/eslint-plugin": "^5.28.0", | ||
| "@typescript-eslint/parser": "^5.28.0", | ||
| "babel-jest": "^28.1.0", | ||
| "dotenv": "^16.3.1", | ||
| "eslint": "^8.17.0", | ||
| "eslint-config-prettier": "^8.5.0", | ||
| "jest": "^29.4.2", | ||
| "ts-jest": "^29.1.0", | ||
| "typescript": "^4.7.3" | ||
| "@babel/core": "^7.29.0", | ||
| "@babel/preset-env": "^7.29.2", | ||
| "@babel/preset-typescript": "^7.28.5", | ||
| "@types/jest": "^30.0.0", | ||
|
Comment on lines
38
to
+42
|
||
| "@typescript-eslint/eslint-plugin": "^5.62.0", | ||
| "@typescript-eslint/parser": "^5.62.0", | ||
|
Comment on lines
+43
to
+44
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: set -eu
printf '%s\n' '--- package.json relevant sections ---'
sed -n '1,120p' package.json
printf '%s\n' '--- lockfiles ---'
find . -maxdepth 2 -type f \( -name 'yarn.lock' -o -name 'package-lock.json' -o -name 'pnpm-lock.yaml' \) -print
printf '%s\n' '--- ESLint configuration files ---'
find . -maxdepth 3 -type f \( -iname '*eslint*' -o -name '.eslintrc' -o -name '.eslintrc.*' \) -print
printf '%s\n' '--- parser and lint references ---'
rg -n --glob '!node_modules/**' '(`@typescript-eslint/parser`|`@typescript-eslint/eslint-plugin`|eslint|lint)' package.json .eslintrc* eslint.config.* 2>/dev/null || trueRepository: qonversion/web-sdk Length of output: 2772 🏁 Script executed: set -eu
printf '%s\n' '--- ESLint configuration ---'
cat -n .eslintrc.cjs
printf '%s\n' '--- locked package resolutions ---'
rg -n -A8 -B2 '^"?(typescript|`@typescript-eslint/`(parser|eslint-plugin))@' yarn.lock
printf '%s\n' '--- TypeScript support declaration in the locked parser package, if present ---'
find . -path '*/node_modules/*' -prune -o -type f -name 'warnAboutTSVersion.ts' -printRepository: qonversion/web-sdk Length of output: 2565 🏁 Script executed (no clone): Length of output: 2040 Align
🤖 Prompt for AI AgentsSource: MCP tools |
||
| "babel-jest": "^30.3.0", | ||
| "dotenv": "^17.3.1", | ||
| "eslint": "^8.57.1", | ||
| "eslint-config-prettier": "^8.10.2", | ||
| "jest": "^30.3.0", | ||
| "ts-jest": "^29.4.6", | ||
| "typescript": "^5.9.3" | ||
| }, | ||
| "dependencies": { | ||
| "@types/uuid": "^8.3.4", | ||
| "uuid": "^8.3.2" | ||
| "@types/uuid": "^11.0.0", | ||
| "uuid": "^11.1.0" | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pr-checks.ymlsetsdefaults.run.working-directory: ./sdk, but there is nopackage.jsonunder./sdkin this repo. This will fail when the runner uses Yarn classic (v1), which is the default unless you explicitly enable Corepack/pin Yarn. Consider either running Yarn from the repo root (remove the working-directory default), or pinning Yarn viapackageManager+corepack enableso Yarn can resolve the project root from subdirectories reliably.