Files
pnpm/workspace/state/src/filePath.ts
Zoltan Kochan 5d5818e44f style: enforce node: protocol for builtin imports (#10951)
Add n/prefer-node-protocol rule and autofix all bare builtin imports
to use the node: prefix. Simplify the simple-import-sort builtins
pattern to just ^node: since all imports now use the prefix.
2026-03-13 07:59:51 +01:00

5 lines
166 B
TypeScript

import path from 'node:path'
export const getFilePath = (workspaceDir: string): string =>
path.join(workspaceDir, 'node_modules', '.pnpm-workspace-state-v1.json')