Skip to content

Commit 7247872

Browse files
committed
chore: rename frontend to ui
1 parent 354c06d commit 7247872

File tree

190 files changed

+61724
-155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+61724
-155
lines changed

.github/copilot-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
UniToken is a multi-component monorepo consisting of:
66

77
- **Go Service** (`service/`): Local API server providing token management and gateway functionality
8-
- **Vue.js Frontend** (`frontend/`): Web UI for configuration and management
8+
- **Vue.js Frontend** (`ui/`): Web UI for configuration and management
99
- **SDKs** (`sdk/`): Node.js and Python client libraries for service integration
1010

1111
## Technology Stack
@@ -20,7 +20,7 @@ UniToken is a multi-component monorepo consisting of:
2020
## i18n
2121

2222
- Always use English in the codebase.
23-
- Use Vue I18n for frontend localization, with locale files in `locales/` (`en-US.json`, `zh-CN.json`)
23+
- Use Vue I18n for UI localization, with locale files in `locales/` (`en-US.json`, `zh-CN.json`)
2424

2525
## Code Style
2626

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ target
77
service/uni-token-service
88
service/uni-token-service.exe
99
service/data.db
10-
frontend/public/release
10+
ui/public/release
1111
.eslintcache
1212
docs/.vitepress/cache
1313
.fuse_hidden*
1414
sdk/go/example/uni-token-example
1515
sdk/go/example/uni-token-example.exe
1616
docs/slides/*-impl.md
17+
temp

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@
7676
"vue-sfc"
7777
],
7878
"i18n-ally.localesPaths": [
79-
"frontend/src/**/*.vue"
79+
"ui/src/**/*.vue"
8080
]
8181
}

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ uv --directory sdk/python sync
1818
### Start
1919

2020
```sh
21-
pnpm -C frontend dev
21+
pnpm -C ui dev
2222
pnpm -C docs dev
2323
go -C service run main.go
2424
uv --directory sdk/python run example.py
@@ -27,7 +27,7 @@ uv --directory sdk/python run example.py
2727
### Build
2828

2929
```sh
30-
pnpm -C frontend build
30+
pnpm -C ui build
3131
pnpm -C docs build
3232
go -C service build
3333
```

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ For users, you can visit the [UniToken App](https://uni-token.app) to manage you
4242
## License
4343

4444
- `sdk/*` is licensed under the **MIT License**, which allows for free use, modification, and distribution for both commercial and non-commercial purposes.
45-
- `frontend/` and `service/` are licensed under the **Non-Commercial Use License (NCUL)**, which allows free use for non-commercial purposes, including modification and distribution, as long as it is not used for commercial gain. Commercial use is strictly prohibited.
45+
- `ui/` and `service/` are licensed under the **Non-Commercial Use License (NCUL)**, which allows free use for non-commercial purposes, including modification and distribution, as long as it is not used for commercial gain. Commercial use is strictly prohibited.

TODO.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
- backend telemetry
2+
- set preset api
3+
- fix usage stat
4+
- silicon flow invite reward
5+
6+
- siliconflow first open workflow
7+
- other providers
8+
9+
---
10+
11+
Cherry Studio
12+
Airi

bump.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { defineConfig } from 'bumpp'
55
import { $ } from 'zx'
66

77
export default defineConfig({
8-
files: ['frontend/package.json', 'sdk/*/package.json'],
8+
files: ['ui/package.json', 'sdk/*/package.json'],
99
all: true,
1010
async execute(config) {
1111
const projectToml = resolve(import.meta.dirname, './sdk/python/pyproject.toml')

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default antfu({
1414
},
1515
},
1616
ignores: [
17-
'frontend/public/**',
17+
'ui/public/**',
1818
'**/.venv/**',
1919
'**/node_modules/**',
2020
'**/dist/**',

0 commit comments

Comments
 (0)