Skip to content

Commit

Permalink
chore: adding jsr publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasgriffintn committed Jul 3, 2024
1 parent 524db1c commit f421487
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
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"]
}
}
43 changes: 43 additions & 0 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"build": "npm run clean && npm run compile && npm run add-package-jsons",
"watch": "tsc --watch",
"prepublishOnly": "npm run build",
"publish:jsr": "jsr publish",
"test:unit": "mocha --recursive --full-trace --exit --reporter json > test/reports/test-results.json",
"pretest:integration:init": "npm run build",
"test:integration:init": "sh ./test/scripts/initIntTests.sh",
Expand Down Expand Up @@ -163,6 +164,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 f421487

Please sign in to comment.