Skip to content

Commit fdd00c8

Browse files
committed
chore: initial commit (v1.3.0)
0 parents  commit fdd00c8

File tree

131 files changed

+29035
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+29035
-0
lines changed

.commitlintrc.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"],
3+
"rules": {
4+
"type-enum": [
5+
2,
6+
"always",
7+
[
8+
"feat",
9+
"fix",
10+
"perf",
11+
"docs",
12+
"style",
13+
"refactor",
14+
"test",
15+
"chore",
16+
"ci",
17+
"build",
18+
"revert"
19+
]
20+
],
21+
"subject-case": [2, "always", "lower-case"],
22+
"subject-max-length": [2, "always", 72]
23+
}
24+
}

.github/workflows/ci.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
push:
7+
branches: [main]
8+
9+
jobs:
10+
lint-commit:
11+
runs-on: ubuntu-latest
12+
if: github.event_name == 'pull_request'
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 20.x
23+
24+
- name: Validate PR commits
25+
uses: wagoid/commitlint-github-action@v6
26+
with:
27+
configFile: .commitlintrc.json
28+
29+
test:
30+
runs-on: ubuntu-latest
31+
32+
strategy:
33+
matrix:
34+
node-version: [20.x, 22.x]
35+
36+
steps:
37+
- name: Checkout repository
38+
uses: actions/checkout@v4
39+
40+
- name: Setup Node.js ${{ matrix.node-version }}
41+
uses: actions/setup-node@v4
42+
with:
43+
node-version: ${{ matrix.node-version }}
44+
cache: 'npm'
45+
46+
- name: Install dependencies
47+
run: npm ci
48+
49+
- name: Type check
50+
run: npm run typecheck
51+
52+
- name: Build
53+
run: npm run build
54+
55+
- name: Run tests
56+
run: npm test
57+
58+
- name: Verify package
59+
run: npm pack --dry-run

.github/workflows/release.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: write
9+
issues: write
10+
pull-requests: write
11+
id-token: write
12+
13+
jobs:
14+
release:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
fetch-tags: true
22+
persist-credentials: true
23+
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: 20.x
28+
cache: 'npm'
29+
30+
- name: Configure git
31+
run: |
32+
git config user.name "github-actions[bot]"
33+
git config user.email "github-actions[bot]@users.noreply.github.com"
34+
35+
- name: Install dependencies
36+
run: npm ci
37+
38+
- name: Build
39+
run: npm run build
40+
41+
- name: Run tests
42+
run: npm test
43+
44+
- name: Release
45+
uses: cycjimmy/semantic-release-action@v4
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Build output
5+
dist/
6+
7+
# Logs
8+
*.log
9+
npm-debug.log*
10+
11+
# OS files
12+
.DS_Store
13+
Thumbs.db
14+
15+
# Test coverage
16+
coverage/
17+
18+
# Git worktrees
19+
.worktrees/
20+
21+
# Service account key files (NEVER COMMIT)
22+
*-sa-key.json
23+
*.sa-key.json
24+
*.pem
25+
*.key
26+
27+
# Credentials (NEVER COMMIT)
28+
credentials*.json
29+
30+
# npm pack output
31+
*.tgz
32+
33+
# IDE
34+
.vscode/
35+
.idea/
36+
*.swp
37+
*.swo
38+
39+
# Environment
40+
.env
41+
.env.local
42+
.claude/
43+
README-release.md
44+
docs/*

.npmignore

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Source files (only dist is needed)
2+
src/
3+
bin/
4+
test/
5+
docs/
6+
7+
# Development files
8+
*.ts
9+
tsconfig.json
10+
vitest.config.ts
11+
README-release.md
12+
13+
# Build artifacts
14+
*.map
15+
16+
# Dev files
17+
.git/
18+
.gitignore
19+
.worktrees/
20+
.claude/
21+
22+
# Secrets - NEVER PUBLISH
23+
*-sa-key.json
24+
*.sa-key.json
25+
*.pem
26+
*.key
27+
credentials*.json
28+
29+
# Data files
30+
*.txt
31+
*.csv
32+
*.json
33+
!package.json
34+
!package-lock.json
35+
36+
# Logs
37+
*.log
38+
39+
# OS files
40+
.DS_Store
41+
Thumbs.db
42+
43+
# IDE
44+
.vscode/
45+
.idea/
46+
*.swp
47+
*.swo

.releaserc.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"branches": ["main"],
3+
"plugins": [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
"@semantic-release/changelog",
7+
"@semantic-release/npm",
8+
"@semantic-release/github",
9+
[
10+
"@semantic-release/git",
11+
{
12+
"assets": ["package.json", "package-lock.json", "CHANGELOG.md"],
13+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
14+
}
15+
]
16+
]
17+
}

CHANGELOG.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# [1.3.0](https://github.com/ejpespa/gtypee/compare/v1.2.0...v1.3.0) (2026-03-02)
2+
3+
4+
### Features
5+
6+
* **gmail:** add --query option to list command ([4b72fb4](https://github.com/ejpespa/gtypee/commit/4b72fb4dfd64737db3bb5bf58e3759b1d1e04149))
7+
8+
# [1.2.0](https://github.com/ejpespa/gtypee/compare/v1.1.0...v1.2.0) (2026-02-28)
9+
10+
11+
### Features
12+
13+
* **docs:** add export command ([39e63a3](https://github.com/ejpespa/gtypee/commit/39e63a3861e9e17d045876863d5aed1644b78c29))
14+
* **docs:** add export types ([7d8ef82](https://github.com/ejpespa/gtypee/commit/7d8ef82e52a504421246abdc01693b91a4fff390))
15+
* **docs:** add formatDocsList function ([20f3d81](https://github.com/ejpespa/gtypee/commit/20f3d81c5c3b803057799f880952cde1f28bcd83))
16+
* **docs:** add list command with pagination support ([663d554](https://github.com/ejpespa/gtypee/commit/663d554b7ef0b3a95377044f0e7f47dca52be400))
17+
* **docs:** add list types and pagination support ([eda3367](https://github.com/ejpespa/gtypee/commit/eda3367215a448d275e9f2529ba738eb078dfe63))
18+
* **docs:** implement exportDoc runtime function ([1fc4cc3](https://github.com/ejpespa/gtypee/commit/1fc4cc3526fad56e29baeee6ab2ccdcc4f23683e))
19+
* **sheets:** add export command ([71bf8b9](https://github.com/ejpespa/gtypee/commit/71bf8b9712a82cf2010b2c4365707a956b7ad9d1))
20+
* **sheets:** add export types ([c81e6a3](https://github.com/ejpespa/gtypee/commit/c81e6a3532742e8f1782fb369d3d1ac823ad6935))
21+
* **sheets:** add formatSheetsList function ([d921ae2](https://github.com/ejpespa/gtypee/commit/d921ae2b183216da051cf06770c4f12f38b64f7f))
22+
* **sheets:** add list command with pagination support ([3fd8892](https://github.com/ejpespa/gtypee/commit/3fd8892e281ea12985d04364f61aa953c277d001))
23+
* **sheets:** add list types and pagination support ([b3822e3](https://github.com/ejpespa/gtypee/commit/b3822e310b1d46b032ef570bb3228b3dd7624084))
24+
* **sheets:** implement exportSheet runtime function ([4ef34bf](https://github.com/ejpespa/gtypee/commit/4ef34bfebc394055ceff334c1b4c38886ab6b79d))
25+
26+
# [1.1.0](https://github.com/ejpespa/gtypee/compare/v1.0.0...v1.1.0) (2026-02-27)
27+
28+
29+
### Bug Fixes
30+
31+
* add non-null assertions for workspace pagination tests ([94e7e38](https://github.com/ejpespa/gtypee/commit/94e7e38111e20a436ef688325bc45e10792da9e1))
32+
33+
34+
### Features
35+
36+
* add shared pagination types ([ee73377](https://github.com/ejpespa/gtypee/commit/ee73377cd396d94a8e4a397f434755f6d3c1744d))
37+
* **calendar:** add pagination support to events list ([c8f74fd](https://github.com/ejpespa/gtypee/commit/c8f74fdd57555d6e386c5a9c1ca12edfb64c6cc5))
38+
* **contacts:** add pagination support to list command ([3fc8fe4](https://github.com/ejpespa/gtypee/commit/3fc8fe421e4425f310cdbd41b6fd69bff4d5384a))
39+
* **drive:** add pagination support to ls and search commands ([fc2e600](https://github.com/ejpespa/gtypee/commit/fc2e600f87bf4809da49c35d80b5f3ee977ba1ea))
40+
* **gmail:** add pagination support to list commands ([5f79a30](https://github.com/ejpespa/gtypee/commit/5f79a302c54e5979cf2e5f3d54441e6b5bedc21a))
41+
* **workspace:** add pagination support to user, group, device list commands ([dd366e6](https://github.com/ejpespa/gtypee/commit/dd366e6bd04a4e0f5e95bea197656f88ccb56d47))
42+
43+
# 1.0.0 (2026-02-23)
44+
45+
46+
### Bug Fixes
47+
48+
* **ci:** improve release workflow tag fetching and git config ([53b777d](https://github.com/ejpespa/gtypee/commit/53b777d51308ef2af880aad6761d167afbe3e407))
49+
* republish to npm with 2fa bypass token ([80a339c](https://github.com/ejpespa/gtypee/commit/80a339c5f93788b06c9a4539ffae4caaacac7940))
50+
* republish with bypass 2fa token ([187bcb6](https://github.com/ejpespa/gtypee/commit/187bcb64e2686095ed04cb54757076438729f8af))
51+
* update repository URL to correct GitHub repo ([0820e9c](https://github.com/ejpespa/gtypee/commit/0820e9cb87f4299971717f7ee32f7739364062e8))
52+
53+
54+
### Features
55+
56+
* initial release ([41bdd5f](https://github.com/ejpespa/gtypee/commit/41bdd5fbbd2960e59e4981a5dc53269885dfa730))
57+
* initial release ([9c6171a](https://github.com/ejpespa/gtypee/commit/9c6171a377aaa2aeb93d9ce0a15e0ea7129eb72e))
58+
* initial release ([6e5590c](https://github.com/ejpespa/gtypee/commit/6e5590c37f9b83a285cad8d2b9ff1e3310f7043b))
59+
* initial release of gtypee CLI ([8c2bf6d](https://github.com/ejpespa/gtypee/commit/8c2bf6db10f77984776d69555da70901df59ba8a))
60+
* test semantic-release ([394d19c](https://github.com/ejpespa/gtypee/commit/394d19ce6f2bb05ed8a6ec6935845201d2a2650c))
61+
62+
# Changelog
63+
64+
All notable changes to this project will be automatically documented in this file.
65+
66+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
67+
and this project adheres to [Semantic Versioning](https://semver.org/spec/2.0.0.html).

LICENSE

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
ISC License
2+
3+
Copyright (c) 2026 typee-cli
4+
5+
Permission to use, copy, modify, and/or distribute this software for any
6+
purpose with or without fee is hereby granted, provided that the above
7+
copyright notice and this permission notice appear in all copies.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

0 commit comments

Comments
 (0)