On-the-fly bundler for typescript libraries hosted on Gitea or compatible
Find a file
2022-09-01 23:50:17 +02:00
config Allow to serve raw TS 2021-07-27 22:17:38 +02:00
doc Use Deno http server and avoid redirects 2021-11-09 19:32:23 +01:00
.editorconfig Initial bundle server prototype 2020-05-13 16:39:34 +02:00
.gitignore Use Deno http server and avoid redirects 2021-11-09 19:32:23 +01:00
cli.ts Add cors and content-type 2022-09-01 23:50:17 +02:00
deps.testing.ts Use Deno http server and avoid redirects 2021-11-09 19:32:23 +01:00
deps.ts Use Deno http server and avoid redirects 2021-11-09 19:32:23 +01:00
README.md Use Deno http server and avoid redirects 2021-11-09 19:32:23 +01:00
run Allow to serve raw TS 2021-07-27 22:17:38 +02:00
server.test.ts Use Deno http server and avoid redirects 2021-11-09 19:32:23 +01:00
server.ts Add cors and content-type 2022-09-01 23:50:17 +02:00
tsconfig.json Initial bundle server prototype 2020-05-13 16:39:34 +02:00

typescript/bundler

Build Status

About

On-the-fly bundler for typescript libraries hosted on Gitea or compatible

How to run

deno run --allow-run=deno --allow-net=0.0.0.0,yourgithosting.net cli.ts yourgithosting.net/namespace [port]

You can now get raw typescript files (usable by Deno):

http://localhost:8000/libname@1.0.0/path/file.ts

Or get a bundled JS version:

http://localhost:8000/libname@1.0.0/path/file.js

If the version is not specified, the master branch is used instead:

http://localhost:8000/libname/path/file.js