Bump lume to v1.12.1

Also, don't install lume, following their docs
https://lume.land/docs/overview/installation/#don't-install-lume
This commit is contained in:
teutat3s 2022-10-20 16:14:05 +02:00
parent 1aa49d739e
commit 08448b0358
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1
4 changed files with 13 additions and 13 deletions

View file

@ -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

View file

@ -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();

View file

@ -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"
}
}

View file

@ -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"
}
}