Skip to content

Commit 9f38a69

Browse files
authored
Merge pull request #7 from context-dot-dev/release-please--branches--main--changes--next--components--context.dev
release: 1.0.1
2 parents 86b74dc + 891ca9a commit 9f38a69

12 files changed

Lines changed: 25 additions & 19 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
runs-on: ubuntu-latest
1919
permissions:
2020
contents: write
21-
id-token: write
2221

2322
steps:
2423
- uses: actions/checkout@v6
@@ -40,6 +39,8 @@ jobs:
4039
PATHS_RELEASED='[\".\", \"packages/mcp-server\"]'
4140
fi
4241
yarn tsn scripts/publish-packages.ts "{ \"paths_released\": \"$PATHS_RELEASED\" }"
42+
env:
43+
NPM_TOKEN: ${{ secrets.CONTEXT_DEV_NPM_TOKEN || secrets.NPM_TOKEN }}
4344

4445
- name: Upload MCP Server DXT GitHub release asset
4546
run: |

.github/workflows/release-doctor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ jobs:
1717
- name: Check release environment
1818
run: |
1919
bash ./bin/check-release-environment
20+
env:
21+
NPM_TOKEN: ${{ secrets.CONTEXT_DEV_NPM_TOKEN || secrets.NPM_TOKEN }}
2022

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.0.0"
2+
".": "1.0.1"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 20
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-ea89aeedfdd75f71542bcbb53880ecbc07f2656945d9ac8dce55d7bdabc5f8cc.yml
33
openapi_spec_hash: c4dd62c3a3dc8c59a050fb6a76ab5f1b
4-
config_hash: 91976f3284e20f47fdb0256e128536cd
4+
config_hash: df40ba3de7dbee2faf0315c5fbd001dc

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.0.1 (2026-03-25)
4+
5+
Full Changelog: [v1.0.0...v1.0.1](https://github.com/context-dot-dev/context-typescript-sdk/compare/v1.0.0...v1.0.1)
6+
7+
### Chores
8+
9+
* update SDK settings ([3b9412d](https://github.com/context-dot-dev/context-typescript-sdk/commit/3b9412de445316f63aa3424ef068ec1657de9d48))
10+
311
## 1.0.0 (2026-03-25)
412

513
Full Changelog: [v0.5.0...v1.0.0](https://github.com/context-dot-dev/context-typescript-sdk/compare/v0.5.0...v1.0.0)

bin/check-release-environment

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
errors=()
44

5+
if [ -z "${NPM_TOKEN}" ]; then
6+
errors+=("The NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
7+
fi
8+
59
lenErrors=${#errors[@]}
610

711
if [[ lenErrors -gt 0 ]]; then

bin/publish-npm

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22

33
set -eux
44

5-
if [[ ${NPM_TOKEN:-} ]]; then
6-
npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"
7-
elif [[ ! ${ACTIONS_ID_TOKEN_REQUEST_TOKEN:-} ]]; then
8-
echo "ERROR: NPM_TOKEN must be set if not running in a Github Action with id-token permission"
9-
exit 1
10-
fi
5+
npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"
116

127
yarn build
138
cd dist
@@ -62,9 +57,5 @@ else
6257
TAG="latest"
6358
fi
6459

65-
# Install OIDC compatible npm version
66-
npm install --prefix ../oidc/ npm@11.6.2
67-
6860
# Publish with the appropriate tag
69-
export npm_config_registry='https://registry.npmjs.org'
70-
../oidc/node_modules/.bin/npm publish --tag "$TAG"
61+
yarn publish --tag "$TAG"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "context.dev",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "The official TypeScript library for the Context Dev API",
55
"author": "Context Dev <hello@context.dev>",
66
"types": "dist/index.d.ts",

packages/mcp-server/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"dxt_version": "0.2",
33
"name": "context.dev-mcp",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"description": "The official MCP Server for the Context Dev API",
66
"author": {
77
"name": "Context Dev",

packages/mcp-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "context.dev-mcp",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "The official MCP Server for the Context Dev API",
55
"author": "Context Dev <hello@context.dev>",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)