Skip to content

Commit 489f325

Browse files
committed
add url safe slug processor
1 parent 620a229 commit 489f325

File tree

6 files changed

+811
-2
lines changed

6 files changed

+811
-2
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "github action for the svelte org to deploy documentation to the svelte api",
55
"main": "dist/main.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "uvu -r ts-node/register src test.ts$",
8+
"build": "rollup -c"
89
},
910
"repository": {
1011
"type": "git",
@@ -20,9 +21,11 @@
2021
"devDependencies": {
2122
"@rollup/plugin-commonjs": "^17.1.0",
2223
"@rollup/plugin-node-resolve": "^11.2.0",
24+
"@sindresorhus/slugify": "^1.1.0",
2325
"prettier": "^2.2.1",
2426
"rollup": "^2.41.2",
2527
"rollup-plugin-terser": "^7.0.2",
28+
"ts-node": "^9.1.1",
2629
"typescript": "^4.2.3",
2730
"uvu": "^0.5.1"
2831
}

pnpm-lock.yaml

Lines changed: 79 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default [
1414
{
1515
file: "dist/main.js",
1616
format: "cjs",
17-
sourcemap: true,
17+
sourcemap: false,
1818
},
1919
],
2020
},

0 commit comments

Comments
 (0)