0.13.0 • Published 10 months ago
turborepo-tools v0.13.0
turborepo-tools
move-root-deps
Moves dependencies from root package.json
to the packages
in your monorepo where they are imported.
npx -p turborepo-tools move-root-deps -d .
Options
Name | Short | Description |
---|---|---|
--directory (req) | -d | path to your monorepo. Can be a relative path |
--limit | -l | Limit the number of deps to move |
--dry-run | Log and exit | |
--pristine | -p | Specify dirs you don't want to touch |
--skip | -s | Skip some deps, can use multiple times |
--skip-prefix | Same idea as --skip | |
--only | Move only the dep specified, can use multiple times | |
--only-prefix | Same idea as --only | |
--include-dev | Includes devDependencies (default true) |
self-imports
npx -p turborepo-tools fix-self-imports -d .
Options
Name | Short | Description |
---|---|---|
--directory (req) | -d | path to your monorepo. Can be a relative path |
--dry-run | Log and exit | |
--limit | -l | Limit the number of deps to move |
--only | Move only the dep specified. Can use multiple times |
get-deps
npx -p turborepo-tools get-deps -d . -p @internal/foo
Options
Name | Short | Description |
---|---|---|
--directory (req) | -d | path to your monorepo. Can be a relative path |
--package | -p | Required. specify a single package |
--recursive | -r | Crawl up the dependent tree |
footprint
npx -p turborepo-tools footprint -d . -p @internal/foo
Name | Short | Description |
---|---|---|
--directory (req) | -d | path to your monorepo. Can be a relative path |
--package | -p | Required. specify a single package |
has-script
Checks all packages for a given script.
npx -p turborepo-tools has-script -d . -t test
Options
Name | Short | Description |
---|---|---|
--directory (req) | -d | path to your monorepo. Can be a relative path |
--task | -t | Required. specify the script you are looking for |
0.13.0
10 months ago
0.12.0
11 months ago
0.11.1
11 months ago
0.11.0
11 months ago
0.10.3
11 months ago
0.10.2
11 months ago
0.10.1
11 months ago
0.10.0
11 months ago
0.9.0
11 months ago
0.8.0
1 year ago
0.7.5
1 year ago
0.7.4
1 year ago
0.7.3
1 year ago
0.7.2
1 year ago
0.7.1
1 year ago
0.6.0
1 year ago
0.5.4
1 year ago
0.5.3
1 year ago
0.5.2
1 year ago
0.5.1
1 year ago
0.5.0
1 year ago