Skip to content

Commit

Permalink
chore: update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-jan committed Dec 28, 2023
1 parent 38a0e1a commit e794f52
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ ifeq ($(OS),Windows_NT)
yarn config set network-timeout 300000
endif
yarn build:core
yarn build:server
yarn install
yarn build:extensions

Expand Down
2 changes: 1 addition & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"dependencies": {
"@alumna/reflect": "^1.1.3",
"@janhq/core": "link:./core",
"@janhq/server": "file:../server",
"@janhq/server": "link:./server",
"@npmcli/arborist": "^7.1.0",
"@types/request": "^2.48.12",
"@uiball/loaders": "^1.3.0",
Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"uikit",
"core",
"electron",
"web"
"web",
"server"
],
"nohoist": [
"uikit",
Expand All @@ -16,7 +17,9 @@
"electron",
"electron/**",
"web",
"web/**"
"web/**",
"server",
"server/**"
]
},
"scripts": {
Expand All @@ -28,6 +31,7 @@
"test-local": "yarn lint && yarn build:test && yarn test",
"dev:uikit": "yarn workspace @janhq/uikit install && yarn workspace @janhq/uikit dev",
"build:uikit": "yarn workspace @janhq/uikit install && yarn workspace @janhq/uikit build",
"build:server": "cd server && yarn install && yarn run build",
"build:core": "cd core && yarn install && yarn run build",
"build:web": "yarn workspace jan-web build && cpx \"web/out/**\" \"electron/renderer/\"",
"build:electron": "cpx \"models/**\" \"electron/models/\" && yarn workspace jan build",
Expand Down
9 changes: 5 additions & 4 deletions server/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "@janhq/server",
"version": "0.1.3",
"main": "./build/index.js",
"main": "build/index.js",
"types": "build/index.d.ts",
"author": "Jan <[email protected]>",
"license": "AGPL-3.0",
"homepage": "https://jan.ai",
Expand All @@ -18,11 +19,11 @@
"dependencies": {
"@fastify/cors": "^8.4.2",
"@fastify/static": "^6.12.0",
"core": "link:./core",
"@janhq/core": "link:./core",
"dotenv": "^16.3.1",
"fastify": "^4.24.3",
"request": "^2.88.2",
"request-progress": "^3.0.0",
"dotenv": "^16.3.1"
"request-progress": "^3.0.0"
},
"devDependencies": {
"@types/body-parser": "^1.19.5",
Expand Down

0 comments on commit e794f52

Please sign in to comment.