diff --git a/.drone.yml b/.drone.yml index d7a96ab..4737620 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,9 +8,9 @@ steps: events: - push - pull_request - image: denoland/deno:alpine + image: denoland/deno:alpine-1.26.2 commands: - - deno run -A https://deno.land/x/lume@v1.12.0/install.ts + - deno run -Ar https://deno.land/x/lume@v1.12.1/init.ts - deno task build - name: publish diff --git a/_config.ts b/_config.ts index 68d2d6a..1c88f5e 100644 --- a/_config.ts +++ b/_config.ts @@ -1,9 +1,9 @@ -import lume from "https://deno.land/x/lume/mod.ts"; -import sass from "https://deno.land/x/lume/plugins/sass.ts"; -import date from "https://deno.land/x/lume/plugins/date.ts"; -import jsx from "https://deno.land/x/lume/plugins/jsx.ts"; -import terser from "https://deno.land/x/lume/plugins/terser.ts"; -import postcss from "https://deno.land/x/lume/plugins/postcss.ts"; +import lume from "lume/mod.ts"; +import sass from "lume/plugins/sass.ts"; +import date from "lume/plugins/date.ts"; +import jsx from "lume/plugins/jsx.ts"; +import terser from "lume/plugins/terser.ts"; +import postcss from "lume/plugins/postcss.ts"; const site = lume(); diff --git a/deno.json b/deno.json index fd42807..ae8dc41 100644 --- a/deno.json +++ b/deno.json @@ -1,12 +1,12 @@ { "importMap": "import_map.json", "tasks": { - "lume": "deno eval \"import 'lume/task.ts'\" --", + "lume": "echo \"import 'lume/cli.ts'\" | deno run --unstable -A -", "build": "deno task lume", "serve": "deno task lume -s" }, "compilerOptions": { "jsx": "react-jsx", - "jsxImportSource": "react" + "jsxImportSource": "npm:react" } } diff --git a/import_map.json b/import_map.json index 5029957..f1fbc71 100644 --- a/import_map.json +++ b/import_map.json @@ -1,7 +1,7 @@ { "imports": { - "lume/": "https://deno.land/x/lume@v1.11.4/", - "react/jsx-runtime": "https://deno.land/x/lume@v1.11.4/deps/react_runtime.ts", - "react": "https://deno.land/x/lume@v1.11.4/deps/react.ts" + "lume/": "https://deno.land/x/lume@v1.12.1/", + "react/jsx-runtime": "https://deno.land/x/lume@v1.12.1/deps/react_runtime.ts", + "react": "https://deno.land/x/lume@v1.12.1/deps/react.ts" } }