Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/fix-package-publishing-files.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@hypercerts-org/sdk-core": patch
"@hypercerts-org/sdk-react": patch
"@hypercerts-org/lexicon": patch
---

Configure npm publishing to exclude source code and development files. Packages now only include the compiled `dist/` folder, README, and necessary runtime files (lexicon schemas). This reduces package sizes and prevents unnecessary files from being published to npm.
2 changes: 1 addition & 1 deletion packages/lexicon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"files": [
"dist",
"lexicons",
"src"
"README.md"
],
"keywords": [
"hypercerts",
Expand Down
12 changes: 8 additions & 4 deletions packages/sdk-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hypercerts-org/sdk-core",
"version": "0.4.0",
"version": "0.5.0",
"description": "Framework-agnostic ATProto SDK core for authentication, repository operations, and lexicon management",
"main": "dist/index.cjs",
"repository": {
Expand All @@ -10,6 +10,10 @@
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist",
"README.md"
],
"scripts": {
"test": "vitest",
"build": "rollup -c",
Expand Down Expand Up @@ -37,7 +41,7 @@
"@types/node": ">=20.10.0",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"jose": "^6.0.13",
"jose": "^6.1.3",
"rollup": "^4.53.3",
"rollup-plugin-dts": "^6.2.3",
"vitest": "^3.2.4"
Expand Down Expand Up @@ -81,8 +85,8 @@
"dependencies": {
"@atproto/api": "^0.17.5",
"@atproto/lexicon": "^0.5.1",
"@atproto/oauth-client": "^0.5.9",
"@atproto/oauth-client-node": "^0.3.10",
"@atproto/oauth-client": "^0.5.10",
"@atproto/oauth-client-node": "^0.3.12",
"@hypercerts-org/lexicon": "workspace:*",
"eventemitter3": "^5.0.1",
"zod": "^3.24.4"
Expand Down
6 changes: 5 additions & 1 deletion packages/sdk-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hypercerts-org/sdk-react",
"version": "0.4.0",
"version": "0.5.0",
"description": "React hooks and components for the Hypercerts ATProto SDK",
"type": "module",
"main": "dist/index.cjs",
Expand All @@ -13,6 +13,10 @@
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist",
"README.md"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
Expand Down
108 changes: 54 additions & 54 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading