snapshot of https://github.com/ueberdosis/hocuspocus.git @ cf3cfa355b4d3bb61c6b6c80071f71783e32470e (2026-09-15)
Some checks failed
build / lint (22) (push) Failing after 17s
build / test (22) (push) Failing after 8s
build / lint (23) (push) Failing after 2s
build / build (22) (push) Has been skipped
build / build (23) (push) Has been skipped
build / test (23) (push) Failing after 4s
docsearch / docsearch (push) Failing after 1s
Some checks failed
build / lint (22) (push) Failing after 17s
build / test (22) (push) Failing after 8s
build / lint (23) (push) Failing after 2s
build / build (22) (push) Has been skipped
build / build (23) (push) Has been skipped
build / test (23) (push) Failing after 4s
docsearch / docsearch (push) Failing after 1s
This commit is contained in:
35
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
35
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve Hocuspocus
|
||||
url: https://github.com/ueberdosis/hocuspocus/issues/new
|
||||
title: ''
|
||||
labels:
|
||||
- bug
|
||||
assignees:
|
||||
- janthurau
|
||||
---
|
||||
|
||||
**Description**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**Steps to reproduce the bug**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to …
|
||||
2. Type in …
|
||||
3. Click on …
|
||||
4. See error message
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshot, video, or GIF**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Environment?**
|
||||
- operating system:
|
||||
- browser:
|
||||
- mobile/desktop:
|
||||
- Hocuspocus version:
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
8
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
8
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Discuss hocuspocus on GitHub
|
||||
url: https://github.com/ueberdosis/hocuspocus/discussions/new
|
||||
about: Help, discussion about best practices, or any other conversation that would benefit from being searchable
|
||||
- name: Join the hocuspocus Discord server
|
||||
url: https://discord.gg/WtJ49jGshW
|
||||
about: Ccasual chit-chat with others using hocuspocus
|
||||
21
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
21
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest a new feature for Hocuspocus
|
||||
title: ''
|
||||
labels:
|
||||
- feature request
|
||||
assignees:
|
||||
- janthurau
|
||||
---
|
||||
|
||||
**The problem I am facing**
|
||||
A clear and concise description of what the problem is. For example: I’m always frustrated when …
|
||||
|
||||
**The solution I would like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Alternatives I have considered**
|
||||
A clear and concise description of any alternative solutions or features you have considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots here.
|
||||
22
.github/ISSUE_TEMPLATE/feedback.md
vendored
Normal file
22
.github/ISSUE_TEMPLATE/feedback.md
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
name: Feedback on the documentation
|
||||
about: Share what we need to explain better
|
||||
url: https://github.com/ueberdosis/hocuspocus/issues/new
|
||||
title: ''
|
||||
labels:
|
||||
- documentation
|
||||
assignees:
|
||||
- janthurau
|
||||
---
|
||||
|
||||
**Part of the documentation?**
|
||||
I’ve read the following page of the documentation …
|
||||
|
||||
**Really helpful parts**
|
||||
I think this part is really good: …
|
||||
|
||||
**Hard to understand, missing or misleading**
|
||||
But you really need to improve …
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots here.
|
||||
78
.github/dependabot.yml
vendored
Normal file
78
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
# Dependabot creates pull requests to keep your dependencies secure and up-to-date.
|
||||
# Documentation: https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
|
||||
- package-ecosystem: 'github-actions'
|
||||
directory: '/'
|
||||
open-pull-requests-limit: 10
|
||||
schedule:
|
||||
interval: 'weekly'
|
||||
day: 'monday'
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "packages/cli"
|
||||
schedule:
|
||||
interval: 'weekly'
|
||||
day: 'monday'
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "packages/common"
|
||||
schedule:
|
||||
interval: 'weekly'
|
||||
day: 'monday'
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "packages/extension-database"
|
||||
schedule:
|
||||
interval: 'weekly'
|
||||
day: 'monday'
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "packages/extension-logger"
|
||||
schedule:
|
||||
interval: 'weekly'
|
||||
day: 'monday'
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "packages/extension-redis"
|
||||
schedule:
|
||||
interval: 'weekly'
|
||||
day: 'monday'
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "packages/extension-sqlite"
|
||||
schedule:
|
||||
interval: 'weekly'
|
||||
day: 'monday'
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "packages/extension-throttle"
|
||||
schedule:
|
||||
interval: 'weekly'
|
||||
day: 'monday'
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "packages/extension-webhook"
|
||||
schedule:
|
||||
interval: 'weekly'
|
||||
day: 'monday'
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "packages/provider"
|
||||
schedule:
|
||||
interval: 'weekly'
|
||||
day: 'monday'
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "packages/server"
|
||||
schedule:
|
||||
interval: 'weekly'
|
||||
day: 'monday'
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "packages/transformer"
|
||||
schedule:
|
||||
interval: 'weekly'
|
||||
day: 'monday'
|
||||
109
.github/workflows/build.yml
vendored
Normal file
109
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,109 @@
|
||||
# Automate, customize, and execute your software development workflows right in your repository with GitHub Actions.
|
||||
# Documentation: https://docs.github.com/en/actions
|
||||
|
||||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- '**'
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [22, 23]
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v7
|
||||
|
||||
- uses: pnpm/action-setup@v6.0.10
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Set up npmrc
|
||||
run: echo "@tiptap-cloud:registry=https://registry.tiptap.dev/" >> ~/.npmrc && echo "//registry.tiptap.dev/:_authToken=${{ secrets.TIPTAP_PRIVATE_REGISTRY_NPM_TOKEN }}" >> ~/.npmrc
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
# - name: Lint code
|
||||
# run: pnpm lint
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis
|
||||
ports:
|
||||
- 6379/tcp
|
||||
options: --entrypoint redis-server
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [22, 23]
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v7
|
||||
|
||||
- uses: pnpm/action-setup@v6.0.10
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Set up npmrc
|
||||
run: echo "@tiptap-cloud:registry=https://registry.tiptap.dev/" >> ~/.npmrc && echo "//registry.tiptap.dev/:_authToken=${{ secrets.TIPTAP_PRIVATE_REGISTRY_NPM_TOKEN }}" >> ~/.npmrc
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Run tests
|
||||
run: pnpm test
|
||||
env:
|
||||
REDIS_HOST: localhost
|
||||
REDIS_PORT: ${{ job.services.redis.ports[6379] }}
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
needs: lint
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [22, 23]
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v7
|
||||
|
||||
- uses: pnpm/action-setup@v6.0.10
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Set up npmrc
|
||||
run: echo "@tiptap-cloud:registry=https://registry.tiptap.dev/" >> ~/.npmrc && echo "//registry.tiptap.dev/:_authToken=${{ secrets.TIPTAP_PRIVATE_REGISTRY_NPM_TOKEN }}" >> ~/.npmrc
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Try to build the packages
|
||||
run: pnpm build:packages
|
||||
27
.github/workflows/docsearch.yml
vendored
Normal file
27
.github/workflows/docsearch.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
# Automate, customize, and execute your software development workflows right in your repository with GitHub Actions.
|
||||
# Documentation: https://docs.github.com/en/actions
|
||||
|
||||
name: docsearch
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '5 1 * * *'
|
||||
|
||||
jobs:
|
||||
|
||||
docsearch:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
|
||||
- name: Run DocSearch Scraper
|
||||
shell: bash
|
||||
run: |
|
||||
docker run \
|
||||
-e TYPESENSE_API_KEY=${{ secrets.TYPESENSE_API_KEY }} \
|
||||
-e TYPESENSE_HOST="${{ secrets.TYPESENSE_HOST }}" \
|
||||
-e TYPESENSE_PORT="${{ secrets.TYPESENSE_PORT }}" \
|
||||
-e TYPESENSE_PROTOCOL="${{ secrets.TYPESENSE_PROTOCOL }}" \
|
||||
-e CONFIG="$(cat docsearch.config.json | jq -r tostring)" \
|
||||
typesense/docsearch-scraper
|
||||
39
.github/workflows/publish.yml
vendored
Normal file
39
.github/workflows/publish.yml
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
|
||||
|
||||
name: Publish to NPM
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
publish-npm:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
|
||||
- uses: pnpm/action-setup@v6.0.10
|
||||
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 22
|
||||
registry-url: https://registry.npmjs.org/
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Set up npmrc
|
||||
id: setup-npmrc
|
||||
run: echo "@tiptap-cloud:registry=https://registry.tiptap.dev/" >> ~/.npmrc && echo "//registry.tiptap.dev/:_authToken=${{ secrets.TIPTAP_PRIVATE_REGISTRY_NPM_TOKEN }}" >> ~/.npmrc
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- run: pnpm publish:latest
|
||||
if: "!contains(github.ref, '-rc.')"
|
||||
|
||||
- run: pnpm publish:pre
|
||||
if: "contains(github.ref, '-rc.')"
|
||||
Reference in New Issue
Block a user