-
Notifications
You must be signed in to change notification settings - Fork 30
/
.yarnrc.yml
54 lines (43 loc) · 1.72 KB
/
.yarnrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# yarnrc.yml config explained here https://yarnpkg.com/configuration/yarnrc
defaultSemverRangePrefix: ''
# Let the cache lives in the current project directory so that it can be pruned
# when deps are changed (allows smarter caching on CI for example)
enableGlobalCache: false
# Keep the linker to traditional node-modules.
nodeLinker: node-modules
# Reduces storage size of node_modules, hardlinks-global is a good alternative too
# but sometimes fails with docker.
nmMode: hardlinks-local
# Whenever a package has specified incorrectly its dependencies.
# @link https://yarnpkg.com/configuration/yarnrc#packageExtensions
packageExtensions:
# link https://github.com/jagaapple/next-secure-headers/pull/54
'next-secure-headers@*':
peerDependencies:
react: ^18.0.0
# Allows limiting download of native binaries to specified platforms (ie: swc, esbuild...)
# @link https://yarnpkg.com/configuration/yarnrc#supportedArchitectures
supportedArchitectures:
cpu:
- current
os:
- current
# Override defaults in yarn, used for workspaces foreach --since.
# @link https://yarnpkg.com/cli/workspaces/foreach
# @link https://yarnpkg.com/configuration/yarnrc#changesetBaseRefs
changesetBaseRefs:
- 'main'
- 'origin/main'
- 'upstream/main'
# https://yarnpkg.com/configuration/yarnrc#changesetIgnorePatterns
changesetIgnorePatterns:
- '**/*.test.{js,ts}'
- '**/*.spec.{js,ts}'
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: '@yarnpkg/plugin-interactive-tools'
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: '@yarnpkg/plugin-workspace-tools'
- path: .yarn/plugins/@yarnpkg/plugin-constraints.cjs
spec: '@yarnpkg/plugin-constraints'
yarnPath: .yarn/releases/yarn-3.2.0.cjs