From b7cbc0866e6482e5c173ba262f08a9505500252e Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Thu, 25 Aug 2022 15:50:49 +0800 Subject: [PATCH] chore: bump dependencies Signed-off-by: Ryan Wang --- package.json | 8 ++--- pnpm-lock.yaml | 36 +++++++++---------- src/pages/index.astro | 3 ++ ...{index.0e9da593.css => index.396b2b11.css} | 2 +- templates/index.html | 27 +++++++------- templates/links.html | 4 +-- templates/post.html | 4 +-- theme.yaml | 16 ++++----- 8 files changed, 53 insertions(+), 47 deletions(-) rename templates/assets/{index.0e9da593.css => index.396b2b11.css} (79%) diff --git a/package.json b/package.json index 4e622a2..1bc4310 100644 --- a/package.json +++ b/package.json @@ -17,15 +17,15 @@ "@vue/eslint-config-prettier": "^7.0.0", "@vue/eslint-config-typescript": "^11.0.0", "@vue/tsconfig": "^0.1.3", - "astro": "^1.0.2", - "eslint": "^8.21.0", - "eslint-plugin-vue": "^9.3.0", + "astro": "^1.0.8", + "eslint": "^8.22.0", + "eslint-plugin-vue": "^9.4.0", "prettier": "^2.7.1", "prettier-plugin-tailwindcss": "^0.1.13", "vue": "^3.2.37" }, "dependencies": { "@headlessui/vue": "^1.6.7", - "dayjs": "^1.11.4" + "dayjs": "^1.11.5" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 01ff261..ffedadd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,10 +10,10 @@ specifiers: '@vue/eslint-config-prettier': ^7.0.0 '@vue/eslint-config-typescript': ^11.0.0 '@vue/tsconfig': ^0.1.3 - astro: ^1.0.2 - dayjs: ^1.11.4 - eslint: ^8.21.0 - eslint-plugin-vue: ^9.3.0 + astro: ^1.0.8 + dayjs: ^1.11.5 + eslint: ^8.22.0 + eslint-plugin-vue: ^9.4.0 prettier: ^2.7.1 prettier-plugin-tailwindcss: ^0.1.13 vue: ^3.2.37 @@ -29,11 +29,11 @@ devDependencies: '@rushstack/eslint-patch': 1.1.4 '@types/node': 16.11.47 '@vue/eslint-config-prettier': 7.0.0_2xd4q2tc5cqa5as7uugqhp6oue - '@vue/eslint-config-typescript': 11.0.0_yrbqb3kiov3ii4xm65mghom47i + '@vue/eslint-config-typescript': 11.0.0_d3v6jkl6jjgripln4x2i3ikuoy '@vue/tsconfig': 0.1.3_@types+node@16.11.47 - astro: 1.0.5 + astro: 1.0.8 eslint: 8.22.0 - eslint-plugin-vue: 9.3.0_eslint@8.22.0 + eslint-plugin-vue: 9.4.0_eslint@8.22.0 prettier: 2.7.1 prettier-plugin-tailwindcss: 0.1.13_prettier@2.7.1 vue: 3.2.37 @@ -820,7 +820,7 @@ packages: prettier: 2.7.1 dev: true - /@vue/eslint-config-typescript/11.0.0_yrbqb3kiov3ii4xm65mghom47i: + /@vue/eslint-config-typescript/11.0.0_d3v6jkl6jjgripln4x2i3ikuoy: resolution: {integrity: sha512-txuRzxnQVmtUvvy9UyWUy9sHWXNeRPGmSPqP53hRtaiUeCTAondI9Ho9GQYI/8/eWljYOST7iA4Aa8sANBkWaA==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: @@ -834,7 +834,7 @@ packages: '@typescript-eslint/eslint-plugin': 5.33.0_rg72qmk2p6ydk3qleqiccuhffm '@typescript-eslint/parser': 5.33.0_eslint@8.22.0 eslint: 8.22.0 - eslint-plugin-vue: 9.3.0_eslint@8.22.0 + eslint-plugin-vue: 9.4.0_eslint@8.22.0 vue-eslint-parser: 9.0.3_eslint@8.22.0 transitivePeerDependencies: - supports-color @@ -1005,8 +1005,8 @@ packages: tslib: 2.4.0 dev: true - /astro/1.0.5: - resolution: {integrity: sha512-+L45/SJfJ4yxQuRaaxXeIxf3BXGj80m7BIc9/7Cq5zFMxdvFLJ+4u6srntWY+4KlcrUcVBC/1mnhGbD80vYJQQ==} + /astro/1.0.8: + resolution: {integrity: sha512-cWey5M/EjdgeZCRlOAB6YP05ui3U9ZfHPdb4r5HmumOE/1w8auDqRiHPpb2RCGYD7RpxOXcJu5XfJL4V2F1UpQ==} engines: {node: ^14.18.0 || >=16.12.0, npm: '>=6.14.0'} hasBin: true dependencies: @@ -1062,7 +1062,7 @@ packages: tsconfig-resolver: 3.0.1 unist-util-visit: 4.1.0 vfile: 5.3.4 - vite: 3.0.5 + vite: 3.0.9 yargs-parser: 21.1.1 zod: 3.18.0 transitivePeerDependencies: @@ -1703,8 +1703,8 @@ packages: prettier-linter-helpers: 1.0.0 dev: true - /eslint-plugin-vue/9.3.0_eslint@8.22.0: - resolution: {integrity: sha512-iscKKkBZgm6fGZwFt6poRoWC0Wy2dQOlwUPW++CiPoQiw1enctV2Hj5DBzzjJZfyqs+FAXhgzL4q0Ww03AgSmQ==} + /eslint-plugin-vue/9.4.0_eslint@8.22.0: + resolution: {integrity: sha512-Nzz2QIJ8FG+rtJaqT/7/ru5ie2XgT9KCudkbN0y3uFYhQ41nuHEaboLAiqwMcK006hZPQv/rVMRhUIwEGhIvfQ==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 @@ -4049,8 +4049,8 @@ packages: vfile-message: 3.1.2 dev: true - /vite/3.0.5: - resolution: {integrity: sha512-bRvrt9Tw8EGW4jj64aYFTnVg134E8hgDxyl/eEHnxiGqYk7/pTPss6CWlurqPOUzqvEoZkZ58Ws+Iu8MB87iMA==} + /vite/3.0.7: + resolution: {integrity: sha512-dILhvKba1mbP1wCezVQx/qhEK7/+jVn9ciadEcyKMMhZpsuAi/eWZfJRMkmYlkSFG7Qq9NvJbgFq4XOBxugJsA==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -4076,8 +4076,8 @@ packages: fsevents: 2.3.2 dev: true - /vite/3.0.7: - resolution: {integrity: sha512-dILhvKba1mbP1wCezVQx/qhEK7/+jVn9ciadEcyKMMhZpsuAi/eWZfJRMkmYlkSFG7Qq9NvJbgFq4XOBxugJsA==} + /vite/3.0.9: + resolution: {integrity: sha512-waYABTM+G6DBTCpYAxvevpG50UOlZuynR0ckTK5PawNVt7ebX6X7wNXHaGIO6wYYFXSM7/WcuFuO2QzhBB6aMw==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: diff --git a/src/pages/index.astro b/src/pages/index.astro index 7cb9e2b..ba3a2fe 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -26,6 +26,9 @@ import PostCard from "../components/PostCard.vue"
  • +

    + Onions +

    diff --git a/templates/assets/index.0e9da593.css b/templates/assets/index.396b2b11.css similarity index 79% rename from templates/assets/index.0e9da593.css rename to templates/assets/index.396b2b11.css index 07dcc4a..361bad0 100644 --- a/templates/assets/index.0e9da593.css +++ b/templates/assets/index.396b2b11.css @@ -1 +1 @@ -:root{--astro-gradient: linear-gradient(0deg, #4f39fa, #da62c4)}h1:where(.astro-K34SY24P){margin:2rem 0}main:where(.astro-K34SY24P){margin:auto;padding:1em;max-width:70ch}.text-gradient:where(.astro-K34SY24P){font-weight:900;background-image:var(--astro-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-size:100% 200%;background-position-y:100%;border-radius:.4rem;-webkit-animation:pulse 4s ease-in-out infinite;animation:pulse 4s ease-in-out infinite}@-webkit-keyframes pulse{0%,to{background-position-y:0%}50%{background-position-y:80%}}@keyframes pulse{0%,to{background-position-y:0%}50%{background-position-y:80%}}.instructions:where(.astro-K34SY24P){line-height:1.6;margin:1rem 0;background:#4f39fa;padding:1rem;border-radius:.4rem;color:var(--color-bg)}.instructions:where(.astro-K34SY24P) code:where(.astro-K34SY24P){font-size:.875em;border:.1em solid var(--color-border);border-radius:4px;padding:.15em .25em}.link-card-grid:where(.astro-K34SY24P){display:grid;grid-template-columns:repeat(auto-fit,minmax(24ch,1fr));gap:1rem;padding:0}:root{--link-gradient: linear-gradient(45deg, #4f39fa, #da62c4 30%, var(--color-border) 60%)}.link-card:where(.astro-DYDDWWYO){list-style:none;display:flex;padding:.15rem;background-image:var(--link-gradient);background-size:400%;border-radius:.5rem;background-position:100%;transition:background-position .6s cubic-bezier(.22,1,.36,1)}.link-card:where(.astro-DYDDWWYO)>a:where(.astro-DYDDWWYO){width:100%;text-decoration:none;line-height:1.4;padding:1em 1.3em;border-radius:.35rem;color:var(--text-color);background-color:#fff;opacity:.8}h2:where(.astro-DYDDWWYO){margin:0;transition:color .6s cubic-bezier(.22,1,.36,1)}p:where(.astro-DYDDWWYO){margin-top:.75rem;margin-bottom:0}h2:where(.astro-DYDDWWYO) span:where(.astro-DYDDWWYO){display:inline-block;transition:transform .3s cubic-bezier(.22,1,.36,1)}.link-card:where(.astro-DYDDWWYO):is(:hover,:focus-within){background-position:0}.link-card:where(.astro-DYDDWWYO):is(:hover,:focus-within) h2:where(.astro-DYDDWWYO){color:#4f39fa}.link-card:where(.astro-DYDDWWYO):is(:hover,:focus-within) h2:where(.astro-DYDDWWYO) span:where(.astro-DYDDWWYO){transform:translate(2px)} +:root{--astro-gradient: linear-gradient(0deg, #4f39fa, #da62c4)}h1:where(.astro-AQ2P6PWU){margin:2rem 0}main:where(.astro-AQ2P6PWU){margin:auto;padding:1em;max-width:70ch}.text-gradient:where(.astro-AQ2P6PWU){font-weight:900;background-image:var(--astro-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-size:100% 200%;background-position-y:100%;border-radius:.4rem;-webkit-animation:pulse 4s ease-in-out infinite;animation:pulse 4s ease-in-out infinite}@-webkit-keyframes pulse{0%,to{background-position-y:0%}50%{background-position-y:80%}}@keyframes pulse{0%,to{background-position-y:0%}50%{background-position-y:80%}}.instructions:where(.astro-AQ2P6PWU){line-height:1.6;margin:1rem 0;background:#4f39fa;padding:1rem;border-radius:.4rem;color:var(--color-bg)}.instructions:where(.astro-AQ2P6PWU) code:where(.astro-AQ2P6PWU){font-size:.875em;border:.1em solid var(--color-border);border-radius:4px;padding:.15em .25em}.link-card-grid:where(.astro-AQ2P6PWU){display:grid;grid-template-columns:repeat(auto-fit,minmax(24ch,1fr));gap:1rem;padding:0}:root{--link-gradient: linear-gradient(45deg, #4f39fa, #da62c4 30%, var(--color-border) 60%)}.link-card:where(.astro-DYDDWWYO){list-style:none;display:flex;padding:.15rem;background-image:var(--link-gradient);background-size:400%;border-radius:.5rem;background-position:100%;transition:background-position .6s cubic-bezier(.22,1,.36,1)}.link-card:where(.astro-DYDDWWYO)>a:where(.astro-DYDDWWYO){width:100%;text-decoration:none;line-height:1.4;padding:1em 1.3em;border-radius:.35rem;color:var(--text-color);background-color:#fff;opacity:.8}h2:where(.astro-DYDDWWYO){margin:0;transition:color .6s cubic-bezier(.22,1,.36,1)}p:where(.astro-DYDDWWYO){margin-top:.75rem;margin-bottom:0}h2:where(.astro-DYDDWWYO) span:where(.astro-DYDDWWYO){display:inline-block;transition:transform .3s cubic-bezier(.22,1,.36,1)}.link-card:where(.astro-DYDDWWYO):is(:hover,:focus-within){background-position:0}.link-card:where(.astro-DYDDWWYO):is(:hover,:focus-within) h2:where(.astro-DYDDWWYO){color:#4f39fa}.link-card:where(.astro-DYDDWWYO):is(:hover,:focus-within) h2:where(.astro-DYDDWWYO) span:where(.astro-DYDDWWYO){transform:translate(2px)} diff --git a/templates/index.html b/templates/index.html index 81f4fd0..f5f8d8a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,7 +3,7 @@ Welcome to Astro. - +
    @@ -18,13 +18,13 @@ 英文
    -
    -

    Welcome to Astro

    -

    - Check out the src/pages directory to get started.
    - Code Challenge: Tweak the "Welcome to Astro" message above. +

    +

    Welcome to Astro

    +

    + Check out the src/pages directory to get started.
    + Code Challenge: Tweak the "Welcome to Astro" message above.

    -
    diff --git a/templates/links.html b/templates/links.html index ac3a1f4..e2df1fa 100644 --- a/templates/links.html +++ b/templates/links.html @@ -2,8 +2,8 @@ Links - - + +
    diff --git a/templates/post.html b/templates/post.html index c85eeed..4b96e8f 100644 --- a/templates/post.html +++ b/templates/post.html @@ -17,8 +17,8 @@ 英文
    -
    -
    Hello Halo
    +
    +
    Hello Halo
    \ No newline at end of file diff --git a/theme.yaml b/theme.yaml index fa1afab..98bd480 100644 --- a/theme.yaml +++ b/theme.yaml @@ -4,14 +4,14 @@ spec: displayName: Astro Starter author: name: Halo OSS Organization - website: 'https://halo.run' + website: "https://halo.run" description: Halo 2.0 Theme base on Astro and Thymeleaf - logo: 'https://halo.run/logo' - website: 'https://halo.run' - repo: 'https://github.com/halo-sigs/theme-astro-starter' - settingName: 'theme-astro-starter-setting' - configMapName: 'theme-astro-starter-configMap' - version: '1.0' - require: '*' + logo: "https://halo.run/logo" + website: "https://halo.run" + repo: "https://github.com/halo-sigs/theme-astro-starter" + settingName: "theme-astro-starter-setting" + configMapName: "theme-astro-starter-configMap" + version: "1.0" + require: "*" metadata: name: theme-astro-starter