From 28c0711876ca0581b7f44b2cc01990eeb6e84615 Mon Sep 17 00:00:00 2001 From: prototypa Date: Mon, 10 Jun 2024 19:10:27 -0400 Subject: [PATCH] Migrate from @playform/compress v0.0.12 to astro-compress v2.2.26 --- astro.config.mjs | 2 +- package-lock.json | 202 +++++++++++++++++++++++++++++++++++++++++----- package.json | 4 +- 3 files changed, 184 insertions(+), 24 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index c7f072e..a21ded0 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -8,7 +8,7 @@ import tailwind from '@astrojs/tailwind'; import mdx from '@astrojs/mdx'; import partytown from '@astrojs/partytown'; import icon from 'astro-icon'; -import compress from '@playform/compress'; +import compress from 'astro-compress'; import astrowind from './vendor/integration'; diff --git a/package-lock.json b/package-lock.json index f684a69..7564ee7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@onwidget/astrowind", - "version": "1.0.0-beta.36", + "version": "1.0.0-beta.37", "lockfileVersion": 3, "requires": true, "packages": { @@ -27,13 +27,13 @@ "@eslint/js": "^9.4.0", "@iconify-json/flat-color-icons": "^1.1.10", "@iconify-json/tabler": "^1.1.113", - "@playform/compress": "0.0.12", "@tailwindcss/typography": "^0.5.13", "@types/eslint__js": "^8.42.3", "@types/js-yaml": "^4.0.9", "@types/lodash.merge": "^4.6.9", "@typescript-eslint/eslint-plugin": "^7.13.0", "@typescript-eslint/parser": "^7.13.0", + "astro-compress": "2.2.26", "astro-eslint-parser": "^1.0.2", "eslint": "8.57.0", "eslint-plugin-astro": "^1.2.0", @@ -2131,25 +2131,6 @@ "url": "https://opencollective.com/unts" } }, - "node_modules/@playform/compress": { - "version": "0.0.12", - "resolved": "https://registry.npmjs.org/@playform/compress/-/compress-0.0.12.tgz", - "integrity": "sha512-L9q4rxu4Gq7hhtMzhTtxyjilWnlxvD2bkir+uyg7E6DPh08fFebn2vqET9XQZL+KXebKFhKYybvhGhBbrChJxg==", - "dev": true, - "dependencies": { - "@playform/pipe": "0.0.5", - "@types/csso": "5.0.4", - "@types/html-minifier-terser": "7.0.2", - "astro": "*", - "csso": "5.0.5", - "html-minifier-terser": "7.2.0", - "kleur": "4.1.5", - "lightningcss": "1.25.1", - "sharp": "0.33.4", - "svgo": "3.3.2", - "terser": "5.31.1" - } - }, "node_modules/@playform/pipe": { "version": "0.0.5", "resolved": "https://registry.npmjs.org/@playform/pipe/-/pipe-0.0.5.tgz", @@ -3118,6 +3099,185 @@ "undici-types": "~5.26.4" } }, + "node_modules/astro-compress": { + "version": "2.2.26", + "resolved": "https://registry.npmjs.org/astro-compress/-/astro-compress-2.2.26.tgz", + "integrity": "sha512-nVQ8g+RO2kcJzy5yUg2WcgMfYQUb5G929VMltnPH9mwuv7glavcmi07/hZzLVXLxr0drZWP9uc+O/T9J4eIZSA==", + "dev": true, + "dependencies": { + "@playform/pipe": "0.0.5", + "@types/csso": "5.0.4", + "@types/html-minifier-terser": "7.0.2", + "astro": "4.9.2", + "csso": "5.0.5", + "html-minifier-terser": "7.2.0", + "kleur": "4.1.5", + "lightningcss": "1.25.1", + "sharp": "0.33.4", + "svgo": "3.3.2", + "terser": "5.31.0" + } + }, + "node_modules/astro-compress/node_modules/@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/astro-compress/node_modules/astro": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/astro/-/astro-4.9.2.tgz", + "integrity": "sha512-apzpRoISk6L8g99m3zKIW5SYxw2GhOju/1Gq0Ccf3SH+X2UcFXF+MTdxPOFl5yJUQg7X0qsVQDOIVf8zHRRKFg==", + "dev": true, + "dependencies": { + "@astrojs/compiler": "^2.8.0", + "@astrojs/internal-helpers": "0.4.0", + "@astrojs/markdown-remark": "5.1.0", + "@astrojs/telemetry": "3.1.0", + "@babel/core": "^7.24.5", + "@babel/generator": "^7.24.5", + "@babel/parser": "^7.24.5", + "@babel/plugin-transform-react-jsx": "^7.23.4", + "@babel/traverse": "^7.24.5", + "@babel/types": "^7.24.5", + "@types/babel__core": "^7.20.5", + "@types/cookie": "^0.6.0", + "acorn": "^8.11.3", + "aria-query": "^5.3.0", + "axobject-query": "^4.0.0", + "boxen": "^7.1.1", + "chokidar": "^3.6.0", + "ci-info": "^4.0.0", + "clsx": "^2.1.1", + "common-ancestor-path": "^1.0.1", + "cookie": "^0.6.0", + "cssesc": "^3.0.0", + "debug": "^4.3.4", + "deterministic-object-hash": "^2.0.2", + "devalue": "^5.0.0", + "diff": "^5.2.0", + "dlv": "^1.1.3", + "dset": "^3.1.3", + "es-module-lexer": "^1.5.2", + "esbuild": "^0.21.2", + "estree-walker": "^3.0.3", + "execa": "^8.0.1", + "fast-glob": "^3.3.2", + "flattie": "^1.1.1", + "github-slugger": "^2.0.0", + "gray-matter": "^4.0.3", + "html-escaper": "^3.0.3", + "http-cache-semantics": "^4.1.1", + "js-yaml": "^4.1.0", + "kleur": "^4.1.5", + "magic-string": "^0.30.10", + "mrmime": "^2.0.0", + "ora": "^8.0.1", + "p-limit": "^5.0.0", + "p-queue": "^8.0.1", + "path-to-regexp": "^6.2.2", + "preferred-pm": "^3.1.3", + "prompts": "^2.4.2", + "rehype": "^13.0.1", + "resolve": "^1.22.8", + "semver": "^7.6.2", + "shiki": "^1.5.1", + "string-width": "^7.1.0", + "strip-ansi": "^7.1.0", + "tsconfck": "^3.0.3", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.1", + "vite": "^5.2.11", + "vitefu": "^0.2.5", + "which-pm": "^2.1.1", + "yargs-parser": "^21.1.1", + "zod": "^3.23.8", + "zod-to-json-schema": "^3.23.0" + }, + "bin": { + "astro": "astro.js" + }, + "engines": { + "node": "^18.17.1 || ^20.3.0 || >=21.0.0", + "npm": ">=9.6.5", + "pnpm": ">=7.1.0" + }, + "optionalDependencies": { + "sharp": "^0.33.3" + } + }, + "node_modules/astro-compress/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/astro-compress/node_modules/esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, + "node_modules/astro-compress/node_modules/terser": { + "version": "5.31.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.0.tgz", + "integrity": "sha512-Q1JFAoUKE5IMfI4Z/lkE/E6+SwgzO+x4tq4v1AyBLRj8VSYvRO6A/rQrPg1yud4g0En9EKI1TvFRF2tQFcoUkg==", + "dev": true, + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/astro-embed": { "version": "0.7.2", "resolved": "https://registry.npmjs.org/astro-embed/-/astro-embed-0.7.2.tgz", diff --git a/package.json b/package.json index ad31114..90bedf2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onwidget/astrowind", - "version": "1.0.0-beta.36", + "version": "1.0.0-beta.37", "description": "AstroWind: A free template using Astro 4.0 and Tailwind CSS. Astro starter theme.", "type": "module", "private": true, @@ -36,13 +36,13 @@ "@eslint/js": "^9.4.0", "@iconify-json/flat-color-icons": "^1.1.10", "@iconify-json/tabler": "^1.1.113", - "@playform/compress": "0.0.12", "@tailwindcss/typography": "^0.5.13", "@types/eslint__js": "^8.42.3", "@types/js-yaml": "^4.0.9", "@types/lodash.merge": "^4.6.9", "@typescript-eslint/eslint-plugin": "^7.13.0", "@typescript-eslint/parser": "^7.13.0", + "astro-compress": "2.2.26", "astro-eslint-parser": "^1.0.2", "eslint": "8.57.0", "eslint-plugin-astro": "^1.2.0",