Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions packages/core-typings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@
"/dist"
],
"scripts": {
".:build:build": "tsc -p tsconfig.json",
".:build:build": "ttsc --binary \"$(node -e 'const p=require(`path`);process.stdout.write(p.join(p.dirname(require.resolve(`@typescript/native-preview/package.json`)),`bin`,`tsgo`))')\" -p tsconfig.json",
".:build:clean": "rimraf dist",
".:build:prepare": "ts-patch install && typia patch",
"build": "run-s .:build:prepare .:build:clean .:build:build",
"dev": "tsc --watch --preserveWatchOutput -p tsconfig.json",
"build": "run-s .:build:clean .:build:build",
"dev": "ttsc --binary \"$(node -e 'const p=require(`path`);process.stdout.write(p.join(p.dirname(require.resolve(`@typescript/native-preview/package.json`)),`bin`,`tsgo`))')\" --watch --preserveWatchOutput -p tsconfig.json",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"test": "echo \"no tests\" && exit 1"
Expand All @@ -21,18 +20,19 @@
"@rocket.chat/icons": "^0.48.0",
"@rocket.chat/message-parser": "workspace:^",
"@rocket.chat/ui-kit": "workspace:~",
"typia": "patch:typia@npm%3A9.7.2#~/.yarn/patches/typia-npm-9.7.2-5c5d9c80b4.patch",
"typia": "^13.0.2",
"zod": "~4.3.6"
},
"devDependencies": {
"@rocket.chat/apps-engine": "workspace:^",
"@types/express": "^4.17.25",
"@typescript/native-preview": "7.0.0-dev.20260707.2",
"eslint": "~9.39.4",
"mongodb": "6.16.0",
"npm-run-all": "~4.1.5",
"prettier": "~3.3.3",
"rimraf": "^6.0.1",
"ts-patch": "^3.3.0",
"ttsc": "^0.18.4",
"typescript": "~5.9.3"
},
"volta": {
Expand Down
7 changes: 6 additions & 1 deletion packages/core-typings/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{
"extends": "@rocket.chat/tsconfig/server.json",
"compilerOptions": {
"lib": ["dom", "dom.iterable"],
"lib": ["es2023", "dom", "dom.iterable"],
"declaration": true,
"rootDir": "./src",
"outDir": "./dist",
// ttsc/TS7 build: the shared base still targets es5 / moduleResolution node,
// and TS7 no longer auto-includes ambient @types, so name node explicitly.
"target": "es2022",
"moduleResolution": "bundler",
"types": ["node"],
"plugins": [{ "transform": "typia/lib/transform" }]
},
"include": ["./src/**/*"]
Expand Down
11 changes: 5 additions & 6 deletions packages/ui-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,29 +22,28 @@
],
"scripts": {
".:build:clean": "rimraf dist",
".:build:prepare": "ts-patch install && typia patch",
".:build:tsc": "tsc -p tsconfig.build.json",
"build": "run-s .:build:prepare .:build:clean .:build:tsc",
".:build:tsc": "ttsc --binary \"$(node -e 'const p=require(`path`);process.stdout.write(p.join(p.dirname(require.resolve(`@typescript/native-preview/package.json`)),`bin`,`tsgo`))')\" -p tsconfig.build.json",
"build": "run-s .:build:clean .:build:tsc",
"lint": "eslint .",
"test": "jest",
"testunit": "jest",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"typia": "patch:typia@npm%3A9.7.2#~/.yarn/patches/typia-npm-9.7.2-5c5d9c80b4.patch"
"typia": "^13.0.2"
},
"devDependencies": {
"@rocket.chat/icons": "^0.48.0",
"@rocket.chat/jest-presets": "workspace:~",
"@rocket.chat/tsconfig": "workspace:*",
"@types/jest": "~30.0.0",
"@typescript/native-preview": "7.0.0-dev.20260707.2",
"eslint": "~9.39.4",
"jest": "~30.2.0",
"npm-run-all": "~4.1.5",
"prettier": "~3.3.3",
"rimraf": "~6.0.1",
"ts-jest": "~29.4.9",
"ts-patch": "^3.3.0",
"ttsc": "^0.18.4",
"typescript": "~5.9.3"
},
"peerDependencies": {
Expand Down
4 changes: 3 additions & 1 deletion packages/ui-kit/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"removeComments": false
"removeComments": false,
// ttsc/TS7 build only: the shared base still uses the removed moduleResolution node.
"moduleResolution": "bundler"
},
"include": ["./src/**/*"],
"exclude": ["./src/**/*.spec.ts"]
Expand Down
Loading
Loading