UNPKG

sync-monorepo-packages

Version:

Synchronize files and metadata across packages in a monorepo

139 lines (138 loc) 3.63 kB
{ "name": "sync-monorepo-packages", "version": "2.0.0", "type": "module", "description": "Synchronize files and metadata across packages in a monorepo", "repository": { "type": "git", "url": "https://github.com/boneskull/sync-monorepo-packages" }, "author": "Christopher Hiller <boneskull@boneskull.com> (https://boneskull.com/)", "license": "Apache-2.0", "engines": { "node": ">=22.5.1", "npm": ">7" }, "bin": { "sync-monorepo-packages": "./dist/cli.js" }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist" ], "keywords": [ "lerna", "monorepo", "package", "package.json", "sync", "synchronize", "copy", "metadata", "workflow", "manifest", "workspaces" ], "scripts": { "build": "tsc", "commitlint": "commitlint", "fix": "npm run fix:eslint && npm run fix:prettier && npm run fix:markdown", "fix:eslint": "eslint --fix .", "fix:markdown": "markdownlint-cli2 --fix \"**/*.md\"", "fix:pkg": "npm pkg fix", "fix:prettier": "prettier --write .", "lint": "npm run lint:eslint && npm run lint:types && npm run lint:prettier && npm run lint:spelling && npm run lint:knip && npm run lint:markdown", "lint-staged": "lint-staged", "lint:eslint": "eslint .", "lint:knip": "knip", "lint:markdown": "markdownlint-cli2 \"**/*.md\"", "lint:prettier": "prettier --check .", "lint:spelling": "cspell . \"./.*/**\"", "lint:types": "tsc --noEmit --project tsconfig.test.json", "prepare": "husky", "prepublishOnly": "npm run build", "test": "node --test --import tsx \"test/**/*.test.ts\"", "test:watch": "node --test --import tsx --watch \"test/**/*.test.ts\"" }, "dependencies": { "@boneskull/bargs": "4.1.0", "debug": "4.4.3", "log-symbols": "7.0.1", "rfc6902": "5.2.0", "wrap-ansi": "10.0.0" }, "devDependencies": { "@commitlint/cli": "21.0.1", "@commitlint/config-conventional": "21.0.1", "@eslint/js": "9.39.4", "@stylistic/eslint-plugin": "5.10.0", "@types/debug": "4.1.13", "@types/node": "25.9.1", "bupkis": "0.18.1", "cspell": "10.0.0", "eslint": "9.39.4", "eslint-plugin-jsonc": "3.1.2", "eslint-plugin-perfectionist": "5.9.0", "globals": "17.6.0", "husky": "9.1.7", "knip": "6.14.1", "lint-staged": "17.0.5", "markdownlint-cli2": "0.22.1", "markdownlint-cli2-formatter-pretty": "0.0.10", "prettier": "3.8.3", "prettier-plugin-jsdoc": "1.8.0", "prettier-plugin-pkg": "0.22.1", "tsx": "4.22.3", "type-fest": "5.6.0", "typescript": "6.0.3", "typescript-eslint": "8.59.4" }, "knip": { "ignoreDependencies": [ "markdownlint-cli2-formatter-pretty" ], "ignore": [ "dist/**", ".worktrees/**/*" ], "tags": [ "-knipignore" ] }, "lint-staged": { "*.{ts,js,yml,json5}": [ "eslint --fix", "prettier --write", "cspell --no-summary" ], "!(package-lock).json": [ "eslint --fix", "prettier --write", "cspell --no-summary" ], "*.md": [ "markdownlint-cli2 --fix", "prettier --write", "cspell --no-summary" ] }, "prettier": { "bracketSpacing": false, "endOfLine": "auto", "singleQuote": true, "plugins": [ "prettier-plugin-jsdoc", "prettier-plugin-pkg" ], "jsdocCommentLineStrategy": "keep", "jsdocPreferCodeFences": true, "tsdoc": true } }