chore(random): Review build configuration (#37901)

This commit is contained in:
Tasso Evangelista 2025-12-20 13:19:36 -03:00 committed by GitHub
parent 0b86795eae
commit 572c96302b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 2 additions and 18 deletions

View File

@ -1,8 +1,4 @@
{ {
"extends": ["@rocket.chat/eslint-config"], "extends": ["@rocket.chat/eslint-config"],
"plugins": ["jest"],
"env": {
"jest/globals": true
},
"ignorePatterns": ["dist"] "ignorePatterns": ["dist"]
} }

View File

@ -1,3 +0,0 @@
module.exports = {
presets: ['@babel/preset-env'],
};

View File

@ -16,13 +16,9 @@
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "~7.28.5",
"@babel/preset-env": "~7.28.5",
"@rocket.chat/eslint-config": "workspace:^", "@rocket.chat/eslint-config": "workspace:^",
"@rocket.chat/jest-presets": "workspace:~", "@rocket.chat/jest-presets": "workspace:~",
"@rocket.chat/tsconfig": "workspace:*", "@rocket.chat/tsconfig": "workspace:*",
"@typescript-eslint/eslint-plugin": "~5.60.1",
"@typescript-eslint/parser": "~5.60.1",
"eslint": "~8.45.0", "eslint": "~8.45.0",
"jest": "~30.2.0", "jest": "~30.2.0",
"typescript": "~5.9.3" "typescript": "~5.9.3"

View File

@ -1,11 +1,12 @@
{ {
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "dist",
"target": "ES2015", "target": "ES2015",
"module": "CommonJS", "module": "CommonJS",
"declaration": true, "declaration": true,
"declarationMap": true, "declarationMap": true,
"sourceMap": true, "sourceMap": true,
}, },
"exclude": ["**/*.spec.ts", "**/*.spec.js"] "exclude": ["**/*.spec.ts"]
} }

View File

@ -1,9 +1,7 @@
{ {
"extends": "@rocket.chat/tsconfig/base.json", "extends": "@rocket.chat/tsconfig/base.json",
"compilerOptions": { "compilerOptions": {
"outDir": "dist",
"rootDir": "src", "rootDir": "src",
"strictNullChecks": true,
}, },
"include": ["src"] "include": ["src"]
} }

View File

@ -10165,13 +10165,9 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@rocket.chat/random@workspace:packages/random" resolution: "@rocket.chat/random@workspace:packages/random"
dependencies: dependencies:
"@babel/core": "npm:~7.28.5"
"@babel/preset-env": "npm:~7.28.5"
"@rocket.chat/eslint-config": "workspace:^" "@rocket.chat/eslint-config": "workspace:^"
"@rocket.chat/jest-presets": "workspace:~" "@rocket.chat/jest-presets": "workspace:~"
"@rocket.chat/tsconfig": "workspace:*" "@rocket.chat/tsconfig": "workspace:*"
"@typescript-eslint/eslint-plugin": "npm:~5.60.1"
"@typescript-eslint/parser": "npm:~5.60.1"
eslint: "npm:~8.45.0" eslint: "npm:~8.45.0"
jest: "npm:~30.2.0" jest: "npm:~30.2.0"
typescript: "npm:~5.9.3" typescript: "npm:~5.9.3"