move to workspaces

This commit is contained in:
geoffsee
2025-06-30 14:08:53 -04:00
committed by Geoff Seemueller
parent c282d80fe0
commit 75cbd5567f
23 changed files with 555 additions and 82 deletions

View File

@@ -1,83 +1,18 @@
{
"name": "toak",
"version": "3.1.3",
"type": "module",
"license": "AGPL-3.0-or-later",
"repository": "https://github.com/seemueller-io/toak.git",
"author": "Geoff Seemueller",
"description": "Open-source CLI/Library for tokenizing a git repository into a markdown file.",
"keywords": [
"cli",
"tool",
"utility",
"tokenize",
"git",
"repository",
"code",
"export",
"markdown",
"prompt",
"ai",
"llm"
"name": "toak-workspace",
"private": true,
"workspaces": [
"packages/*"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"bin": {
"toak": "./dist/cli.js"
},
"files": [
"dist"
],
"types": "dist/index.d.ts",
"scripts": {
"build": "rm -rf dist && bun ./build.ts",
"test": "bun test",
"prepublishOnly": "bun run build",
"dev": "bun run .",
"deploy:dev": "bun run build && bun publish .",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"build": "bun run --filter='*' build",
"test": "bun run --filter='*' test",
"lint": "bun run --filter='*' lint",
"lint:fix": "bun run --filter='*' lint:fix",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,yml,yaml}\"",
"fix": "bun format && bun lint:fix",
"release": "bunx release-it"
},
"dependencies": {
"glob": "^11.0.1",
"llama3-tokenizer-js": "^1.2.0",
"micromatch": "^4.0.8"
},
"peerDependencies": {
"node": "^20.18.1"
"fix": "bun format && bun run --filter='*' lint:fix"
},
"devDependencies": {
"@eslint/js": "^9.24.0",
"@types/bun": "latest",
"@types/micromatch": "^4.0.9",
"@types/node": "^22.14.0",
"bun": "latest",
"bun-plugin-isolated-decl": "^0.1.10",
"eslint": "^9.24.0",
"globals": "^15.15.0",
"oxc-transform": "^0.44.0",
"prettier": "^3.5.3",
"typescript": "^5.8.3"
},
"release-it": {
"$schema": "https://unpkg.com/release-it/schema/release-it.json",
"git": {
"commitMessage": "Release v${version}"
},
"github": {
"release": true
},
"npm": {
"release": true
}
"prettier": "^3.5.3"
}
}
}