Skip to content

Commit 1d5d04d

Browse files
committed
chore: fix prettier
1 parent 46f1760 commit 1d5d04d

142 files changed

Lines changed: 1954 additions & 1394 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/config@3.0.2/schema.json",
33
"changelog": ["@changesets/changelog-github", { "repo": "ckb-devrel/ccc" }],
4+
"prettier": false,
45
"commit": false,
56
"fixed": [],
67
"linked": [],

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
id: changesets
3333
uses: changesets/action@v1
3434
with:
35-
title: "chore: bump packages version"
36-
commit: "chore: bump packages version"
35+
title: ${{ format('chore({0}){1} bump packages version', github.ref_name, ':') }}
36+
commit: ${{ format('chore({0}){1} bump packages version', github.ref_name, ':') }}
3737
version: pnpm run version
3838
publish: pnpm changeset publish
3939
env:

config/.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dist.commonjs/
77
.prettierrc
88
tsconfig.json
99
eslint.config.mjs
10-
.prettierrc
10+
prettier.config.*
1111

1212
tsconfig.tsbuildinfo
1313
.github/

config/.prettierrc

Lines changed: 0 additions & 5 deletions
This file was deleted.

config/prettier.config.mjs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// prettier.config.js, .prettierrc.js, prettier.config.mjs, or .prettierrc.mjs
2+
3+
/**
4+
* @see https://prettier.io/docs/configuration
5+
* @type {import("prettier").Config}
6+
*/
7+
const config = {
8+
singleQuote: false,
9+
trailingComma: "all",
10+
plugins: [import.meta.resolve("prettier-plugin-organize-imports")],
11+
};
12+
13+
export default config;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"docs": "typedoc"
2020
},
2121
"devDependencies": {
22-
"@changesets/changelog-github": "^0.5.0",
23-
"@changesets/cli": "^2.27.7",
22+
"@changesets/changelog-github": "^0.5.1",
23+
"@changesets/cli": "^2.29.4",
2424
"@types/jest": "^29.5.12",
2525
"@vitest/coverage-v8": "3.2.2",
2626
"jest": "30.0.0-alpha.6",

packages/ccc/.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dist.commonjs/
77
.prettierrc
88
tsconfig.json
99
eslint.config.mjs
10-
.prettierrc
10+
prettier.config.*
1111

1212
tsconfig.tsbuildinfo
1313
.github/

packages/ccc/.prettierrc

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/ccc/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
"@eslint/js": "^9.1.1",
4545
"copyfiles": "^2.4.1",
4646
"eslint": "^9.1.0",
47-
"eslint-config-prettier": "^9.1.0",
48-
"eslint-plugin-prettier": "^5.1.3",
49-
"prettier": "^3.2.5",
50-
"prettier-plugin-organize-imports": "^3.2.4",
47+
"eslint-config-prettier": "^10.1.5",
48+
"eslint-plugin-prettier": "^5.4.1",
49+
"prettier": "^3.5.3",
50+
"prettier-plugin-organize-imports": "^4.1.0",
5151
"rimraf": "^5.0.5",
5252
"typescript": "^5.4.5",
5353
"typescript-eslint": "^7.7.0"
@@ -56,14 +56,14 @@
5656
"access": "public"
5757
},
5858
"dependencies": {
59-
"@ckb-ccc/shell": "workspace:*",
6059
"@ckb-ccc/eip6963": "workspace:*",
6160
"@ckb-ccc/joy-id": "workspace:*",
6261
"@ckb-ccc/nip07": "workspace:*",
6362
"@ckb-ccc/okx": "workspace:*",
63+
"@ckb-ccc/rei": "workspace:*",
64+
"@ckb-ccc/shell": "workspace:*",
6465
"@ckb-ccc/uni-sat": "workspace:*",
6566
"@ckb-ccc/utxo-global": "workspace:*",
66-
"@ckb-ccc/rei": "workspace:*",
6767
"@ckb-ccc/xverse": "workspace:*"
6868
},
6969
"packageManager": "pnpm@10.8.1"

packages/ccc/prettier.config.mjs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// prettier.config.js, .prettierrc.js, prettier.config.mjs, or .prettierrc.mjs
2+
3+
/**
4+
* @see https://prettier.io/docs/configuration
5+
* @type {import("prettier").Config}
6+
*/
7+
const config = {
8+
singleQuote: false,
9+
trailingComma: "all",
10+
plugins: [import.meta.resolve("prettier-plugin-organize-imports")],
11+
};
12+
13+
export default config;

0 commit comments

Comments
 (0)