diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4d137a4..36ea704 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -53,6 +53,7 @@ jobs: - name: Build run: | deno task lume + deno task minify-attrs touch public/.nojekyll - name: Configure npm cache # Where wrangler is installed diff --git a/.github/workflows/update_lockfile.yml b/.github/workflows/update_lockfile.yml index 57bd51e..265f9d8 100644 --- a/.github/workflows/update_lockfile.yml +++ b/.github/workflows/update_lockfile.yml @@ -48,6 +48,7 @@ jobs: exit 1 fi done + deno task minify-selectors - name: Commit changes run: | diff --git a/deno.jsonc b/deno.jsonc index b4b2263..a73e6af 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -3,6 +3,7 @@ "lume": "echo \"import 'lume/cli.ts'\" | deno run -A -", "build": "deno task lume", "serve": "deno task lume -s --port 4000", + "minify-attrs": "deno run -A jsr:@akimon658/minify-attrs@0.2.3 public", }, "compilerOptions": { "jsx": "react-jsx", diff --git a/deno.lock b/deno.lock index 07f51d8..908ee5d 100644 --- a/deno.lock +++ b/deno.lock @@ -66,7 +66,8 @@ "npm:tree-sitter-javascript@0.23.1": "0.23.1", "npm:tree-sitter-json@0.24.8": "0.24.8", "npm:tree-sitter-typescript@0.23.2": "0.23.2", - "npm:tree-sitter@0.22.4": "0.22.4" + "npm:tree-sitter@0.22.4": "0.22.4", + "npm:unified@11.0.5": "11.0.5" }, "jsr": { "@davidbonnet/astring@1.8.6": { @@ -428,6 +429,19 @@ "@types/prop-types@15.7.14": { "integrity": "sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==" }, + "@types/react-dom@18.3.1": { + "integrity": "sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==", + "dependencies": [ + "@types/react@18.3.18" + ] + }, + "@types/react@18.3.12": { + "integrity": "sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==", + "dependencies": [ + "@types/prop-types", + "csstype" + ] + }, "@types/react@18.3.18": { "integrity": "sha512-t4yC+vtgnkYjNSKlFx1jkAhH8LgTo2N/7Qvi83kdEaUtMDiwpbLAktKDaAMlRcJ5eSxZkH74eEGt1ky31d7kfQ==", "dependencies": [