Skip to content

Commit 75f2fc2

Browse files
committed
feat: ✨ disable input and submit after success
1 parent 79adb45 commit 75f2fc2

File tree

6 files changed

+1800
-1781
lines changed

6 files changed

+1800
-1781
lines changed

.github/workflows/ci.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
jobs:
1515
build:
1616
name: Build
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v4
@@ -36,18 +36,18 @@ jobs:
3636

3737
lint:
3838
name: Lint
39-
runs-on: ubuntu-22.04
39+
runs-on: ubuntu-latest
4040
steps:
4141
- name: Checkout
4242
uses: actions/checkout@v4
4343

4444
- name: Install pnpm
4545
uses: pnpm/action-setup@v4
4646

47-
- name: Use Node.js 20
47+
- name: Use Node.js 22
4848
uses: actions/setup-node@v4
4949
with:
50-
node-version: 20
50+
node-version: 22
5151
cache: 'pnpm'
5252

5353
- name: Install dependencies
@@ -66,10 +66,10 @@ jobs:
6666
- name: Install pnpm
6767
uses: pnpm/action-setup@v4
6868

69-
- name: Use Node.js 20
69+
- name: Use Node.js 22
7070
uses: actions/setup-node@v4
7171
with:
72-
node-version: 20
72+
node-version: 22
7373
cache: 'pnpm'
7474

7575
- name: Install dependencies

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
- name: Install pnpm
2020
uses: pnpm/action-setup@v4
2121

22-
- name: Use Node.js 20
22+
- name: Use Node.js 22
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: 20
25+
node-version: 22
2626
cache: 'pnpm'
27-
registry-url: 'https://registry.npmjs.org/'
27+
registry-url: 'https://registry.npmjs.org/' # important for publishing
2828

2929
- name: Install dependencies
3030
run: pnpm install

package.json

+21-17
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@project-trans/suggestion-box",
33
"type": "module",
44
"version": "0.4.3",
5-
"packageManager": "pnpm@9.12.0+sha512.4abf725084d7bcbafbd728bfc7bee61f2f791f977fd87542b3579dcb23504d170d46337945e4c66485cd12d588a0c0e570ed9c477e7ccdd8507cf05f3f92eaca",
5+
"packageManager": "pnpm@10.4.1+sha512.c753b6c3ad7afa13af388fa6d808035a008e30ea9993f58c6663e2bc5ff21679aa834db094987129aa4d488b86df57f7b634981b2f827cdcacc698cc0cfb88af",
66
"description": "Suggestion box for Project Trans",
77
"author": {
88
"name": "Project Trans Team Members",
@@ -54,22 +54,22 @@
5454
"vue": "3"
5555
},
5656
"devDependencies": {
57-
"@antfu/eslint-config": "^3.7.3",
58-
"@iconify-json/octicon": "^1.2.0",
59-
"@iconify-json/svg-spinners": "^1.2.0",
60-
"@types/node": "^22.7.4",
61-
"@unocss/eslint-plugin": "^0.63.1",
62-
"@unocss/reset": "^0.63.1",
63-
"@vitejs/plugin-vue": "^5.1.4",
64-
"eslint": "^9.11.1",
65-
"eslint-plugin-format": "^0.1.2",
66-
"lightningcss": "^1.27.0",
57+
"@antfu/eslint-config": "^4.3.0",
58+
"@iconify-json/octicon": "^1.2.5",
59+
"@iconify-json/svg-spinners": "^1.2.2",
60+
"@types/node": "^22.13.5",
61+
"@unocss/eslint-plugin": "^66.0.0",
62+
"@unocss/reset": "^66.0.0",
63+
"@vitejs/plugin-vue": "^5.2.1",
64+
"eslint": "^9.21.0",
65+
"eslint-plugin-format": "^1.0.1",
66+
"lightningcss": "^1.29.1",
6767
"rimraf": "^6.0.1",
68-
"tsx": "^4.19.1",
69-
"typescript": "^5.6.2",
70-
"unocss": "^0.63.1",
71-
"vite": "^5.4.8",
72-
"vue-tsc": "^2.1.6"
68+
"tsx": "^4.19.3",
69+
"typescript": "^5.7.3",
70+
"unocss": "^66.0.0",
71+
"vite": "^6.1.1",
72+
"vue-tsc": "^2.2.2"
7373
},
7474
"pnpm": {
7575
"overrides": {
@@ -84,6 +84,10 @@
8484
"object.fromentries": "npm:@nolyfill/object.fromentries@^1",
8585
"object.groupby": "npm:@nolyfill/object.groupby@^1",
8686
"object.values": "npm:@nolyfill/object.values@^1"
87-
}
87+
},
88+
"onlyBuiltDependencies": [
89+
"esbuild",
90+
"workerd"
91+
]
8892
}
8993
}

0 commit comments

Comments
 (0)