Skip to content

Commit 19d03a5

Browse files
authored
Merge branch 'main' into dev
2 parents ac04a2b + f4a9a8a commit 19d03a5

File tree

9 files changed

+103
-13
lines changed

9 files changed

+103
-13
lines changed

.changeset/rich-suns-look.md

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

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,13 @@ jobs:
4646
GITHUB_TOKEN: ${{ secrets.CHANGESETS_GH_TOKEN }}
4747
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4848

49+
- name: Log Changesets outputs
50+
run: |
51+
echo "published: ${{ steps.changesets.outputs.published }}"
52+
echo "publishedPackages: ${{ steps.changesets.outputs.publishedPackages }}"
53+
echo "hasChangesets: ${{ steps.changesets.outputs.hasChangesets }}"
54+
4955
# Upload docs to GCP ONLY after publishing
5056
- name: Upload docs
5157
if: steps.changesets.outputs.published == 'true'
52-
uses: './.github/actions/upload-docs'
58+
uses: './.github/actions/upload-docs'
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Release Docs for Caly-Xano CLI
2+
3+
on:
4+
workflow_dispatch
5+
6+
jobs:
7+
release:
8+
name: Release Docs
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repo
12+
uses: actions/checkout@v4
13+
14+
- name: Install pnpm
15+
uses: pnpm/action-setup@v4
16+
with:
17+
version: 10
18+
run_install: true
19+
20+
- name: Setup Node
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: 20.x
24+
registry-url: 'https://registry.npmjs.org'
25+
scope: '@calycode'
26+
always-auth: true
27+
env:
28+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
29+
30+
- name: Install dependencies
31+
run: pnpm install
32+
33+
- name: Build packages
34+
run: pnpm build:packages
35+
36+
- name: Update the docs
37+
run: pnpm build:docs
38+
39+
# Upload docs to GCP ONLY after publishing
40+
- name: Authenticate GCP
41+
uses: google-github-actions/auth@v3
42+
with:
43+
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
44+
45+
- name: Upload docs folder to GCP
46+
uses: google-github-actions/upload-cloud-storage@v3
47+
with:
48+
path: 'docs'
49+
destination: 'calycode.com/cli'

packages/cli/CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# @calycode/xano-cli
22

3+
## 0.4.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [99d0ff0]
8+
- @calycode/utils@0.2.1
9+
- @calycode/core@0.4.1
10+
11+
## 0.4.0
12+
13+
### Minor Changes
14+
15+
- 0342c6f: docs: integrated docsify.js to auto-generate documentation site from command signatures.
16+
feat: added GCP uploader actions to the release to automatically update the docs on new release from the command signature
17+
feat: added more descriptive and styled mardkown as docs that are generated from command signatures
18+
refactor: rebrand actually, renamed the core package from caly-core to core and the command from caly-xano to simply xano
19+
20+
### Patch Changes
21+
22+
- Updated dependencies [0342c6f]
23+
- @calycode/core@0.4.0
24+
325
## 0.3.0
426

527
### Minor Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@calycode/cli",
3-
"version": "0.3.0",
3+
"version": "0.4.1",
44
"description": "Command-line interface for Xano providing terminal access to Xano workflows",
55
"publishConfig": {
66
"access": "restricted",

packages/core/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @calycode/caly-core
22

3+
## 0.4.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [99d0ff0]
8+
- @calycode/utils@0.2.1
9+
10+
## 0.4.0
11+
12+
### Minor Changes
13+
14+
- 0342c6f: docs: integrated docsify.js to auto-generate documentation site from command signatures.
15+
feat: added GCP uploader actions to the release to automatically update the docs on new release from the command signature
16+
feat: added more descriptive and styled mardkown as docs that are generated from command signatures
17+
refactor: rebrand actually, renamed the core package from caly-core to core and the command from caly-xano to simply xano
18+
319
## 0.3.0
420

521
### Minor Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@calycode/core",
3-
"version": "0.3.0",
3+
"version": "0.4.1",
44
"description": "Core functionality for the Caly Xano tooling providing programmatic access to Xano workflows",
55
"publishConfig": {
66
"access": "restricted"

packages/utils/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @calycode/utils
22

3+
## 0.2.1
4+
5+
### Patch Changes
6+
7+
- 99d0ff0: fix: release of docs
8+
39
## 0.2.0
410

511
### Minor Changes

packages/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@calycode/utils",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Utility functions and helpers for the Caly Xano tooling ecosystem",
55
"publishConfig": {
66
"access": "restricted"

0 commit comments

Comments
 (0)