Skip to content

Commit

Permalink
chore: dont autoformat package.json files (#3554)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSisb authored Oct 16, 2023
1 parent 72ec591 commit f370db0
Show file tree
Hide file tree
Showing 61 changed files with 189 additions and 411 deletions.
6 changes: 3 additions & 3 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
font-family: Colfax;
font-style: normal;
font-weight: 300;
src: url(/fonts/colfax-light.woff2) format('woff2'), url(/fonts/colfax-light.woff) format('woff');
src: url(/fonts/colfax-light.woff2) format("woff2"), url(/fonts/colfax-light.woff) format("woff");
}

@font-face {
font-family: Colfax;
font-style: normal;
font-weight: 400;
src: url(/fonts/colfax-regular.woff2) format('woff2'), url(/fonts/colfax-regular.woff) format('woff');
src: url(/fonts/colfax-regular.woff2) format("woff2"), url(/fonts/colfax-regular.woff) format("woff");
}

@font-face {
font-family: Colfax;
font-style: normal;
font-weight: 600;
src: url(/fonts/colfax-medium.woff2) format('woff2'), url(/fonts/colfax-medium.woff) format('woff');
src: url(/fonts/colfax-medium.woff2) format("woff2"), url(/fonts/colfax-medium.woff) format("woff");
}
</style>

Expand Down
7 changes: 2 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,13 @@
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[css]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[jsonc]": {
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},
"search.exclude": {
Expand Down
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"packages/**/dist/*",
"tsconfig.build.tsbuildinfo",
"**/*.d.ts",
"**/package.json",
".codesandbox/ci.json",
"build.icon-list.js",
"**/*.hbs",
"docs",
"apps/backend/supabase/schema.gen.ts"
]
},
Expand Down
15 changes: 12 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
"author": "Twilio Inc.",
"license": "MIT",
"workspaces": {
"packages": ["apps/**/*", "packages/**/*", "templates/**/*", "!packages/paste-core/core-bundle/**/*"]
"packages": [
"apps/**/*",
"packages/**/*",
"templates/**/*",
"!packages/paste-core/core-bundle/**/*"
]
},
"types": "./types/index.d.ts",
"engines": {
Expand Down Expand Up @@ -73,7 +78,7 @@
"lint:vscode-intellisense": "eslint -c ./apps/vs-code-intellisense/.eslintrc.json --ext .tsx,.ts ./apps/vs-code-intellisense",
"lint:repo": "eslint -c .eslintrc.repo.js --ext .tsx,.ts .",
"format": "biome format ./ && prettier --list-different ./packages/",
"format:write": "biome format ./ --write",
"format:write": "biome format ./ --write && prettier ./ --write",
"format:ci": "biome ci ./ --linter-enabled=false && prettier --list-different ./packages/",
"type-check": "yarn prebuild && yarn nx run-many --target=tsc",
"tsc": "echo 'Did you mean to run yarn type-check?'",
Expand Down Expand Up @@ -228,5 +233,9 @@
}
},
"packageManager": "[email protected]",
"browserslist": ["last 2 versions", "not dead", "not IE 11"]
"browserslist": [
"last 2 versions",
"not dead",
"not IE 11"
]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/alert/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/anchor/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/avatar/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/base-radio-checkbox/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/breadcrumb/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/button/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/card/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/checkbox/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/combobox/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/description-list/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/disclosure/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/heading/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/help-text/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/input-box/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/input/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/label/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/list/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
10 changes: 3 additions & 7 deletions packages/paste-core/components/modal/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"outDir": "dist/"
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules"
]
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
Loading

0 comments on commit f370db0

Please sign in to comment.