All Projects → ije → publish

ije / publish

Licence: MIT license
Publish your module with one command in Deno.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to publish

Elm Package
Command line tool to share Elm libraries
Stars: ✭ 214 (+1237.5%)
Mutual labels:  package, publish
Semantic Release
📦🚀 Fully automated version management and package publishing
Stars: ✭ 14,364 (+89675%)
Mutual labels:  package, publish
Cli
🆑📍 Setup automated semver compliant package publishing
Stars: ✭ 272 (+1600%)
Mutual labels:  package, publish
Pkg Ok
👌 Checks paths and scripts defined in package.json before you publish
Stars: ✭ 219 (+1268.75%)
Mutual labels:  package, publish
coreutils
🦕 Cross-platform Deno rewrite of the GNU Coreutils
Stars: ✭ 22 (+37.5%)
Mutual labels:  deno
deno bindgen
Simplified glue code generation for Deno FFI libraries written in Rust.
Stars: ✭ 142 (+787.5%)
Mutual labels:  deno
denoffi
Deno Foreign Function Interface.
Stars: ✭ 37 (+131.25%)
Mutual labels:  deno
pg-pubsub
Reliable PostgreSQL LISTEN/NOTIFY with inter-process lock support
Stars: ✭ 50 (+212.5%)
Mutual labels:  publish
klee
A personnal UI library made as an excuse to have a published UI package
Stars: ✭ 19 (+18.75%)
Mutual labels:  package
dataset
qri dataset definition
Stars: ✭ 16 (+0%)
Mutual labels:  package
rhum
A test double library
Stars: ✭ 92 (+475%)
Mutual labels:  deno
espresso
Minimal web framework for Deno
Stars: ✭ 43 (+168.75%)
Mutual labels:  deno
svelte-adapter-deno
A SvelteKit adapter for Deno
Stars: ✭ 152 (+850%)
Mutual labels:  deno
erc20-balance
💎 Get 2000+ ERC-20 token balances with JavaScript. Supports Node.js and Deno
Stars: ✭ 18 (+12.5%)
Mutual labels:  deno
app-version-laravel
Laravel application versioning
Stars: ✭ 24 (+50%)
Mutual labels:  package
progress
ProgressBar in terminal for deno
Stars: ✭ 39 (+143.75%)
Mutual labels:  deno
optionals
Rust-like error handling and options for TypeScript and Deno!
Stars: ✭ 97 (+506.25%)
Mutual labels:  deno
denobyexample
Deno by example - short examples showcasing how to use Deno
Stars: ✭ 72 (+350%)
Mutual labels:  deno
api-deno-compiler
This is an api that execute your deno code and send you the output
Stars: ✭ 13 (-18.75%)
Mutual labels:  deno
event
📆 Strictly typed event emitter with asynciterator support
Stars: ✭ 30 (+87.5%)
Mutual labels:  deno

Publish

Publish your module to Deno Land with one command.

Installation

deno install --allow-read --allow-write --allow-run -f -n publish https://deno.land/x/[email protected]/cli.ts

or use land without installation:

land publish

Usage

$ cd $YOUR_MODULE_DIR
$ publish

  1 → v1.0.1
  2 → v1.1.0
  3 → v2.0.0
  4 → v1.0.0-alpha.1
  5 → v1.0.0-beta.1
  6 → v1.0.0-rc.1

upgrade to: ▏

Publish will create a version.ts file in your module root directory if it doesn't exist.

export const VERSION = '1.0.0'

Hook Functions

You can add hook functions in the version.ts to do some tasks before or after publish:

/** `prepublish` will be invoked before publish, return `false` to prevent the publish */
export async function prepublish(version: string) {
  console.log('on prepublish', version)
}

/** `postpublish` will be invoked after published */
export async function postpublish(version: string) {
  console.log('on postpublish', version)
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].