Skip to content

Commit e2e4418

Browse files
committed
Removes imports from deno.json, bumps version
1 parent 805014c commit e2e4418

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ Import the hibana version in your import map in `deno.json`:
1717
"lume/": "https://deno.land/x/[email protected]/",
1818
"lume/cms/": "https://cdn.jsdelivr.net/gh/lumeland/[email protected]/",
1919
"lume/jsx-runtime": "https://deno.land/x/[email protected]/jsx-runtime.ts",
20-
"hibana/": "https://deno.land/x/hibana/v1.0.17/"
20+
"hibana/": "https://deno.land/x/hibana/v1.0.18/"
2121
},...
2222
```
2323

2424
Then in `_config.ts`, import the needed modules from `hibana`, no version needed.
2525

2626
```ts
2727
import { cssBanner, shuffle } from "hibana/mod.ts";
28-
import { cssBanner } from "https://raw.githubusercontent.com/RickCogley/hibana/v1.0.17/plugins/css_banner.ts?1";
28+
import { cssBanner } from "https://raw.githubusercontent.com/RickCogley/hibana/v1.0.18/plugins/css_banner.ts?1";
2929
import { cssBanner, shuffle, deferPagefind, externalLinksIcon } from "hibana/mod.ts";
3030
etc
3131
```

deno.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
{
22
"name": "@rick/hibana",
3-
"version": "1.0.17",
3+
"version": "1.0.18",
44
"license": "MIT",
55
"exports": "./mod.ts",
6-
"imports": {
7-
"lume/": "https://deno.land/x/[email protected]/",
8-
"assert": "https://deno.land/[email protected]/assert/mod.ts",
9-
"deno_dom": "https://deno.land/x/[email protected]/deno-dom-wasm.ts"
10-
},
116
"tasks": {
127
"update-lume": "deno run --allow-read --allow-write --allow-net update_lume_version.ts"
138
}

mod.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
* "lume/": "https://deno.land/x/lume@v3.0.3/",
2323
* "lume/cms/": "https://cdn.jsdelivr.net/gh/lumeland/[email protected]/",
2424
* "lume/jsx-runtime": "https://deno.land/x/[email protected]/jsx-runtime.ts",
25-
* "hibana/": "https://deno.land/x/hibana/v1.0.17/"
25+
* "hibana/": "https://deno.land/x/hibana/v1.0.18/"
2626
* },...
2727
*
2828
* // Github Direct:
29-
* "hibana/": "https://raw.githubusercontent.com/RickCogley/hibana/v1.0.17/"
29+
* "hibana/": "https://raw.githubusercontent.com/RickCogley/hibana/v1.0.18/"
3030
*
3131
* // Then import it in your Lume config:
3232
* import { cssBanner, shuffle, deferPagefind, externalLinksIcon } from "hibana/mod.ts";

0 commit comments

Comments
 (0)