Skip to content
Snippets Groups Projects
Unverified Commit 3544ed0a authored by Guilherme Gazzo's avatar Guilherme Gazzo Committed by GitHub
Browse files

Chore: Revert `yarn dev` implementation (#26075)

parent b01685de
No related branches found
No related tags found
No related merge requests found
Showing
with 18 additions and 24 deletions
......@@ -43,5 +43,3 @@ yarn-error.log*
.nvmrc
.idea/
*.tsbuildinfo
\ No newline at end of file
......@@ -18,6 +18,7 @@ to: packages/<%= name %>/package.json
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix",
"jest": "jest",
"build": "rm -rf dist && tsc -p tsconfig.json",
"dev": "tsc -p tsconfig.json --watch --preserveWatchOutput"
},
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
......
......@@ -5,8 +5,7 @@ to: packages/<%= name %>/tsconfig.json
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"composite": true
"outDir": "./dist"
},
"include": ["./src/**/*"]
}
......@@ -10,8 +10,7 @@
"build:services": "turbo run build --filter=rocketchat-services...",
"build:ci": "turbo run build:ci",
"testunit": "turbo run testunit",
"dev:root": "tsc -b --watch --preserveWatchOutput",
"dev": "turbo run //#dev:root dev --parallel --filter=@rocket.chat/meteor...",
"dev": "turbo run dev --parallel --filter=@rocket.chat/meteor...",
"dsv": "turbo run dsv --filter=@rocket.chat/meteor...",
"lint": "turbo run lint",
"storybook": "yarn workspace @rocket.chat/meteor run storybook"
......@@ -20,8 +19,7 @@
"@types/chart.js": "^2.9.37",
"@types/js-yaml": "^4.0.5",
"husky": "^7.0.4",
"turbo": "^1.2.16",
"typescript": "~4.3.4"
"turbo": "1.2.5"
},
"workspaces": [
"apps/*",
......
......@@ -14,7 +14,8 @@
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix",
"jest": "jest",
"build": "tsc -p tsconfig.json"
"build": "tsc -p tsconfig.json",
"dev": "tsc --watch --preserveWatchOutput -p tsconfig.json"
},
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
......
......@@ -2,7 +2,6 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "./src",
"composite": true,
"outDir": "./dist"
},
"include": ["./src/**/*"]
......
......@@ -13,6 +13,7 @@
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix",
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "tsc --watch --preserveWatchOutput -p tsconfig.json",
"build": "rm -rf dist && tsc -p tsconfig.json"
},
"main": "./dist/index.js",
......
......@@ -2,7 +2,6 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "./src",
"composite": true,
"outDir": "./dist"
},
"include": ["./src/**/*"]
......
......@@ -9,7 +9,8 @@
"scripts": {
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix",
"build": "rm -rf dist && tsc -p tsconfig.json"
"build": "rm -rf dist && tsc -p tsconfig.json",
"dev": "tsc -p tsconfig.json --watch --preserveWatchOutput"
},
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
......
......@@ -4,7 +4,6 @@
"rootDir": "./src",
"outDir": "./dist",
"lib": ["DOM"],
"composite": true
},
"include": ["./src/**/*"]
}
......@@ -48,6 +48,7 @@
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix",
"test": "jest",
"build": "rm -rf dist && tsc -p tsconfig.json",
"dev": "tsc -p tsconfig.json --watch --preserveWatchOutput",
"typecheck": "tsc -p tsconfig.json --noEmit",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
......
......@@ -2,8 +2,7 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"composite": true
"outDir": "./dist"
},
"include": ["./src/**/*"]
}
......@@ -2,8 +2,7 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"composite": true
"outDir": "./dist"
},
"include": ["./src/**/*"]
}
......@@ -5,7 +5,6 @@
"outDir": "./dist",
"resolveJsonModule": true,
"esModuleInterop": true,
"composite": true
},
"include": ["./src/**/*"]
}
......@@ -15,6 +15,7 @@
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix",
"jest": "jest",
"dev": "tsc --watch --preserveWatchOutput -p tsconfig.json",
"build": "rm -rf dist && tsc -p tsconfig.json"
},
"main": "./dist/index.js",
......
......@@ -2,7 +2,6 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "./src",
"composite": true,
"outDir": "./dist"
},
"include": ["./src/**/*"]
......
......@@ -29,7 +29,8 @@
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix",
"jest": "jest",
"build": "rm -rf dist && tsc -p tsconfig.json",
"storybook": "start-storybook -p 6006"
"storybook": "start-storybook -p 6006",
"dev": "tsc -p --watch --preserveWatchOutput tsconfig.json"
},
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
......
......@@ -3,8 +3,7 @@
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"importsNotUsedAsValues": "preserve",
"composite": true
"importsNotUsedAsValues": "preserve"
},
"include": ["./src/**/*"],
"exclude": ["**/*.stories.tsx", "**/*.stories.js"]
......
......@@ -30,6 +30,7 @@
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix",
"jest": "jest",
"dev": "tsc --watch --preserveWatchOutput -p tsconfig.json",
"build": "rm -rf dist && tsc -p tsconfig.json"
},
"main": "./dist/index.js",
......
......@@ -4,8 +4,7 @@
"rootDir": "./src",
"outDir": "./dist",
"resolveJsonModule": true,
"composite": true,
"esModuleInterop": true,
},
"include": ["./src/**/*", "./src/en.json"]
"include": ["./src/**/*"]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment