fix: adapt biome formatting of package.json files to match the yarn one (#3745)

* Fix biome formatting of package.json files to match the yarn one

* Ignore package.json

This includes a format on the member toggles as that pr got merged while using ESLint formatting and it didn't get updated before merging
This commit is contained in:
Fleny
2024-07-14 19:59:19 +02:00
committed by GitHub
parent 87f62d2a4b
commit 9e101a0320
5 changed files with 20 additions and 5 deletions

View File

@@ -43,6 +43,8 @@
},
"files": {
"ignore": [
// Ignore the package.json and leave yarn to format it
"package.json",
"node_modules",
// Ignore turbo and docusaurus cache/stuff
".docusaurus",

View File

@@ -3,7 +3,9 @@
"version": "19.0.0-alpha.1",
"private": true,
"type": "module",
"workspaces": ["packages/*"],
"workspaces": [
"packages/*"
],
"scripts": {
"build": "turbo run build --no-daemon",
"build:watch": "echo \"Starting build in watch mode...\" && chokidar \"packages/**/*.ts\" --ignore \"packages/**/dist/**/*.d.ts\" -c \"yarn run build && yarn run build:type\"",

View File

@@ -1,4 +1,4 @@
import { MemberFlags, type DiscordMember } from '@discordeno/types'
import { type DiscordMember, MemberFlags } from '@discordeno/types'
import { ToggleBitfield } from './ToggleBitfield.js'
const memberFlags = ['didRejoin', 'startedOnboarding', 'bypassesVerification', 'completedOnboarding'] as const

View File

@@ -2,5 +2,8 @@
"name": "tsconfig",
"version": "0.0.0",
"private": true,
"files": ["base.json", "test.json"]
"files": [
"base.json",
"test.json"
]
}

View File

@@ -45,8 +45,16 @@
"webpack": "^5.89.0"
},
"browserslist": {
"production": [">0.5%", "not dead", "not op_mini all"],
"development": ["last 1 chrome version", "last 1 firefox version", "last 1 safari version"]
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"engines": {
"node": ">=18.0"