From f9e7e5480ca1eb85579d508352b38167de0a4fa5 Mon Sep 17 00:00:00 2001 From: Louis Hollingworth Date: Tue, 9 May 2023 19:55:32 +0100 Subject: [PATCH] Now has all of the functions as the Astro site. Signed-off-by: Louis Hollingworth --- .github/workflows/deploy.yml | 35 - .npmrc | 1 + components/LLink.vue | 2 +- components/TimeFormat.vue | 28 + package.json | 12 +- pages/index.vue | 10 +- pages/utilities/birthdays.vue | 19 + pages/utilities/index.vue | 25 + pages/utilities/time.vue | 51 + pnpm-lock.yaml | 5691 ++++++++++++++------------------- prisma/schema.prisma | 51 + server/index.ts | 9 +- 12 files changed, 2618 insertions(+), 3316 deletions(-) delete mode 100644 .github/workflows/deploy.yml create mode 100644 components/TimeFormat.vue create mode 100644 pages/utilities/birthdays.vue create mode 100644 pages/utilities/index.vue create mode 100644 pages/utilities/time.vue create mode 100644 prisma/schema.prisma diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 91a54f7..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Github Pages Astro CI - -on: - # Trigger the workflow every time you push to the `main` branch - # Using a different branch name? Replace `main` with your branch’s name - push: - branches: [ main ] - # Allows you to run this workflow manually from the Actions tab on GitHub. - workflow_dispatch: - -# Allow this job to clone the repo and create a page deployment -permissions: - contents: read - pages: write - id-token: write - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout your repository using git - uses: actions/checkout@v2 - - name: Install, build, and upload your site - uses: withastro/action@v0 - - deploy: - needs: build - runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 \ No newline at end of file diff --git a/.npmrc b/.npmrc index 3ef3073..b46d63d 100644 --- a/.npmrc +++ b/.npmrc @@ -2,3 +2,4 @@ auto-install-peers=true node-version=17.9.1 engine-strict=false strict-peer-dependencies=false +shamefully-hoist=true diff --git a/components/LLink.vue b/components/LLink.vue index 960e7c5..ad63b97 100644 --- a/components/LLink.vue +++ b/components/LLink.vue @@ -1,5 +1,5 @@ + + \ No newline at end of file diff --git a/package.json b/package.json index 032cbfb..4b3f268 100644 --- a/package.json +++ b/package.json @@ -8,14 +8,14 @@ "postinstall": "nuxt prepare" }, "devDependencies": { - "@nuxtjs/color-mode": "3.1.8", - "@nuxtjs/tailwindcss": "6.1.3", - "nuxt": "3.0.0-rc.13", - "tailwindcss": "3.2.2" + "@nuxtjs/color-mode": "3.2.0", + "@nuxtjs/tailwindcss": "6.6.7", + "nuxt": "3.4.3", + "prisma": "4.14.0", + "tailwindcss": "3.3.2" }, "dependencies": { - "@typegoose/typegoose": "9.12.1", - "mongoose": "6.7.2", + "@prisma/client": "4.14.0", "scss": "0.2.4" } } diff --git a/pages/index.vue b/pages/index.vue index de81f4d..b6283f8 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,12 +1,12 @@