Skip to content

Commit b3314b5

Browse files
authored
chore: remove unnecessary packages (#5026)
1 parent ac505c9 commit b3314b5

158 files changed

Lines changed: 1399 additions & 6193 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"workspaces": {
55
"packages": [
66
"packages/*",
7-
"migrations",
87
"nextjs",
98
"cypress-tests",
109
"extensions/theme",
@@ -74,9 +73,9 @@
7473
"babel-plugin-dynamic-import-node": "^2.3.3",
7574
"babel-plugin-macros": "^3.1.0",
7675
"babel-plugin-module-resolver": "^5.0.3",
77-
"chalk": "^4.1.2",
78-
"cross-env": "^5.2.1",
79-
"cross-spawn": "^6.0.6",
76+
"chalk": "^5.6.2",
77+
"cross-env": "^10.1.0",
78+
"cross-spawn": "^7.0.6",
8079
"deepmerge": "^4.3.1",
8180
"env-ci": "2.6.0",
8281
"eslint": "^10.0.3",
@@ -98,8 +97,8 @@
9897
"github-actions-wac": "^2.0.0",
9998
"graphql": "^16.13.1",
10099
"husky": "^4.3.8",
101-
"inquirer": "^12.11.1",
102-
"jest-extended": "^6.0.0",
100+
"inquirer": "^13.3.2",
101+
"jest-extended": "^7.0.0",
103102
"lerna": "8.1.2",
104103
"lexical": "^0.40.0",
105104
"lint-staged": "^16.4.0",
@@ -115,7 +114,7 @@
115114
"semver": "^7.7.4",
116115
"ts-expect": "^1.3.0",
117116
"tsx": "^4.21.0",
118-
"type-fest": "^5.4.4",
117+
"type-fest": "^5.5.0",
119118
"typescript": "5.9.3",
120119
"validator": "^13.15.26",
121120
"verdaccio": "^6.3.2",

packages/admin-ui/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
"react-virtualized": "^9.22.6",
3636
"sonner": "^2.0.7",
3737
"tailwind-merge": "^2.6.1",
38-
"tailwindcss": "^4.2.1",
38+
"tailwindcss": "^4.2.2",
3939
"timeago-react": "^3.0.7",
4040
"tw-animate-css": "^1.4.0",
41-
"type-fest": "^5.4.4"
41+
"type-fest": "^5.5.0"
4242
},
4343
"devDependencies": {
4444
"@fortawesome/free-solid-svg-icons": "^7.2.0",
@@ -47,14 +47,14 @@
4747
"@storybook/addon-webpack5-compiler-babel": "^3.0.6",
4848
"@storybook/react-webpack5": "^9.1.20",
4949
"@svgr/webpack": "^6.5.1",
50-
"@tailwindcss/postcss": "^4.2.1",
50+
"@tailwindcss/postcss": "^4.2.2",
5151
"@types/react": "^18.3.28",
5252
"@types/react-color": "^2.17.12",
5353
"@types/react-custom-scrollbars": "^4.0.13",
5454
"@types/react-virtualized": "^9.22.3",
5555
"@webiny/build-tools": "0.0.0",
5656
"@webiny/project": "0.0.0",
57-
"chalk": "^4.1.2",
57+
"chalk": "^5.6.2",
5858
"css-loader": "^7.1.4",
5959
"eslint-plugin-storybook": "^10.3.0",
6060
"file-loader": "6.2.0",

packages/api-aco/src/utils/acoRecordId.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

packages/api-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@
6969
"@webiny/utils": "0.0.0",
7070
"@webiny/wcp": "0.0.0",
7171
"dataloader": "^2.2.3",
72-
"jose": "^5.10.0",
72+
"jose": "^6.2.2",
7373
"jsonwebtoken": "^9.0.3",
7474
"lodash": "^4.17.23",
7575
"minimatch": "^10.2.4",
76-
"pino": "^9.14.0",
76+
"pino": "^10.3.1",
7777
"pino-lambda": "^4.4.1",
7878
"zod": "^4.3.6"
7979
},

packages/api-core/src/features/security/utils/verifyJwtUsingJwk.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import jwt from "jsonwebtoken";
2-
import { importJWK, exportSPKI } from "jose";
2+
import { exportSPKI, importJWK, type JWK } from "jose";
33

4-
export interface Jwk {
5-
kid: string;
6-
[key: string]: string;
7-
}
4+
export type Jwk = JWK;
85

96
export type Jwt = {
107
header: jwt.JwtHeader;
@@ -14,7 +11,7 @@ export type Jwt = {
1411
export const verifyJwtUsingJwk = async (token: string, jwk: Jwk) => {
1512
// Casting to `any` because `jose` v5 has some incompatibilities with types.
1613
// v6 works as expected, but we can't have v6 because it's ESM-only.
17-
const key = (await importJWK(jwk as any)) as CryptoKey;
14+
const key = (await importJWK(jwk)) as CryptoKey;
1815
const pemKey = await exportSPKI(key);
1916

2017
return jwt.verify(token, pemKey) as jwt.JwtPayload;

packages/api-elasticsearch-tasks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@webiny/handler-graphql": "0.0.0",
3737
"@webiny/project-utils": "0.0.0",
3838
"rimraf": "^6.1.3",
39-
"type-fest": "^5.4.4",
39+
"type-fest": "^5.5.0",
4040
"typescript": "5.9.3",
4141
"vitest": "^4.1.0"
4242
},

packages/api-file-manager-s3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@webiny/utils": "0.0.0",
2525
"@webiny/validation": "0.0.0",
2626
"exifreader": "^4.37.0",
27-
"mime": "^3.0.0",
27+
"mime": "^4.1.0",
2828
"object-hash": "^3.0.0",
2929
"p-map": "^7.0.4",
3030
"p-reduce": "^3.0.0",

packages/api-file-manager-s3/src/utils/FileKey.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe("FileKey", () => {
1919
type: "image/jpeg"
2020
});
2121

22-
expect(fileKey.toString()).toEqual("image-14.jpeg");
22+
expect(fileKey.toString()).toEqual("image-14.jpg");
2323
});
2424

2525
it("should generate a file key containing id", () => {

packages/api-file-manager-s3/src/utils/mimeTypes.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// @ts-expect-error
21
import vendorTypes from "mime/types/other.js";
3-
// @ts-expect-error
42
import standardTypes from "mime/types/standard.js";
53

64
/**

packages/api-mailer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@webiny/feature": "0.0.0",
2222
"@webiny/handler-graphql": "0.0.0",
2323
"@webiny/plugins": "0.0.0",
24-
"nodemailer": "^7.0.13",
24+
"nodemailer": "^8.0.3",
2525
"zod": "^4.3.6"
2626
},
2727
"devDependencies": {

0 commit comments

Comments
 (0)