Skip to content

Commit 1162570

Browse files
committed
Merge branch 'main' into lossy-html-fixes
# Conflicts: # pnpm-lock.yaml # tests/package.json
2 parents 6db4b93 + 800f7d9 commit 1162570

File tree

24 files changed

+625
-123
lines changed

24 files changed

+625
-123
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
env:
1010
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0
11+
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
1112

1213
jobs:
1314
publish:
@@ -56,9 +57,11 @@ jobs:
5657
- name: Print Environment Info
5758
run: pnpm exec nx report
5859

60+
- name: Setup NPM
61+
run: echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> .npmrc
62+
5963
- name: Publish packages
6064
run: pnpm exec nx release publish
6165
env:
62-
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
6366
NPM_CONFIG_PROVENANCE: true
6467
GITHUB_TOKEN: "${{ github.token }}"

CHANGELOG.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
## 0.28.0 (2025-04-07)
2+
3+
### 🚀 Features
4+
5+
- position storage ([#1529](https://github.com/TypeCellOS/BlockNote/pull/1529))
6+
7+
### ❤️ Thank You
8+
9+
- Nick Perez
10+
11+
## 0.27.2 (2025-04-05)
12+
13+
### 🩹 Fixes
14+
15+
- minor update for publishing ([c2820fdac](https://github.com/TypeCellOS/BlockNote/commit/c2820fdac))
16+
17+
### ❤️ Thank You
18+
19+
- Nick the Sick
20+
21+
## 0.27.1 (2025-04-05)
22+
23+
### 🚀 Features
24+
25+
- **nx-cloud:** set up nx workspace ([#1586](https://github.com/TypeCellOS/BlockNote/pull/1586))
26+
27+
### 🩹 Fixes
28+
29+
- update packages to use correct react versions ([ea11ebce0](https://github.com/TypeCellOS/BlockNote/commit/ea11ebce0))
30+
31+
### ❤️ Thank You
32+
33+
- Nick Perez
34+
- Nick the Sick
35+
136
## 0.27.0 (2025-04-04)
237

338
### 🚀 Features
@@ -21,4 +56,8 @@
2156

2257
- Martinrsts @Martinrsts
2358
- Matthew Lipski @matthewlipski
24-
- Nick Perez
59+
- Nick Perez
60+
61+
## Previous Versions
62+
63+
See [Github Releases](https://github.com/TypeCellOS/BlockNote/releases) for previous versions.

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"nextra-theme-docs": "^2.13.2",
3333
"partykit": "^0.0.84",
3434
"raw-loader": "^4.0.2",
35-
"react": "^18",
36-
"react-dom": "^18",
35+
"react": "^18.3.1",
36+
"react-dom": "^18.3.1",
3737
"react-github-btn": "^1.4.0",
3838
"react-icons": "^5.2.1",
3939
"y-partykit": "^0.0.25",

docs/pages/docs/editor-basics/default-schema.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ type Styles = {
195195
bold: boolean;
196196
italic: boolean;
197197
underline: boolean;
198-
strikethrough: boolean;
198+
strike: boolean;
199199
textColor: string;
200200
backgroundColor: string;
201201
};

examples/07-collaboration/04-comments/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async function resolveUsers(userIds: string[]) {
3030
// (but of course, you also use other collaboration providers
3131
// see the docs for more information)
3232
export default function App() {
33-
const docId = "my-blocknote-document-with-comments-1";
33+
const docId = "my-blocknote-document-with-commenting";
3434

3535
return (
3636
<YDocProvider

packages/ariakit/package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"directory": "packages/ariakit"
1212
},
1313
"license": "MPL-2.0",
14-
"version": "0.27.0",
14+
"version": "0.28.0",
1515
"files": [
1616
"dist",
1717
"types",
@@ -56,8 +56,8 @@
5656
},
5757
"dependencies": {
5858
"@ariakit/react": "^0.4.3",
59-
"@blocknote/core": "^0.27.0",
60-
"@blocknote/react": "^0.27.0"
59+
"@blocknote/core": "^0.28.0",
60+
"@blocknote/react": "^0.28.0"
6161
},
6262
"devDependencies": {
6363
"@types/react": "^18.0.25",
@@ -80,9 +80,5 @@
8080
"extends": [
8181
"../../.eslintrc.js"
8282
]
83-
},
84-
"publishConfig": {
85-
"access": "public",
86-
"registry": "https://registry.npmjs.org/"
8783
}
8884
}

packages/code-block/package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"directory": "packages/code-block"
1010
},
1111
"license": "MPL-2.0",
12-
"version": "0.27.0",
12+
"version": "0.28.0",
1313
"files": [
1414
"dist",
1515
"types",
@@ -57,7 +57,7 @@
5757
"@shikijs/types": "^3.2.1"
5858
},
5959
"devDependencies": {
60-
"@blocknote/core": "^0.27.0",
60+
"@blocknote/core": "^0.28.0",
6161
"eslint": "^8.10.0",
6262
"prettier": "^2.7.1",
6363
"rollup-plugin-webpack-stats": "^0.2.2",
@@ -67,16 +67,12 @@
6767
"vitest": "^2.0.3"
6868
},
6969
"peerDependencies": {
70-
"@blocknote/core": "^0.26.0"
70+
"@blocknote/core": "workspace:*"
7171
},
7272
"eslintConfig": {
7373
"extends": [
7474
"../../.eslintrc.js"
7575
]
7676
},
77-
"publishConfig": {
78-
"access": "public",
79-
"registry": "https://registry.npmjs.org/"
80-
},
8177
"gitHead": "37614ab348dcc7faa830a9a88437b37197a2162d"
8278
}

packages/core/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"directory": "packages/core"
1212
},
1313
"license": "MPL-2.0",
14-
"version": "0.27.0",
14+
"version": "0.28.0",
1515
"files": [
1616
"dist",
1717
"types",
@@ -111,7 +111,7 @@
111111
"remark-stringify": "^11.0.0",
112112
"unified": "^11.0.5",
113113
"uuid": "^8.3.2",
114-
"y-prosemirror": "1.3.0",
114+
"y-prosemirror": "^1.3.1",
115115
"y-protocols": "^1.0.6",
116116
"yjs": "^13.6.15"
117117
},
@@ -142,9 +142,5 @@
142142
"../../.eslintrc.js"
143143
]
144144
},
145-
"publishConfig": {
146-
"access": "public",
147-
"registry": "https://registry.npmjs.org/"
148-
},
149145
"gitHead": "37614ab348dcc7faa830a9a88437b37197a2162d"
150146
}

0 commit comments

Comments
 (0)