diff --git a/.github/workflows/rocket-platform.yml b/.github/workflows/rocket-platform.yml index 015840ba..85617d5d 100644 --- a/.github/workflows/rocket-platform.yml +++ b/.github/workflows/rocket-platform.yml @@ -3,8 +3,14 @@ name: Rocket Platform on: push: branches: [main, develop] + paths: + - 'rocket/platform/**' + - '.github/workflows/rocket-platform.yml' pull_request: branches: [main, develop] + paths: + - 'rocket/platform/**' + - '.github/workflows/rocket-platform.yml' jobs: lint: diff --git a/.github/workflows/ross-docs.yml b/.github/workflows/ross-docs.yml index 6bfe88df..43de1ac1 100644 --- a/.github/workflows/ross-docs.yml +++ b/.github/workflows/ross-docs.yml @@ -3,8 +3,14 @@ name: ROSS Docs on: push: branches: [main, develop] + paths: + - 'ross/docs/**' + - '.github/workflows/ross-docs.yml' pull_request: branches: [main, develop] + paths: + - 'ross/docs/**' + - '.github/workflows/ross-docs.yml' jobs: lint: diff --git a/.github/workflows/ross.yml b/.github/workflows/ross.yml index 82b4412f..f5771b34 100644 --- a/.github/workflows/ross.yml +++ b/.github/workflows/ross.yml @@ -3,8 +3,16 @@ name: ROSS on: push: branches: [main, develop] + paths: + - 'ross/**' + - '!ross/docs/**' + - '.github/workflows/ross.yml' pull_request: branches: [main, develop] + paths: + - 'ross/**' + - '!ross/docs/**' + - '.github/workflows/ross.yml' jobs: lint: diff --git a/.husky/commit-msg b/.husky/commit-msg deleted file mode 100755 index a1ece41b..00000000 --- a/.husky/commit-msg +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash -ROOT_DIR="$(dirname "$0")/.." -if [ -x "$ROOT_DIR/ross/node_modules/.bin/commitlint" ]; then - "$ROOT_DIR/ross/node_modules/.bin/commitlint" --edit "$1" -else - npx --no-install commitlint --edit "$1" -fi diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100755 index 7bcab54c..00000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash -set -e - -ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)" - -# Ross checks -cd "$ROOT_DIR/ross" -npm run lint:check -npm run compile -npm run coverage - -# Rocket Platform checks -cd "$ROOT_DIR/rocket/platform" -npm run lint -npm run prettier -npm run build diff --git a/AGENTS.md b/AGENTS.md index 7fd9149c..0b79e746 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,79 +1,55 @@ # AGENTS.md — Rocket Monorepo -Repository containing two independent software projects: -- **ROSS (`ross/`)**: Config-driven REST API framework (open-source, MIT). TypeScript, Fastify 5, PostgreSQL/SQLite, Vitest 4. -- **Rocket (`rocket/`)**: Source-available backend deployment, hosting, and management platform (PolyForm Shield 1.0.0). +Monorepo containing ROSS and the Rocket platform. -## Commands +## Repository Structure -Commands can be run from the repository root via `./dev.sh` (which delegates to `ross/dev.sh`) or directly within `ross/`: +- **`ross/`**: ROSS — open-source, configuration-driven REST API framework (MIT). TypeScript, Fastify 5, Drizzle, Vitest. +- **`ross/docs/`**: ROSS documentation site built with Docusaurus (separate `package.json`, markdown lint, and CI workflow). +- **`rocket/platform/`**: Rocket Platform — source-available backend deployment, hosting, and management web app (PolyForm Shield 1.0.0). Next.js, TypeScript, Tailwind CSS, Storybook. +- **`.github/workflows/`**: CI workflows scoped per package (`ross.yml`, `ross-docs.yml`, `rocket-platform.yml`) plus repo-wide `commit-lint.yml`. -| Command | Action | -| --- | --- | -| `./dev.sh dev` | Run dev server with `--config example_config.json` | -| `./dev.sh coverage` | Full test suite with coverage | -| `./dev.sh test` | Run tests | -| `./dev.sh check` | Compile + coverage + lint:write | -| `./dev.sh db` | Start redis and db Docker containers | -| `./dev.sh csserve` | Serve coverage report via HTTP | +## Commands (`./dev.sh`) -Commits automatically run pre-commit hooks, so there is no need to manually run tests or `./dev.sh check` before committing. +Run project commands from the repository root via `./dev.sh ` (each project also has its own `dev.sh`): -## Testing - -- DB is always mocked: `tests/setup.ts` globally mocks `pg` and `better-sqlite3`. -- Route tests use `createTestApp()` from `tests/helpers/test-app.ts` with real Fastify + `fastify.inject()`. -- Plugin tests create throw-away Fastify instances per test. -- Mock state is on shared `pgQueryMock`, `sqliteAllMock` etc. from `tests/helpers/db-mocks.ts`. - -## Path aliases - -- `@/` → `src/` -- `@tests/` → `tests/` -- Compiled JS needs `tsc-alias` to resolve these (part of `compile`). +```bash +./dev.sh ross # dev, test, coverage, check, e2e, db, csserve, release +./dev.sh ross-docs # dev, build, serve, typecheck, lint, check, clear +./dev.sh rocket-platform # dev, build, start, lint, lint:fix, check, storybook, build-storybook +``` -## Import order (enforced by Prettier) +Run `./dev.sh ` with no operation to see its full usage. -Builtins → Third-party → `@/migrator` → `@/plugin` → `@/server` → `@/lib` → `@/routes` → `@/interfaces` → `@/types` → `@/validators` → `@/utils` → `@/constants` → `@tests/` → relative `./` +## Commit Messages -## Commit messages +Enforced in CI by `commitlint` (`commitlint.config.cjs`). Local Git hooks (Husky) are not used. ``` type(scope): #: message ``` -Types: `feat`, `chore`, `ci`, `bug`, `refactor`, `test`. Max header: 120 chars. +- **Types**: `feat`, `chore`, `ci`, `bug`, `refactor`, `test` +- **Scopes**: `ross`, `ross-docs`, `rocket-platform`, `rocket`, `repo` (`repo` for global/monorepo changes or changes spanning multiple packages; others for project-scoped changes) +- **Max header length**: 120 characters -Example: `feat(auth): #123: add token refresh` +Example: `feat(ross): #123: add token refresh` -## Branch naming +## Branch Naming & Flow ``` /#- ``` -- `` is one of the allowed commit types: `feat`, `chore`, `ci`, `bug`, `refactor`, `test`. -- `` is the GitHub issue being worked on. -- `` is lowercase, hyphen-separated. - -Examples: `feat/#86-migrate-commit-msg`, `bug/#92-fix-auth-refresh`, `refactor/#74-split-where-builder` - -Flow: - -1. Create a branch from the default branch: `git switch -c feat/#86-migrate-commit-msg`. -2. Wait for the developer to review and test your changes. -3. Commit using the commit convention: `git commit -m "chore(ci): #86: migrate commit convention from JIRA to GitHub Issues"`. -4. Push the branch (quote `#` in shell commands): `git push -u origin 'feat/#86-migrate-commit-msg'`. -5. Open a PR that references the issue. +- ``: one of `feat`, `chore`, `ci`, `bug`, `refactor`, `test` +- ``: GitHub issue number +- ``: lowercase, hyphen-separated -## Architecture essentials +Examples: `feat/#86-migrate-commit-msg`, `chore/#221-monorepo-ci-and-tooling` -- **Entrypoint:** `src/main.ts` (commander CLI) → `startServer()` in `src/server.ts`. -- **Fastify custom decorators** (augmented in `src/types/fastify.d.ts`): `app.db`, `app.buildResponse()`, `app.appConfig`, `app.cache`, `app.callWebhook`, `app.enforceSSP`. -- **DB abstraction:** Uniform `DatabaseQuery` interface (`{changes, rows}`). PG uses `pg.Pool`, SQLite uses `better-sqlite3` (sync wrapped in Promise). DDL queries are blocked. -- **Config env vars:** Use `env:VARNAME` in JSON config values — resolved by `src/lib/config/env.ts`. -- **Config validation:** AJV schema in `src/validators/config/schema.ts`. Reference config: `example_config.json`. -- **Plugin registration order** in `startServer()`: db → cache → communicate → rate-limit → response → ssp → webhook → auth. Fastify-plugin (`fp`) wrapper used throughout. -- **Shared library code lives in `src/lib/`**, grouped by framework layer: `config/` (env resolution, API identifiers, `config.apis` accessors), `schema/` (JSON Schema builders for Swagger), `sql/` (WHERE-clause filters, placeholder parsing), `server/` (prevalidation, welcome screen). Tests mirror this under `tests/lib/`. -- **ESM only** (`"type": "module"`). No require(). -- **`docs/`** is a separate Docusaurus site (own package.json) — not part of the main project. +1. Create a branch from `develop`: `git switch -c feat/#123-short-description` +2. Make changes and verify with the relevant `./dev.sh check` +3. Wait for the developer to review and test the changes — **commit only when explicitly asked to commit** +4. Commit using the commit convention: `git commit -m "feat(ross): #123: short description"` +5. Push the branch (quote `#` in shell): `git push -u origin 'feat/#123-short-description'` +6. Open a PR referencing the issue. diff --git a/commitlint.config.cjs b/commitlint.config.cjs index 5e2aed7f..c60acabc 100644 --- a/commitlint.config.cjs +++ b/commitlint.config.cjs @@ -2,6 +2,8 @@ module.exports = { extends: [require.resolve('@commitlint/config-conventional', { paths: [__dirname + '/ross'] })], rules: { 'type-enum': [2, 'always', ['feat', 'chore', 'ci', 'bug', 'refactor', 'test']], + 'scope-enum': [2, 'always', ['ross', 'ross-docs', 'rocket-platform', 'rocket', 'repo']], + 'scope-empty': [2, 'never'], 'header-max-length': [2, 'always', 120], 'subject-empty': [2, 'never'], 'type-case': [2, 'always', 'lower-case'], @@ -14,10 +16,10 @@ module.exports = { rules: { 'header-match-issue': ({ header }) => { // type(scope): #: message - const regex = /^(feat|chore|ci|bug|refactor|test)\([a-z0-9-]+\): #\d+: .+/; + const regex = /^(feat|chore|ci|bug|refactor|test)\((ross|ross-docs|rocket-platform|rocket|repo)\): #\d+: .+/; return [ regex.test(header), - `Commit message must follow the convention: type(scope): #: message (e.g. feat(auth): #123: add token refresh)\nNumber refers to the GitHub issue.\nTypes: feat, chore, ci, bug, refactor, test`, + `Commit message must follow the convention: type(scope): #: message (e.g. feat(ross): #123: add token refresh)\nNumber refers to the GitHub issue.\nTypes: feat, chore, ci, bug, refactor, test\nScopes: ross, ross-docs, rocket-platform, rocket, repo`, ]; }, }, diff --git a/dev.sh b/dev.sh index ef7f101a..86bd7f39 100755 --- a/dev.sh +++ b/dev.sh @@ -1,5 +1,35 @@ #!/usr/bin/env bash set -euo pipefail -exec bash ross/dev.sh "$@" +ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +PROJECT="${1:-}" +if [[ -z "$PROJECT" ]]; then + echo "Usage: ./dev.sh [args...]" + echo "" + echo "Projects:" + echo " ross ROSS API framework (ross/)" + echo " ross-docs ROSS documentation site (ross/docs/)" + echo " rocket-platform Rocket platform web app (rocket/platform/)" + exit 1 +fi + +shift + +case "$PROJECT" in + ross) + exec bash "$ROOT_DIR/ross/dev.sh" "$@" + ;; + ross-docs) + exec bash "$ROOT_DIR/ross/docs/dev.sh" "$@" + ;; + rocket-platform) + exec bash "$ROOT_DIR/rocket/platform/dev.sh" "$@" + ;; + *) + echo "Unknown project: $PROJECT" + echo "" + echo "Available projects: ross, ross-docs, rocket-platform" + exit 1 + ;; +esac diff --git a/rocket/platform/dev.sh b/rocket/platform/dev.sh new file mode 100755 index 00000000..4c147cd5 --- /dev/null +++ b/rocket/platform/dev.sh @@ -0,0 +1,47 @@ +#!/usr/bin/env bash +set -euo pipefail + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +cd "$SCRIPT_DIR" + +case "${1:-help}" in + dev) + npm run dev + ;; + build) + npm run build + ;; + start) + npm run start + ;; + lint) + npm run lint && npm run prettier + ;; + lint:fix) + npm run prettier:write + ;; + check) + npm run lint && npm run prettier && npm run build + ;; + storybook) + npm run storybook + ;; + build-storybook) + npm run build-storybook + ;; + *) + echo "Usage: ./dev.sh " + echo "" + echo "Operations:" + echo " dev Start Next.js dev server" + echo " build Build Next.js production bundle" + echo " start Start Next.js production server" + echo " lint Run ESLint and Prettier check" + echo " lint:fix Format files with Prettier" + echo " check Lint + Prettier check + build" + echo " storybook Start Storybook dev server" + echo " build-storybook Build Storybook static site" + exit 1 + ;; +esac + diff --git a/ross/README.md b/ross/README.md index c209d65c..6bc71628 100644 --- a/ross/README.md +++ b/ross/README.md @@ -24,11 +24,17 @@ Rocket is a configuration-driven API framework designed to accelerate backend de ### 1. Installation -Clone the repository and install dependencies: +Install ROSS in your project from GitHub: + +```bash +npm install github:imdeepmind/rocket#ross-release +``` + +Or clone the repository to run from source: ```bash git clone https://github.com/imdeepmind/rocket.git -cd rocket +cd rocket/ross npm install ``` diff --git a/ross/dev.sh b/ross/dev.sh index 87d622de..b073da76 100755 --- a/ross/dev.sh +++ b/ross/dev.sh @@ -26,6 +26,26 @@ case "${1:-help}" in e2e) npm run test:e2e ;; + release) + BRANCH="${2:-ross-release}" + REMOTE_URL="$(git -C "$SCRIPT_DIR" remote get-url origin)" + npm run clean && npm run compile + + TMP_DIR="$(mktemp -d)" + trap 'rm -rf "$TMP_DIR"' EXIT + + mkdir -p "$TMP_DIR/build" + cp "$SCRIPT_DIR/package.json" "$TMP_DIR/" + cp "$SCRIPT_DIR/README.md" "$TMP_DIR/" + cp "$SCRIPT_DIR/LICENSE" "$TMP_DIR/" + cp -R "$SCRIPT_DIR/build/src" "$TMP_DIR/build/src" + + git -C "$TMP_DIR" init -q + git -C "$TMP_DIR" add -A + git -C "$TMP_DIR" commit -q -m "chore(ross): release build" + git -C "$TMP_DIR" push -f "$REMOTE_URL" "HEAD:$BRANCH" + echo "Pushed ross build to $BRANCH ($REMOTE_URL)" + ;; *) echo "Usage: ./dev.sh " echo "" @@ -37,6 +57,7 @@ case "${1:-help}" in echo " e2e Run Playwright E2E API tests" echo " db Start redis and db containers" echo " csserve Serve coverage report via HTTP" + echo " release Build ross and force-push to release branch (default: ross-release)" exit 1 ;; esac diff --git a/ross/docs/dev.sh b/ross/docs/dev.sh new file mode 100755 index 00000000..1db26022 --- /dev/null +++ b/ross/docs/dev.sh @@ -0,0 +1,43 @@ +#!/usr/bin/env bash +set -euo pipefail + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +cd "$SCRIPT_DIR" + +case "${1:-help}" in + dev) + npm run start + ;; + build) + npm run build + ;; + serve) + npm run serve + ;; + typecheck) + npm run typecheck + ;; + lint) + npm run lint:md + ;; + check) + npm run lint:md && npm run typecheck && npm run build + ;; + clear) + npm run clear + ;; + *) + echo "Usage: ./dev.sh " + echo "" + echo "Operations:" + echo " dev Start Docusaurus dev server" + echo " build Build documentation site" + echo " serve Serve built documentation site" + echo " typecheck Run TypeScript typecheck" + echo " lint Run markdown lint" + echo " check Markdown lint + typecheck + build" + echo " clear Clear Docusaurus cache" + exit 1 + ;; +esac + diff --git a/ross/docs/docs/get-started.md b/ross/docs/docs/get-started.md index 4171e9fa..bffbfabc 100644 --- a/ross/docs/docs/get-started.md +++ b/ross/docs/docs/get-started.md @@ -22,22 +22,22 @@ npm -v ## 1. Installation -You can install ROSS globally to use the `ross` command in your terminal: +You can install ROSS from GitHub globally to use the `ross` command in your terminal: ```bash -npm install -g @imdeepmind/ross +npm install -g github:imdeepmind/rocket#ross-release ``` Alternatively, you can install it as a project dependency: ```bash -npm install @imdeepmind/ross +npm install github:imdeepmind/rocket#ross-release ``` Or execute commands directly without installation: ```bash -npx @imdeepmind/ross +npx github:imdeepmind/rocket#ross-release ``` ## 2. Create Your Project diff --git a/ross/docs/docs/programmatic.md b/ross/docs/docs/programmatic.md index 2a8e1e28..805c06cb 100644 --- a/ross/docs/docs/programmatic.md +++ b/ross/docs/docs/programmatic.md @@ -17,7 +17,7 @@ This is useful for: ## Installation ```bash -npm install @imdeepmind/ross +npm install github:imdeepmind/rocket#ross-release ``` The package is ESM-only and exposes a single entrypoint. diff --git a/ross/package-lock.json b/ross/package-lock.json index ec4dc48f..76bf73fb 100644 --- a/ross/package-lock.json +++ b/ross/package-lock.json @@ -60,7 +60,6 @@ "@types/picomatch": "^4.0.3", "@vitest/coverage-v8": "^4.1.2", "gts": "^7.0.0", - "husky": "^9.1.7", "tsc-alias": "^1.8.16", "tsx": "^4.21.0", "typescript": "^5.6.3", @@ -3215,7 +3214,6 @@ "integrity": "sha512-NMv9ASNARoKksWtsq/SHakpYAYnhBrQgGD8zkLYk/jaK8jUGn08CfEdTRgYhMypUQAfzSP8W6gNLe0q19/t4VA==", "devOptional": true, "license": "MIT", - "peer": true, "dependencies": { "@types/node": "*" } @@ -3292,7 +3290,6 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.15.tgz", "integrity": "sha512-F0R/h2+dsy5wJAUe3tAU6oqa2qbWY5TpNfL/RGmo1y38hiyO1w3x2jPtt76wmuaJI4DQnOBu21cNXQ2STIUUWg==", "license": "MIT", - "peer": true, "dependencies": { "undici-types": "~6.21.0" } @@ -3320,7 +3317,6 @@ "integrity": "sha512-bEPFOaMAHTEP1EzpvHTbmwR8UsFyHSKsRisLIHVMXnpNefSbGA1bD6CVy+qKjGSqmZqNqBDV2azOBo8TgkcVow==", "devOptional": true, "license": "MIT", - "peer": true, "dependencies": { "@types/node": "*", "pg-protocol": "*", @@ -3393,7 +3389,6 @@ "integrity": "sha512-llP+T1YuJOLlxEciP6OyQGtz5SMxyn+9LA2BvZw5RmToGVa1y4beEDVQL6Gje7T5WFYh19WREjDCN9Ev4gm5AA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.72.2", "@typescript-eslint/types": "8.72.2", @@ -3598,7 +3593,6 @@ "integrity": "sha512-6S7/iVknKglLAxMFxQGNppBI0iqJS2NgM6FBxavitj7KaDq/vywOWGf6dGu7F2L1Qy0G6S3uTp7aGshHrzK8JA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@bcoe/v8-coverage": "^1.0.2", "@vitest/utils": "4.1.12", @@ -3779,7 +3773,6 @@ "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", "dev": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -4090,7 +4083,6 @@ "integrity": "sha512-RxD2Vd96sQDjQr20kdP+F+dK/1OUNiVOl200vKBZY8u0vTwysfolF6Hq+3ZK2+h8My9YvZhHsF+RSGZW2VYrPQ==", "hasInstallScript": true, "license": "MIT", - "peer": true, "dependencies": { "bindings": "^1.5.0", "prebuild-install": "^7.1.1" @@ -4585,7 +4577,6 @@ "integrity": "sha512-hr4ihw+DBqcvrsEDioRO31Z17x71pUYoNe/4h6Z0wB72p7MU7/9gH8Q3s12NFhHPfYBBOV3qyfUxmr/Yn3shnQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "env-paths": "^2.2.1", "import-fresh": "^3.3.0", @@ -5612,7 +5603,6 @@ "integrity": "sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", @@ -5689,7 +5679,6 @@ "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", "dev": true, "license": "MIT", - "peer": true, "bin": { "eslint-config-prettier": "bin/cli.js" }, @@ -6985,22 +6974,6 @@ "node": ">=10.17.0" } }, - "node_modules/husky": { - "version": "9.1.7", - "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz", - "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==", - "dev": true, - "license": "MIT", - "bin": { - "husky": "bin.js" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/typicode" - } - }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -8349,7 +8322,6 @@ "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.24.6.tgz", "integrity": "sha512-enu73KhbAua2L3dIxjc6qg6ZJ7H3pt1BImZASWNWY5xSsmJ1ZuUPULTDGXgmJbI61vb+nJAG19IZclIq19UidQ==", "license": "MIT", - "peer": true, "dependencies": { "aws-ssl-profiles": "^1.1.2", "generate-function": "^2.3.1", @@ -8774,7 +8746,6 @@ "resolved": "https://registry.npmjs.org/pg/-/pg-8.20.0.tgz", "integrity": "sha512-ldhMxz2r8fl/6QkXnBD3CR9/xg694oT6DZQ2s6c/RI28OjtSOpxnPrUCGOBJ46RCUxcWdx3p6kw/xnDHjKvaRA==", "license": "MIT", - "peer": true, "dependencies": { "pg-connection-string": "^2.12.0", "pg-pool": "^3.13.0", @@ -9118,7 +9089,6 @@ "integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==", "dev": true, "license": "MIT", - "peer": true, "bin": { "prettier": "bin/prettier.cjs" }, @@ -10441,7 +10411,6 @@ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -10522,7 +10491,6 @@ "integrity": "sha512-LzOn3h9rG/0vhLdXrV4yJ4QFA9eEoqCl+Yx+kGJd7aB9w6nfNgVHKSYwLPZUHrz4ZGa+t+kXjV9itvcHDLQouA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "lightningcss": "^1.33.0", "picomatch": "^4.0.7", @@ -10601,7 +10569,6 @@ "integrity": "sha512-5eWdz2yb3ajxWF3C8C4TjkXl7FGm3n2E/VlazALrQHzK7nYMSGFnCZto0bbPNl77AwkOZVLk0YnBAejUu0NiWA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@vitest/expect": "4.1.12", "@vitest/mocker": "4.1.12", diff --git a/ross/package.json b/ross/package.json index 02bbe20c..bbe7c72b 100644 --- a/ross/package.json +++ b/ross/package.json @@ -28,7 +28,6 @@ "clean": "gts clean", "compile": "tsc && tsc-alias", "dev": "tsx watch ./src/main.ts", - "prepare": "husky", "pretest": "npm run compile", "posttest": "npm run lint:check", "commitlint": "commitlint --edit", @@ -64,7 +63,6 @@ "@types/picomatch": "^4.0.3", "@vitest/coverage-v8": "^4.1.2", "gts": "^7.0.0", - "husky": "^9.1.7", "tsc-alias": "^1.8.16", "tsx": "^4.21.0", "typescript": "^5.6.3",