mirror of
https://github.com/RocketChat/Rocket.Chat.git
synced 2025-12-28 06:47:25 +00:00
chore(random): Review build configuration (#37901)
This commit is contained in:
parent
0b86795eae
commit
572c96302b
@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"extends": ["@rocket.chat/eslint-config"],
|
"extends": ["@rocket.chat/eslint-config"],
|
||||||
"plugins": ["jest"],
|
|
||||||
"env": {
|
|
||||||
"jest/globals": true
|
|
||||||
},
|
|
||||||
"ignorePatterns": ["dist"]
|
"ignorePatterns": ["dist"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
presets: ['@babel/preset-env'],
|
|
||||||
};
|
|
||||||
@ -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"
|
||||||
|
|||||||
@ -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"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user