Skip to content

Commit

Permalink
refactor(core): remove pwa support
Browse files Browse the repository at this point in the history
Remove PWA support because is not necessary for a blog or personal portfolio
  • Loading branch information
yacosta738 committed Dec 9, 2023
1 parent f09b656 commit c36ad6b
Show file tree
Hide file tree
Showing 10 changed files with 38,149 additions and 39,739 deletions.
75,737 changes: 37,965 additions & 37,772 deletions .astro/icon.d.ts

Large diffs are not rendered by default.

15 changes: 0 additions & 15 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ import vue from '@astrojs/vue'
import robotsTxt from 'astro-robots-txt'
import NetlifyCMS from 'astro-netlify-cms'
import remarkToc from 'remark-toc'
import AstroPWA from '@vite-pwa/astro'
import Compress from 'astro-compress'
import critters from 'astro-critters'
import icon from 'astro-icon'

import { manifest, workbox } from './src/plugins/pwa'
import { config } from './src/plugins/netlify-cms'

const DEV_PORT: number = 3000
Expand All @@ -26,19 +24,6 @@ export default defineConfig({
port: DEV_PORT
},
integrations: [
AstroPWA({
mode: 'production',
base: '/',
scope: '/',
includeAssets: ['favicon.ico'],
registerType: 'autoUpdate',
manifest,
workbox,
devOptions: {
enabled: true,
navigateFallbackAllowlist: [/^\/404$/]
}
}),
sitemap({
i18n: {
defaultLocale: 'en',
Expand Down
35 changes: 17 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,29 @@
"test:e2e": "start-server-and-test 'pnpm run start' http://localhost:3000 'pnpm run test:playwright'"
},
"devDependencies": {
"@astrojs/rss": "3.0.0",
"@astrojs/rss": "4.0.1",
"@astrojs/sitemap": "3.0.3",
"@astrojs/tailwind": "5.0.3",
"@astrojs/vue": "3.0.4",
"@iconify-json/akar-icons": "^1.1.20",
"@iconify-json/charm": "^1.1.9",
"@iconify-json/cib": "^1.1.5",
"@iconify-json/clarity": "^1.1.9",
"@iconify-json/ic": "^1.1.14",
"@iconify-json/ion": "^1.1.12",
"@iconify-json/mdi": "^1.1.55",
"@iconify-json/ph": "^1.1.6",
"@iconify-json/ri": "^1.1.12",
"@iconify-json/simple-icons": "^1.1.76",
"@iconify-json/teenyicons": "^1.1.6",
"@iconify-json/uit": "^1.1.5",
"@astrojs/vue": "4.0.2",
"@iconify-json/akar-icons": "^1.1.22",
"@iconify-json/charm": "^1.1.11",
"@iconify-json/cib": "^1.1.7",
"@iconify-json/clarity": "^1.1.11",
"@iconify-json/ic": "^1.1.16",
"@iconify-json/ion": "^1.1.14",
"@iconify-json/mdi": "^1.1.60",
"@iconify-json/ph": "^1.1.8",
"@iconify-json/ri": "^1.1.15",
"@iconify-json/simple-icons": "^1.1.82",
"@iconify-json/teenyicons": "^1.1.8",
"@iconify-json/uit": "^1.1.7",
"@nanostores/vue": "0.10.0",
"@playwright/test": "1.40.1",
"@tailwindcss/aspect-ratio": "0.4.2",
"@tailwindcss/forms": "0.5.7",
"@tailwindcss/typography": "0.5.10",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
"@vite-pwa/astro": "^0.1.4",
"@vueuse/core": "10.7.0",
"astro": "3.6.4",
"astro-compress": "2.2.3",
Expand All @@ -62,12 +61,12 @@
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-n": "16.3.1",
"eslint-plugin-promise": "6.1.1",
"flowbite": "^2.0.0",
"flowbite": "^2.2.0",
"fuse.js": "7.0.0",
"husky": "8.0.3",
"i18next-fs-backend": "2.3.1",
"locale-emoji": "0.3.0",
"marked": "11.0.0",
"marked": "11.0.1",
"mdast-util-to-string": "4.0.0",
"nanostores": "0.9.5",
"postcss-nesting": "12.0.1",
Expand All @@ -82,7 +81,7 @@
"sharp": "0.33.0",
"start-server-and-test": "2.0.3",
"tailwindcss": "3.3.6",
"vitest": "^0.34.6",
"vitest": "^1.0.3",
"vue": "3.3.11",
"workbox-window": "^7.0.0"
},
Expand Down
Loading

0 comments on commit c36ad6b

Please sign in to comment.