Skip to content

Commit 8e1464e

Browse files
committed
add dist to files and publish v0.03
1 parent 92b5dc0 commit 8e1464e

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

bun.lockb

0 Bytes
Binary file not shown.

examples/nextjs/bun.lockb

-364 Bytes
Binary file not shown.

examples/nextjs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"next": "14.2.5",
13-
"next-scroll-restoration": "^0.0.1",
13+
"next-scroll-restoration": "^0.0.3",
1414
"react": "^18",
1515
"react-dom": "^18"
1616
},

package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
{
22
"name": "next-scroll-restoration",
3-
"version": "0.0.1",
3+
"version": "0.0.3",
44
"type": "module",
55
"main": "./dist/index.cjs",
66
"module": "./dist/index.js",
77
"types": "./dist/index.d.ts",
8+
"files": [
9+
"dist",
10+
"src"
11+
],
812
"exports": {
913
"import": {
1014
"types": "./dist/index.d.ts",
@@ -16,6 +20,7 @@
1620
}
1721
},
1822
"scripts": {
23+
"prepare": "tsup --config tsup.config.prebuild.ts && tsup",
1924
"postinstall": "tsup --config tsup.config.prebuild.ts && tsup",
2025
"prebuild": "tsup --config tsup.config.prebuild.ts",
2126
"build": "tsup",

0 commit comments

Comments
 (0)