Skip to content

Commit 3dbbbc0

Browse files
committed
deps(moon): Update to v0.20.
1 parent 3c90efd commit 3dbbbc0

9 files changed

Lines changed: 92 additions & 82 deletions

File tree

.moon/oss/project-packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ tasks:
5757
- '**/*.{md,mdx,yml,yaml,json}'
5858
- '/.prettierignore'
5959
- '/.prettierrc.js'
60-
options:
61-
cache: false
60+
# options:
61+
# cache: false
6262

6363
# https://moonrepo.dev/docs/guides/examples/eslint
6464
lint:

.moon/oss/toolchain.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
$schema: 'https://moonrepo.dev/schemas/toolchain.json'
2+
3+
# https://moonrepo.dev/docs/config/workspace#node
4+
node:
5+
version: '18.12.0'
6+
packageManager: 'yarn'
7+
yarn:
8+
version: '3.2.4'
9+
plugins:
10+
- 'interactive-tools'
11+
- 'version'
12+
- 'workspace-tools'
13+
14+
# Do not add an engines constraint as its abrasive for open source.
15+
addEnginesConstraint: false
16+
17+
# Always dedupe lockfile to keep it healthy.
18+
dedupeOnLockfileChange: true
19+
20+
# Use workspace ranges when syncing projects.
21+
dependencyVersionFormat: 'workspace-caret'
22+
syncProjectWorkspaceDependencies: true
23+
24+
# Allow contributors to easily use the correct version.
25+
syncVersionManagerConfig: 'nvm'
26+
27+
# Do not infer functionality from `package.json`, as we want to encourage
28+
# consumers to embrace moon.
29+
aliasPackageNames: null
30+
inferTasksFromScripts: false
31+
32+
# https://moonrepo.dev/docs/config/workspace#typescript
33+
typescript:
34+
# Always create a missing config so we can catch misconfigured projects.
35+
createMissingConfig: true
36+
37+
# Always route project reference declarations outside of the project.
38+
routeOutDirToCache: true
39+
40+
# Always sync project references to keep it healthy.
41+
syncProjectReferences: true
42+
43+
# Do not add path aliases, as this may be abrasive. Consumers can opt-in.
44+
syncProjectReferencesToPaths: false

.moon/oss/workspace.yml

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,5 @@
11
$schema: 'https://moonrepo.dev/schemas/workspace.json'
22

3-
# https://moonrepo.dev/docs/config/workspace#node
4-
node:
5-
version: '18.12.0'
6-
packageManager: 'yarn'
7-
yarn:
8-
version: '3.2.4'
9-
plugins:
10-
- 'interactive-tools'
11-
- 'version'
12-
- 'workspace-tools'
13-
14-
# Do not add an engines constraint as its abrasive for open source.
15-
addEnginesConstraint: false
16-
17-
# Always dedupe lockfile to keep it healthy.
18-
dedupeOnLockfileChange: true
19-
20-
# Use workspace ranges when syncing projects.
21-
dependencyVersionFormat: 'workspace-caret'
22-
syncProjectWorkspaceDependencies: true
23-
24-
# Allow contributors to easily use the correct version.
25-
syncVersionManagerConfig: 'nvm'
26-
27-
# Do not infer functionality from `package.json`, as we want to encourage
28-
# consumers to embrace moon.
29-
aliasPackageNames: null
30-
inferTasksFromScripts: false
31-
32-
# https://moonrepo.dev/docs/config/workspace#typescript
33-
typescript:
34-
# Always create a missing config so we can catch misconfigured projects.
35-
createMissingConfig: true
36-
37-
# Always route project reference declarations outside of the project.
38-
routeOutDirToCache: true
39-
40-
# Always sync project references to keep it healthy.
41-
syncProjectReferences: true
42-
43-
# Do not add path aliases, as this may be abrasive. Consumers can opt-in.
44-
syncProjectReferencesToPaths: false
45-
463
# https://moonrepo.dev/docs/config/workspace#runner
474
runner:
485
# Instead of fine tuning each project, always build dependencies and rely on the cache.

.moon/toolchain.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
$schema: 'https://moonrepo.dev/schemas/toolchain.json'
2+
3+
extends: './oss/toolchain.yml'

.moon/workspace.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ runner:
66
implicitInputs:
77
- 'package.json'
88
- '/.moon/oss/project.yml'
9+
- '/.moon/oss/toolchain.yml'
910
- '/.moon/oss/workspace.yml'
1011
- '/.moon/project.yml'
12+
- '/.moon/toolchain.yml'
1113
- '/.moon/workspace.yml'
1214

1315
projects:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"devDependencies": {
1515
"@babel/core": "^7.20.2",
16-
"@moonrepo/cli": "^0.19.0",
16+
"@moonrepo/cli": "^0.20.0",
1717
"@moonrepo/dev": "workspace:*",
1818
"eslint": "^8.27.0",
1919
"jest": "^29.3.1",

packages/prettier-config/moon.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
type: 'library'
22

3+
toolchain:
4+
typescript: false
5+
36
workspace:
47
inheritedTasks:
58
exclude: ['build', 'typecheck']
6-
typescript: false

packages/tsconfig/moon.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
type: 'library'
22

3+
toolchain:
4+
typescript: false
5+
36
workspace:
47
inheritedTasks:
58
exclude: ['build', 'typecheck']
6-
typescript: false

yarn.lock

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2870,17 +2870,17 @@ __metadata:
28702870
languageName: node
28712871
linkType: hard
28722872

2873-
"@moonrepo/cli@npm:^0.19.0":
2874-
version: 0.19.0
2875-
resolution: "@moonrepo/cli@npm:0.19.0"
2876-
dependencies:
2877-
"@moonrepo/core-linux-arm64-gnu": ^0.19.0
2878-
"@moonrepo/core-linux-arm64-musl": ^0.19.0
2879-
"@moonrepo/core-linux-x64-gnu": ^0.19.0
2880-
"@moonrepo/core-linux-x64-musl": ^0.19.0
2881-
"@moonrepo/core-macos-arm64": ^0.19.0
2882-
"@moonrepo/core-macos-x64": ^0.19.0
2883-
"@moonrepo/core-windows-x64-msvc": ^0.19.0
2873+
"@moonrepo/cli@npm:^0.20.0":
2874+
version: 0.20.0
2875+
resolution: "@moonrepo/cli@npm:0.20.0"
2876+
dependencies:
2877+
"@moonrepo/core-linux-arm64-gnu": ^0.20.0
2878+
"@moonrepo/core-linux-arm64-musl": ^0.20.0
2879+
"@moonrepo/core-linux-x64-gnu": ^0.20.0
2880+
"@moonrepo/core-linux-x64-musl": ^0.20.0
2881+
"@moonrepo/core-macos-arm64": ^0.20.0
2882+
"@moonrepo/core-macos-x64": ^0.20.0
2883+
"@moonrepo/core-windows-x64-msvc": ^0.20.0
28842884
detect-libc: ^2.0.1
28852885
dependenciesMeta:
28862886
"@moonrepo/core-linux-arm64-gnu":
@@ -2899,55 +2899,55 @@ __metadata:
28992899
optional: true
29002900
bin:
29012901
moon: moon
2902-
checksum: 13421c1bc23a1956a79bc16acfe1a0dd9dc7732073daced1f997af25f79995df2846fc88edf1d7ab2f012ba2da4ac800c1bcd2feffe45d76a5d42766f12e5b8a
2902+
checksum: 98a6c97e9af4acb732a4a8ef22e10895beba500abb373084fb41f51ae696ba9cc1f5479ec75faa4c8de17fef8c4d70b8e6888b69966ad6d5c928de55c6411c8a
29032903
languageName: node
29042904
linkType: hard
29052905

2906-
"@moonrepo/core-linux-arm64-gnu@npm:^0.19.0":
2907-
version: 0.19.0
2908-
resolution: "@moonrepo/core-linux-arm64-gnu@npm:0.19.0"
2906+
"@moonrepo/core-linux-arm64-gnu@npm:^0.20.0":
2907+
version: 0.20.0
2908+
resolution: "@moonrepo/core-linux-arm64-gnu@npm:0.20.0"
29092909
conditions: os=linux & cpu=arm64 & libc=glibc
29102910
languageName: node
29112911
linkType: hard
29122912

2913-
"@moonrepo/core-linux-arm64-musl@npm:^0.19.0":
2914-
version: 0.19.0
2915-
resolution: "@moonrepo/core-linux-arm64-musl@npm:0.19.0"
2913+
"@moonrepo/core-linux-arm64-musl@npm:^0.20.0":
2914+
version: 0.20.0
2915+
resolution: "@moonrepo/core-linux-arm64-musl@npm:0.20.0"
29162916
conditions: os=linux & cpu=arm64 & libc=musl
29172917
languageName: node
29182918
linkType: hard
29192919

2920-
"@moonrepo/core-linux-x64-gnu@npm:^0.19.0":
2921-
version: 0.19.0
2922-
resolution: "@moonrepo/core-linux-x64-gnu@npm:0.19.0"
2920+
"@moonrepo/core-linux-x64-gnu@npm:^0.20.0":
2921+
version: 0.20.0
2922+
resolution: "@moonrepo/core-linux-x64-gnu@npm:0.20.0"
29232923
conditions: os=linux & cpu=x64 & libc=glibc
29242924
languageName: node
29252925
linkType: hard
29262926

2927-
"@moonrepo/core-linux-x64-musl@npm:^0.19.0":
2928-
version: 0.19.0
2929-
resolution: "@moonrepo/core-linux-x64-musl@npm:0.19.0"
2927+
"@moonrepo/core-linux-x64-musl@npm:^0.20.0":
2928+
version: 0.20.0
2929+
resolution: "@moonrepo/core-linux-x64-musl@npm:0.20.0"
29302930
conditions: os=linux & cpu=x64 & libc=musl
29312931
languageName: node
29322932
linkType: hard
29332933

2934-
"@moonrepo/core-macos-arm64@npm:^0.19.0":
2935-
version: 0.19.0
2936-
resolution: "@moonrepo/core-macos-arm64@npm:0.19.0"
2934+
"@moonrepo/core-macos-arm64@npm:^0.20.0":
2935+
version: 0.20.0
2936+
resolution: "@moonrepo/core-macos-arm64@npm:0.20.0"
29372937
conditions: os=darwin & cpu=arm64
29382938
languageName: node
29392939
linkType: hard
29402940

2941-
"@moonrepo/core-macos-x64@npm:^0.19.0":
2942-
version: 0.19.0
2943-
resolution: "@moonrepo/core-macos-x64@npm:0.19.0"
2941+
"@moonrepo/core-macos-x64@npm:^0.20.0":
2942+
version: 0.20.0
2943+
resolution: "@moonrepo/core-macos-x64@npm:0.20.0"
29442944
conditions: os=darwin & cpu=x64
29452945
languageName: node
29462946
linkType: hard
29472947

2948-
"@moonrepo/core-windows-x64-msvc@npm:^0.19.0":
2949-
version: 0.19.0
2950-
resolution: "@moonrepo/core-windows-x64-msvc@npm:0.19.0"
2948+
"@moonrepo/core-windows-x64-msvc@npm:^0.20.0":
2949+
version: 0.20.0
2950+
resolution: "@moonrepo/core-windows-x64-msvc@npm:0.20.0"
29512951
conditions: os=win32 & cpu=x64
29522952
languageName: node
29532953
linkType: hard
@@ -9728,7 +9728,7 @@ __metadata:
97289728
resolution: "moon-dev@workspace:."
97299729
dependencies:
97309730
"@babel/core": ^7.20.2
9731-
"@moonrepo/cli": ^0.19.0
9731+
"@moonrepo/cli": ^0.20.0
97329732
"@moonrepo/dev": "workspace:*"
97339733
eslint: ^8.27.0
97349734
jest: ^29.3.1

0 commit comments

Comments
 (0)