generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
1,495 additions
and
563 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": [ | ||
"@changesets/changelog-github", | ||
{ | ||
"repo": "TBD54566975/web5-js" | ||
} | ||
], | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"bumpVersionsWithWorkspaceProtocolOnly": true, | ||
"ignore": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,83 @@ | ||
# For most projects, this workflow file will not need changing; you simply need | ||
# to commit it to your repository. | ||
# | ||
# You may wish to alter this file to override the set of languages analyzed, | ||
# or to provide custom queries or build logic. | ||
# | ||
# ******** NOTE ******** | ||
# We have attempted to detect the languages in your repository. Please check | ||
# the `language` matrix defined below to confirm you have the correct set of | ||
# supported CodeQL languages. | ||
# | ||
name: "CodeQL" | ||
# # For most projects, this workflow file will not need changing; you simply need | ||
# # to commit it to your repository. | ||
# # | ||
# # You may wish to alter this file to override the set of languages analyzed, | ||
# # or to provide custom queries or build logic. | ||
# # | ||
# # ******** NOTE ******** | ||
# # We have attempted to detect the languages in your repository. Please check | ||
# # the `language` matrix defined below to confirm you have the correct set of | ||
# # supported CodeQL languages. | ||
# # | ||
# name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
schedule: | ||
- cron: '28 12 * * 3' | ||
# on: | ||
# push: | ||
# branches: [ "main" ] | ||
# pull_request: | ||
# branches: [ "main" ] | ||
# schedule: | ||
# - cron: '28 12 * * 3' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
# Runner size impacts CodeQL analysis time. To learn more, please see: | ||
# - https://gh.io/recommended-hardware-resources-for-running-codeql | ||
# - https://gh.io/supported-runners-and-hardware-resources | ||
# - https://gh.io/using-larger-runners | ||
# Consider using larger runners for possible analysis time improvements. | ||
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} | ||
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} | ||
permissions: | ||
# required for all workflows | ||
security-events: write | ||
# jobs: | ||
# analyze: | ||
# name: Analyze | ||
# # Runner size impacts CodeQL analysis time. To learn more, please see: | ||
# # - https://gh.io/recommended-hardware-resources-for-running-codeql | ||
# # - https://gh.io/supported-runners-and-hardware-resources | ||
# # - https://gh.io/using-larger-runners | ||
# # Consider using larger runners for possible analysis time improvements. | ||
# runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} | ||
# timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} | ||
# permissions: | ||
# # required for all workflows | ||
# security-events: write | ||
|
||
# only required for workflows in private repositories | ||
actions: read | ||
contents: read | ||
# # only required for workflows in private repositories | ||
# actions: read | ||
# contents: read | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'javascript-typescript' ] | ||
# CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ] | ||
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both | ||
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both | ||
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# language: [ 'javascript-typescript' ] | ||
# # CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ] | ||
# # Use only 'java-kotlin' to analyze code written in Java, Kotlin or both | ||
# # Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both | ||
# # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | ||
# steps: | ||
# - name: Checkout repository | ||
# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@0b21cf2492b6b02c465a3e5d7c473717ad7721ba #v3.23.1 | ||
with: | ||
languages: ${{ matrix.language }} | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
# By default, queries listed here will override any specified in a config file. | ||
# Prefix the list here with "+" to use these queries and those in the config file. | ||
# # Initializes the CodeQL tools for scanning. | ||
# - name: Initialize CodeQL | ||
# uses: github/codeql-action/init@0b21cf2492b6b02c465a3e5d7c473717ad7721ba #v3.23.1 | ||
# with: | ||
# languages: ${{ matrix.language }} | ||
# # If you wish to specify custom queries, you can do so here or in a config file. | ||
# # By default, queries listed here will override any specified in a config file. | ||
# # Prefix the list here with "+" to use these queries and those in the config file. | ||
|
||
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs | ||
# queries: security-extended,security-and-quality | ||
# # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs | ||
# # queries: security-extended,security-and-quality | ||
|
||
# # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). | ||
# # If this step fails, then you should remove it and run the build manually (see below) | ||
# - name: Autobuild | ||
# uses: github/codeql-action/autobuild@0b21cf2492b6b02c465a3e5d7c473717ad7721ba #v3.23.1 | ||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@0b21cf2492b6b02c465a3e5d7c473717ad7721ba #v3.23.1 | ||
# # ℹ️ Command-line programs to run using the OS shell. | ||
# # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | ||
# # If the Autobuild fails above, remove it and uncomment the following three lines. | ||
# # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. | ||
|
||
# If the Autobuild fails above, remove it and uncomment the following three lines. | ||
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. | ||
# # - run: | | ||
# # echo "Run, Build Application using script" | ||
# # ./location_of_script_within_repo/buildscript.sh | ||
|
||
# - run: | | ||
# echo "Run, Build Application using script" | ||
# ./location_of_script_within_repo/buildscript.sh | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@0b21cf2492b6b02c465a3e5d7c473717ad7721ba #v3.23.1 | ||
with: | ||
category: "/language:${{matrix.language}}" | ||
# - name: Perform CodeQL Analysis | ||
# uses: github/codeql-action/analyze@0b21cf2492b6b02c465a3e5d7c473717ad7721ba #v3.23.1 | ||
# with: | ||
# category: "/language:${{matrix.language}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,68 @@ | ||
name: Docs Continuous Integration | ||
# name: Docs Continuous Integration | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
# on: | ||
# push: | ||
# branches: | ||
# - main | ||
# pull_request: | ||
# branches: | ||
# - main | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
# # Allows you to run this workflow manually from the Actions tab | ||
# workflow_dispatch: | ||
|
||
jobs: | ||
tbdocs-reporter: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | ||
# jobs: | ||
# tbdocs-reporter: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout source | ||
# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | ||
|
||
# https://cashapp.github.io/hermit/usage/ci/ | ||
- name: Init Hermit | ||
uses: cashapp/activate-hermit@v1 | ||
with: | ||
cache: "true" | ||
# # https://cashapp.github.io/hermit/usage/ci/ | ||
# - name: Init Hermit | ||
# uses: cashapp/activate-hermit@v1 | ||
# with: | ||
# cache: "true" | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
# - name: Install dependencies | ||
# run: pnpm install --frozen-lockfile | ||
|
||
- name: Build all workspace packages | ||
run: pnpm --recursive --stream build | ||
# - name: Build all workspace packages | ||
# run: pnpm --recursive --stream build | ||
|
||
- name: TBDocs Reporter | ||
id: tbdocs-reporter-protocol | ||
uses: TBD54566975/tbdocs@main | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
report_changed_scope_only: false | ||
fail_on_error: false | ||
group_docs: true | ||
entry_points: | | ||
- file: packages/api/src/index.ts | ||
docsReporter: typedoc | ||
docsGenerator: typedoc-html | ||
readmeFile: packages/api/README.md | ||
- file: packages/crypto/src/index.ts | ||
docsReporter: typedoc | ||
docsGenerator: typedoc-html | ||
readmeFile: packages/crypto/README.md | ||
- file: packages/crypto-aws-kms/src/index.ts | ||
docsReporter: typedoc | ||
docsGenerator: typedoc-html | ||
readmeFile: packages/crypto-aws-kms/README.md | ||
- file: packages/dids/src/index.ts | ||
docsReporter: typedoc | ||
docsGenerator: typedoc-html | ||
readmeFile: packages/dids/README.md | ||
- file: packages/credentials/src/index.ts | ||
docsReporter: typedoc | ||
docsGenerator: typedoc-html | ||
readmeFile: packages/credentials/README.md | ||
# - name: TBDocs Reporter | ||
# id: tbdocs-reporter-protocol | ||
# uses: TBD54566975/tbdocs@main | ||
# with: | ||
# token: ${{ secrets.GITHUB_TOKEN }} | ||
# report_changed_scope_only: false | ||
# fail_on_error: false | ||
# group_docs: true | ||
# entry_points: | | ||
# - file: packages/api/src/index.ts | ||
# docsReporter: typedoc | ||
# docsGenerator: typedoc-html | ||
# readmeFile: packages/api/README.md | ||
# - file: packages/crypto/src/index.ts | ||
# docsReporter: typedoc | ||
# docsGenerator: typedoc-html | ||
# readmeFile: packages/crypto/README.md | ||
# - file: packages/crypto-aws-kms/src/index.ts | ||
# docsReporter: typedoc | ||
# docsGenerator: typedoc-html | ||
# readmeFile: packages/crypto-aws-kms/README.md | ||
# - file: packages/dids/src/index.ts | ||
# docsReporter: typedoc | ||
# docsGenerator: typedoc-html | ||
# readmeFile: packages/dids/README.md | ||
# - file: packages/credentials/src/index.ts | ||
# docsReporter: typedoc | ||
# docsGenerator: typedoc-html | ||
# readmeFile: packages/credentials/README.md | ||
|
||
- name: Save Artifacts | ||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 #v3.1.3 | ||
if: always() | ||
with: | ||
name: tbdocs-reporter-output | ||
path: ./.tbdocs | ||
# - name: Save Artifacts | ||
# uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 #v3.1.3 | ||
# if: always() | ||
# with: | ||
# name: tbdocs-reporter-output | ||
# path: ./.tbdocs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.