Skip to content

Commit fb46ba2

Browse files
committed
scaffold cli commands
1 parent 23a4ec7 commit fb46ba2

File tree

17 files changed

+721
-29
lines changed

17 files changed

+721
-29
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,5 @@ jspm_packages/
6565

6666
# Stores VSCode versions used for testing VSCode extensions
6767
.vscode-test
68+
69+
dist

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
src
2+
.github
3+
.gitignore

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MIT License Copyright (c) 2024 [Bombshell contributors](https://bomb.sh/team)
1+
MIT License Copyright (c) 2025-Present [Bombshell contributors](https://bomb.sh/team)
22

33
Permission is hereby granted, free of
44
charge, to any person obtaining a copy of this software and associated

README.md

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
1-
# `@bomb.sh/stub`
2-
3-
## Install
4-
5-
You can install `@bomb.sh/stub` manually by running this command:
6-
7-
```sh
8-
npm install @bomb.sh/stub
9-
```
10-
11-
Looking for help? Start with our [Getting Started][docs] guide.
12-
13-
## Documentation
14-
15-
Visit our [official documentation][docs].
16-
17-
## Support
18-
19-
Having trouble? Get help in the official [Bombshell Discord][discord].
20-
21-
[docs]: https://bomb.sh/docs
22-
[discord]: https://bomb.sh/chat
1+
# `@bomb.sh/nucleus`
2+
3+
This package is the internal CLI for our org. It provides:
4+
- standardized `dev` command (`node --strip-types`)
5+
- standardized `build` command with `esbuild`
6+
- standardized `test` command
7+
- standardized `lint` and `format` commands
8+
- standardized `tsconfig` settings
9+
- an opportunity to dogfood our packages

package.json

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,60 @@
11
{
2-
"name": "@bomb.sh/template",
2+
"name": "@bomb.sh/nucleus",
33
"private": true,
44
"version": "0.0.0",
55
"type": "module",
66
"license": "MIT",
7+
"bin": {
8+
"nucleus": "./index.ts"
9+
},
10+
"description": "The internal dev, build, and lint CLI for Bombshell projects",
11+
"keywords": [
12+
"cli",
13+
"bombshell",
14+
"nucleus"
15+
],
16+
"homepage": "https://bomb.sh",
717
"author": {
818
"name": "Bombshell",
919
"email": "[email protected]",
1020
"url": "https://bomb.sh"
1121
},
1222
"repository": {
1323
"type": "git",
14-
"url": "git+https://github.com/bombshell-dev/template.git"
24+
"url": "git+https://github.com/bombshell-dev/nucleus.git"
25+
},
26+
"exports": {
27+
".": {
28+
"import": "./dist/index.js"
29+
},
30+
"./package.json": "./package.json",
31+
"./tsconfig.json": "./tsconfig.json"
1532
},
1633
"scripts": {
17-
"start": "tsx index.ts"
34+
"nucleus": "node --experimental-strip-types --no-warnings ./src/bin.ts",
35+
"dev": "pnpm run nucleus dev",
36+
"build": "pnpm run nucleus build",
37+
"format": "pnpm run nucleus format",
38+
"init": "pnpm run nucleus init",
39+
"lint": "pnpm run nucleus lint",
40+
"test": "pnpm run nucleus test"
1841
},
1942
"devDependencies": {
20-
"tsx": "^4.19.2"
43+
"@types/node": "^22.13.14"
44+
},
45+
"dependencies": {
46+
"@biomejs/biome": "^1.9.4",
47+
"@bomb.sh/args": "^0.3.1",
48+
"esbuild": "^0.25.1",
49+
"escalade": "^3.2.0",
50+
"tinyexec": "^1.0.1"
51+
},
52+
"pnpm": {
53+
"onlyBuiltDependencies": [
54+
"esbuild"
55+
]
56+
},
57+
"volta": {
58+
"node": "22.14.0"
2159
}
2260
}

0 commit comments

Comments
 (0)