diff --git a/.gitignore b/.gitignore index 755ddd1..53bd4d0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ node_modules /.svelte-kit /package /build -.vercel_build_output \ No newline at end of file +.vercel_build_output +.vercel diff --git a/package.json b/package.json index a515045..02339e9 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 818de01..0c368b5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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'} diff --git a/svelte.config.js b/svelte.config.js index 2fa0c5e..89ff84a 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -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()], - }, - }, - }, }, }