chore(patch-injection): Review build configuration (#37630)

This commit is contained in:
Tasso Evangelista 2025-11-27 14:05:58 -03:00 committed by GitHub
parent 2b304fbd2a
commit 66a2a20f2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 16 additions and 14 deletions

View File

@ -1,4 +1,4 @@
{
"extends": ["@rocket.chat/eslint-config"],
"ignorePatterns": ["**/dist"]
"ignorePatterns": ["dist"]
}

View File

@ -2,6 +2,20 @@
"name": "@rocket.chat/patch-injection",
"version": "0.0.1",
"private": true,
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"files": [
"/dist"
],
"scripts": {
"build": "rm -rf dist && tsc",
"dev": "tsc --watch --preserveWatchOutput",
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix",
"test": "jest",
"testunit": "jest",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@rocket.chat/jest-presets": "workspace:~",
"@rocket.chat/tsconfig": "workspace:*",
@ -10,19 +24,6 @@
"jest": "~30.2.0",
"typescript": "~5.9.3"
},
"scripts": {
"build": "rm -rf dist && tsc",
"dev": "tsc --watch --preserveWatchOutput",
"typecheck": "tsc --noEmit",
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix",
"test": "jest"
},
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"files": [
"/dist"
],
"volta": {
"extends": "../../package.json"
}

View File

@ -1,6 +1,7 @@
{
"extends": "@rocket.chat/tsconfig/server.json",
"compilerOptions": {
"module": "esnext",
"declaration": true,
"rootDir": "./src",
"outDir": "./dist"