Skip to content

Commit 1fe53c7

Browse files
chore: move pnpm settings to pnpm-workspace.yaml (#10828)
* chore: move pnpm settings to pnpm-workspace.yaml * chore: remove contentlayer remains --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 3b76c70 commit 1fe53c7

File tree

8 files changed

+37
-65
lines changed

8 files changed

+37
-65
lines changed

.npmrc

-6
This file was deleted.

apps/website/.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ pids
1616
.env*.local
1717

1818
# Dist
19-
.contentlayer
2019
.next
2120
public/searchIndex
2221
src/assets/readme

biome.json

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"ignore": [
1111
".turbo",
1212
".vercel",
13-
".contentlayer",
1413
".next",
1514
"coverage",
1615
"dist",

package.json

+1-35
Original file line numberDiff line numberDiff line change
@@ -75,42 +75,8 @@
7575
"vercel": "^41.4.1",
7676
"vitest": "^3.1.1"
7777
},
78-
"pnpm": {
79-
"peerDependencyRules": {
80-
"ignoreMissing": [
81-
"*"
82-
],
83-
"allowAny": [
84-
"*"
85-
]
86-
},
87-
"overrides": {
88-
"@contentlayer/utils>@opentelemetry/core": "^1.15.1",
89-
"@contentlayer/utils>@opentelemetry/exporter-trace-otlp-grpc": "^0.41.1",
90-
"@contentlayer/utils>@opentelemetry/resources": "^1.15.1",
91-
"@contentlayer/utils>@opentelemetry/sdk-trace-base": "^1.15.1",
92-
"@contentlayer/utils>@opentelemetry/sdk-trace-node": "^1.15.1",
93-
"@contentlayer/utils>@opentelemetry/semantic-conventions": "^1.15.1"
94-
},
95-
"patchedDependencies": {
96-
"@microsoft/tsdoc-config": "patches/@microsoft__tsdoc-config.patch"
97-
},
98-
"ignoredBuiltDependencies": [
99-
"core-js-pure"
100-
],
101-
"onlyBuiltDependencies": [
102-
"@discordjs/opus",
103-
"bufferutil",
104-
"contentlayer",
105-
"esbuild",
106-
"protobufjs",
107-
"sharp",
108-
"utf-8-validate",
109-
"zlib-sync"
110-
]
111-
},
11278
"engines": {
11379
"node": ">=22.12.0"
11480
},
115-
"packageManager": "pnpm@10.7.1"
81+
"packageManager": "pnpm@10.8.0"
11682
}

pnpm-lock.yaml

-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

+31-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
autoInstallPeers: false
2+
3+
ignoredBuiltDependencies:
4+
- core-js-pure
5+
6+
onlyBuiltDependencies:
7+
- '@discordjs/opus'
8+
- bufferutil
9+
- esbuild
10+
- protobufjs
11+
- sharp
12+
- utf-8-validate
13+
- zlib-sync
14+
115
packages:
2-
- 'apps/*'
3-
- 'packages/*'
16+
- apps/*
17+
- packages/*
18+
19+
patchedDependencies:
20+
'@microsoft/tsdoc-config': patches/@microsoft__tsdoc-config.patch
21+
22+
peerDependencyRules:
23+
ignoreMissing:
24+
- '*'
25+
allowAny:
26+
- '*'
27+
28+
publicHoistPattern:
29+
- '*eslint*'
30+
- '*prettier*'
31+
- '*@rushstack/node-core-library*'
32+
- '*jju*'

turbo.json

+4-11
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@
2323
"public/**",
2424
"src/**",
2525
"!src/styles/unocss.css",
26-
"contentlayer.config.ts",
2726
"next.config.js",
2827
"package.json",
2928
"tsconfig.json"
3029
],
31-
"outputs": [".next/**", ".next/cache/**", ".contentlayer/**"],
30+
"outputs": [".next/**", ".next/cache/**"],
3231
"outputLogs": "full"
3332
},
3433
"@discordjs/guide#build:prod": {
@@ -37,12 +36,11 @@
3736
"public/**",
3837
"src/**",
3938
"!src/styles/unocss.css",
40-
"contentlayer.config.ts",
4139
"next.config.js",
4240
"package.json",
4341
"tsconfig.json"
4442
],
45-
"outputs": [".next/**", ".next/cache/**", ".contentlayer/**"],
43+
"outputs": [".next/**", ".next/cache/**"],
4644
"outputLogs": "full"
4745
},
4846
"@discordjs/website#build:local": {
@@ -79,11 +77,6 @@
7977
"outputs": [".next/**", ".next/cache/**", "src/assets/readme/**"],
8078
"outputLogs": "full"
8179
},
82-
"@discordjs/guide#generate:contentlayer": {
83-
"inputs": ["src/**/*.mdx"],
84-
"outputs": [".contentlayer/**"],
85-
"outputLogs": "errors-only"
86-
},
8780
"test": {
8881
"dependsOn": ["^build"],
8982
"inputs": ["__mocks__/**", "__tests__/**", "src/**", "jest.config.js", "package.json", "tsconfig.json"],
@@ -107,7 +100,7 @@
107100
"outputLogs": "errors-only"
108101
},
109102
"@discordjs/guide#lint": {
110-
"dependsOn": ["^build", "build:local", "generate:contentlayer"],
103+
"dependsOn": ["^build", "build:local"],
111104
"inputs": [
112105
"../../eslint.config.js",
113106
"../../.prettierrc.json",
@@ -151,7 +144,7 @@
151144
"outputLogs": "errors-only"
152145
},
153146
"@discordjs/guide#format": {
154-
"dependsOn": ["^build", "generate:contentlayer"],
147+
"dependsOn": ["^build"],
155148
"inputs": [
156149
"../../eslint.config.js",
157150
"../../.prettierrc.json",

unocss.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { defineConfig, presetTypography, presetUno } from 'unocss';
33

44
export default defineConfig({
55
content: {
6-
filesystem: ['src/**/*.tsx', 'contentlayer.config.ts', '../../packages/ui/src/lib/components/**/*.tsx'],
6+
filesystem: ['src/**/*.tsx', '../../packages/ui/src/lib/components/**/*.tsx'],
77
},
88
theme: {
99
colors: {

0 commit comments

Comments
 (0)