chore: update package version to 0.1.2 and modify homepage URL in package.json; remove development and publishing sections from README
This commit is contained in:
@@ -73,31 +73,3 @@ Documentation lives with the package:
|
|||||||
- [Entity analytics](./sdks/javascript/docs/ENTITY_ANALYTICS.md)
|
- [Entity analytics](./sdks/javascript/docs/ENTITY_ANALYTICS.md)
|
||||||
- [Caching and retries](./sdks/javascript/docs/CACHING_AND_RETRIES.md)
|
- [Caching and retries](./sdks/javascript/docs/CACHING_AND_RETRIES.md)
|
||||||
- [Examples](./sdks/javascript/examples)
|
- [Examples](./sdks/javascript/examples)
|
||||||
|
|
||||||
## Development
|
|
||||||
|
|
||||||
Use pnpm 9.x.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
pnpm install
|
|
||||||
pnpm test
|
|
||||||
pnpm typecheck
|
|
||||||
pnpm build
|
|
||||||
```
|
|
||||||
|
|
||||||
On machines where Corepack's pnpm shim is broken, use:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npx --yes pnpm@9.15.0 install
|
|
||||||
npx --yes pnpm@9.15.0 test
|
|
||||||
```
|
|
||||||
|
|
||||||
## Publishing JavaScript SDK
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cd sdks/javascript
|
|
||||||
pnpm test
|
|
||||||
pnpm typecheck
|
|
||||||
pnpm build
|
|
||||||
npm publish --access public --provenance
|
|
||||||
```
|
|
||||||
|
|||||||
@@ -262,14 +262,3 @@ pnpm test
|
|||||||
pnpm typecheck
|
pnpm typecheck
|
||||||
pnpm build
|
pnpm build
|
||||||
```
|
```
|
||||||
|
|
||||||
Publishing:
|
|
||||||
|
|
||||||
Preferred publish path is the release workflow, which runs with npm provenance from CI. Before publishing, verify npm authentication and `@socialhose` scope access:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm whoami
|
|
||||||
npm publish --dry-run --access public --provenance
|
|
||||||
```
|
|
||||||
|
|
||||||
For the actual release, publish from CI with provenance enabled. If you must publish locally, first confirm whether npm provenance is supported in that environment.
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@socialhose/api",
|
"name": "@socialhose/api",
|
||||||
"version": "0.1.0",
|
"version": "0.1.2",
|
||||||
"description": "TypeScript SDK for the Socialhose Public API.",
|
"description": "TypeScript SDK for the Socialhose Public API.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "Socialhose",
|
"author": "Socialhose",
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
"url": "git+ssh://git@git.elzubeir.com/socialhose/sdk.git",
|
"url": "git+ssh://git@git.elzubeir.com/socialhose/sdk.git",
|
||||||
"directory": "sdks/javascript"
|
"directory": "sdks/javascript"
|
||||||
},
|
},
|
||||||
"homepage": "https://socialhose.net",
|
"homepage": "https://git.elzubeir.com/socialhose/sdk",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
"docs",
|
"docs",
|
||||||
|
|||||||
Reference in New Issue
Block a user