Skip to content

Commit

Permalink
chore: format all package.json files (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusrbrown committed Mar 22, 2024
1 parent 5891abf commit aa7d216
Show file tree
Hide file tree
Showing 6 changed files with 191 additions and 107 deletions.
7 changes: 7 additions & 0 deletions .changeset/wicked-lions-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@bfra.me/semantic-release": patch
"@bfra.me/prettier-config": patch
"@bfra.me/tsconfig": patch
---

Format `package.json` using (unreleased) @bfra.me/prettier-config options
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
{
"private": true,
"name": "@bfra.me/works",
"version": "0.0.0",
"private": true,
"packageManager": "pnpm@8.15.5",
"description": "bfra.me tools and components",
"license": "MIT",
"author": "Marcus R. Brown <contact@bfra.me>",
"scripts": {
"bootstrap": "pnpm install --frozen-lockfile && pnpm -r build",
"build": "pnpm -r run build",
"watch": "pnpm run build --watch",
"clean": "rimraf --glob \"packages/**/lib\" \"**/*.tsbuildinfo\"",
"lint": "manypkg check && pnpm -r run --parallel lint",
"check-format": "prettier --check .",
"clean": "rimraf --glob \"packages/**/lib\" \"**/*.tsbuildinfo\"",
"format": "prettier --write .",
"test": "pnpm -r run test",
"lint": "manypkg check && pnpm -r run --parallel lint",
"publish-changesets": "changeset publish",
"version-changesets": "changeset version"
"test": "pnpm -r run test",
"version-changesets": "changeset version",
"watch": "pnpm run build --watch"
},
"dependencies": {
"@bfra.me/prettier-config": "workspace:*",
"@bfra.me/tsconfig": "workspace:*",
"@changesets/cli": "2.27.1",
"@manypkg/cli": "0.21.3",
"@swisspost/design-system-changelog-github": "1.0.2",
"@types/node": "20.11.30",
"eslint": "8.57.0",
"prettier": "3.2.5",
"rimraf": "5.0.5",
"ts-node": "10.9.2",
"typescript": "5.4.3"
},
"keywords": [
"bfra.me",
"Build Frameworks",
"CLI",
"Components",
"Tools"
"Tools",
"bfra.me"
],
"author": "Marcus R. Brown <contact@bfra.me>",
"license": "MIT",
"eslintConfig": {
"ignorePatterns": [
"lib",
"dist",
"node_modules"
]
},
"packageManager": "pnpm@8.15.5",
"pnpm": {
"overrides": {
"read-pkg-up@^11": "npm:read-package-up"
}
},
"dependencies": {
"@bfra.me/prettier-config": "workspace:*",
"@bfra.me/tsconfig": "workspace:*",
"@changesets/cli": "2.27.1",
"@manypkg/cli": "0.21.3",
"@swisspost/design-system-changelog-github": "1.0.2",
"@types/node": "20.11.30",
"eslint": "8.57.0",
"prettier": "3.2.5",
"rimraf": "5.0.5",
"ts-node": "10.9.2",
"typescript": "5.4.3"
}
}
56 changes: 30 additions & 26 deletions packages/prettier-config/package.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,54 @@
{
"name": "@bfra.me/prettier-config",
"description": "Shared Prettier configuration for bfra.me",
"version": "0.1.0",
"author": "Marcus R. Brown <contact@bfra.me>",
"description": "Shared Prettier configuration for bfra.me",
"license": "MIT",
"type": "module",
"main": "prettier.config.js",
"types": "prettier.config.d.ts",
"author": "Marcus R. Brown <contact@bfra.me>",
"homepage": "https://github.com/bfra-me/works/tree/main/packages/prettier-config#readme",
"repository": {
"directory": "packages/prettier-config",
"type": "git",
"url": "https://github.com/bfra-me/works.git"
},
"bugs": "https://github.com/bfra-me/works/issues",
"keywords": [
"bfra.me",
"works",
"prettier",
"prettier-config",
"config",
"shared"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"files": [
"prettier.config.*",
"!*.map"
],
"type": "module",
"exports": {
".": {
"import": "./prettier.config.js",
"types": "./prettier.config.d.ts"
},
"./package.json": "./package.json"
},
"devDependencies": {
"@bfra.me/tsconfig": "workspace:*",
"prettier": "3.2.5"
"main": "prettier.config.js",
"files": [
"prettier.config.*",
"!*.map"
],
"scripts": {
"build": "tsc && prettier --log-level silent --ignore-unknown --write prettier.config.*"
},
"types": "prettier.config.d.ts",
"dependencies": {
"prettier-package-json": "2.8.0"
},
"peerDependencies": {
"prettier": "^3.0.0"
},
"scripts": {
"build": "tsc && prettier --log-level silent --write prettier.config.*"
"devDependencies": {
"@bfra.me/prettier-config": "workspace:*",
"@bfra.me/tsconfig": "workspace:*",
"prettier": "3.2.5"
},
"keywords": [
"bfra.me",
"config",
"prettier",
"prettier-config",
"shared",
"works"
],
"publishConfig": {
"access": "public",
"provenance": true
}
}
56 changes: 28 additions & 28 deletions packages/semantic-release/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
{
"name": "@bfra.me/semantic-release",
"description": "Semantic Release shareable configuration and plugins for bfra.me.",
"version": "0.1.0",
"author": "Marcus R. Brown <contact@bfra.me>",
"description": "Semantic Release shareable configuration and plugins for bfra.me.",
"license": "MIT",
"author": "Marcus R. Brown <contact@bfra.me>",
"homepage": "https://github.com/bfra-me/works/tree/main/packages/semantic-release#readme",
"repository": {
"directory": "packages/semantic-release",
"type": "git",
"url": "https://github.com/bfra-me/works.git"
},
"bugs": "https://github.com/bfra-me/works/issues",
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": {
Expand All @@ -16,29 +21,20 @@
},
"./package.json": "./package.json"
},
"homepage": "https://github.com/bfra-me/works/tree/main/packages/semantic-release#readme",
"repository": {
"directory": "packages/semantic-release",
"type": "git",
"url": "https://github.com/bfra-me/works.git"
},
"bugs": "https://github.com/bfra-me/works/issues",
"keywords": [
"bfra.me",
"typescript",
"semantic-release",
"config",
"shared"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"main": "lib/index.js",
"files": [
"lib",
"tsconfig.json",
"!*.map"
],
"scripts": {
"build": "tsup-node",
"test": "pnpm build && vitest --typecheck"
},
"types": "lib/index.d.ts",
"peerDependencies": {
"semantic-release": ">=23"
},
"devDependencies": {
"@bfra.me/semantic-release": "workspace:*",
"@bfra.me/tsconfig": "workspace:*",
Expand All @@ -48,11 +44,15 @@
"type-fest": "4.13.1",
"vitest": "1.4.0"
},
"peerDependencies": {
"semantic-release": ">=23"
},
"scripts": {
"build": "tsup-node",
"test": "pnpm build && vitest --typecheck"
"keywords": [
"bfra.me",
"config",
"semantic-release",
"shared",
"typescript"
],
"publishConfig": {
"access": "public",
"provenance": true
}
}
52 changes: 26 additions & 26 deletions packages/tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
{
"name": "@bfra.me/tsconfig",
"description": "Shared TypeScript configuration for bfra.me",
"version": "0.3.0",
"author": "Marcus R. Brown <contact@bfra.me>",
"description": "Shared TypeScript configuration for bfra.me",
"license": "MIT",
"type": "module",
"main": "tsconfig.json",
"author": "Marcus R. Brown <contact@bfra.me>",
"homepage": "https://github.com/bfra-me/works/tree/main/packages/tsconfig#readme",
"repository": {
"directory": "packages/tsconfig",
"type": "git",
"url": "https://github.com/bfra-me/works.git"
},
"bugs": "https://github.com/bfra-me/works/issues",
"keywords": [
"bfra.me",
"works",
"typescript",
"tsconfig",
"config",
"shared"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"files": [
"tsconfig.json"
],
"type": "module",
"exports": {
".": "./tsconfig.json",
"./package.json": "./package.json",
"./tsconfig.json": "./tsconfig.json"
},
"main": "tsconfig.json",
"files": [
"tsconfig.json"
],
"scripts": {
"compile-tests": "tsc --project ./test",
"run-tests": "node --test ./test/lib/*.test.js",
"test": "pnpm compile-tests && pnpm run-tests"
},
"peerDependencies": {
"@tsconfig/strictest": "*"
},
"devDependencies": {
"@bfra.me/tsconfig": "workspace:*",
"@tsconfig/strictest": "2.0.3",
"ajv": "8.12.0",
"ajv-draft-04": "1.0.0",
"type-fest": "4.13.1"
},
"peerDependencies": {
"@tsconfig/strictest": "*"
},
"scripts": {
"test": "pnpm compile-tests && pnpm run-tests",
"compile-tests": "tsc --project ./test",
"run-tests": "node --test ./test/lib/*.test.js"
"keywords": [
"bfra.me",
"config",
"shared",
"tsconfig",
"typescript",
"works"
],
"publishConfig": {
"access": "public",
"provenance": true
}
}
Loading

0 comments on commit aa7d216

Please sign in to comment.