Skip to content

Commit

Permalink
20230823
Browse files Browse the repository at this point in the history
  • Loading branch information
taichunmin committed Aug 23, 2023
1 parent 281197f commit 766e5eb
Show file tree
Hide file tree
Showing 5 changed files with 276 additions and 189 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
},
"dependencies": {
"cross-env": "^7.0.3",
"dayjs": "^1.11.7",
"dayjs": "^1.11.9",
"debug": "^4.3.4",
"dotenv": "^16.0.3",
"fast-glob": "^3.2.12",
"dotenv": "^16.3.1",
"fast-glob": "^3.3.1",
"html-minifier": "^4.0.0",
"jstransformer-sass": "^1.0.0",
"ncp": "^2.0.0",
Expand All @@ -25,16 +25,16 @@
"uglify-js": "^3.17.4"
},
"devDependencies": {
"eslint": "^8.41.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^16.0.0",
"eslint": "^8.47.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.0.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-pug": "^1.2.5",
"finalhandler": "^1.2.0",
"livereload": "^0.9.3",
"node-watch": "^0.7.3",
"node-watch": "^0.7.4",
"serve-static": "^1.15.0"
},
"resolutions": {
Expand Down
4 changes: 2 additions & 2 deletions src/forms/csv.pug
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ block form
.form-group.was-validated.my-2
label(for="vcard-template") 名片樣板
input#vcard-template.form-control.form-control-sm(type="url", inputmode="url", required, pattern="https?://\\S+", v-model.trim="vcard.template")
small.form-text.text-muted 請填寫名片樣板網址。你可以使用 #[code https://cors-anywhere.herokuapp.com/] 來繞過 CORS 的限制。
small.form-text.text-muted 請填寫名片樣板網址。
.form-group.was-validated.my-2
label(for="vcard-csv") CSV
input#vcard-csv.form-control.form-control-sm(type="url", inputmode="url", required, pattern="https?://\\S+", v-model.trim="vcard.csv")
small.form-text.text-muted 請填寫名片資料 CSV 網址。你可以使用 #[code https://cors-anywhere.herokuapp.com/] 來繞過 CORS 的限制。
small.form-text.text-muted 請填寫名片資料 CSV 網址。
.form-group.was-validated.my-2
label(for="vcard-key") 比對欄位
input#vcard-key.form-control.form-control-sm(type="text", required, pattern=".+", v-model="vcard.key")
Expand Down
2 changes: 1 addition & 1 deletion src/forms/google-sheet.pug
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ block form
.form-group.was-validated.my-2
label(for="vcard-template") 名片樣板
input#vcard-template.form-control.form-control-sm(type="url", inputmode="url", required, pattern="https?://\\S+", v-model.trim="vcard.template")
small.form-text.text-muted 請填寫名片樣板網址。你可以使用 #[code https://cors-anywhere.herokuapp.com/] 來繞過 CORS 的限制。
small.form-text.text-muted 請填寫名片樣板網址。
.form-group.was-validated.my-2
label(for="vcard-apiKey") Google Sheets API 金鑰
input#vcard-apiKey.form-control.form-control-sm(type="password", required, pattern="[0-9A-Za-z_-]{30,}", v-model="vcard.apiKey")
Expand Down
4 changes: 2 additions & 2 deletions src/forms/json5.pug
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ block form
.form-group.was-validated.my-2
label(for="vcard-template") 名片樣板
input#vcard-template.form-control.form-control-sm(type="url", inputmode="url", required, pattern="https?://\\S+", v-model.trim="vcard.template")
small.form-text.text-muted 請填寫名片樣板網址。你可以使用 #[code https://cors-anywhere.herokuapp.com/] 來繞過 CORS 的限制。
small.form-text.text-muted 請填寫名片樣板網址。
.form-group.was-validated.my-2
label(for="vcard-json5") 資料來源 JSON5
input#vcard-json5.form-control.form-control-sm(type="url", inputmode="url", required, pattern="https?://\\S+", v-model.trim="vcard.json5")
small.form-text.text-muted 請填寫名片資料 JSON5 網址。你可以使用 #[code https://cors-anywhere.herokuapp.com/] 來繞過 CORS 的限制。
small.form-text.text-muted 請填寫名片資料 JSON5 網址。

block vue-config
script.
Expand Down
Loading

0 comments on commit 766e5eb

Please sign in to comment.