Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .agents/skills/add-vocab/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Workflow
6. Run `mise run codegen` to generate TypeScript classes
7. Run `mise run test:update_snapshots` to update the Deno, Node.js, and Bun
snapshots
8. Run `mise run check` to verify everything compiles
8. Run `mise run check:all` to verify Node.js and Deno compilation
9. Ask the user to review the YAML definition and generated code carefully
before committing

Expand Down
14 changes: 7 additions & 7 deletions .agents/skills/create-integration-package/package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
@fedify/프레임워크: Integrate Fedify with 프레임워크
====================================================

<!-- If JSR is supported -->

[![JSR][JSR badge]][JSR]

<!-- If NPM is supported -->

[![npm][npm badge]][npm]

<!-- If JSR is supported -->

[![JSR][JSR badge]][JSR]

<!-- Default -->

[![Matrix][Matrix badge]][Matrix]
Expand All @@ -38,16 +38,16 @@ Installation
<!-- Remove scripts from unsupported runtimes. -->

~~~~ bash
deno add jsr:@fedify/프레임워크 # If JSR is supported (Have `deno.json(c)`)
deno add npm:@fedify/프레임워크 # If JSR is not supported (No `deno.json(c)`)
# or
npm add @fedify/프레임워크
# or
pnpm add @fedify/프레임워크
# or
yarn add @fedify/프레임워크
# or
bun add @fedify/프레임워크
# or
deno add jsr:@fedify/프레임워크 # If JSR is supported (Have `deno.json(c)`)
deno add npm:@fedify/프레임워크 # If JSR is not supported (No `deno.json(c)`)
~~~~


Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ permissions:
jobs:
test-sveltekit-compat:
runs-on: ubuntu-latest
env:
MISE_DISABLE_TOOLS: deno
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -34,6 +36,8 @@ jobs:
strategy:
matrix:
runtime: [node, deno, bun]
env:
MISE_DISABLE_TOOLS: ${{ matrix.runtime != 'deno' && 'deno' || '' }}
steps:
- uses: actions/checkout@v6
with:
Expand Down
48 changes: 37 additions & 11 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 90
env:
MISE_DISABLE_TOOLS: deno
steps:
Expand All @@ -45,7 +46,7 @@ jobs:
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
}

test:
test-deno:
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -191,6 +192,7 @@ jobs:
ports:
- 3306:3306
env:
MISE_DISABLE_TOOLS: deno
AMQP_URL: amqp://guest:guest@localhost:5672
MYSQL_URL: mysql://root:mysql@localhost:3306/fedify
POSTGRES_URL: postgres://postgres:postgres@localhost:5432/postgres
Expand All @@ -200,7 +202,7 @@ jobs:
- uses: ./.github/actions/setup-mise
- name: Enable RabbitMQ consistent hash exchange plugin
run: docker exec ${{ job.services.rabbitmq.id }} rabbitmq-plugins enable rabbitmq_consistent_hash_exchange
- run: mise run --skip-deps test:node
- run: mise run test:tooling:no-deno -- --default-test
env:
AMQP_ORDERING_TEST: "true"

Expand Down Expand Up @@ -254,6 +256,7 @@ jobs:
ports:
- 3306:3306
env:
MISE_DISABLE_TOOLS: deno
AMQP_URL: amqp://guest:guest@localhost:5672
MYSQL_URL: mysql://root:mysql@localhost:3306/fedify
POSTGRES_URL: postgres://postgres:postgres@localhost:5432/postgres
Expand All @@ -269,21 +272,26 @@ jobs:

test-cfworkers:
runs-on: ubuntu-latest
env:
MISE_DISABLE_TOOLS: deno
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-mise
- run: deno task test:cfworkers
working-directory: ${{ github.workspace }}/packages/fedify/
- run: mise run test:tooling:no-deno -- --workers

test-temporal-polyfill:
runs-on: ubuntu-latest
env:
MISE_DISABLE_TOOLS: deno
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-mise
- run: mise run --skip-deps test:temporal-polyfill

lint:
runs-on: ubuntu-latest
env:
MISE_DISABLE_TOOLS: deno
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -303,25 +311,36 @@ jobs:
release-test:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
env:
MISE_DISABLE_TOOLS: deno
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-mise
- run: '[[ "$(jq -r .version deno.json)" = "$(jq -r .version package.json)" ]]'
working-directory: ${{ github.workspace }}/packages/fedify/
- run: mise run test:package-files:npm
- run: pnpm publish --recursive --dry-run --no-git-checks --ignore-scripts

release-test-jsr:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-mise
- run: mise run codegen
- run: deno publish --dry-run --allow-slow-types
- run: mise run test:package-files
- run: pnpm publish --recursive --dry-run --no-git-checks --ignore-scripts
- run: mise run test:package-files:jsr

# ===========================================================================
# PR-only jobs: Validate CLI and docs build
# ===========================================================================

build-cli-pr:
if: github.event_name == 'pull_request'
needs: [release-test]
needs: [release-test, release-test-jsr]
runs-on: namespace-profile-linux-amd64-32gb
steps:
- uses: actions/checkout@v6
Expand All @@ -342,6 +361,8 @@ jobs:
if: github.event_name == 'pull_request'
needs: [release-test]
runs-on: ubuntu-latest
env:
MISE_DISABLE_TOOLS: deno
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-mise
Expand All @@ -365,6 +386,8 @@ jobs:
outputs:
version: ${{ steps.version.outputs.version }}
short_version: ${{ steps.version.outputs.short_version }}
env:
MISE_DISABLE_TOOLS: deno
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-mise
Expand All @@ -383,7 +406,7 @@ jobs:

build-cli:
if: github.event_name == 'push'
needs: [test, test-node, test-bun, test-cfworkers, test-temporal-polyfill, lint, release-test, determine-version]
needs: [bootstrap, test-deno, test-node, test-bun, test-cfworkers, test-temporal-polyfill, lint, release-test, release-test-jsr, determine-version]
runs-on: namespace-profile-linux-amd64-32gb
steps:
- uses: actions/checkout@v6
Expand All @@ -403,8 +426,10 @@ jobs:

build-packages:
if: github.event_name == 'push'
needs: [test, test-node, test-bun, test-cfworkers, test-temporal-polyfill, lint, release-test, determine-version]
needs: [bootstrap, test-deno, test-node, test-bun, test-cfworkers, test-temporal-polyfill, lint, release-test, release-test-jsr, determine-version]
runs-on: ubuntu-latest
env:
MISE_DISABLE_TOOLS: deno
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-mise
Expand All @@ -427,7 +452,7 @@ jobs:

publish-jsr:
if: github.event_name == 'push'
needs: [test, test-node, test-bun, test-cfworkers, test-temporal-polyfill, lint, release-test, determine-version]
needs: [bootstrap, test-deno, test-node, test-bun, test-cfworkers, test-temporal-polyfill, lint, release-test, release-test-jsr, determine-version]
runs-on: ubuntu-latest
timeout-minutes: 60
permissions:
Expand Down Expand Up @@ -546,6 +571,7 @@ jobs:
deployments: write
statuses: write
env:
MISE_DISABLE_TOOLS: deno
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'
environment:
name: github-pages
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/publish-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:
outputs:
version: ${{ steps.version.outputs.version }}
short_version: ${{ steps.version.outputs.short_version }}
env:
MISE_DISABLE_TOOLS: deno
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -82,6 +84,8 @@ jobs:
outputs:
packages_table: ${{ steps.packages-table.outputs.table }}
packages_links: ${{ steps.packages-table.outputs.links }}
env:
MISE_DISABLE_TOOLS: deno
steps:
- uses: actions/checkout@v6
with:
Expand Down Expand Up @@ -274,6 +278,7 @@ jobs:
permissions:
contents: read
env:
MISE_DISABLE_TOOLS: deno
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'
outputs:
deployment_url: ${{ steps.wrangler.outputs.deployment-url }}
Expand Down
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"recommendations": [
"denoland.vscode-deno",
"oxc.oxc-vscode",
"redhat.vscode-yaml",
"streetsidesoftware.code-spell-checker"
Expand Down
6 changes: 3 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"deno.enable": true,
"deno.enable": false,
"deno.lint": false,
"deno.unstable": true,
"editor.detectIndentation": false,
Expand All @@ -13,8 +13,8 @@
"yaml.format.enable": false,
"yaml.hover": true,
"yaml.schemas": {
"src/codegen/schema.yaml": "/src/vocab/*.yaml",
"https://json-schema.org/draft/2020-12/schema": "/src/codegen/schema.yaml"
"packages/vocab-tools/src/schema.yaml": "/packages/vocab/src/*.yaml",
"https://json-schema.org/draft/2020-12/schema": "/packages/vocab-tools/src/schema.yaml"
},
"yaml.validate": true,
"[javascript]": {
Expand Down
16 changes: 16 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Check TypeScript types",
"type": "process",
"command": "mise",
"args": ["run", "--raw", "check:types"],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": "$tsc"
}
]
}
37 changes: 4 additions & 33 deletions .zed/settings.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
{
"lsp": {
"deno": {
"settings": {
"deno": {
"enable": true,
"lint": false,
"unstable": true
}
}
}
},
"ensure_final_newline_on_save": true,
"format_on_save": "on",
"formatter": "language_server",
"languages": {
"JSON": {
"language_servers": ["deno", "!biome"],
"language_servers": ["!deno", "!biome", "..."],
"formatter": {
"external": {
"command": "node",
Expand All @@ -30,13 +19,7 @@
}
},
"JavaScript": {
"language_servers": [
"deno",
"!typescript-language-server",
"!vtsls",
"!biome",
"..."
],
"language_servers": ["!deno", "!biome", "..."],
"formatter": {
"external": {
"command": "node",
Expand Down Expand Up @@ -66,13 +49,7 @@
]
},
"TypeScript": {
"language_servers": [
"deno",
"!typescript-language-server",
"!vtsls",
"!biome",
"..."
],
"language_servers": ["!deno", "!biome", "..."],
"formatter": {
"external": {
"command": "node",
Expand All @@ -87,13 +64,7 @@
}
},
"TSX": {
"language_servers": [
"deno",
"!typescript-language-server",
"!vtsls",
"!biome",
"..."
],
"language_servers": ["!deno", "!biome", "..."],
"formatter": {
"external": {
"command": "node",
Expand Down
9 changes: 9 additions & 0 deletions .zed/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"label": "Check TypeScript types",
"command": "mise",
"args": ["run", "check:types"],
"cwd": "$ZED_WORKTREE_ROOT",
"allow_concurrent_runs": false
}
]
Loading
Loading