File tree 4 files changed +30
-4
lines changed
4 files changed +30
-4
lines changed Original file line number Diff line number Diff line change 1
1
# [ 0.2.0] ( https://github.com/steven-tey/novel/compare/v0.1.0...v0.2.0 ) (2025-01-17)
2
2
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - remote tiptap markdown
8
+
3
9
## 1.0.0
4
10
5
11
### Major Changes
Original file line number Diff line number Diff line change
1
+ // ESM only manifesto: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
2
+
3
+ // This stub file was added to let some old ESLint plugins resolve
4
+ // the import paths correctly, as setting exports.*.require: null in package.json didn't work.
5
+
6
+ throw new Error (
7
+ `This package is ESM only.
8
+ See https://err.47ng.com/NUQS-101 for more details.` ,
9
+ ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " novel" ,
3
- "version" : " 1.0.0 " ,
3
+ "version" : " 1.0.1 " ,
4
4
"description" : " Notion-style WYSIWYG editor with AI-powered autocompletions" ,
5
5
"license" : " Apache-2.0" ,
6
6
"type" : " module" ,
7
- "main " : " dist/index.cjs " ,
7
+ "sideEffects " : false ,
8
8
"module" : " dist/index.js" ,
9
9
"types" : " dist/index.d.ts" ,
10
+ "exports" : {
11
+ "." : {
12
+ "types" : " ./dist/index.d.ts" ,
13
+ "import" : " ./dist/index.js" ,
14
+ "require" : " ./esm-only.cjs"
15
+ }
16
+ },
10
17
"files" : [
11
18
" dist"
12
19
],
20
+ "publishConfig" : {
21
+ "access" : " public"
22
+ },
13
23
"scripts" : {
14
24
"dev" : " tsup --watch" ,
15
25
"typecheck" : " tsc --noEmit" ,
16
26
"build" : " tsup" ,
17
27
"lint" : " biome lint ./src" ,
18
28
"format" : " biome format ./src "
19
29
},
20
- "sideEffects" : false ,
21
30
"peerDependencies" : {
22
31
"react" : " >=18"
23
32
},
Original file line number Diff line number Diff line change @@ -6,9 +6,11 @@ export default defineConfig((options: Options) => ({
6
6
js : "'use client'" ,
7
7
} ,
8
8
minify : true ,
9
- format : [ "cjs" , " esm"] ,
9
+ format : [ "esm" ] ,
10
10
dts : true ,
11
11
clean : true ,
12
12
external : [ "react" , "react-dom" ] ,
13
+ splitting : true ,
14
+ treeshake : true ,
13
15
...options ,
14
16
} ) ) ;
You can’t perform that action at this time.
0 commit comments