This repository contains a collection of contributions by the community. This repository automatically publishes to JSR and NPM. All packages that were used more than a few times are welcome.
- Create a directory
- Add a deno.json file with
{ "name": "@effectionx/<you_package_name>", version: "0.1.0", "exports": "./mod.ts", "license": "MIT" } - Add a README.md (text before
---will be used as a description for the package) - Add your source code and export it from
mod.ts - Add doc strings to your source code - they will be used for documentation on the site.
All packages are tested against both effection v3 and v4 to ensure compatibility.
# Generate v3 import map
deno task generate-importmap "^3" v3.importmap.json
# Generate v4 import map (fetches latest v4 from npm)
deno task generate-importmap v4 v4.importmap.jsondeno test --import-map v3.importmap.json -Adeno test --import-map v4.importmap.json -A- Member of jsr.io/@effectionx has to add that project to the scope
- It should be publish on next merge to main