Skip to content

Commit 5fcdef2

Browse files
committed
Synchronize versions
1 parent 9bcb5f3 commit 5fcdef2

7 files changed

Lines changed: 43 additions & 28 deletions

File tree

admin-ui/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
22
"name": "@unchainedshop/admin-ui",
33
"license": "EUPL-1.2",
4-
"version": "4.0.35",
4+
"version": "4.0.0-rc.15",
55
"description": "Unchained Commerce Admin UI Template",
66
"main": "./out/index.html",
77
"files": [
88
"dist",
99
"out"
1010
],
1111
"scripts": {
12+
"prepublishOnly": "npm run build",
1213
"dev": "next dev",
1314
"build": "node ./generate-permissions.js && NODE_ENV=production next build",
1415
"start": "next start",

admin-ui/src/modules/copilot/hooks/useChatManager.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,18 @@ export const useChatManager = () => {
132132
const localizedError =
133133
errorMessage.includes('401') || errorMessage.includes('Unauthorized')
134134
? intl.formatMessage({
135-
id: 'chat.error.auth',
136-
defaultMessage:
137-
'🔐 **Authentication Error**\n\nYour session has expired or the authentication token is invalid.\n\n*Please refresh or log in again.*',
138-
})
139-
: intl.formatMessage(
140-
{
141-
id: 'chat.error.submission',
135+
id: 'chat.error.auth',
142136
defaultMessage:
143-
'❌ **Submission Error**\n\nFailed to send your message.\n\n**Error:** {details}\n\n*Please ensure the backend is running.*',
144-
},
145-
{ details: errorMessage },
146-
);
137+
'🔐 **Authentication Error**\n\nYour session has expired or the authentication token is invalid.\n\n*Please refresh or log in again.*',
138+
})
139+
: intl.formatMessage(
140+
{
141+
id: 'chat.error.submission',
142+
defaultMessage:
143+
'❌ **Submission Error**\n\nFailed to send your message.\n\n**Error:** {details}\n\n*Please ensure the backend is running.*',
144+
},
145+
{ details: errorMessage },
146+
);
147147

148148
const chatError: UIMessage = {
149149
id: `error-${Date.now()}`,

examples/kitchensink-express/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@ai-sdk/openai-compatible": "^1.0.10",
4040
"@scure/bip32": "2.0.0",
4141
"@scure/btc-signer": "^2.0.0",
42-
"@unchainedshop/admin-ui": "^4.0.32",
42+
"@unchainedshop/admin-ui": "^4.0.0-rc.15",
4343
"@unchainedshop/api": "^4.0.0-rc.15",
4444
"@unchainedshop/core-delivery": "^4.0.0-rc.15",
4545
"@unchainedshop/core-payment": "^4.0.0-rc.15",

examples/kitchensink/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@fastify/session": "^11.1.0",
4242
"@scure/bip32": "^2.0.0",
4343
"@scure/btc-signer": "^2.0.0",
44-
"@unchainedshop/admin-ui": "^4.0.32",
44+
"@unchainedshop/admin-ui": "^4.0.0-rc.15",
4545
"@unchainedshop/api": "^4.0.0-rc.15",
4646
"@unchainedshop/core-delivery": "^4.0.0-rc.15",
4747
"@unchainedshop/core-payment": "^4.0.0-rc.15",

examples/oidc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@fastify/multipart": "^9.0.3",
3838
"@fastify/oauth2": "^8.1.2",
3939
"@fastify/session": "^11.1.0",
40-
"@unchainedshop/admin-ui": "^4.0.32",
40+
"@unchainedshop/admin-ui": "^4.0.0-rc.15",
4141
"@unchainedshop/platform": "^4.0.0-rc.15",
4242
"@unchainedshop/plugins": "^4.0.0-rc.15",
4343
"fastify": "^5.4.0"

package-lock.json

Lines changed: 21 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@
7474
"dev:watch": "tsc --build -w",
7575
"update-version": "npm version --no-git-tag-version --workspaces --include-workspace-root",
7676
"clean": "tsc --build --clean",
77-
"build": "npm run clean && tsc --build"
77+
"build": "run-p build:*",
78+
"build:packages": "npm run clean && tsc --build",
79+
"build:admin-ui": "cd admin-ui && npm run build"
7880
},
7981
"devDependencies": {
8082
"@eslint/js": "^9.26.0",
@@ -94,12 +96,10 @@
9496
"typescript": "^5.8.3",
9597
"typescript-eslint": "^8.36.0",
9698
"wait-on": "^8.0.3",
97-
"workspaces-run": "^1.0.2"
99+
"workspaces-run": "^1.0.2",
100+
"@modelcontextprotocol/sdk": "^1.15.1"
98101
},
99102
"trustedDependencies": [
100103
"@mongodb-js/zstd"
101-
],
102-
"dependencies": {
103-
"@modelcontextprotocol/sdk": "^1.15.1"
104-
}
104+
]
105105
}

0 commit comments

Comments
 (0)