mirror of
https://github.com/RocketChat/Rocket.Chat.git
synced 2025-12-28 06:47:25 +00:00
ci(lint): Broken ESLint (#29599)
This commit is contained in:
parent
b2168e80cc
commit
9e59265f66
@ -80,7 +80,7 @@ Meteor.methods<ServerMethods>({
|
||||
$set: {
|
||||
scriptCompiled,
|
||||
},
|
||||
$unset: { scriptError: 1 },
|
||||
$unset: { scriptError: 1 as const },
|
||||
},
|
||||
);
|
||||
} catch (e) {
|
||||
@ -96,7 +96,7 @@ Meteor.methods<ServerMethods>({
|
||||
scriptError,
|
||||
},
|
||||
$unset: {
|
||||
scriptCompiled: 1,
|
||||
scriptCompiled: 1 as const,
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
@ -56,7 +56,7 @@ Meteor.methods<ServerMethods>({
|
||||
{ _id: integrationId },
|
||||
{
|
||||
$set: { scriptCompiled: integration.scriptCompiled },
|
||||
$unset: { scriptError: 1 },
|
||||
$unset: { scriptError: 1 as const },
|
||||
},
|
||||
);
|
||||
} else {
|
||||
@ -64,7 +64,7 @@ Meteor.methods<ServerMethods>({
|
||||
{ _id: integrationId },
|
||||
{
|
||||
$set: { scriptError: integration.scriptError },
|
||||
$unset: { scriptCompiled: 1 },
|
||||
$unset: { scriptCompiled: 1 as const },
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
@ -62,7 +62,7 @@
|
||||
"pino-pretty": "^7.6.1",
|
||||
"pm2": "^5.2.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"volta": {
|
||||
"extends": "../../../package.json"
|
||||
|
||||
@ -63,7 +63,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.20.5",
|
||||
"@babel/eslint-parser": "^7.19.1",
|
||||
"@babel/eslint-parser": "^7.22.5",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
|
||||
"@babel/preset-env": "^7.20.2",
|
||||
@ -80,7 +80,7 @@
|
||||
"@storybook/addons": "~6.5.16",
|
||||
"@storybook/react": "~6.5.16",
|
||||
"@storybook/testing-library": "0.0.13",
|
||||
"@swc/core": "^1.3.64",
|
||||
"@swc/core": "^1.3.66",
|
||||
"@tanstack/react-query-devtools": "^4.19.1",
|
||||
"@testing-library/react": "~12.1.5",
|
||||
"@testing-library/react-hooks": "^8.0.1",
|
||||
@ -151,8 +151,8 @@
|
||||
"@types/uuid": "^8.3.4",
|
||||
"@types/xml-crypto": "~1.4.2",
|
||||
"@types/xml-encryption": "~1.2.1",
|
||||
"@typescript-eslint/eslint-plugin": "~5.58.0",
|
||||
"@typescript-eslint/parser": "~5.58.0",
|
||||
"@typescript-eslint/eslint-plugin": "~5.60.0",
|
||||
"@typescript-eslint/parser": "~5.60.0",
|
||||
"autoprefixer": "^9.8.8",
|
||||
"babel-loader": "^8.3.0",
|
||||
"babel-plugin-array-includes": "^2.0.3",
|
||||
@ -164,15 +164,16 @@
|
||||
"chai-spies": "~1.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"emojione-assets": "^4.5.0",
|
||||
"eslint": "^8.29.0",
|
||||
"eslint": "~8.43.0",
|
||||
"eslint-config-prettier": "~8.8.0",
|
||||
"eslint-plugin-anti-trojan-source": "~1.1.1",
|
||||
"eslint-plugin-import": "~2.26.0",
|
||||
"eslint-plugin-no-floating-promise": "~1.0.2",
|
||||
"eslint-plugin-playwright": "~0.12.0",
|
||||
"eslint-plugin-playwright": "~0.15.0",
|
||||
"eslint-plugin-prettier": "~4.2.1",
|
||||
"eslint-plugin-react": "~7.32.2",
|
||||
"eslint-plugin-react-hooks": "~4.6.0",
|
||||
"eslint-plugin-testing-library": "~5.10.3",
|
||||
"eslint-plugin-testing-library": "~5.11.0",
|
||||
"eslint-plugin-you-dont-need-lodash-underscore": "~6.12.0",
|
||||
"fast-glob": "^3.2.12",
|
||||
"i18next": "^20.6.1",
|
||||
@ -200,7 +201,7 @@
|
||||
"supertest": "^6.2.3",
|
||||
"template-file": "^6.0.1",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "~7.22.5",
|
||||
@ -312,7 +313,6 @@
|
||||
"emailreplyparser": "^0.0.5",
|
||||
"emoji-toolkit": "^7.0.1",
|
||||
"emojione": "^4.5.0",
|
||||
"eslint-plugin-anti-trojan-source": "~1.1.1",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"exif-be-gone": "^1.3.2",
|
||||
"express": "^4.17.3",
|
||||
|
||||
@ -214,12 +214,12 @@ class MessageSearchQueryParser {
|
||||
return text.replace(/(?:order|sort):(asc|ascend|ascending|desc|descend|descending)/g, (_: string, direction: string) => {
|
||||
if (direction.startsWith('asc')) {
|
||||
this.options.sort = {
|
||||
...(typeof this.options.sort === 'object' ? this.options.sort : {}),
|
||||
...(typeof this.options.sort === 'object' && !Array.isArray(this.options.sort) ? this.options.sort : {}),
|
||||
ts: 1,
|
||||
};
|
||||
} else if (direction.startsWith('desc')) {
|
||||
this.options.sort = {
|
||||
...(typeof this.options.sort === 'object' ? this.options.sort : {}),
|
||||
...(typeof this.options.sort === 'object' && !Array.isArray(this.options.sort) ? this.options.sort : {}),
|
||||
ts: -1,
|
||||
};
|
||||
}
|
||||
|
||||
@ -32,7 +32,7 @@ export class AnalyticsRaw extends BaseRaw<IAnalytic> implements IAnalyticsModel
|
||||
$setOnInsert: {
|
||||
_id: Random.id(),
|
||||
date,
|
||||
type: 'messages',
|
||||
type: 'messages' as const,
|
||||
},
|
||||
$inc: { messages: 1 },
|
||||
},
|
||||
@ -47,7 +47,7 @@ export class AnalyticsRaw extends BaseRaw<IAnalytic> implements IAnalyticsModel
|
||||
$setOnInsert: {
|
||||
_id: Random.id(),
|
||||
date,
|
||||
type: 'users',
|
||||
type: 'users' as const,
|
||||
},
|
||||
$inc: { users: 1 },
|
||||
},
|
||||
|
||||
@ -183,7 +183,7 @@ export class VideoConferenceRaw extends BaseRaw<VideoConference> implements IVid
|
||||
}
|
||||
: {
|
||||
$unset: {
|
||||
providerData: 1,
|
||||
providerData: 1 as const,
|
||||
},
|
||||
}),
|
||||
});
|
||||
|
||||
@ -38,11 +38,11 @@
|
||||
"devDependencies": {
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"@types/bcrypt": "^5.0.0",
|
||||
"@types/eslint": "~8.37.0",
|
||||
"@types/eslint": "~8.40.2",
|
||||
"@types/polka": "^0.5.4",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"main": "./dist/ee/apps/account-service/src/service.js",
|
||||
"files": [
|
||||
|
||||
@ -35,11 +35,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"@types/eslint": "~8.37.0",
|
||||
"@types/eslint": "~8.40.2",
|
||||
"@types/polka": "^0.5.4",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"main": "./dist/ee/apps/authorization-service/src/service.js",
|
||||
"files": [
|
||||
|
||||
@ -44,17 +44,17 @@
|
||||
"devDependencies": {
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"@types/ejson": "^2.2.0",
|
||||
"@types/eslint": "~8.37.0",
|
||||
"@types/eslint": "~8.40.2",
|
||||
"@types/meteor": "^2.9.2",
|
||||
"@types/node": "^14.18.51",
|
||||
"@types/polka": "^0.5.4",
|
||||
"@types/sharp": "^0.30.5",
|
||||
"@types/uuid": "^8.3.4",
|
||||
"@types/ws": "^8.5.5",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"pino-pretty": "^7.6.1",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"main": "./dist/service.js",
|
||||
"files": [
|
||||
|
||||
@ -41,11 +41,11 @@
|
||||
"devDependencies": {
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"@rocket.chat/ui-contexts": "workspace:^",
|
||||
"@types/eslint": "~8.37.0",
|
||||
"@types/eslint": "~8.40.2",
|
||||
"@types/polka": "^0.5.4",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"main": "./dist/ee/apps/omnichannel-transcript/src/service.js",
|
||||
"files": [
|
||||
|
||||
@ -35,11 +35,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"@types/eslint": "~8.37.0",
|
||||
"@types/eslint": "~8.40.2",
|
||||
"@types/polka": "^0.5.4",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"main": "./dist/ee/apps/presence-service/src/service.js",
|
||||
"files": [
|
||||
|
||||
@ -38,11 +38,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"@types/eslint": "~8.37.0",
|
||||
"@types/eslint": "~8.40.2",
|
||||
"@types/polka": "^0.5.4",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"main": "./dist/ee/apps/queue-worker/src/service.js",
|
||||
"files": [
|
||||
|
||||
@ -36,11 +36,11 @@
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"@rocket.chat/rest-typings": "workspace:^",
|
||||
"@types/bcrypt": "^5.0.0",
|
||||
"@types/eslint": "~8.37.0",
|
||||
"@types/eslint": "~8.40.2",
|
||||
"@types/polka": "^0.5.4",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"main": "./dist/ee/apps/stream-hub-service/src/service.js",
|
||||
"files": [
|
||||
|
||||
@ -5,10 +5,10 @@
|
||||
"devDependencies": {
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"@types/jest": "~29.5.2",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@rocket.chat/core-services": "workspace:^",
|
||||
|
||||
@ -11,12 +11,12 @@
|
||||
"@types/jest": "~29.5.2",
|
||||
"@types/react-dom": "^18.2.5",
|
||||
"@types/testing-library__jest-dom": "~5.14.6",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"jest-environment-jsdom": "~29.5.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -11,9 +11,9 @@
|
||||
"@rocket.chat/rest-typings": "workspace:^",
|
||||
"@types/node": "^14.18.51",
|
||||
"babel-jest": "^29.0.3",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint src",
|
||||
|
||||
@ -20,16 +20,16 @@
|
||||
"@storybook/testing-library": "~0.0.13",
|
||||
"@types/jest": "~29.5.2",
|
||||
"@types/react": "~17.0.62",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"eslint-plugin-anti-trojan-source": "~1.1.1",
|
||||
"eslint-plugin-react": "~7.32.2",
|
||||
"eslint-plugin-react-hooks": "~4.6.0",
|
||||
"eslint-plugin-testing-library": "^5.9.1",
|
||||
"eslint-plugin-testing-library": "^5.11.0",
|
||||
"jest": "~29.5.0",
|
||||
"react": "~17.0.2",
|
||||
"react-docgen-typescript-plugin": "~1.0.5",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@types/jest": "~29.5.2",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -14,10 +14,10 @@
|
||||
"devDependencies": {
|
||||
"@types/debug": "^4.1.8",
|
||||
"@types/jest": "~29.5.2",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -3,15 +3,15 @@
|
||||
"version": "0.0.2",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@swc/core": "^1.3.64",
|
||||
"@swc/core": "^1.3.66",
|
||||
"@swc/jest": "^0.2.26",
|
||||
"@types/jest": "~29.5.2",
|
||||
"@types/strict-uri-encode": "^2.0.0",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"jest-fetch-mock": "^3.0.3",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -16,12 +16,12 @@
|
||||
"@babel/core": "~7.22.5",
|
||||
"@babel/preset-env": "~7.22.5",
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"@typescript-eslint/eslint-plugin": "~5.58.0",
|
||||
"@typescript-eslint/parser": "~5.58.0",
|
||||
"eslint": "~8.38.0",
|
||||
"@typescript-eslint/eslint-plugin": "~5.60.0",
|
||||
"@typescript-eslint/parser": "~5.60.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"volta": {
|
||||
"extends": "../../package.json"
|
||||
|
||||
@ -5,10 +5,10 @@
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@types/jest": "~29.5.2",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"mongodb": "^4.12.1",
|
||||
"prettier": "~2.8.8",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"mongodb": "^4.12.1",
|
||||
"prettier": "~2.8.8",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@types/jest": "^27.4.1",
|
||||
"eslint": "^8.12.0",
|
||||
"eslint": "^8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -3,15 +3,15 @@
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@swc/core": "^1.3.64",
|
||||
"@swc/core": "^1.3.66",
|
||||
"@swc/jest": "^0.2.26",
|
||||
"@types/jest": "^29.5.2",
|
||||
"@types/ws": "^8.5.5",
|
||||
"eslint": "^8.12.0",
|
||||
"eslint": "^8.43.0",
|
||||
"jest": "^29.5.0",
|
||||
"jest-environment-jsdom": "~29.5.0",
|
||||
"jest-websocket-mock": "^2.4.0",
|
||||
"typescript": "~5.0.4",
|
||||
"typescript": "~5.1.3",
|
||||
"ws": "^8.13.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@ -5,13 +5,13 @@
|
||||
"devDependencies": {
|
||||
"@babel/eslint-parser": "~7.22.5",
|
||||
"@types/prettier": "^2.6.3",
|
||||
"@typescript-eslint/eslint-plugin": "~5.58.0",
|
||||
"@typescript-eslint/parser": "~5.58.0",
|
||||
"eslint": "~8.38.0",
|
||||
"@typescript-eslint/eslint-plugin": "~5.60.0",
|
||||
"@typescript-eslint/parser": "~5.60.0",
|
||||
"eslint": "~8.43.0",
|
||||
"eslint-config-prettier": "~8.8.0",
|
||||
"eslint-plugin-anti-trojan-source": "~1.1.1",
|
||||
"eslint-plugin-import": "~2.26.0",
|
||||
"eslint-plugin-jest": "~27.2.1",
|
||||
"eslint-plugin-jest": "~27.2.2",
|
||||
"eslint-plugin-prettier": "~4.2.1",
|
||||
"prettier": "~2.8.8"
|
||||
},
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"eslint": "~8.38.0",
|
||||
"typescript": "~5.0.4"
|
||||
"eslint": "~8.43.0",
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -78,7 +78,7 @@
|
||||
"@types/react-dom": "~17.0.20",
|
||||
"babel-loader": "~8.2.5",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"normalize.css": "^8.0.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "~2.8.8",
|
||||
@ -86,7 +86,7 @@
|
||||
"react-dom": "^17.0.2",
|
||||
"rimraf": "^3.0.2",
|
||||
"tslib": "^2.5.3",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@rocket.chat/gazzodown": "workspace:^",
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"@storybook/manager-webpack4": "~6.5.16",
|
||||
"@storybook/react": "~6.5.16",
|
||||
"@storybook/testing-library": "~0.0.13",
|
||||
"@swc/core": "^1.3.64",
|
||||
"@swc/core": "^1.3.66",
|
||||
"@swc/jest": "^0.2.26",
|
||||
"@testing-library/jest-dom": "^5.16.5",
|
||||
"@testing-library/react": "~12.1.5",
|
||||
@ -30,10 +30,10 @@
|
||||
"@types/react": "~17.0.62",
|
||||
"@types/react-dom": "~17.0.20",
|
||||
"@types/testing-library__jest-dom": "~5.14.6",
|
||||
"@typescript-eslint/eslint-plugin": "~5.58.0",
|
||||
"@typescript-eslint/parser": "~5.58.0",
|
||||
"@typescript-eslint/eslint-plugin": "~5.60.0",
|
||||
"@typescript-eslint/parser": "~5.60.0",
|
||||
"babel-loader": "^8.3.0",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"eslint-plugin-anti-trojan-source": "~1.1.1",
|
||||
"eslint-plugin-react": "~7.32.2",
|
||||
"eslint-plugin-react-hooks": "~4.6.0",
|
||||
@ -46,7 +46,7 @@
|
||||
"react-docgen-typescript-plugin": "~1.0.5",
|
||||
"react-dom": "~17.0.2",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -10,11 +10,11 @@
|
||||
"@types/babel__preset-env": "~7.9.2",
|
||||
"@types/jest": "^29.5.2",
|
||||
"babel-jest": "^29.5.0",
|
||||
"eslint": "^8.12.0",
|
||||
"eslint": "^8.43.0",
|
||||
"jest": "^29.5.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"tsup": "^6.7.0",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "node ./src/index.mjs",
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"mongodb": "^4.12.1",
|
||||
"prettier": "~2.8.8",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -38,8 +38,8 @@
|
||||
"@storybook/addon-viewport": "~6.5.16",
|
||||
"@storybook/react": "~6.5.16",
|
||||
"@storybook/theming": "~6.5.16",
|
||||
"@typescript-eslint/eslint-plugin": "~5.58.0",
|
||||
"@typescript-eslint/parser": "~5.58.0",
|
||||
"@typescript-eslint/eslint-plugin": "~5.60.0",
|
||||
"@typescript-eslint/parser": "~5.60.0",
|
||||
"autoprefixer": "^9.8.8",
|
||||
"babel-loader": "^8.3.0",
|
||||
"babel-plugin-jsx-pragmatic": "^1.0.2",
|
||||
@ -47,7 +47,7 @@
|
||||
"css-loader": "^4.3.0",
|
||||
"cssnano": "^4.1.11",
|
||||
"desvg-loader": "^0.1.0",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"eslint-plugin-import": "~2.26.0",
|
||||
"eslint-plugin-react": "~7.32.2",
|
||||
"eslint-plugin-react-hooks": "~4.6.0",
|
||||
@ -77,7 +77,7 @@
|
||||
"stylelint": "^14.9.1",
|
||||
"stylelint-order": "^5.0.0",
|
||||
"svg-loader": "^0.0.2",
|
||||
"typescript": "~5.0.4",
|
||||
"typescript": "~5.1.3",
|
||||
"url-loader": "^4.1.1",
|
||||
"webpack": "~4.46.0",
|
||||
"webpack-cli": "~4.10.0",
|
||||
|
||||
@ -6,10 +6,10 @@
|
||||
"@types/chalk": "^2.2.0",
|
||||
"@types/ejson": "^2.2.0",
|
||||
"@types/jest": "^27.4.1",
|
||||
"eslint": "^8.12.0",
|
||||
"eslint": "^8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -5,11 +5,11 @@
|
||||
"devDependencies": {
|
||||
"@types/jest": "~29.5.2",
|
||||
"@types/node-rsa": "^1.1.1",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"mongodb": "^4.12.1",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@types/jest": "~29.5.2",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@rocket.chat/model-typings": "workspace:^"
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@types/jest": "~29.5.2",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
|
||||
@ -17,13 +17,13 @@
|
||||
"@babel/core": "~7.22.5",
|
||||
"@babel/preset-env": "~7.22.5",
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"@typescript-eslint/eslint-plugin": "~5.58.0",
|
||||
"@typescript-eslint/parser": "~5.58.0",
|
||||
"eslint": "~8.38.0",
|
||||
"@typescript-eslint/eslint-plugin": "~5.60.0",
|
||||
"@typescript-eslint/parser": "~5.60.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"jest-environment-jsdom": "~29.5.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"volta": {
|
||||
"extends": "../../package.json"
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
"@actions/github": "^5.1.1",
|
||||
"@octokit/plugin-throttling": "^6.0.0",
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"eslint": "^8.42.0",
|
||||
"eslint": "^8.43.0",
|
||||
"mdast-util-to-string": "2.0.0",
|
||||
"remark-parse": "9.0.0",
|
||||
"remark-stringify": "9.0.1",
|
||||
|
||||
@ -5,12 +5,12 @@
|
||||
"devDependencies": {
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"@types/jest": "~29.5.2",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"jest-environment-jsdom": "~29.5.0",
|
||||
"mongodb": "^4.12.1",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@types/jest": "^27.4.1",
|
||||
"eslint": "^8.12.0",
|
||||
"eslint": "^8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -16,12 +16,12 @@
|
||||
"@babel/core": "~7.22.5",
|
||||
"@babel/preset-env": "~7.22.5",
|
||||
"@rocket.chat/eslint-config": "workspace:^",
|
||||
"@typescript-eslint/eslint-plugin": "~5.58.0",
|
||||
"@typescript-eslint/parser": "~5.58.0",
|
||||
"eslint": "~8.38.0",
|
||||
"@typescript-eslint/eslint-plugin": "~5.60.0",
|
||||
"@typescript-eslint/parser": "~5.60.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"volta": {
|
||||
"extends": "../../package.json"
|
||||
|
||||
@ -4,10 +4,10 @@
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@types/jest": "~29.5.2",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -23,16 +23,16 @@
|
||||
"@types/jest": "~29.5.2",
|
||||
"@types/react": "~17.0.62",
|
||||
"@types/react-dom": "~17.0.20",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"eslint-plugin-anti-trojan-source": "~1.1.1",
|
||||
"eslint-plugin-react": "~7.32.2",
|
||||
"eslint-plugin-react-hooks": "~4.6.0",
|
||||
"eslint-plugin-storybook": "~0.6.12",
|
||||
"eslint-plugin-testing-library": "~5.10.3",
|
||||
"eslint-plugin-testing-library": "~5.11.0",
|
||||
"jest": "~29.5.0",
|
||||
"react": "~17.0.2",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||
|
||||
@ -16,14 +16,14 @@
|
||||
"@storybook/testing-library": "~0.0.13",
|
||||
"@types/babel__core": "~7.20.1",
|
||||
"@types/jest": "~29.5.2",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"eslint-plugin-react": "~7.32.2",
|
||||
"eslint-plugin-react-hooks": "~4.6.0",
|
||||
"eslint-plugin-storybook": "~0.6.12",
|
||||
"jest": "~29.5.0",
|
||||
"react-docgen-typescript-plugin": "~1.0.5",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@rocket.chat/fuselage": "*",
|
||||
|
||||
@ -11,12 +11,12 @@
|
||||
"@types/react": "~17.0.62",
|
||||
"@types/react-dom": "~17.0.20",
|
||||
"@types/use-sync-external-store": "^0.0.3",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"mongodb": "^4.12.1",
|
||||
"react": "~17.0.2",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4",
|
||||
"typescript": "~5.1.3",
|
||||
"use-sync-external-store": "^1.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@ -20,14 +20,14 @@
|
||||
"@storybook/testing-library": "~0.0.13",
|
||||
"@types/babel__core": "~7.20.1",
|
||||
"@types/jest": "~29.5.2",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"eslint-plugin-react": "~7.32.2",
|
||||
"eslint-plugin-react-hooks": "~4.6.0",
|
||||
"eslint-plugin-storybook": "~0.6.12",
|
||||
"jest": "~29.5.0",
|
||||
"react-docgen-typescript-plugin": "~1.0.5",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@rocket.chat/css-in-js": "*",
|
||||
|
||||
@ -39,13 +39,13 @@
|
||||
"@types/react-beautiful-dnd": "^13.1.4",
|
||||
"@types/react-dom": "^17.0.20",
|
||||
"@types/use-subscription": "^1.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.57.1",
|
||||
"@typescript-eslint/parser": "^5.57.1",
|
||||
"@typescript-eslint/eslint-plugin": "~5.60.0",
|
||||
"@typescript-eslint/parser": "~5.60.0",
|
||||
"@vitejs/plugin-react": "^4.0.0",
|
||||
"eslint": "^8.38.0",
|
||||
"eslint": "^8.43.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-refresh": "^0.3.5",
|
||||
"typescript": "^5.0.2",
|
||||
"eslint-plugin-react-refresh": "^0.4.1",
|
||||
"typescript": "^5.1.3",
|
||||
"vite": "^4.3.9"
|
||||
},
|
||||
"volta": {
|
||||
|
||||
@ -9,11 +9,11 @@
|
||||
"@tanstack/react-query": "^4.16.1",
|
||||
"@testing-library/react": "^13.3.0",
|
||||
"@types/jest": "~29.5.2",
|
||||
"eslint": "~8.38.0",
|
||||
"eslint": "~8.43.0",
|
||||
"jest": "~29.5.0",
|
||||
"react-hook-form": "^7.34.2",
|
||||
"ts-jest": "~29.0.5",
|
||||
"typescript": "~5.0.4"
|
||||
"typescript": "~5.1.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@rocket.chat/layout": "*",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user