forked from pub-solar/pub.solar
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:
parent
1aa49d739e
commit
08448b0358
|
@ -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
|
||||
|
|
12
_config.ts
12
_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();
|
||||
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue