Skip to content

Commit f5508a8

Browse files
committed
Update release pipeline
1 parent f853323 commit f5508a8

File tree

14 files changed

+38
-167
lines changed

14 files changed

+38
-167
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3-
"changelog": ["@changesets/changelog-github", { "repo": "openapi-ts/openapi-typescript" }],
3+
"changelog": ["@changesets/changelog-github", { "repo": "augwa/openapi-typescript" }],
44
"ignore": ["openapi-typescript-docs", "@example/*"],
55
"commit": false,
66
"fixed": [],

.changeset/heavy-onions-bake.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

.github/workflows/issue-stale.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/issue.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
name: release
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
workflow_dispatch:
75

86
env:
9-
GITHUB_TOKEN: ${{ secrets.OPENAPI_TS_BOT_GITHUB_TOKEN }}
7+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
108

119
jobs:
1210
changelog:
1311
runs-on: ubuntu-latest
14-
if: ${{ github.repository_owner == 'openapi-ts' }}
1512
permissions:
1613
contents: write
1714
pull-requests: write
15+
packages: write
1816
steps:
1917
- name: Git setup
2018
uses: actions/checkout@v4
@@ -23,6 +21,7 @@ jobs:
2321
uses: actions/setup-node@v4
2422
with:
2523
node-version: 22
24+
registry-url: https://npm.pkg.github.com/
2625

2726
- name: pnpm setup
2827
uses: pnpm/action-setup@v4
@@ -41,5 +40,5 @@ jobs:
4140
commit: "[ci] release"
4241
title: "[ci] release"
4342
env:
44-
GITHUB_TOKEN: ${{ secrets.OPENAPI_TS_BOT_GITHUB_TOKEN }}
45-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/size-limit.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openapi-typescript-monorepo",
3-
"private": true,
3+
"private": false,
44
"version": "0.0.0",
55
"type": "module",
66
"author": {

packages/openapi-fetch/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "openapi-fetch",
2+
"name": "@augwa/openapi-fetch",
33
"description": "Fast, type-safe fetch client for your OpenAPI schema. Only 6 kb (min). Works with React, Vue, Svelte, or vanilla JS.",
44
"version": "0.13.6",
55
"author": {
@@ -27,7 +27,7 @@
2727
"homepage": "https://openapi-ts.dev",
2828
"repository": {
2929
"type": "git",
30-
"url": "https://github.com/openapi-ts/openapi-typescript",
30+
"url": "https://github.com/augwa/openapi-typescript",
3131
"directory": "packages/openapi-fetch"
3232
},
3333
"bugs": {
@@ -84,5 +84,8 @@
8484
"typescript": "^5.8.3",
8585
"undici": "^7.0.0",
8686
"vite": "^6.3.4"
87+
},
88+
"publishConfig": {
89+
"registry": "https://npm.pkg.github.com"
8790
}
8891
}

packages/openapi-metadata/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "openapi-metadata",
2+
"name": "@augwa/openapi-metadata",
33
"description": "Auto-Generate OpenAPI specifications from Typescript decorators",
44
"version": "0.2.0",
55
"author": {
@@ -34,7 +34,7 @@
3434
"homepage": "https://openapi-ts.dev",
3535
"repository": {
3636
"type": "git",
37-
"url": "https://github.com/openapi-ts/openapi-typescript",
37+
"url": "https://github.com/augwa/openapi-typescript",
3838
"directory": "packages/openapi-metadata"
3939
},
4040
"bugs": {
@@ -73,5 +73,8 @@
7373
"typescript": "^5.8.3",
7474
"unbuild": "^3.5.0",
7575
"unplugin-swc": "^1.5.2"
76+
},
77+
"publishConfig": {
78+
"registry": "https://npm.pkg.github.com"
7679
}
7780
}

packages/openapi-react-query/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "openapi-react-query",
2+
"name": "@augwa/openapi-react-query",
33
"description": "Fast, type-safe @tanstack/react-query client to work with your OpenAPI schema.",
44
"version": "0.4.0",
55
"author": {
@@ -27,7 +27,7 @@
2727
"homepage": "https://openapi-ts.dev",
2828
"repository": {
2929
"type": "git",
30-
"url": "https://github.com/openapi-ts/openapi-typescript",
30+
"url": "https://github.com/augwa/openapi-typescript",
3131
"directory": "packages/openapi-react-query"
3232
},
3333
"bugs": {
@@ -81,5 +81,8 @@
8181
"peerDependencies": {
8282
"@tanstack/react-query": "^5.25.0",
8383
"openapi-fetch": "workspace:^"
84+
},
85+
"publishConfig": {
86+
"registry": "https://npm.pkg.github.com"
8487
}
8588
}

packages/openapi-typescript-helpers/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "openapi-typescript-helpers",
2+
"name": "@augwa/openapi-typescript-helpers",
33
"description": "TypeScript helpers for consuming openapi-typescript types",
44
"version": "0.0.15",
55
"author": {
@@ -32,7 +32,7 @@
3232
"homepage": "https://openapi-ts.dev",
3333
"repository": {
3434
"type": "git",
35-
"url": "https://github.com/openapi-ts/openapi-typescript",
35+
"url": "https://github.com/augwa/openapi-typescript",
3636
"directory": "packages/openapi-fetch"
3737
},
3838
"bugs": {
@@ -46,5 +46,8 @@
4646
},
4747
"devDependencies": {
4848
"typescript": "^5.8.3"
49+
},
50+
"publishConfig": {
51+
"registry": "https://npm.pkg.github.com"
4952
}
5053
}

packages/openapi-typescript/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "openapi-typescript",
2+
"name": "@augwa/openapi-typescript",
33
"description": "Convert OpenAPI 3.0 & 3.1 schemas to TypeScript",
44
"version": "7.7.0",
55
"author": {
@@ -22,7 +22,7 @@
2222
"homepage": "https://openapi-ts.dev",
2323
"repository": {
2424
"type": "git",
25-
"url": "https://github.com/openapi-ts/openapi-typescript",
25+
"url": "https://github.com/augwa/openapi-typescript",
2626
"directory": "packages/openapi-typescript"
2727
},
2828
"keywords": [
@@ -77,5 +77,8 @@
7777
"strip-ansi": "^7.1.0",
7878
"typescript": "^5.8.3",
7979
"vite-node": "^2.1.9"
80+
},
81+
"publishConfig": {
82+
"registry": "https://npm.pkg.github.com"
8083
}
8184
}

packages/swr-openapi/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "swr-openapi",
2+
"name": "@augwa/swr-openapi",
33
"description": "Generate SWR hooks from OpenAPI schemas",
44
"version": "5.1.5",
55
"author": {
@@ -16,7 +16,7 @@
1616
"sideEffects": false,
1717
"repository": {
1818
"type": "git",
19-
"url": "https://github.com/openapi-ts/openapi-typescript",
19+
"url": "https://github.com/augwa/openapi-typescript",
2020
"directory": "packages/swr-openapi"
2121
},
2222
"keywords": [
@@ -84,5 +84,8 @@
8484
"react": "^18.3.1",
8585
"swr": "^2.3.3",
8686
"typescript": "^5.8.3"
87+
},
88+
"publishConfig": {
89+
"registry": "https://npm.pkg.github.com"
8790
}
8891
}

0 commit comments

Comments
 (0)