This commit is contained in:
cupcakearmy 2021-12-22 23:47:03 +01:00
parent d03663258c
commit b3c72786cb
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
4 changed files with 4 additions and 19 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ node_modules
/package
/build
.vercel_build_output
.vercel

View File

@ -6,7 +6,8 @@
"preview": "svelte-kit preview",
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
"generate": "graphql-codegen"
"generate": "graphql-codegen",
"ci": "pnpm run generate && pnpm run check && pnpm run build"
},
"type": "module",
"devDependencies": {
@ -20,7 +21,6 @@
"graphql": "^15.8.0",
"graphql-request": "^3.7.0",
"graphql-tag": "^2.12.6",
"rollup-plugin-analyzer": "^4.0.0",
"svelte": "^3.44.3",
"svelte-check": "^2.2.11",
"svelte-preprocess": "^4.10.1",

7
pnpm-lock.yaml generated
View File

@ -14,7 +14,6 @@ specifiers:
graphql-tag: ^2.12.6
highlight.js: ^11.3.1
lunr: ^2.3.9
rollup-plugin-analyzer: ^4.0.0
svelte: ^3.44.3
svelte-check: ^2.2.11
svelte-cloudinary: ^0.2.4
@ -39,7 +38,6 @@ devDependencies:
graphql: 15.8.0
graphql-request: 3.7.0_graphql@15.8.0
graphql-tag: 2.12.6_graphql@15.8.0
rollup-plugin-analyzer: 4.0.0
svelte: 3.44.3
svelte-check: 2.2.11_svelte@3.44.3
svelte-preprocess: 4.10.1_svelte@3.44.3+typescript@4.5.4
@ -3443,11 +3441,6 @@ packages:
glob: 7.2.0
dev: true
/rollup-plugin-analyzer/4.0.0:
resolution: {integrity: sha512-LL9GEt3bkXp6Wa19SNR5MWcvHNMvuTFYg+eYBZN2OIFhSWN+pEJUQXEKu5BsOeABob3x9PDaLKW7w5iOJnsESQ==}
engines: {node: '>=8.0.0'}
dev: true
/rollup/2.61.1:
resolution: {integrity: sha512-BbTXlEvB8d+XFbK/7E5doIcRtxWPRiqr0eb5vQ0+2paMM04Ye4PZY5nHOQef2ix24l/L0SpLd5hwcH15QHPdvA==}
engines: {node: '>=10.0.0'}

View File

@ -1,6 +1,5 @@
import preprocess from 'svelte-preprocess'
import adapter from '@sveltejs/adapter-static'
import analyze from 'rollup-plugin-analyzer'
/** @type {import('@sveltejs/kit').Config} */
const config = {
@ -8,14 +7,6 @@ const config = {
kit: {
adapter: adapter(),
target: '#svelte',
vite: {
build: {
rollupOptions: {
plugins: [analyze()],
},
},
},
},
}