Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c87c8e0
refactor: cleanup and move to esm
ComfortablyCoding May 20, 2024
fbcded4
chore: update deps, configs and tests
ComfortablyCoding May 20, 2024
a58df6f
fix(workflows): actions are not under `.github`
ComfortablyCoding May 22, 2024
71118ee
fix(setup action): pnpm version is not specified
ComfortablyCoding May 22, 2024
ceefbca
chore: update ignore files
ComfortablyCoding May 27, 2024
74ea6c5
chore(jsdoc): add a link corresponding API doc for functions
ComfortablyCoding May 27, 2024
6f3a5f6
chore(route): update typing for client
ComfortablyCoding May 27, 2024
53c0d5b
fix(comment): add missing threaded endpoints
ComfortablyCoding May 27, 2024
36dbc25
chore(setToken): add additional space to jsdoc for consistency
ComfortablyCoding May 27, 2024
29034a3
Merge branch 'v-next' of https://github.com/ComfortablyCoding/clickup…
ComfortablyCoding May 27, 2024
b0d1d9d
docs: remove manual docs
ComfortablyCoding May 27, 2024
a23d989
doc: add auto generated API
ComfortablyCoding May 29, 2024
39ca28e
unify naming and add missing routes
ComfortablyCoding Nov 2, 2025
a1dd72c
add version support
ComfortablyCoding Nov 2, 2025
939ec00
remove index route import
ComfortablyCoding Nov 2, 2025
1c30b9e
remove version fro prefixUrl
ComfortablyCoding Nov 2, 2025
6986475
fix token not being set with setToken
ComfortablyCoding Nov 2, 2025
b24ac67
auto snakeCase body keys
ComfortablyCoding Nov 2, 2025
763e2f6
Rename params to options and utilize query over params
ComfortablyCoding Nov 2, 2025
7cd44f9
export routes under default
ComfortablyCoding Nov 2, 2025
4bc2bec
remove leading route slash
ComfortablyCoding Nov 2, 2025
8a68622
move to ofetch, add rate limiting and snake_case keys
ComfortablyCoding Nov 2, 2025
028a926
add tests
ComfortablyCoding Nov 2, 2025
4b7d286
move route top level
ComfortablyCoding Nov 2, 2025
c80c4be
add docs
ComfortablyCoding Nov 2, 2025
3043724
remove pnpm-workspace
ComfortablyCoding Nov 3, 2025
3cf9586
update prettier rule
ComfortablyCoding Nov 3, 2025
7416e69
add required version prefix to auth routes
ComfortablyCoding Nov 4, 2025
1fccb26
fix version not being passed to routes
ComfortablyCoding Nov 4, 2025
59210bf
fix token not acknowledged
ComfortablyCoding Nov 4, 2025
a7485fe
improve error format
ComfortablyCoding Nov 4, 2025
d6a3915
add jsdoc for createClickup
ComfortablyCoding Nov 4, 2025
54eeed3
utilize oidc tokens for publish
ComfortablyCoding Nov 23, 2025
d14011c
setup docs deploy
ComfortablyCoding Nov 23, 2025
62ae658
update docs url to gh pages
ComfortablyCoding Nov 23, 2025
6d2300d
shel is required for composite actions
ComfortablyCoding Nov 23, 2025
c3e3351
only build esm
ComfortablyCoding Nov 23, 2025
147c804
add changelog.md
ComfortablyCoding Nov 23, 2025
85cec33
Improve doc sidebar
ComfortablyCoding Nov 23, 2025
31d1b45
fix doc note display
ComfortablyCoding Nov 23, 2025
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
45 changes: 0 additions & 45 deletions .eslintignore

This file was deleted.

20 changes: 0 additions & 20 deletions .eslintrc.json

This file was deleted.

27 changes: 27 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Setup

runs:
using: composite
steps:
- name: setup Node
uses: actions/setup-node@v4
with:
node-version: 24
registry-url: https://registry.npmjs.org/

# Trusted publishing requires npm 11.5.1 or later is installed
- name: update npm
# required for composite actions
shell: bash
run: npm install -g [email protected]

- name: setup pnpm
uses: pnpm/action-setup@v3
with:
run_install: false
version: 10

- name: install dependencies
# required for composite actions
shell: bash
run: pnpm install
50 changes: 50 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Deploy Docs

on:
push:
branches: ["main"]

workflow_dispatch:

permissions:
contents: read
# Required for pushing content to pages
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup environment
uses: ./.github/actions/setup

- name: setup page
uses: actions/configure-pages@v5

- name: build docs
run: pnpm run docs:deploy

- name: upload
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/.vitepress/dist

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: deploy
id: deployment
uses: actions/deploy-pages@v4
33 changes: 0 additions & 33 deletions .github/workflows/npm-publish.yml

This file was deleted.

24 changes: 11 additions & 13 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
name: PR Test
name: Test PR

on: [pull_request]

jobs:
test-pr:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v2

- name: Install Node v16
uses: actions/setup-node@v2
- name: checkout
uses: actions/checkout@v4
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
fetch-depth: 0

- name: Clean install deps
run: npm ci
- name: setup
uses: ./.github/actions/setup

- name: Run tests
run: npm test
- name: test
run: pnpm test -- -- --changed origin/${{ github.base_ref }} --passWithNoTests
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish Package

permissions:
id-token: write # Required for OIDC
contents: read

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup environment
uses: ./.github/actions/setup

- name: test
run: pnpm test

- name: publish
run: pnpm publish
77 changes: 6 additions & 71 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
Expand All @@ -15,90 +12,28 @@ pids
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache
# cache
cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
# build
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port
# autogen docs
docs/api.md
docs/changelog.md
Loading
Loading