Skip to content

Commit

Permalink
chore: build job
Browse files Browse the repository at this point in the history
  • Loading branch information
BIYUEHU committed Jun 6, 2024
1 parent 37a8483 commit f7cb1c6
Show file tree
Hide file tree
Showing 17 changed files with 1,077 additions and 594 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions modules/grouper/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.node.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib"
},
"references": [
{
"path": "../../packages/kotori"
}
]
}
38 changes: 0 additions & 38 deletions modules/testing/src/index1.tss

This file was deleted.

60 changes: 0 additions & 60 deletions modules/testing/src/index2.ts

This file was deleted.

52 changes: 0 additions & 52 deletions modules/testing/src/index2.tss

This file was deleted.

61 changes: 0 additions & 61 deletions modules/testing/src/index3.tss

This file was deleted.

49 changes: 0 additions & 49 deletions modules/webui/dist/index.html

This file was deleted.

15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@
"author": "Hotaru <[email protected]>",
"scripts": {
"kotori": "pnpm --filter kotori-bot",
"build": "pnpm -r build",
"build": "pnpm clean && pnpm -r build && pnpm -r exec tsup",
"start": "pnpm kotori start",
"dev:only": "pnpm kotori dev",
"dev": "nodemon --exec \"cd ./packages/kotori && pnpm build && pnpm dev\" --ext ts --watch {packages,modules}/*/src/",
"dev": "pnpm kotori dev",
"test": "echo testing",
"lint": "eslint \"{packages,modules}/*/src/*.{ts,tsx}\" --fix",
"format": "prettier --config .prettierrc \"{packages,modules}/*/src/*.ts\" --write",
"version": "pnpm exec conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"release": "pnpm exec release"
"release": "pnpm exec release",
"clean": "rm -Rf ./{packages,modules}/*/{lib,dist,tsconfig.tsbuildinfo,{dist,lib}/**.d.ts}"
},
"files": [
"{packages,modules}/*/locales/**/*",
Expand All @@ -34,18 +35,18 @@
},
"devDependencies": {
"@manypkg/get-packages": "^2.2.1",
"@types/inquirer": "^9.0.7",
"@types/node": "^20.14.1",
"@types/shelljs": "^0.8.15",
"conventional-changelog-cli": "^4.1.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-typescript": "^3.0.0",
"execa": "^8.0.1",
"inquirer": "^9.2.23",
"nodemon": "^3.1.3",
"prettier": "^3.3.0",
"tsconfig-paths": "^4.2.0",
"shelljs": "^0.8.5",
"tsup": "^8.1.0",
"tsx": "^4.11.2",
"typescript": "^5.4.5"
},
"packageManager": "[email protected]+",
Expand Down
3 changes: 0 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"main": "lib/index.js",
"license": "GPL-3.0",
"author": "Hotaru <[email protected]>",
"scripts": {
"build": "tsc --build"
},
"keywords": [
"kotori",
"chatbot",
Expand Down
4 changes: 2 additions & 2 deletions packages/kotori/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"scripts": {
"start": "node ./lib/start/build.js",
"cli-dev": "node ./lib/start/dev.js",
"dev": "ts-node -r tsconfig-paths/register ./src/start/source.ts",
"build": "tsc --build"
"dev": "tsx watch --tsconfig ../../tsconfig.json ./src/start/source.ts --watch ../../{packages.modules}/*/src/**/*.ts",
"build": "tsc --build && tsup"
},
"bin": {
"kotori": "./bin.js",
Expand Down
5 changes: 1 addition & 4 deletions packages/loader/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,5 @@
{
"path": "../core"
}
],
"ts-node": {
"experimentalSpecifierResolution": "node"
}
]
}
4 changes: 2 additions & 2 deletions packages/tools/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist"
},
}
}
}
Loading

0 comments on commit f7cb1c6

Please sign in to comment.