mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
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>
This commit is contained in:
6
.npmrc
6
.npmrc
@@ -1,6 +0,0 @@
|
|||||||
auto-install-peers=false
|
|
||||||
resolution-mode=highest
|
|
||||||
public-hoist-pattern[]=*eslint*
|
|
||||||
public-hoist-pattern[]=*prettier*
|
|
||||||
public-hoist-pattern[]=*@rushstack/node-core-library*
|
|
||||||
public-hoist-pattern[]=*jju*
|
|
||||||
1
apps/website/.gitignore
vendored
1
apps/website/.gitignore
vendored
@@ -16,7 +16,6 @@ pids
|
|||||||
.env*.local
|
.env*.local
|
||||||
|
|
||||||
# Dist
|
# Dist
|
||||||
.contentlayer
|
|
||||||
.next
|
.next
|
||||||
public/searchIndex
|
public/searchIndex
|
||||||
src/assets/readme
|
src/assets/readme
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
"ignore": [
|
"ignore": [
|
||||||
".turbo",
|
".turbo",
|
||||||
".vercel",
|
".vercel",
|
||||||
".contentlayer",
|
|
||||||
".next",
|
".next",
|
||||||
"coverage",
|
"coverage",
|
||||||
"dist",
|
"dist",
|
||||||
|
|||||||
36
package.json
36
package.json
@@ -75,42 +75,8 @@
|
|||||||
"vercel": "^41.4.1",
|
"vercel": "^41.4.1",
|
||||||
"vitest": "^3.1.1"
|
"vitest": "^3.1.1"
|
||||||
},
|
},
|
||||||
"pnpm": {
|
|
||||||
"peerDependencyRules": {
|
|
||||||
"ignoreMissing": [
|
|
||||||
"*"
|
|
||||||
],
|
|
||||||
"allowAny": [
|
|
||||||
"*"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"overrides": {
|
|
||||||
"@contentlayer/utils>@opentelemetry/core": "^1.15.1",
|
|
||||||
"@contentlayer/utils>@opentelemetry/exporter-trace-otlp-grpc": "^0.41.1",
|
|
||||||
"@contentlayer/utils>@opentelemetry/resources": "^1.15.1",
|
|
||||||
"@contentlayer/utils>@opentelemetry/sdk-trace-base": "^1.15.1",
|
|
||||||
"@contentlayer/utils>@opentelemetry/sdk-trace-node": "^1.15.1",
|
|
||||||
"@contentlayer/utils>@opentelemetry/semantic-conventions": "^1.15.1"
|
|
||||||
},
|
|
||||||
"patchedDependencies": {
|
|
||||||
"@microsoft/tsdoc-config": "patches/@microsoft__tsdoc-config.patch"
|
|
||||||
},
|
|
||||||
"ignoredBuiltDependencies": [
|
|
||||||
"core-js-pure"
|
|
||||||
],
|
|
||||||
"onlyBuiltDependencies": [
|
|
||||||
"@discordjs/opus",
|
|
||||||
"bufferutil",
|
|
||||||
"contentlayer",
|
|
||||||
"esbuild",
|
|
||||||
"protobufjs",
|
|
||||||
"sharp",
|
|
||||||
"utf-8-validate",
|
|
||||||
"zlib-sync"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=22.12.0"
|
"node": ">=22.12.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.7.1"
|
"packageManager": "pnpm@10.8.0"
|
||||||
}
|
}
|
||||||
|
|||||||
8
pnpm-lock.yaml
generated
8
pnpm-lock.yaml
generated
@@ -4,14 +4,6 @@ settings:
|
|||||||
autoInstallPeers: false
|
autoInstallPeers: false
|
||||||
excludeLinksFromLockfile: false
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
overrides:
|
|
||||||
'@contentlayer/utils>@opentelemetry/core': ^1.15.1
|
|
||||||
'@contentlayer/utils>@opentelemetry/exporter-trace-otlp-grpc': ^0.41.1
|
|
||||||
'@contentlayer/utils>@opentelemetry/resources': ^1.15.1
|
|
||||||
'@contentlayer/utils>@opentelemetry/sdk-trace-base': ^1.15.1
|
|
||||||
'@contentlayer/utils>@opentelemetry/sdk-trace-node': ^1.15.1
|
|
||||||
'@contentlayer/utils>@opentelemetry/semantic-conventions': ^1.15.1
|
|
||||||
|
|
||||||
patchedDependencies:
|
patchedDependencies:
|
||||||
'@microsoft/tsdoc-config':
|
'@microsoft/tsdoc-config':
|
||||||
hash: 96d7f4c962bda3b7fefb9be332eb6b1de236ee66cf4d00de1441904355148331
|
hash: 96d7f4c962bda3b7fefb9be332eb6b1de236ee66cf4d00de1441904355148331
|
||||||
|
|||||||
@@ -1,3 +1,32 @@
|
|||||||
|
autoInstallPeers: false
|
||||||
|
|
||||||
|
ignoredBuiltDependencies:
|
||||||
|
- core-js-pure
|
||||||
|
|
||||||
|
onlyBuiltDependencies:
|
||||||
|
- '@discordjs/opus'
|
||||||
|
- bufferutil
|
||||||
|
- esbuild
|
||||||
|
- protobufjs
|
||||||
|
- sharp
|
||||||
|
- utf-8-validate
|
||||||
|
- zlib-sync
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
- 'apps/*'
|
- apps/*
|
||||||
- 'packages/*'
|
- packages/*
|
||||||
|
|
||||||
|
patchedDependencies:
|
||||||
|
'@microsoft/tsdoc-config': patches/@microsoft__tsdoc-config.patch
|
||||||
|
|
||||||
|
peerDependencyRules:
|
||||||
|
ignoreMissing:
|
||||||
|
- '*'
|
||||||
|
allowAny:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
publicHoistPattern:
|
||||||
|
- '*eslint*'
|
||||||
|
- '*prettier*'
|
||||||
|
- '*@rushstack/node-core-library*'
|
||||||
|
- '*jju*'
|
||||||
|
|||||||
15
turbo.json
15
turbo.json
@@ -23,12 +23,11 @@
|
|||||||
"public/**",
|
"public/**",
|
||||||
"src/**",
|
"src/**",
|
||||||
"!src/styles/unocss.css",
|
"!src/styles/unocss.css",
|
||||||
"contentlayer.config.ts",
|
|
||||||
"next.config.js",
|
"next.config.js",
|
||||||
"package.json",
|
"package.json",
|
||||||
"tsconfig.json"
|
"tsconfig.json"
|
||||||
],
|
],
|
||||||
"outputs": [".next/**", ".next/cache/**", ".contentlayer/**"],
|
"outputs": [".next/**", ".next/cache/**"],
|
||||||
"outputLogs": "full"
|
"outputLogs": "full"
|
||||||
},
|
},
|
||||||
"@discordjs/guide#build:prod": {
|
"@discordjs/guide#build:prod": {
|
||||||
@@ -37,12 +36,11 @@
|
|||||||
"public/**",
|
"public/**",
|
||||||
"src/**",
|
"src/**",
|
||||||
"!src/styles/unocss.css",
|
"!src/styles/unocss.css",
|
||||||
"contentlayer.config.ts",
|
|
||||||
"next.config.js",
|
"next.config.js",
|
||||||
"package.json",
|
"package.json",
|
||||||
"tsconfig.json"
|
"tsconfig.json"
|
||||||
],
|
],
|
||||||
"outputs": [".next/**", ".next/cache/**", ".contentlayer/**"],
|
"outputs": [".next/**", ".next/cache/**"],
|
||||||
"outputLogs": "full"
|
"outputLogs": "full"
|
||||||
},
|
},
|
||||||
"@discordjs/website#build:local": {
|
"@discordjs/website#build:local": {
|
||||||
@@ -79,11 +77,6 @@
|
|||||||
"outputs": [".next/**", ".next/cache/**", "src/assets/readme/**"],
|
"outputs": [".next/**", ".next/cache/**", "src/assets/readme/**"],
|
||||||
"outputLogs": "full"
|
"outputLogs": "full"
|
||||||
},
|
},
|
||||||
"@discordjs/guide#generate:contentlayer": {
|
|
||||||
"inputs": ["src/**/*.mdx"],
|
|
||||||
"outputs": [".contentlayer/**"],
|
|
||||||
"outputLogs": "errors-only"
|
|
||||||
},
|
|
||||||
"test": {
|
"test": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
"inputs": ["__mocks__/**", "__tests__/**", "src/**", "jest.config.js", "package.json", "tsconfig.json"],
|
"inputs": ["__mocks__/**", "__tests__/**", "src/**", "jest.config.js", "package.json", "tsconfig.json"],
|
||||||
@@ -107,7 +100,7 @@
|
|||||||
"outputLogs": "errors-only"
|
"outputLogs": "errors-only"
|
||||||
},
|
},
|
||||||
"@discordjs/guide#lint": {
|
"@discordjs/guide#lint": {
|
||||||
"dependsOn": ["^build", "build:local", "generate:contentlayer"],
|
"dependsOn": ["^build", "build:local"],
|
||||||
"inputs": [
|
"inputs": [
|
||||||
"../../eslint.config.js",
|
"../../eslint.config.js",
|
||||||
"../../.prettierrc.json",
|
"../../.prettierrc.json",
|
||||||
@@ -151,7 +144,7 @@
|
|||||||
"outputLogs": "errors-only"
|
"outputLogs": "errors-only"
|
||||||
},
|
},
|
||||||
"@discordjs/guide#format": {
|
"@discordjs/guide#format": {
|
||||||
"dependsOn": ["^build", "generate:contentlayer"],
|
"dependsOn": ["^build"],
|
||||||
"inputs": [
|
"inputs": [
|
||||||
"../../eslint.config.js",
|
"../../eslint.config.js",
|
||||||
"../../.prettierrc.json",
|
"../../.prettierrc.json",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { defineConfig, presetTypography, presetUno } from 'unocss';
|
|||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
content: {
|
content: {
|
||||||
filesystem: ['src/**/*.tsx', 'contentlayer.config.ts', '../../packages/ui/src/lib/components/**/*.tsx'],
|
filesystem: ['src/**/*.tsx', '../../packages/ui/src/lib/components/**/*.tsx'],
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
colors: {
|
colors: {
|
||||||
|
|||||||
Reference in New Issue
Block a user