-
Notifications
You must be signed in to change notification settings - Fork 3
chore: publish-only-dist-jc #509
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
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 |
|---|---|---|
|
|
@@ -15,6 +15,7 @@ | |
| "main": "./dist/src/index.js", | ||
| "module": "./dist/src/index.js", | ||
| "types": "./dist/src/index.d.ts", | ||
| "files": ["./dist/*"], | ||
| "scripts": { | ||
| "build": "pnpm nx nxBuild", | ||
| "lint": "pnpm nx nxLint", | ||
|
|
@@ -28,14 +29,13 @@ | |
| "@forgerock/sdk-utilities": "workspace:*", | ||
| "@forgerock/storage": "workspace:*", | ||
| "@reduxjs/toolkit": "catalog:", | ||
| "tslib": "^2.3.0", | ||
| "vite": "6.4.1", | ||
| "vitest-canvas-mock": "^0.3.3" | ||
| "tslib": "^2.3.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@vitest/coverage-v8": "^1.2.0", | ||
| "vite": "6.4.1", | ||
| "vitest": "^1.2.0" | ||
| "vitest": "^1.2.0", | ||
| "vitest-canvas-mock": "^0.3.3" | ||
|
Comment on lines
36
to
+38
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. Upgrade dependencies to current versions — vite 6.4.1 and vitest ^1.2.0 are significantly outdated. The current stable vite version is 7.2, and the latest vitest version is 4.0.15 (as of December 2025). Your pinned versions are critically behind:
Also address the inconsistency: vite is pinned to 6.4.1 (exact version) while vitest and vitest-canvas-mock use caret ranges. Adopt a consistent versioning strategy across all dev dependencies. 🤖 Prompt for AI Agents |
||
| }, | ||
| "nx": { | ||
| "tags": ["scope:package"], | ||
|
|
||
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.
🛠️ Refactor suggestion | 🟠 Major
Correct the
filespattern and consider including documentation files.The pattern
"./dist/*"is non-standard for npm'sfilesfield:./is unnecessary and non-idiomaticdist/*may not recursively include subdirectories as intendedUse
"dist"(which recursively includes all files in the dist directory) or"dist/**"for clarity. Additionally, consider including standard files likeREADME.mdandLICENSEif they exist in the package root.🔎 Recommended fix
Note:
package.jsonis included by default and doesn't need to be listed.📝 Committable suggestion
🤖 Prompt for AI Agents