From 404bd297b883b5eafbf5a7f4e87b34bdb2736679 Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Sun, 30 Mar 2025 21:27:55 -0500 Subject: [PATCH] chore: rename to tools --- README.md | 19 +++++++++++-------- package.json | 23 +++++++++++------------ 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index ee29d70..06a39de 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,12 @@ -# `@bomb.sh/nucleus` +# `@bomb.sh/tools` -This package is the internal CLI for our org. It provides: -- standardized `dev` command (`node --strip-types`) -- standardized `build` command with `esbuild` -- standardized `test` command -- standardized `lint` and `format` commands -- standardized `tsconfig` settings -- an opportunity to dogfood our packages +This package is an internal CLI intended to standardize tooling across all Bombshell projects. It helps us dogfood our own libraries, but it also makes it easier to keep our shared dependencies in sync. + +If you'd like to use this package for your own projects, please consider forking. We are not accepting issues on this repo. + +- `init` command for scaffolding new projects, which clones [our `template` repo](https://github.com/bombshell-dev/template) +- `bsh dev` command, using `node --experimental-strip-types --watch-path=./src/` +- `bsh build` command, using [`esbuild`](https://esbuild.github.io/) +- `bsh test` command, unfinished +- `bsh lint` and `bsh format` commands, using [`@biomejs/biome`](https://biomejs.dev/) +- shared `tsconfig.json` file diff --git a/package.json b/package.json index 7827696..33fa875 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,16 @@ { - "name": "@bomb.sh/nucleus", - "private": true, + "name": "@bomb.sh/tools", "version": "0.0.0", "type": "module", "license": "MIT", "bin": { - "nucleus": "./index.ts" + "bsh": "./index.ts" }, "description": "The internal dev, build, and lint CLI for Bombshell projects", "keywords": [ "cli", "bombshell", - "nucleus" + "internal" ], "homepage": "https://bomb.sh", "author": { @@ -21,7 +20,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/bombshell-dev/nucleus.git" + "url": "git+https://github.com/bombshell-dev/tools.git" }, "exports": { ".": { @@ -31,13 +30,13 @@ "./tsconfig.json": "./tsconfig.json" }, "scripts": { - "nucleus": "node --experimental-strip-types --no-warnings ./src/bin.ts", - "dev": "pnpm run nucleus dev", - "build": "pnpm run nucleus build", - "format": "pnpm run nucleus format", - "init": "pnpm run nucleus init", - "lint": "pnpm run nucleus lint", - "test": "pnpm run nucleus test" + "bsh": "node --experimental-strip-types --no-warnings ./src/bin.ts", + "dev": "pnpm run bsh dev", + "build": "pnpm run bsh build", + "format": "pnpm run bsh format", + "init": "pnpm run bsh init", + "lint": "pnpm run bsh lint", + "test": "pnpm run bsh test" }, "devDependencies": { "@types/node": "^22.13.14" -- 2.51.2