tpuu
v1.0.5
Published
UU aims to provide the following reusable constructs for modern development: - script development using typescript and Deno - web development using typescript and Vite, without any transpilation step
Downloads
10
Readme
UU
UU aims to provide the following reusable constructs for modern development:
- script development using typescript and Deno
- web development using typescript and Vite, without any transpilation step
Usage
With npm
npm install tpuu
Reusing script components
Simply `import * as uu from 'jsr:@timepp/uu' in Deno environment.
Development
File structure
package.json: used for publishing the package to npm registrysrc/uu.ts: UI specific library, which is used in the browser.src/tu.ts: Non UI specific, can be used in both browser and Deno environmentsdist: artifacts for npmscript/increase-ver.ts: script to increase version numberscript/test.ts: script for cli testui-test: directory for UI tests
Publishing
First you need to invoke npm command to update the version:
npm run incverPublish to npm
- Run
npm run buildto build the package - commit local changes (and push to remote repository)
- Run
npm publishto publish the package to the npm registry
Publish to Deno
- Run
deno publish --allow-slow-typesto publish the package to the Deno registry
