Skip to content

Commit

Permalink
Merge pull request #576 from nyaggah/fix/deps
Browse files Browse the repository at this point in the history
chore: update lockfile; turbo config
  • Loading branch information
JoeyDoey authored Oct 9, 2024
2 parents fe1625d + a86fcc8 commit 21c3fd6
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 372 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@
],
"scripts": {
"dev": "turbo run dev",
"build": "turbo run build",
"build:pack": "turbo run build:pack",
"build": "turbo telemetry disable && turbo run build",
"build:pack": "turbo telemetry disable && turbo run build:pack",
"format": "turbo run format",
"lint": "turbo run lint",
"lint:format": "turbo run lint:format",
"lint:format": "turbo telemetry disable && turbo run lint:format",
"cz": "cz",
"release": "turbo run format lint build && changeset version && changeset publish",
"prerelease": "turbo telemetry disable && turbo run format lint build",
"release": "turbo telemetry disable && turbo run format lint build && changeset version && changeset publish",
"prepare": "husky install"
},
"devDependencies": {
Expand Down
14 changes: 3 additions & 11 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
"bedframe": "./dist/bedframe.js",
"create-bedframe": "./dist/create-bedframe.js"
},
"files": [
"/dist",
"/stubs",
"package.json"
],
"files": ["/dist", "/stubs", "package.json"],
"scripts": {
"clean": "shx rm -rf dist",
"build": "pnpm clean && tsc && rollup -c",
Expand Down Expand Up @@ -72,9 +68,7 @@
"typescript": "^5.6.3"
},
"lint-staged": {
"*.{md,mdx,css,html,json,js}": [
"pnpm biome format --write ."
],
"*.{md,mdx,css,html,json,js}": ["pnpm biome format --write ."],
"*.{js,jsx,ts,tsx}": "pnpm biome lint --apply ."
},
"prettier": {
Expand All @@ -83,9 +77,7 @@
"singleQuote": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
"extends": ["@commitlint/config-conventional"]
},
"repository": {
"type": "git",
Expand Down
8 changes: 4 additions & 4 deletions packages/cli/src/lib/make/utils/write-package-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,16 @@ ${
"@commitlint/config-conventional": "^19.1.0",`
: ''
}${
hasTests
? `\n"@testing-library/jest-dom": "^6.4.2",
hasTests
? `\n"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"happy-dom": "^14.3.6",
"vitest": "^1.4.0",
"@vitest/coverage-istanbul": "^1.4.0",`
: ''
}
: ''
}
"@types/node": "^20.11.30",
"@types/chrome": "^0.0.263",
"@types/react": "^18.2.69",
Expand Down
12 changes: 3 additions & 9 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
"default": "./dist/bedframe.js"
}
},
"files": [
"dist"
],
"files": ["dist"],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
Expand Down Expand Up @@ -57,9 +55,7 @@
"vitest": "^0.34.6"
},
"lint-staged": {
"*.{md,mdx,css,html,json,js}": [
"pnpm biome format --write ."
],
"*.{md,mdx,css,html,json,js}": ["pnpm biome format --write ."],
"*.{js,jsx,ts,tsx}": "pnpm biome lint --apply ."
},
"prettier": {
Expand All @@ -68,9 +64,7 @@
"singleQuote": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
"extends": ["@commitlint/config-conventional"]
},
"config": {
"commitizen": {
Expand Down
12 changes: 3 additions & 9 deletions packages/create-bedframe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
"bin": {
"create-bedframe": "./dist/index.js"
},
"files": [
"dist"
],
"files": ["dist"],
"scripts": {
"clean": "shx rm -rf dist",
"build": "pnpm clean && tsc && rollup -c",
Expand All @@ -49,9 +47,7 @@
"vite-plugin-dts": "^4.2.3"
},
"lint-staged": {
"*.{md,mdx,css,html,json,js}": [
"prettier --write ."
],
"*.{md,mdx,css,html,json,js}": ["prettier --write ."],
"*.{js,jsx,ts,tsx }": "eslint . --fix"
},
"prettier": {
Expand All @@ -60,9 +56,7 @@
"singleQuote": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
"extends": ["@commitlint/config-conventional"]
},
"config": {
"commitizen": {
Expand Down
Loading

0 comments on commit 21c3fd6

Please sign in to comment.