From 28a6eb334efc1bdd862ca79e355ac8c669ea2948 Mon Sep 17 00:00:00 2001 From: Oskar Dudycz Date: Tue, 13 Feb 2024 11:45:24 +0100 Subject: [PATCH] Added global commands for npm scripts, added note about OTel future support --- README.md | 1 + package.json | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b9fd3086..0d4b7fde 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ We'll see, but for sure, I'd like to have the following: - building blocks for integration and running distributed processes, - GraphQL API for event stores, - Full stack development helpers with Next.js or HTMX, +- built-in open telemetry, - running it serverless or on the web with SQLite, - streaming data through HTTP API (and enabling integration scenarios through it). - defining event transformations and projections with WebAssembly, diff --git a/package.json b/package.json index a15495b1..d5cff3db 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,19 @@ "description": "Emmett - Event Sourcing development made simple", "scripts": { "setup": "cat .nvmrc | nvm install; nvm use", - "version": "npm version $npm_package_version --workspaces && git add **/package.json", + "build": "npm run build --ws", + "build:ts": "npm run build:ts --ws", + "build:ts:watch": "npm run build:ts:watch --ws", + "lint": "npm run lint --ws", + "fix": "npm run fix --ws", + "test": "npm run test --ws", + "test:unit": "npm run test:unit --ws", + "test:int": "npm run test:int --ws", + "test:e2e": "npm run test:e2e --ws", + "test:watch": "npm run test:watch --ws", + "test:unit:watch": "npm run test:unit:watch --ws", + "test:int:watch": "npm run test:int:watch --ws", + "test:e2e:watch": "npm run test:e2e:watch --ws", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs"