From 38dadcd9b410d2050006aa90d573b5ee36f25e4a Mon Sep 17 00:00:00 2001 From: Topaz RN <40129033+topazrn@users.noreply.github.com> Date: Mon, 27 Nov 2023 18:00:02 +0700 Subject: [PATCH] Fix 403 forbidden hall_of_fame (#31) * Add simplex-noise to package.json * Fix 403 forbidden hall_of_fame --- package.json | 1 + pnpm-lock.yaml | 31 ++++------------------------- src/routes/{+page.js => +layout.js} | 0 src/routes/hall_of_fame/+page.js | 1 - 4 files changed, 5 insertions(+), 28 deletions(-) rename src/routes/{+page.js => +layout.js} (100%) delete mode 100644 src/routes/hall_of_fame/+page.js diff --git a/package.json b/package.json index e8899a5..9aced21 100755 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "postcss": "^8.4.31", "prettier": "^3.0.3", "prettier-plugin-svelte": "^3.1.0", + "simplex-noise": "^4.0.1", "svelte": "^4.2.3", "svelte-check": "^3.6.0", "tailwindcss": "^3.3.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 425c317..5cf34e3 100755 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,9 +5,6 @@ settings: excludeLinksFromLockfile: false dependencies: - '@fontsource-variable/inter': - specifier: ^5.0.15 - version: 5.0.15 '@fontsource-variable/work-sans': specifier: ^5.0.16 version: 5.0.16 @@ -29,9 +26,6 @@ dependencies: rxjs: specifier: ^7.8.1 version: 7.8.1 - simplex-noise: - specifier: ^4.0.1 - version: 4.0.1 svelte-inview: specifier: ^4.0.1 version: 4.0.1(svelte@4.2.3) @@ -46,9 +40,6 @@ devDependencies: '@interactjs/types': specifier: ^1.10.20 version: 1.10.20 - '@sveltejs/adapter-auto': - specifier: ^2.1.1 - version: 2.1.1(@sveltejs/kit@1.27.4) '@sveltejs/adapter-static': specifier: ^2.0.3 version: 2.0.3(@sveltejs/kit@1.27.4) @@ -76,6 +67,9 @@ devDependencies: prettier-plugin-svelte: specifier: ^3.1.0 version: 3.1.0(prettier@3.0.3)(svelte@4.2.3) + simplex-noise: + specifier: ^4.0.1 + version: 4.0.1 svelte: specifier: ^4.2.3 version: 4.2.3 @@ -368,10 +362,6 @@ packages: engines: {node: '>=14'} dev: true - /@fontsource-variable/inter@5.0.15: - resolution: {integrity: sha512-CdQPQQgOVxg6ifmbrqYZeUqtQf7p2wPn6EvJ4M+vdNnsmYZgYwPPPQDNlIOU7LCUlSGaN26v6H0uA030WKn61g==} - dev: false - /@fontsource-variable/work-sans@5.0.16: resolution: {integrity: sha512-htoTvzC4shHyFz5TpYR8EQisGkupNovKs/ODEEFnAzpYD9y20L/cu9dKNoR3AJsydWDiYKyOcdd01l3pZcnOAg==} dev: false @@ -480,15 +470,6 @@ packages: resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==} dev: true - /@sveltejs/adapter-auto@2.1.1(@sveltejs/kit@1.27.4): - resolution: {integrity: sha512-nzi6x/7/3Axh5VKQ8Eed3pYxastxoa06Y/bFhWb7h3Nu+nGRVxKAy3+hBJgmPCwWScy8n0TsstZjSVKfyrIHkg==} - peerDependencies: - '@sveltejs/kit': ^1.0.0 - dependencies: - '@sveltejs/kit': 1.27.4(svelte@4.2.3)(vite@4.5.0) - import-meta-resolve: 4.0.0 - dev: true - /@sveltejs/adapter-static@2.0.3(@sveltejs/kit@1.27.4): resolution: {integrity: sha512-VUqTfXsxYGugCpMqQv1U0LIdbR3S5nBkMMDmpjGVJyM6Q2jHVMFtdWJCkeHMySc6mZxJ+0eZK3T7IgmUCDrcUQ==} peerDependencies: @@ -1236,10 +1217,6 @@ packages: resolve-from: 4.0.0 dev: true - /import-meta-resolve@4.0.0: - resolution: {integrity: sha512-okYUR7ZQPH+efeuMJGlq4f8ubUgO50kByRPyt/Cy1Io4PSRsPjxME+YlVaCOx+NIToW7hCsZNFJyTPFFKepRSA==} - dev: true - /imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} @@ -1946,7 +1923,7 @@ packages: /simplex-noise@4.0.1: resolution: {integrity: sha512-zl/+bdSqW7HJOQ0oDbxrNYaF4F5ik0i7M6YOYmEoIJNtg16NpvWaTTM1Y7oV/7T0jFljawLgYPS81Uu2rsfo1A==} - dev: false + dev: true /sirv@2.0.3: resolution: {integrity: sha512-O9jm9BsID1P+0HOi81VpXPoDxYP374pkOLzACAoyUQ/3OUVndNpsz6wMnY2z+yOxzbllCKZrM+9QrWsv4THnyA==} diff --git a/src/routes/+page.js b/src/routes/+layout.js similarity index 100% rename from src/routes/+page.js rename to src/routes/+layout.js diff --git a/src/routes/hall_of_fame/+page.js b/src/routes/hall_of_fame/+page.js deleted file mode 100644 index 176ae64..0000000 --- a/src/routes/hall_of_fame/+page.js +++ /dev/null @@ -1 +0,0 @@ -export const prerender = true