-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"tabWidth": 4, | ||
"useTabs": false | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "@example/basic", | ||
"private": true, | ||
"version": "1.0.0", | ||
"main": "./index.ts", | ||
"scripts": { | ||
"start": "tsx ./src/index.ts" | ||
}, | ||
"dependencies": { | ||
"@koons/cli": "*" | ||
}, | ||
"devDependencies": { | ||
"tsx": "^4.19.1" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { cli } from "@koons/cli"; | ||
|
||
cli({ | ||
help: () => console.log("Help command"), | ||
version: () => console.log("Version 1.0"), | ||
}).run(); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
{ | ||
"private": true, | ||
"scripts": { | ||
"build": "turbo build", | ||
"dev": "turbo dev", | ||
"lint": "turbo lint", | ||
"clean": "turbo clean && rm -rf node_modules", | ||
"format": "prettier --write \"**/*.{ts,tsx,md}\"", | ||
"changeset": "changeset", | ||
"version-packages": "changeset version", | ||
"release": "turbo build --filter=docs^... && changeset publish" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.27.1", | ||
"eslint": "^8.57.0", | ||
"prettier": "^3.2.5", | ||
"turbo": "^2.2.3" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"name": "with-changesets", | ||
"packageManager": "[email protected]", | ||
"workspaces": [ | ||
"apps/*", | ||
"packages/*" | ||
] | ||
"private": true, | ||
"scripts": { | ||
"build": "turbo build", | ||
"dev": "turbo dev", | ||
"lint": "turbo lint", | ||
"clean": "turbo clean && rm -rf node_modules", | ||
"format": "prettier --write \"**/*.{ts,tsx,md}\"", | ||
"changeset": "changeset", | ||
"version-packages": "changeset version", | ||
"release": "turbo build --filter=docs^... && changeset publish" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.27.1", | ||
"eslint": "^8.57.0", | ||
"prettier": "^3.2.5", | ||
"turbo": "^2.2.3" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"name": "with-changesets", | ||
"packageManager": "[email protected]", | ||
"workspaces": [ | ||
"apps/*", | ||
"packages/*", | ||
"examples/*" | ||
] | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "@koons/cli", | ||
"version": "0.0.0", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"sideEffects": false, | ||
"license": "MIT", | ||
"files": [ | ||
"dist/**" | ||
], | ||
"scripts": { | ||
"build": "tsup src/index.ts --format esm,cjs", | ||
"dev": "tsup src/index.ts --format esm,cjs --watch", | ||
"lint": "eslint \"src/**/*.ts*\"", | ||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" | ||
}, | ||
"devDependencies": { | ||
"@koons/tsconfig": "*", | ||
"tsup": "^8.0.2", | ||
"typescript": "5.5.4" | ||
}, | ||
"dependencies": { | ||
"react": "^18.2.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |