chore: set up docs

- BREAKING CHANGE: set peerDependencies for Svelte 3 minimum versino to 3.30.0 to support `SvelteComponent` type
- Us ESM style for docs script
This commit is contained in:
Enrico Sacchetti 2023-06-27 21:11:56 -04:00
commit 0ac2faa8bc
No known key found for this signature in database
GPG key ID: 3374B89ECA60D796
2 changed files with 5 additions and 5 deletions

View file

@ -45,7 +45,7 @@
"typescript": "^5.0.0" "typescript": "^5.0.0"
}, },
"peerDependencies": { "peerDependencies": {
"svelte": "^3.20.0 || ^4.0.0" "svelte": "^3.30.0 || ^4.0.0"
}, },
"standard-version": { "standard-version": {
"skip": { "skip": {

View file

@ -1,7 +1,7 @@
const fs = require("fs"); import fs from "node:fs";
const glob = require("glob"); import glob from "glob";
const { sveld } = require("sveld"); import { sveld } from "sveld";
const pkg = require("../package.json"); import pkg from "../package.json" assert { type: "json" };
sveld({ sveld({
glob: true, glob: true,