Skip to content

Commit

Permalink
Fix build issue for vercel (#193)
Browse files Browse the repository at this point in the history
Co-authored-by: AceDataCloud <office@acedata.cloud>
  • Loading branch information
Germey and AceDataCloud authored Mar 2, 2025
1 parent 74b137e commit 75eddba
Show file tree
Hide file tree
Showing 4 changed files with 186 additions and 136 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix build issue",
"packageName": "@acedatacloud/nexior",
"email": "office@acedata.cloud",
"dependentChangeType": "patch"
}
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@acedatacloud/nexior",
"version": "2.17.1",
"author": "Germey Technology <dev@germey.tech>",
"author": "Ace Data Cloud <office@acedata.cloud>",
"repository": {
"type": "git",
"url": "git+https://github.com/AceDataCloud/Nexior.git"
Expand All @@ -11,12 +11,12 @@
],
"scripts": {
"start": "vite --host",
"build": "yarn build:web",
"build": "npm run build:web",
"build:web": "cross-env VITE_SURFACE=web vite build --mode development",
"build:android": "cross-env VITE_SURFACE=android vite build --mode development",
"build:ios": "cross-env VITE_SURFACE=ios vite build --mode development",
"pack:android": "yarn build:android && npx cap copy android",
"pack:ios": "yarn build:ios && npx cap copy ios",
"pack:android": "npm run build:android && npx cap copy android",
"pack:ios": "npm run build:ios && npx cap copy ios",
"serve": "vite preview",
"translate": "transmart",
"lint": "eslint src --fix --ext .ts,.tsx,.vue,.js,.jsx",
Expand Down Expand Up @@ -115,5 +115,8 @@
"url": "https://github.com/AceDataCloud/Nexior/issues"
},
"homepage": "https://github.com/AceDataCloud/Nexior#readme",
"license": "MIT"
"license": "MIT",
"engines": {
"node": "20.x"
}
}
2 changes: 2 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"version": 2,
"buildCommand": "npm run build",
"installCommand": "yarn",
"routes": [{ "handle": "filesystem" }, { "src": "/(.*)", "dest": "/index.html" }]
}
Loading

0 comments on commit 75eddba

Please sign in to comment.