Skip to content

Commit

Permalink
tsc as well
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelglass committed Mar 5, 2024
1 parent 708526d commit 5056e58
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 7 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"lint": "lerna run lint",
"lint:check": "lerna run lint:check",
"publish": "rm -f package-lock.json && rm -f packages/*/package-lock.json && lerna publish --no-private",
"tsc": "lerna run tsc",
"watch": "lerna watch -- lerna run build --since"
},
"author": "Peter Szerzo <[email protected]>",
Expand Down
3 changes: 2 additions & 1 deletion packages/chat-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"build": "rm -rf lib && rollup -c",
"lint:check": "npx eslint src/ --ext .ts,.tsx,.js,.jsx",
"lint": "npx eslint src/ --ext .ts,.tsx,.js,.jsx --fix",
"prepublish": "npm run build"
"prepublish": "npm run build",
"tsc": "tsc"
},
"author": "Peter Szerzo <[email protected]>",
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions packages/chat-core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"compilerOptions": {
"target": "es6",
"module": "esnext",
"moduleResolution": "bundler",
"declaration": true,
"outDir": "./lib",
"rootDir": "./src",
Expand Down
3 changes: 2 additions & 1 deletion packages/chat-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"build": "rm -rf lib && rollup -c",
"lint:check": "npx eslint src/ --ext .ts,.tsx,.js,.jsx",
"lint": "npx eslint src/ --ext .ts,.tsx,.js,.jsx --fix",
"prepublish": "npm run build"
"prepublish": "npm run build",
"tsc": "tsc"
},
"author": "Peter Szerzo <[email protected]>",
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion packages/chat-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"build": "rm -rf lib && rollup -c",
"lint:check": "npx eslint src/ --ext .ts,.tsx,.js,.jsx",
"lint": "npx eslint src/ --ext .ts,.tsx,.js,.jsx --fix",
"prepublish": "npm run build"
"prepublish": "npm run build",
"tsc": "tsc"
},
"author": "Peter Szerzo <[email protected]>",
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion packages/chat-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"build": "rm -rf lib && rollup -c",
"lint:check": "npx eslint src/ --ext .ts,.tsx,.js,.jsx",
"lint": "npx eslint src/ --ext .ts,.tsx,.js,.jsx --fix",
"prepublish": "npm run build"
"prepublish": "npm run build",
"tsc": "tsc"
},
"author": "Peter Szerzo <[email protected]>",
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion packages/voice-compass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"build": "rm -rf lib && rollup -c",
"lint:check": "npx eslint src/ --ext .ts,.tsx,.js,.jsx",
"lint": "npx eslint src/ --ext .ts,.tsx,.js,.jsx --fix",
"prepublish": "npm run build"
"prepublish": "npm run build",
"tsc": "tsc"
},
"author": "Peter Szerzo <[email protected]>",
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"build": "tsc && vite build",
"dev": "vite --force",
"lint:check": "npx eslint src/ --ext .ts,.tsx,.js,.jsx,.mdx",
"lint": "npx eslint src/ --ext .ts,.tsx,.js,.jsx,.mdx --fix"
"lint": "npx eslint src/ --ext .ts,.tsx,.js,.jsx,.mdx --fix",
"tsc": "tsc"
},
"dependencies": {
"@nlxai/chat-core": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/website/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"strict": true,
"outDir": "./lib",
"module": "es2020",
"moduleResolution": "node",
"moduleResolution": "bundler",
"target": "es2020",
"skipLibCheck": true,
"declaration": true,
Expand Down

0 comments on commit 5056e58

Please sign in to comment.