Skip to content

Commit

Permalink
Add jsr.json and pin version in example
Browse files Browse the repository at this point in the history
  • Loading branch information
ldhenry committed Feb 10, 2025
1 parent ce436a2 commit 3717d13
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk/fastly/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@fastly/js-compute": "^3.28.0",
"@launchdarkly/fastly-server-sdk": "workspace:^"
"@launchdarkly/fastly-server-sdk": "0.0.1-alpha.1"
},
"scripts": {
"clean": "rimraf build && rimraf bin",
Expand Down
9 changes: 9 additions & 0 deletions packages/sdk/fastly/jsr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "@launchdarkly/fastly-server-sdk",
"version": "0.0.1",
"exports": "./src/index.ts",
"publish": {
"include": ["LICENSE", "README.md", "package.json", "jsr.json", "src/**/*.ts"],
"exclude": ["src/**/*.test.ts"]
}
}
5 changes: 5 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
},
"packages/sdk/fastly": {
"extra-files": [
{
"type": "json",
"path": "jsr.json",
"jsonpath": "$.version"
},
{
"type": "json",
"path": "example/package.json",
Expand Down

0 comments on commit 3717d13

Please sign in to comment.