-
Notifications
You must be signed in to change notification settings - Fork 86
/
.npmrc
14 lines (13 loc) · 578 Bytes
/
.npmrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# When install package, make it version to "*"
save-workspace-protocol = rolling
save-prefix = ''
# Add common config to sub package, use public-hoist-pattern avoid some package need to be root location
# When use npm8.x, array is not effect. see https://github.com/pnpm/pnpm/issues/5347
public-hoist-pattern[] = *eslint*
public-hoist-pattern[] = *postcss*
public-hoist-pattern[] = *stylelint*
public-hoist-pattern[] = *prettier*
public-hoist-pattern[] = lint-staged
public-hoist-pattern[] = *@commitlint*
public-hoist-pattern[] = czg
public-hoist-pattern[] = simple-git-hooks