-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
Chore update picomatch #2993
Chore update picomatch #2993
Changes from all commits
f17a0dd
d949c4e
5a87329
120044a
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,4 @@ | ||||||
module.exports = require("@tsed/webpack-config").create({ | ||||||
root: __dirname, | ||||||
name: "ajv", | ||||||
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) Remove Trailing Comma per ESLint/Prettier Guidelines Apply the following diff: - name: "ajv",
+ name: "ajv" 📝 Committable suggestion
Suggested change
🧰 Tools🪛 ESLint[error] 3-3: Delete (prettier/prettier) |
||||||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,16 +7,20 @@ | |
"main": "./lib/esm/index.js", | ||
"module": "./lib/esm/index.js", | ||
"typings": "./lib/types/index.d.ts", | ||
"browser": "./lib/browser/exceptions.umd.min.js", | ||
"exports": { | ||
".": { | ||
"tsed-source": "./src/index.ts", | ||
"types": "./lib/types/index.d.ts", | ||
"browser": "./lib/browser/exceptions.umd.min.js", | ||
"import": "./lib/esm/index.js", | ||
"default": "./lib/esm/index.js" | ||
} | ||
}, | ||
"scripts": { | ||
"build": "yarn barrels && yarn build:ts", | ||
"clean": "rm -rf lib", | ||
"build": "yarn clean && yarn barrels && yarn build:ts && yarn run build:browser", | ||
"build:browser": "webpack", | ||
Comment on lines
+21
to
+23
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) Enhanced build scripts with browser build support. |
||
"barrels": "barrels", | ||
"test": "vitest run", | ||
"build:ts": "tsc --build tsconfig.json", | ||
|
@@ -33,7 +37,8 @@ | |
"@types/statuses": "2.0.5", | ||
"eslint": "9.12.0", | ||
"typescript": "5.4.5", | ||
"vitest": "2.1.2" | ||
"vitest": "2.1.2", | ||
"webpack": "^5.75.0" | ||
}, | ||
"peerDependencies": { | ||
"@tsed/core": ">=8.4.7" | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,4 @@ | ||||||
module.exports = require("@tsed/webpack-config").create({ | ||||||
root: __dirname, | ||||||
name: "exceptions", | ||||||
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) Remove unnecessary trailing comma. - name: "exceptions",
+ name: "exceptions" 📝 Committable suggestion
Suggested change
🧰 Tools🪛 ESLint[error] 3-3: Delete (prettier/prettier) |
||||||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ | |
"@tsed/openspec": "workspace:*", | ||
"change-case": "^5.4.4", | ||
"json-schema": "0.4.0", | ||
"picomatch": "2.3.1", | ||
"picomatch": "4.0.2", | ||
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) Major Version Update for |
||
"statuses": "^2.0.1", | ||
"tslib": "2.7.0" | ||
}, | ||
|
@@ -53,11 +53,10 @@ | |
"@tsed/typescript": "workspace:*", | ||
"@types/fs-extra": "11.0.4", | ||
"@types/json-schema": "7.0.15", | ||
"@types/picomatch": "3.0.1", | ||
"@types/picomatch": "3.0.2", | ||
"@types/statuses": "2.0.5", | ||
"ajv": "^8.17.1", | ||
"eslint": "9.12.0", | ||
"picomatch-browser": "^2.2.6", | ||
"typescript": "5.4.5", | ||
"vitest": "2.1.2", | ||
"webpack": "^5.75.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.
🧹 Nitpick (assertive)
Clean Script Addition
The
"clean": "rm -rf lib"
script ensures that the output directory is purged before initiating new builds. If cross-platform compatibility (e.g., Windows systems) is a concern, consider using a tool likerimraf
.