@offirmo/universal-debug-api-interface

TypeScript types for a universal debug API (no code)


Keywords
logger, debug, typescript, javascript, monorepo, npm-module, open-source
License
Unlicense
Install
npm install @offirmo/universal-debug-api-interface@0.2.1

Documentation

Offirmo’s monorepo

A monorepo for all my JavaScript / TypeScript projects. So convenient.

Public npm modules:

Public webapps:

Public webextensions:

Usage

This repo is published on Github Pages, but this is most likely not what you're looking for.

Contributing

Principles

Unless exceptions, this repo follow those principles:

  • code in TypeScript
  • command / query separation
  • compatible with event sourcing (for offline first with server replay when back online)

Doc:

Installation

I use macOS 10.14 but should work on any unix-like system.

This set of command will build everything:

nvm install
npm i -g yarn
yarn global add bolt
bolt
bolt ws run build

Additional dev commands:

## run all tests or a subset
bolt ws run test
bolt ws run cheatsheet
bolt ws run cheatsheet --only @offirmo-private/*
bolt ws run cheatsheet --only @oh-my-rpg/*


## build all or a subset
bolt ws run build
bolt ws run build --only @offirmo-private/*
bolt ws run test --only @offirmo-private/*
bolt ws run build --only @oh-my-rpg/*
bolt ws run test --only @oh-my-rpg/*
bolt w @oh-my-rpg/definitions run build


## clean
bolt clean
  bolt ws run clean
  bolt ws exec -- rm -rf .cache .parcel dist node_modules yarn.lock package-lock.json yarn-error.log
## updates dependencies (minor + patch)
bolt clean && rm -rf node_modules yarn.lock package-lock.json && bolt && yarn outdated     && bolt build
npx yarn-tools list-duplicates yarn.lock

## serve for dev
ngrok http -subdomain=offirmo 1234
yarn puer

## publish a package
npm adduser
user: offirmo
email: offirmo.net@gmail.com
npm publish
npm publish --access public

Hat tips

Tools