Skip to content

Commit

Permalink
fix: package.json repo reference and types package exports
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarenaldi committed Feb 22, 2025
1 parent 21f6571 commit aa3a491
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repository": {
"directory": "packages/client",
"type": "git",
"url": "git://github.com/lens-network/social-sdk.git"
"url": "git://github.com/lens-protocol/lens-sdk.git"
},
"type": "module",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repository": {
"directory": "packages/env",
"type": "git",
"url": "git://github.com/lens-network/social-sdk.git"
"url": "git://github.com/lens-protocol/lens-sdk.git"
},
"type": "module",
"main": "dist/index.cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repository": {
"directory": "packages/graphql",
"type": "git",
"url": "git://github.com/lens-network/social-sdk.git"
"url": "git://github.com/lens-protocol/lens-sdk.git"
},
"type": "module",
"main": "dist/index.cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repository": {
"directory": "packages/react",
"type": "git",
"url": "git://github.com/lens-network/social-sdk.git"
"url": "git://github.com/lens-protocol/lens-sdk.git"
},
"type": "module",
"main": "dist/index.cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repository": {
"directory": "packages/storage",
"type": "git",
"url": "git://github.com/lens-network/social-sdk.git"
"url": "git://github.com/lens-protocol/lens-sdk.git"
},
"type": "module",
"main": "dist/index.cjs",
Expand Down
14 changes: 13 additions & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,24 @@
"repository": {
"directory": "packages/types",
"type": "git",
"url": "git://github.com/lens-network/social-sdk.git"
"url": "git://github.com/lens-protocol/lens-sdk.git"
},
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"typesVersions": {
"*": {
"import": ["./dist/index.d.ts"],
"require": ["./dist/index.d.cts"]
}
},
"files": ["dist"],
"sideEffects": false,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion templates/lib/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repository": {
"directory": "packages/{{name}}",
"type": "git",
"url": "git://github.com/lens-network/social-sdk.git"
"url": "git://github.com/lens-protocol/lens-sdk.git"
},
"type": "module",
"main": "dist/index.cjs",
Expand Down

0 comments on commit aa3a491

Please sign in to comment.