Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"cliVersion": "3.24.4",
"cliVersion": "4.43.1",
"generatorName": "fernapi/fern-typescript-node-sdk",
"generatorVersion": "3.42.7",
"generatorVersion": "3.59.4",
"generatorConfig": {
"allowCustomFetcher": true,
"includeApiReference": true,
Expand Down Expand Up @@ -46,5 +46,6 @@
"files": ["dist/**/*.js", "dist/**/*.d.ts", "!dist/**/*.js.map", "!dist/**/*.test.*", "README.md"]
}
},
"sdkVersion": "1.4.4"
"originGitCommit": "f6da3f47e1ccc938dd397950a59c4d166cd228b4",
"sdkVersion": "1.4.5"
}
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: ci

on: [push]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

jobs:
compile:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -63,7 +67,15 @@ jobs:
elif [[ ${GITHUB_REF} == *beta* ]]; then
publish --access public --tag beta
else
publish --access public
PKG_NAME=$(node -p "require('./package.json').name")
PKG_VERSION=$(node -p "require('./package.json').version")
CURRENT_LATEST=$(npm view "${PKG_NAME}" dist-tags.latest 2>/dev/null || echo "0.0.0")
if npx -y semver "${PKG_VERSION}" -r "<${CURRENT_LATEST}" > /dev/null 2>&1; then
echo "Publishing ${PKG_VERSION} with --tag backport (current latest is ${CURRENT_LATEST})"
publish --access public --tag backport
else
publish --access public
fi
fi
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.1/schema.json",
"$schema": "https://biomejs.dev/schemas/2.4.3/schema.json",
"root": true,
"vcs": {
"enabled": false
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@schematichq/schematic-typescript-node",
"version": "1.4.4",
"version": "1.4.5",
"private": false,
"repository": {
"type": "git",
Expand All @@ -16,7 +16,7 @@
"check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
"check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
"build": "node build.js",
"prepack": "cp -rv dist/. .",
"prepack": "",
"test": "jest --config jest.config.mjs",
"test:unit": "jest --selectProjects unit",
"test:wire": "jest --selectProjects wire",
Expand Down Expand Up @@ -45,7 +45,7 @@
"msw": "2.11.2",
"@types/node": "^18.19.70",
"typescript": "~5.7.2",
"@biomejs/biome": "2.3.1",
"@biomejs/biome": "2.4.3",
"esbuild": "^0.25.9",
"miniflare": "^4.20260305.0"
},
Expand Down
Loading