Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
philcockfield committed Nov 13, 2024
1 parent 26785ba commit 8e3d0b8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion code/sys.driver/driver-vitepress/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sys/driver-vitepress",
"version": "0.0.9",
"version": "0.0.10",
"license": "MIT",
"tasks": {
"lint": "deno lint",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { pkg } from '../pkg.ts';
import { pkg as pkgStdS } from '@sys/std-s';

export const main = `
import { VitePress } from '@sys/driver-vitepress';
import { c, Args, HttpServer, Pkg } from '@sys/std-s';
import { pkg } from '../src/pkg.ts';
import { VitePress } from 'jsr@sys/${pkg.name}@${pkg.version}';
import { c, Args, HttpServer, Pkg } from '@sys/${pkgStdS.name}@${pkgStdS.version}';
import { pkg } from './pkg.ts';
type C = 'dev' | 'build' | 'serve';
type T = { cmd: C };
Expand Down
15 changes: 12 additions & 3 deletions code/sys.driver/driver-vitepress/src/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@
* ```
*
* @example
* Once the project is initialized, use the three main commands via the `deno task`
* Once the project is initialized, use the three main commands `dev`, `build`
* and `serve` via the `deno task`.
*
* To run the HMR dev server:
* To run the HMR (hot-module-reload) development server while authoring:
*
* ```bash
* deno task dev
*
* Terminal Output:
*
* vitepress v<X.X.X>
Expand All @@ -40,7 +43,13 @@
* ➜ Network: use --host to expose
* ```
*
* Then move over to Obsidian (or other markdown editor of choice) to author your content.
* Open the web-browser at http://localhost:1234/ (or hit the `o` key to open your browser
* at that address).
*
* Then move over to Obsidian (or your other markdown editor of choice) to author your content
* seeing the resulting output live updating in your browser.
*
* ---
*
* Once ready to release, `build` the content into a Pkg bundle to deploy to the cloud.
* You can test it locally using the local `serve` command:
Expand Down

0 comments on commit 8e3d0b8

Please sign in to comment.