Unverified Commit 31108ea9 authored by Hong Minhee's avatar Hong Minhee
Browse files

Packaging @fedify/cli

parent 9240ffad
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ jobs:
    - uses: denoland/setup-deno@v1
      with:
        deno-version: v1.x
    - run: deno task check
    - run: deno task hooks:pre-commit
    - run: deno task check
      working-directory: ${{ github.workspace }}/examples/blog/

@@ -71,6 +71,8 @@ jobs:
    - run: deno task dnt
    - run: npm publish --dry-run
      working-directory: ${{ github.workspace }}/npm/
    - run: deno task publish-dry-run
      working-directory: ${{ github.workspace }}/cli/

  publish:
    needs: [test, lint, release-test]
@@ -129,6 +131,11 @@ jobs:
        github.event_name == 'push' &&
        github.ref_type == 'tag' || github.ref == 'refs/heads/main'
      run: deno task publish --allow-dirty
    - if: |
        github.event_name == 'push' &&
        github.ref_type == 'tag' || github.ref == 'refs/heads/main'
      run: deno task publish --allow-dirty
      working-directory: ${{ github.workspace }}/cli/
    - if: |
        github.event_name == 'push' &&
        github.ref_type == 'tag' || github.ref == 'refs/heads/main'
+5 −0
Original line number Diff line number Diff line
@@ -2,6 +2,11 @@
  "deno.enable": true,
  "deno.unstable": true,
  "files.eol": "\n",
  "files.exclude": {
    "cli": true,
    "examples/blog": true,
    "examples/hono-sample": true
  },
  "files.insertFinalNewline": true,
  "files.trimFinalNewlines": true,
  "yaml.completion": true,
+5 −1
Original line number Diff line number Diff line
@@ -8,6 +8,9 @@ Version 0.8.0

To be released.

 -  The CLI toolchain is now available on JSR: [@fedify/cli].  You can install
    it with `deno install -A -n fedify jsr:@fedify/cli`.

 -  Implemented [followers collection synchronization mechanism][FEP-8fcf].

     -  Added `RequestContext.sendActivity()` overload that takes `"followers"`
@@ -46,6 +49,7 @@ To be released.
     -  `["fedify", "federation", "collection"]`
     -  `["fedify", "runtime", "docloader"]`

[@fedify/cli]: https://jsr.io/@fedify/cli
[FEP-8fcf]: https://codeberg.org/fediverse/fep/src/branch/main/fep/8fcf/fep-8fcf.md


+6 −0
Original line number Diff line number Diff line
{
  "recommendations": [
    "denoland.vscode-deno",
    "streetsidesoftware.code-spell-checker"
  ]
}
+40 −0
Original line number Diff line number Diff line
{
  "deno.enable": true,
  "deno.unstable": true,
  "files.eol": "\n",
  "files.exclude": {
    "cli": true,
    "examples/blog": true,
    "examples/hono-sample": true
  },
  "files.insertFinalNewline": true,
  "files.trimFinalNewlines": true,
  "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features",
    "editor.formatOnSave": true
  },
  "[jsonc]": {
    "editor.defaultFormatter": "vscode.json-language-features",
    "editor.formatOnSave": true
  },
  "[typescript]": {
    "editor.defaultFormatter": "denoland.vscode-deno",
    "editor.formatOnSave": true,
    "editor.codeActionsOnSave": {
      "source.sortImports": "always"
    }
  },
  "cSpell.words": [
    "codegen",
    "denokv",
    "docloader",
    "fedify",
    "hongminhee",
    "hono",
    "httpsig",
    "logtape",
    "nodeinfo",
    "tempserver",
    "webfinger"
  ]
}
Loading