Skip to content

Commit

Permalink
chore: @types/node and unocss fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iCrawl committed Nov 6, 2023
1 parent a1abc6b commit 344a3f9
Show file tree
Hide file tree
Showing 40 changed files with 286 additions and 229 deletions.
2 changes: 1 addition & 1 deletion apps/guide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/html-escaper": "^3.0.1",
"@types/node": "18.17.9",
"@types/node": "18.18.8",
"@types/react": "^18.2.36",
"@types/react-dom": "^18.2.14",
"@unocss/eslint-plugin": "^0.57.2",
Expand Down
4 changes: 1 addition & 3 deletions apps/guide/postcss.config.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module.exports = {
plugins: {
'@unocss/postcss': {
content: ['src/**/*.tsx', 'contentlayer.config.ts', '../../packages/ui/src/lib/components/**/*.tsx'],
},
'@unocss/postcss': {},
},
};
2 changes: 1 addition & 1 deletion apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"@next/bundle-analyzer": "^14.0.1",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/node": "18.17.9",
"@types/node": "18.18.8",
"@types/react": "^18.2.36",
"@types/react-dom": "^18.2.14",
"@unocss/eslint-plugin": "^0.57.2",
Expand Down
4 changes: 1 addition & 3 deletions apps/website/postcss.config.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module.exports = {
plugins: {
'@unocss/postcss': {
content: ['src/**/*.tsx', '../../packages/ui/src/lib/components/**/*.tsx'],
},
'@unocss/postcss': {},
},
};
2 changes: 1 addition & 1 deletion packages/actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"undici": "5.27.2"
},
"devDependencies": {
"@types/node": "16.18.44",
"@types/node": "16.18.60",
"@vitest/coverage-v8": "^0.34.6",
"cross-env": "^7.0.3",
"eslint": "^8.53.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/api-extractor-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@microsoft/tsdoc": "0.14.2"
},
"devDependencies": {
"@types/node": "16.18.44",
"@types/node": "16.18.60",
"cross-env": "^7.0.3",
"eslint": "^8.53.0",
"eslint-config-neon": "^0.1.57",
Expand Down
2 changes: 1 addition & 1 deletion packages/brokers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"devDependencies": {
"@favware/cliff-jumper": "^2.2.1",
"@microsoft/api-extractor": "^7.38.2",
"@types/node": "16.18.44",
"@types/node": "16.18.60",
"@vitest/coverage-v8": "^0.34.6",
"cross-env": "^7.0.3",
"eslint": "^8.53.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/brokers/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.docs.json",
"include": ["src/**/*.ts"],
"compilerOptions": {
"outDir": "dist-docs"
}
},
"include": ["src/**/*.ts"]
}
2 changes: 1 addition & 1 deletion packages/builders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"devDependencies": {
"@favware/cliff-jumper": "^2.2.1",
"@microsoft/api-extractor": "^7.38.2",
"@types/node": "16.18.44",
"@types/node": "16.18.60",
"@vitest/coverage-v8": "^0.34.6",
"cross-env": "^7.0.3",
"downlevel-dts": "^0.11.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/builders/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.docs.json",
"include": ["src/**/*.ts"],
"compilerOptions": {
"outDir": "dist-docs",
"exactOptionalPropertyTypes": false
}
},
"include": ["src/**/*.ts"]
}
2 changes: 1 addition & 1 deletion packages/collection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"devDependencies": {
"@favware/cliff-jumper": "^2.2.1",
"@microsoft/api-extractor": "^7.38.2",
"@types/node": "16.18.44",
"@types/node": "16.18.60",
"@vitest/coverage-v8": "^0.34.6",
"cross-env": "^7.0.3",
"esbuild-plugin-version-injector": "^1.2.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/collection/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.docs.json",
"include": ["src/**/*.ts"],
"compilerOptions": {
"outDir": "dist-docs"
}
},
"include": ["src/**/*.ts"]
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"devDependencies": {
"@favware/cliff-jumper": "^2.2.1",
"@microsoft/api-extractor": "^7.38.2",
"@types/node": "18.17.9",
"@types/node": "18.18.8",
"@vitest/coverage-v8": "^0.34.6",
"cross-env": "^7.0.3",
"esbuild-plugin-version-injector": "^1.2.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.docs.json",
"include": ["src/**/*.ts"],
"compilerOptions": {
"outDir": "dist-docs"
}
},
"include": ["src/**/*.ts"]
}
2 changes: 1 addition & 1 deletion packages/create-discord-bot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"devDependencies": {
"@favware/cliff-jumper": "^2.2.1",
"@microsoft/api-extractor": "^7.38.2",
"@types/node": "16.18.44",
"@types/node": "16.18.60",
"@types/prompts": "^2.4.7",
"@types/validate-npm-package-name": "^4.0.1",
"@vitest/coverage-v8": "^0.34.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
},
"devDependencies": {
"@sapphire/ts-config": "^4.0.1",
"eslint": "^8.47.0",
"eslint-config-neon": "^0.1.56",
"eslint": "^8.53.0",
"eslint-config-neon": "^0.1.57",
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.2"
"prettier": "^3.0.3"
}
}
10 changes: 5 additions & 5 deletions packages/create-discord-bot/template/Bun/TypeScript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"discord.js": "^14.13.0"
},
"devDependencies": {
"@sapphire/ts-config": "^4.0.1",
"bun-types": "^0.7.3",
"eslint": "^8.47.0",
"eslint-config-neon": "^0.1.56",
"@sapphire/ts-config": "^5.0.0",
"bun-types": "^1.0.9",
"eslint": "^8.53.0",
"eslint-config-neon": "^0.1.57",
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.2",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
}
}
6 changes: 3 additions & 3 deletions packages/create-discord-bot/template/JavaScript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"dotenv": "^16.3.1"
},
"devDependencies": {
"eslint": "^8.47.0",
"eslint-config-neon": "^0.1.56",
"eslint": "^8.53.0",
"eslint-config-neon": "^0.1.57",
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.2"
"prettier": "^3.0.3"
}
}
10 changes: 5 additions & 5 deletions packages/create-discord-bot/template/TypeScript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"dotenv": "^16.3.1"
},
"devDependencies": {
"@sapphire/ts-config": "^4.0.1",
"@types/node": "^18.17.11",
"eslint": "^8.47.0",
"eslint-config-neon": "^0.1.56",
"@sapphire/ts-config": "^5.0.0",
"@types/node": "^18.18.8",
"eslint": "^8.53.0",
"eslint-config-neon": "^0.1.57",
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.2",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
}
}
2 changes: 1 addition & 1 deletion packages/discord.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"devDependencies": {
"@discordjs/docgen": "workspace:^",
"@favware/cliff-jumper": "2.2.1",
"@types/node": "16.18.44",
"@types/node": "16.18.60",
"cross-env": "^7.0.3",
"dtslint": "4.2.1",
"eslint": "8.53.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/docgen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"devDependencies": {
"@favware/cliff-jumper": "^2.2.1",
"@types/jsdoc-to-markdown": "^7.0.5",
"@types/node": "16.18.44",
"@types/node": "16.18.60",
"cross-env": "^7.0.3",
"eslint": "^8.53.0",
"eslint-config-neon": "^0.1.57",
Expand Down
2 changes: 1 addition & 1 deletion packages/formatters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"devDependencies": {
"@favware/cliff-jumper": "^2.2.1",
"@microsoft/api-extractor": "^7.38.2",
"@types/node": "16.18.44",
"@types/node": "16.18.60",
"@vitest/coverage-v8": "^0.34.6",
"cross-env": "^7.0.3",
"eslint": "^8.53.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/formatters/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.docs.json",
"include": ["src/**/*.ts"],
"compilerOptions": {
"outDir": "dist-docs"
}
},
"include": ["src/**/*.ts"]
}
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"devDependencies": {
"@favware/cliff-jumper": "^2.2.1",
"@microsoft/api-extractor": "^7.38.2",
"@types/node": "18.17.9",
"@types/node": "18.18.8",
"@vitest/coverage-v8": "^0.34.6",
"cross-env": "^7.0.3",
"esbuild-plugin-version-injector": "^1.2.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/next/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.docs.json",
"include": ["src/**/*.ts"],
"compilerOptions": {
"outDir": "dist-docs"
}
},
"include": ["src/**/*.ts"]
}
2 changes: 1 addition & 1 deletion packages/proxy-container/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@types/node": "18.17.9",
"@types/node": "18.18.8",
"cross-env": "^7.0.3",
"eslint": "^8.53.0",
"eslint-config-neon": "^0.1.57",
Expand Down
2 changes: 1 addition & 1 deletion packages/proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"devDependencies": {
"@favware/cliff-jumper": "^2.2.1",
"@microsoft/api-extractor": "^7.38.2",
"@types/node": "18.17.9",
"@types/node": "18.18.8",
"@types/supertest": "^2.0.15",
"@vitest/coverage-v8": "^0.34.6",
"cross-env": "^7.0.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/proxy/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.docs.json",
"include": ["src/**/*.ts"],
"compilerOptions": {
"outDir": "dist-docs"
}
},
"include": ["src/**/*.ts"]
}
4 changes: 2 additions & 2 deletions packages/rest/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.docs.json",
"include": ["src/**/*.ts"],
"compilerOptions": {
"outDir": "dist-docs"
}
},
"include": ["src/**/*.ts"]
}
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
},
"devDependencies": {
"@turbo/gen": "^1.10.16",
"@types/node": "16.18.44",
"@types/node": "16.18.60",
"@vitest/coverage-v8": "^0.34.6",
"cross-env": "^7.0.3",
"eslint": "^8.53.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.docs.json",
"include": ["src/**/*.ts"],
"compilerOptions": {
"outDir": "dist-docs"
}
},
"include": ["src/**/*.ts"]
}
16 changes: 8 additions & 8 deletions packages/scripts/turbo/generators/templates/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,18 @@
"homepage": "https://discord.js.org",
"dependencies": {},
"devDependencies": {
"@favware/cliff-jumper": "^2.1.1",
"@microsoft/api-extractor": "^7.36.4",
"@types/node": "16.18.42",
"@vitest/coverage-v8": "^0.34.2",
"@favware/cliff-jumper": "^2.2.1",
"@microsoft/api-extractor": "^7.38.2",
"@types/node": "16.18.60",
"@vitest/coverage-v8": "^0.34.6",
"cross-env": "^7.0.3",
"eslint": "^8.47.0",
"eslint-config-neon": "^0.1.54",
"eslint": "^8.53.0",
"eslint-config-neon": "^0.1.57",
"eslint-formatter-pretty": "^5.0.0",
"prettier": "^3.0.2",
"prettier": "^3.0.3",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
"vitest": "^0.34.2"
"vitest": "^0.34.6"
},
"engines": {
"node": ">=18.17.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@storybook/react": "^7.5.3",
"@storybook/react-vite": "^7.5.3",
"@storybook/testing-library": "^0.2.2",
"@types/node": "16.18.44",
"@types/node": "16.18.60",
"@types/react": "^18.2.36",
"@types/react-dom": "^18.2.14",
"@unocss/eslint-plugin": "^0.57.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"devDependencies": {
"@favware/cliff-jumper": "^2.2.1",
"@microsoft/api-extractor": "^7.38.2",
"@types/node": "16.18.44",
"@types/node": "16.18.60",
"@vitest/coverage-v8": "^0.34.6",
"cross-env": "^7.0.3",
"eslint": "^8.53.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/util/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.docs.json",
"include": ["src/**/*.ts"],
"compilerOptions": {
"outDir": "dist-docs"
}
},
"include": ["src/**/*.ts"]
}
2 changes: 1 addition & 1 deletion packages/voice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@favware/cliff-jumper": "^2.2.1",
"@microsoft/api-extractor": "^7.38.2",
"@types/jest": "^29.5.7",
"@types/node": "16.18.44",
"@types/node": "16.18.60",
"cross-env": "^7.0.3",
"esbuild-plugin-version-injector": "^1.2.1",
"eslint": "^8.53.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/voice/tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.docs.json",
"include": ["src/**/*.ts"],
"compilerOptions": {
"outDir": "dist-docs"
}
},
"include": ["src/**/*.ts"]
}
Loading

2 comments on commit 344a3f9

@vercel
Copy link

@vercel vercel bot commented on 344a3f9 Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 344a3f9 Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.