-
-
Notifications
You must be signed in to change notification settings - Fork 287
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
fix: fix peerDependencies flag #2956
base: production
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 | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -9,7 +9,7 @@ | |||||||||||||||||||||
"typings": "./lib/types/index.d.ts", | ||||||||||||||||||||||
"exports": { | ||||||||||||||||||||||
".": { | ||||||||||||||||||||||
"@tsed/source": "./src/index.ts", | ||||||||||||||||||||||
"tsed-source": "./src/index.ts", | ||||||||||||||||||||||
"types": "./lib/types/index.d.ts", | ||||||||||||||||||||||
"import": "./lib/esm/index.js", | ||||||||||||||||||||||
"default": "./lib/esm/index.js" | ||||||||||||||||||||||
|
@@ -37,11 +37,11 @@ | |||||||||||||||||||||
"vitest": "2.1.2" | ||||||||||||||||||||||
}, | ||||||||||||||||||||||
"peerDependencies": { | ||||||||||||||||||||||
"@tsed/adapters": "8.4.0", | ||||||||||||||||||||||
"@tsed/core": "8.4.0", | ||||||||||||||||||||||
"@tsed/di": "8.4.0", | ||||||||||||||||||||||
"@tsed/hooks": "8.4.0", | ||||||||||||||||||||||
"@tsed/platform-http": "8.4.0", | ||||||||||||||||||||||
"@tsed/adapters": ">=8.0.0", | ||||||||||||||||||||||
"@tsed/core": ">=8.0.0", | ||||||||||||||||||||||
"@tsed/di": ">=8.0.0", | ||||||||||||||||||||||
"@tsed/hooks": ">=8.0.0", | ||||||||||||||||||||||
"@tsed/platform-http": ">=8.0.0", | ||||||||||||||||||||||
Comment on lines
+40
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. 🧹 Nitpick (assertive) Consider using a more specific version range While changing from fixed versions to ranges improves flexibility, using - "@tsed/adapters": ">=8.0.0",
- "@tsed/core": ">=8.0.0",
- "@tsed/di": ">=8.0.0",
- "@tsed/hooks": ">=8.0.0",
- "@tsed/platform-http": ">=8.0.0",
+ "@tsed/adapters": "^8.0.0",
+ "@tsed/core": "^8.0.0",
+ "@tsed/di": "^8.0.0",
+ "@tsed/hooks": "^8.0.0",
+ "@tsed/platform-http": "^8.0.0", 📝 Committable suggestion
Suggested change
|
||||||||||||||||||||||
"ioredis": ">=5.2.3", | ||||||||||||||||||||||
"ioredis-mock": ">=8.2.2", | ||||||||||||||||||||||
"uuid": "^10.0.0" | ||||||||||||||||||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"typings": "./lib/types/index.d.ts", | ||
"exports": { | ||
".": { | ||
"@tsed/source": "./src/index.ts", | ||
"tsed-source": "./src/index.ts", | ||
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. 💡 Codebase verification Update build script to use new export key The change from
🔗 Analysis chainVerify the impact of exports field change. The change from Run this script to check for any existing usage of the old export key: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Search for any references to the old export key in the codebase
rg -l "@tsed/source" --type ts --type js
Length of output: 66 Script: #!/bin/bash
# Check the content and context of the reference
cat tools/typescript/index.js
Length of output: 6551 |
||
"types": "./lib/types/index.d.ts", | ||
"import": "./lib/esm/index.js", | ||
"default": "./lib/esm/index.js" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
"typings": "./lib/types/index.d.ts", | ||
"exports": { | ||
".": { | ||
"@tsed/source": "./src/index.ts", | ||
"tsed-source": "./src/index.ts", | ||
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. 🧹 Nitpick (assertive) Changes maintain monorepo consistency The modifications align with the standardization effort across the monorepo. Consider documenting these widespread changes in the migration guide, specifically:
Also applies to: 43-46 |
||
"types": "./lib/types/index.d.ts", | ||
"import": "./lib/esm/index.js", | ||
"default": "./lib/esm/index.js" | ||
|
@@ -40,10 +40,10 @@ | |
"vitest": "2.1.2" | ||
}, | ||
"peerDependencies": { | ||
"@tsed/core": "8.4.0", | ||
"@tsed/di": "8.4.0", | ||
"@tsed/json-mapper": "8.4.0", | ||
"@tsed/schema": "8.4.0" | ||
"@tsed/core": ">=8.0.0", | ||
"@tsed/di": ">=8.0.0", | ||
"@tsed/json-mapper": ">=8.0.0", | ||
"@tsed/schema": ">=8.0.0" | ||
}, | ||
"peerDependenciesMeta": { | ||
"@tsed/core": { | ||
|
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.
💡 Codebase verification
Version inconsistency detected in monorepo-utils dependency
The update to version 2.3.11 in root package.json creates inconsistency with other packages still using 2.3.9:
packages/core/package.json
: version 2.3.9packages/hooks/package.json
: version 2.3.9Consider synchronizing the version across all package.json files to avoid potential build issues.
🔗 Analysis chain
Verify the monorepo-utils version update.
The update from 2.3.9 to 2.3.11 seems minor, but let's verify the changes.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 211
Script:
Length of output: 549
Script:
Length of output: 8993