Skip to content
Open
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
16 changes: 16 additions & 0 deletions .github/workflows/lint-pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Lint PR Title

on:
pull_request_target:
types: [opened, edited, synchronize]

permissions:
pull-requests: read

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 changes: 18 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Release Please

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "8.2.0"
}
3 changes: 1 addition & 2 deletions jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ module.exports = {
roots: ['<rootDir>/src'],
setupFilesAfterEnv: ['./setup-jest.ts'],
transform: {
'^.+\\.ts?$': 'ts-jest',
'^.+\\.m?js$': '<rootDir>/jest-transform-esm.cjs',
'^.+\\.m?[jt]s$': '<rootDir>/jest-transform-esm.cjs',
},
transformIgnorePatterns: [
'node_modules/(?!(iron-webcrypto|uint8array-extras|@noble|@scure|jose)/)',
Expand Down
154 changes: 0 additions & 154 deletions package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"jest-fetch-mock": "^3.0.3",
"miniflare": "^4.20251004.0",
"prettier": "^3.5.3",
"ts-jest": "29.4.4",
"tsdown": "^0.17.0",
"tsx": "^4.20.6",
"typescript": "5.9.3",
Expand Down
11 changes: 11 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"include-component-in-tag": false,
"packages": {
".": {
"release-type": "node",
"changelog-path": "CHANGELOG.md",
"versioning": "default"
}
}
}
3 changes: 1 addition & 2 deletions src/workos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ import { CryptoProvider } from './common/crypto/crypto-provider';
import { ParseError } from './common/exceptions/parse-error';
import { getEnv } from './common/utils/env';
import { getRuntimeInfo } from './common/utils/runtime-info';

const VERSION = '8.2.0';
import { version as VERSION } from '../package.json' with { type: 'json' };

const DEFAULT_HOSTNAME = 'api.workos.com';

Expand Down