Skip to content

Commit 46396c5

Browse files
committed
upgrade lume
1 parent 7e31a3e commit 46396c5

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@ All notable changes to this project will be documented in this file.
66
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this
77
project adheres to [Semantic Versioning](http://semver.org/).
88

9+
## [0.2.0] - Unreleased
10+
### Changed
11+
- Support Lume 3.
12+
913
## [0.1.1] - 2024-12-24
1014
### Fixed
1115
- Missing javascript files.
1216

1317
## [0.1.0] - 2024-12-24
1418
First version
1519

20+
[0.2.0]: https://github.com/lumeland/theme-ebook/compare/v0.1.1...HEAD
1621
[0.1.1]: https://github.com/lumeland/theme-ebook/compare/v0.1.0...v0.1.1
1722
[0.1.0]: https://github.com/lumeland/theme-ebook/releases/tag/v0.1.0

deno.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"imports": {
3-
"lume/": "https://deno.land/x/[email protected]/",
4-
"lume/cms/": "https://cdn.jsdelivr.net/gh/lumeland/[email protected]/"
3+
"lume/": "https://cdn.jsdelivr.net/gh/lumeland/lume@bc3f2a7981a503e7563536f4c93d75b548f40851/",
4+
"lume/cms/": "https://cdn.jsdelivr.net/gh/lumeland/cms@d5d43ed9f6245730b8b7810f9af8eef3a012dd73/",
5+
"lume/jsx-runtime": "https://deno.land/x/[email protected]/jsx-runtime.ts"
56
},
67
"lock": false,
78
"tasks": {
@@ -17,7 +18,9 @@
1718
"compilerOptions": {
1819
"types": [
1920
"lume/types.ts"
20-
]
21+
],
22+
"jsx": "react-jsx",
23+
"jsxImportSource": "lume"
2124
},
2225
"lint": {
2326
"exclude": [
@@ -33,5 +36,8 @@
3336
"exclude": [
3437
"./_site"
3538
]
36-
}
39+
},
40+
"unstable": [
41+
"temporal"
42+
]
3743
}

plugins.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ export default function (userOptions?: Options) {
4848
.use(toc({
4949
level: 1,
5050
}))
51-
.copy("scripts")
51+
.add("scripts")
5252
.data("layout", "layouts/book.vto")
53-
.copy("img")
53+
.add("img")
54+
.add([".css"])
5455
.remoteFile(
5556
"scripts/invoker.js",
5657
"https://cdn.jsdelivr.net/npm/[email protected]",

0 commit comments

Comments
 (0)