Skip to content

Commit 4084f39

Browse files
committed
chore: update scripts and metadata in package.json files
1 parent dfc4ada commit 4084f39

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.changeset/fix-npm-readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@codebelt/classy-store": patch
3+
---
4+
5+
Fix README not displaying on npm after monorepo migration

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"---------- CI / Helper ------------------------------------------------": "",
3333
"checkall": "bun run lint:fix && bun run test && bun run typecheck",
3434
"clean": "find . -name node_modules -o -name .next -o -name dist -o -name build | xargs rm -rf",
35-
"deps": "bun update --latest",
35+
"deps": "bun update --interactive --recursive --latest",
3636
"-----------------------------------------------------------------------": ""
3737
},
3838
"devDependencies": {

packages/classy-store/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Class-based reactive state management — ES6 Proxy + immutable snapshots",
55
"repository": {
66
"type": "git",
7-
"url": "git+https://github.com/codeBelt/classy-store.git"
7+
"url": "git+https://github.com/codeBelt/classy-store.git",
8+
"directory": "packages/classy-store"
89
},
910
"type": "module",
1011
"main": "./dist/index.cjs",
@@ -47,7 +48,8 @@
4748
}
4849
},
4950
"files": [
50-
"dist"
51+
"dist",
52+
"README.md"
5153
],
5254
"scripts": {
5355
"---------- Dev --------------------------------------------------------": "",
@@ -58,6 +60,7 @@
5860
"test": "bun test",
5961
"---------- Lint --------------------------------------------------------": "",
6062
"typecheck": "tsc --noEmit",
63+
"prepublishOnly": "cp ../../README.md .",
6164
"-----------------------------------------------------------------------": ""
6265
},
6366
"dependencies": {

0 commit comments

Comments
 (0)