Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

ci: export app for vercel deployment

Andrej Acevski616e689b3131
diff --git a/apps/api/package.json b/apps/api/package.json
index 69a2da8b9..4d10a6897 100644
--- a/apps/api/package.json
+++ b/apps/api/package.json
@@ -1,7 +1,14 @@
{
"name": "@kaneo/api",
"type": "module",
- "main": "./src/index.ts",
+ "main": "./dist/index.js",
+ "types": "./src/index.ts",
+ "exports": {
+ ".": {
+ "types": "./src/index.ts",
+ "default": "./dist/index.js"
+ }
+ },
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "esbuild src/index.ts --bundle --platform=node --outdir=dist --format=esm --packages=external --external:fs --external:path --external:crypto --external:os --external:util --external:stream --external:buffer --external:events --external:url --external:querystring --external:http --external:https --external:net --external:tls --external:zlib",
diff --git a/apps/api/vercel.json b/apps/api/vercel.json
new file mode 100644
index 000000000..f7082e53a
--- /dev/null
+++ b/apps/api/vercel.json
@@ -0,0 +1,9 @@
+{
+ "functions": {
+ "dist/index.js": {
+ "runtime": "nodejs18.x"
+ }
+ },
+ "buildCommand": "npm run build",
+ "outputDirectory": "dist"
+}
diff --git a/package.json b/package.json
index e86f40265..dedbefd8b 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
"husky": "^9.1.7",
"tar-fs": ">=2.1.3",
"turbo": "^2.4.2",
- "typescript": "5.7.2",
+ "typescript": "5.8.3",
"linkifyjs": ">=4.3.2",
"esbuild": ">=0.25.0"
},
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f4ab38dcf..976b19acc 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -13,7 +13,7 @@ importers:
version: 1.9.4
'@commitlint/cli':
specifier: ^19.6.1
- version: 19.8.1(@types/[email protected])([email protected])
+ version: 19.8.1(@types/[email protected])([email protected])
'@commitlint/config-conventional':
specifier: ^19.6.0
version: 19.8.1
@@ -33,8 +33,8 @@ importers:
specifier: ^2.4.2
version: 2.5.5
typescript:
- specifier: 5.7.2
- version: 5.7.2
+ specifier: 5.8.3
+ version: 5.8.3
apps/api:
dependencies:
@@ -4693,11 +4693,6 @@ packages:
resolution: {integrity: sha512-eZ7wI6KjtT1eBqCnh2JPXWNUAxtoxxfi6VdBdZFvil0ychCOTxbm7YLRBi1JSt7U3c+u3CLxpoPxLdvr/Npr3A==}
hasBin: true
- resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==}
- engines: {node: '>=14.17'}
- hasBin: true
-
resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==}
engines: {node: '>=14.17'}
@@ -5192,11 +5187,11 @@ snapshots:
'@biomejs/[email protected]':
optional: true
dependencies:
'@commitlint/format': 19.8.1
'@commitlint/lint': 19.8.1
- '@commitlint/load': 19.8.1(@types/[email protected])([email protected])
+ '@commitlint/load': 19.8.1(@types/[email protected])([email protected])
'@commitlint/read': 19.8.1
'@commitlint/types': 19.8.1
tinyexec: 1.0.1
@@ -5243,15 +5238,15 @@ snapshots:
'@commitlint/rules': 19.8.1
'@commitlint/types': 19.8.1
dependencies:
'@commitlint/config-validator': 19.8.1
'@commitlint/execute-rule': 19.8.1
'@commitlint/resolve-extends': 19.8.1
'@commitlint/types': 19.8.1
chalk: 5.4.1
- cosmiconfig: 9.0.0([email protected])
- cosmiconfig-typescript-loader: 6.1.0(@types/[email protected])([email protected]([email protected]))([email protected])
+ cosmiconfig: 9.0.0([email protected])
+ cosmiconfig-typescript-loader: 6.1.0(@types/[email protected])([email protected]([email protected]))([email protected])
lodash.isplainobject: 4.0.6
lodash.merge: 4.6.2
lodash.uniq: 4.5.0
@@ -7562,21 +7557,21 @@ snapshots:
dependencies:
'@types/node': 24.1.0
- cosmiconfig: 9.0.0([email protected])
+ cosmiconfig: 9.0.0([email protected])
jiti: 2.4.2
- typescript: 5.7.2
+ typescript: 5.8.3
dependencies:
env-paths: 2.2.1
import-fresh: 3.3.1
js-yaml: 4.1.0
parse-json: 5.2.0
optionalDependencies:
- typescript: 5.7.2
+ typescript: 5.8.3
@@ -9595,8 +9590,6 @@ snapshots:
turbo-windows-64: 2.5.5
turbo-windows-arm64: 2.5.5
-