Skip to content

Commit

Permalink
chore: adding jsr publishing (#504)
Browse files Browse the repository at this point in the history
* chore: adding jsr publishing

* chore: adding semantic jsr publishing
  • Loading branch information
nicholasgriffintn authored Jul 3, 2024
1 parent 524db1c commit 913773b
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ To install this package, simply enter the following command into your terminal (
npm install sqs-consumer
```

If you would like to use JSR instead, you can find the package [here](https://jsr.io/@bbc/sqs-consumer).

> **Note**
> This library assumes you are using [AWS SDK v3](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sqs/index.html). If you are using v2, please install v5.8.0:
>
Expand Down
11 changes: 11 additions & 0 deletions jsr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "@bbc/sqs-consumer",
"version": "11.0.0-canary.1",
"exports": {
".": "./src/index.ts"
},
"publish": {
"include": ["src", "package.json", "README.md", "LICENSE"],
"exclude": ["dist", "test", "scripts"]
}
}
56 changes: 56 additions & 0 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,13 @@
],
"@semantic-release/changelog",
"@semantic-release/github",
"@semantic-release/npm"
"@semantic-release/npm",
"@sebbo2002/semantic-release-jsr"
]
},
"devDependencies": {
"@cucumber/cucumber": "^10.8.0",
"@sebbo2002/semantic-release-jsr": "^1.0.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/git": "^10.0.1",
Expand All @@ -163,6 +165,7 @@
"eslint": "^8.57.0",
"eslint-config-iplayer": "^9.2.0",
"eslint-config-prettier": "^9.1.0",
"jsr": "^0.12.4",
"mocha": "^10.5.2",
"p-event": "^6.0.1",
"prettier": "^3.3.2",
Expand Down

0 comments on commit 913773b

Please sign in to comment.