UNPKG

@alienfast/find-monorepo-root

Version:

Find the root path of a monorepo using various strategies.

92 lines (91 loc) 2.85 kB
{ "name": "@alienfast/find-monorepo-root", "version": "1.0.9", "packageManager": "yarn@3.6.1", "description": "Find the root path of a monorepo using various strategies.", "type": "module", "main-note": "Though this is ESM only, the following main is to appease tsc and varieties of moduleResolution e.g. node vs nodenext, otherwise types aren't found. see https://github.com/rosskevin/ts-esm-workspaces/tree/bug-main-required-to-build#workaround ", "main": "./dist/index.js", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "sideEffects": false, "publishConfig": { "access": "public" }, "scripts": { "build": "yarn clean && tsup-node", "build:ide": "echo 'tsc -b' && tsc -b", "clean": "node ./scripts/clean.js", "clean:yarn": "node ./scripts/clean-yarn.js", "reset": "node ./scripts/reset.js", "lint": "eslint . --cache --ext .js,.ts,.tsx", "lint:fix": "eslint . --cache --ext .js,.ts,.tsx --fix", "test": "vitest", "release": "yarn auto shipit" }, "keywords": [ "monorepo", "find", "root" ], "licenses": [ { "type": "MIT", "url": "http://www.opensource.org/licenses/mit-license.php" } ], "repository": "https://github.com/alienfast/find-monorepo-root", "homepage": "https://github.com/alienfast/find-monorepo-root", "bin": "./dist/bin/findMonorepoRoot.js", "devDependencies": { "@alienfast/eslint-config": "^4.0.7", "@alienfast/tsconfig": "^1.0.1", "@auto-it/all-contributors": "^10.46.0", "@auto-it/first-time-contributor": "^10.46.0", "@auto-it/released": "^10.46.0", "@types/fs-extra": "^11.0.1", "@types/marked": "^5", "@types/marked-terminal": "^3.1.3", "auto": "^10.46.0", "eslint": "^8.43.0", "eslint-config-prettier": "^8.8.0", "eslint-import-resolver-typescript": "^3.5.5", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jest": "^27.2.2", "eslint-plugin-n": "^16.0.1", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-simple-import-sort": "^10.0.0", "eslint-plugin-storybook": "^0.6.12", "eslint-plugin-unicorn": "^47.0.0", "eslint-plugin-unused-imports": "^2.0.0", "execa": "^7.1.1", "husky": "^8.0.3", "lint-staged": "^13.2.2", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", "rimraf": "^5.0.1", "tsup": "^7.1.0", "typescript": "^5.1.3", "vite": "^4.3.9", "vitest": "^0.32.2" }, "auto": { "plugins": [ "npm", "all-contributors", "first-time-contributor", "released" ] }, "dependencies": { "find-up": "^6.3.0", "strip-json-comments": "^5.0.1" }, "author": "Kevin Ross <kevin.ross@alienfast.com>" }