Skip to content

Commit

Permalink
Fix formatting on workspace root files
Browse files Browse the repository at this point in the history
  • Loading branch information
bensleveritt committed Nov 5, 2024
1 parent 049dd5d commit a2423c6
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 102 deletions.
56 changes: 28 additions & 28 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [
[
"cojson",
"jazz-tools",
"jazz-browser",
"jazz-browser-media-images",
"jazz-browser-auth-clerk",
"jazz-react-auth-clerk",
"jazz-react",
"jazz-react-native",
"jazz-nodejs",
"jazz-run",
"cojson-transport-ws",
"cojson-storage-indexeddb",
"cojson-storage-sqlite"
]
],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [
[
"cojson",
"jazz-tools",
"jazz-browser",
"jazz-browser-media-images",
"jazz-browser-auth-clerk",
"jazz-react-auth-clerk",
"jazz-react",
"jazz-react-native",
"jazz-nodejs",
"jazz-run",
"cojson-transport-ws",
"cojson-storage-indexeddb",
"cojson-storage-sqlite"
]
],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
}
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"files": {
"ignoreUnknown": false,
"ignore": ["examples/**/*", "homepage/**/*"]
"ignore": ["examples/**/*", "homepage/**/*", "e2e/**/dist/*"]
},
"formatter": {
"enabled": true,
Expand Down
94 changes: 43 additions & 51 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,55 +1,47 @@
{
"name": "jazz-monorepo",
"private": true,
"type": "module",
"workspaces": [
"packages/*",
"examples/*",
"e2e/*"
],
"packageManager": "[email protected]",
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@changesets/cli": "^2.27.3",
"@vitest/coverage-istanbul": "1.5.3",
"@vitest/ui": "1.5.3",
"happy-dom": "^15.8.3",
"prettier": "^3.1.1",
"ts-node": "^10.9.1",
"turbo": "^1.11.2",
"typedoc": "^0.25.13",
"vitest": "1.5.3"
"name": "jazz-monorepo",
"private": true,
"type": "module",
"workspaces": ["packages/*", "examples/*", "e2e/*"],
"packageManager": "[email protected]",
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@changesets/cli": "^2.27.3",
"@vitest/coverage-istanbul": "1.5.3",
"@vitest/ui": "1.5.3",
"happy-dom": "^15.8.3",
"prettier": "^3.1.1",
"ts-node": "^10.9.1",
"turbo": "^1.11.2",
"typedoc": "^0.25.13",
"vitest": "1.5.3"
},
"scripts": {
"dev": "turbo dev",
"build": "turbo build && cd homepage/homepage && pnpm run build",
"lint": "turbo lint && cd homepage/homepage && pnpm run lint",
"test": "vitest",
"test:ci": "vitest --coverage.enabled=true",
"test:coverage": "vitest --ui --coverage.enabled=true",
"format": "pnpm run -r format && cd homepage/homepage && pnpm run format",
"format-and-lint": "biome check .",
"format-and-lint:fix": "biome check . --write",
"changeset": "changeset",
"changeset-version": "changeset version && pnpm i --no-frozen-lockfile",
"monorepo-linting": "npx [email protected]",
"monorepo-linting:fix": "npx [email protected] --fix",
"release": "pnpm changeset publish && git push --follow-tags",
"clean": "rm -rf ./packages/*/dist && rm -rf ./packages/*/node_modules && rm -rf ./examples/*/node_modules && rm -rf ./examples/*/dist"
},
"lint-staged": {},
"version": "0.0.0",
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": ["@babel/*", "expo-modules-*", "typescript"]
},
"scripts": {
"dev": "turbo dev",
"build": "turbo build && cd homepage/homepage && pnpm run build",
"lint": "turbo lint && cd homepage/homepage && pnpm run lint",
"test": "vitest",
"test:ci": "vitest --coverage.enabled=true",
"test:coverage": "vitest --ui --coverage.enabled=true",
"format": "pnpm run -r format && cd homepage/homepage && pnpm run format",
"format-and-lint": "biome check .",
"format-and-lint:fix": "biome check . --write",
"changeset": "changeset",
"changeset-version": "changeset version && pnpm i --no-frozen-lockfile",
"monorepo-linting": "npx [email protected]",
"monorepo-linting:fix": "npx [email protected] --fix",
"release": "pnpm changeset publish && git push --follow-tags",
"clean": "rm -rf ./packages/*/dist && rm -rf ./packages/*/node_modules && rm -rf ./examples/*/node_modules && rm -rf ./examples/*/dist"
},
"lint-staged": {},
"version": "0.0.0",
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@babel/*",
"expo-modules-*",
"typescript"
]
},
"overrides": {
"react": "18.3.1",
"react-dom": "18.3.1"
}
"overrides": {
"react": "18.3.1",
"react-dom": "18.3.1"
}
}
}
38 changes: 19 additions & 19 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
import { defineConfig } from "vitest/config";

export default defineConfig({
root: "./",
test: {
coverage: {
enabled: false,
provider: "istanbul",
include: ["packages/*/src/**/*.ts"],
exclude: ["packages/*/src/tests"],
reporter: ["html"],
thresholds: {
global: {
branches: 80,
functions: 80,
lines: 80,
statements: 80,
},
},
root: "./",
test: {
coverage: {
enabled: false,
provider: "istanbul",
include: ["packages/*/src/**/*.ts"],
exclude: ["packages/*/src/tests"],
reporter: ["html"],
thresholds: {
global: {
branches: 80,
functions: 80,
lines: 80,
statements: 80,
},
include: ["packages/*/tests/**/*.test.ts"],
watchExclude: ["**/node_modules/**", "**/dist/**"],
maxConcurrency: 5,
},
},
include: ["packages/*/tests/**/*.test.ts"],
watchExclude: ["**/node_modules/**", "**/dist/**"],
maxConcurrency: 5,
},
});
4 changes: 1 addition & 3 deletions vitest.workspace.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
export default [
'packages/*'
]
export default ["packages/*"];

0 comments on commit a2423c6

Please sign in to comment.