Unverified Commit d27d22f2 authored by Hong Minhee's avatar Hong Minhee
Browse files

Merge remote-tracking branch 'postgres/main'

parents a504c4a0 91306811
Loading
Loading
Loading
Loading
+48 −2
Original line number Diff line number Diff line
@@ -17,8 +17,22 @@ jobs:
          RABBITMQ_DEFAULT_PASS: guest
        ports:
        - 5672:5672
      postgres:
        image: postgres
        env:
          POSTGRES_USER: postgres
          POSTGRES_PASSWORD: postgres
          POSTGRES_DB: postgres
        options: >-
          --health-cmd pg_isready
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5
        ports:
        - 5432:5432
    env:
      AMQP_URL: amqp://guest:guest@localhost:5672
      DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
    steps:
    - if: github.event_name == 'push'
      uses: actions/checkout@v4
@@ -65,8 +79,22 @@ jobs:
          RABBITMQ_DEFAULT_PASS: guest
        ports:
        - 5672:5672
      postgres:
        image: postgres
        env:
          POSTGRES_USER: postgres
          POSTGRES_PASSWORD: postgres
          POSTGRES_DB: postgres
        options: >-
          --health-cmd pg_isready
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5
        ports:
        - 5432:5432
    env:
      AMQP_URL: amqp://guest:guest@localhost:5672
      DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
    steps:
    - if: github.event_name == 'push'
      uses: actions/checkout@v4
@@ -98,8 +126,22 @@ jobs:
          RABBITMQ_DEFAULT_PASS: guest
        ports:
        - 5672:5672
      postgres:
        image: postgres
        env:
          POSTGRES_USER: postgres
          POSTGRES_PASSWORD: postgres
          POSTGRES_DB: postgres
        options: >-
          --health-cmd pg_isready
          --health-interval 10s
          --health-timeout 5s
          --health-retries 5
        ports:
        - 5432:5432
    env:
      AMQP_URL: amqp://guest:guest@localhost:5672
      DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
    steps:
    - if: github.event_name == 'push'
      uses: actions/checkout@v4
@@ -337,13 +379,17 @@ jobs:
          - [`npm:@fedify/fedify@${{ steps.versioning.outputs.short_version }}`][2]
          - [`jsr:@fedify/amqp@${{ steps.versioning.outputs.version }}`][3]
          - [`npm:@fedify/amqp@${{ steps.versioning.outputs.short_version }}`][4]
          - [`jsr:@fedify/cli@${{ steps.versioning.outputs.version }}`][5]
          - [`jsr:@fedify/postgres@${{ steps.versioning.outputs.version }}`][5]
          - [`npm:@fedify/postgres@${{ steps.versioning.outputs.short_version }}`][6]
          - [`jsr:@fedify/cli@${{ steps.versioning.outputs.version }}`][7]

          [1]: https://jsr.io/@fedify/fedify@${{ steps.versioning.outputs.version }}
          [2]: https://www.npmjs.com/package/@fedify/fedify/v/${{ steps.versioning.outputs.short_version }}
          [3]: https://jsr.io/@fedify/amqp@${{ steps.versioning.outputs.version }}
          [4]: https://www.npmjs.com/package/@fedify/amqp/v/${{ steps.versioning.outputs.short_version }}
          [5]: https://jsr.io/@fedify/cli@${{ steps.versioning.outputs.version }}
          [5]: https://jsr.io/@fedify/postgres@${{ steps.versioning.outputs.version }}
          [6]: https://www.npmjs.com/package/@fedify/postgres/v/${{ steps.versioning.outputs.short_version }}
          [7]: https://jsr.io/@fedify/cli@${{ steps.versioning.outputs.version }}
        pr-number: ${{ github.event.pull_request.number }}
        comment-tag: publish

+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@
  },
  "devDependencies": {
    "@alinea/suite": "^0.6.3",
    "@js-temporal/polyfill": "^0.5.1",
    "@js-temporal/polyfill": "catalog:",
    "@std/assert": "catalog:",
    "@std/async": "catalog:",
    "@types/amqplib": "catalog:",
+13 −1
Original line number Diff line number Diff line
@@ -3,12 +3,14 @@
    "./fedify",
    "./cli",
    "./amqp",
    "./postgres",
    "./examples/blog",
    "./examples/cloudflare-workers",
    "./examples/hono-sample"
  ],
  "imports": {
    "@cloudflare/workers-types": "npm:@cloudflare/workers-types@^4.20250529.0",
    "@js-temporal/polyfill": "npm:@js-temporal/polyfill@^0.5.1",
    "@logtape/file": "jsr:@logtape/file@^1.0.0",
    "@logtape/logtape": "jsr:@logtape/logtape@^1.0.0",
    "@std/assert": "jsr:@std/assert@^1.0.13",
@@ -17,6 +19,7 @@
    "@std/path": "jsr:@std/path@^1.0.6",
    "amqplib": "npm:amqplib@^0.10.8",
    "json-preserve-indent": "npm:json-preserve-indent@^1.1.3",
    "postgres": "npm:postgres@^3.4.7",
    "preact": "npm:preact@10.19.6",
    "tsdown": "npm:tsdown@^0.12.9"
  },
@@ -40,7 +43,16 @@
    },
    "check-versions": "deno run --allow-read --allow-write scripts/check_versions.ts",
    "test": "deno test --check --doc --allow-all --unstable-kv --trace-leaks --parallel",
    "test-all": "deno task -f @fedify/fedify test-all && deno task -f @fedify/cli check && deno task -f @fedify/blog check && deno task -f @fedify/hono-sample check",
    "test:node": "pnpm run --recursive --filter '!{docs}' test",
    "test:bun": "pnpm run --recursive --filter '!{docs}' test:bun",
    "test-all": {
      "dependencies": [
        "check",
        "test",
        "test:node",
        "test:bun"
      ]
    },
    "publish": "deno task -f @fedify/fedify publish && deno task -f @fedify/cli publish",
    "cli": "deno task -f @fedify/cli run",
    "hooks:install": "deno run --allow-read=deno.json,.git/hooks/ --allow-write=.git/hooks/ jsr:@hongminhee/deno-task-hooks",
+6 −6
Original line number Diff line number Diff line
@@ -5,12 +5,12 @@
    "@deno/kv": "^0.8.4",
    "@fedify/amqp": "workspace:",
    "@fedify/fedify": "workspace:",
    "@fedify/postgres": "^0.3.0",
    "@fedify/postgres": "workspace:",
    "@fedify/redis": "^0.4.0",
    "@hono/node-server": "^1.13.7",
    "@js-temporal/polyfill": "^0.5.1",
    "@logtape/file": "^0.10.0",
    "@logtape/logtape": "^0.10.0",
    "@js-temporal/polyfill": "catalog:",
    "@logtape/file": "catalog:",
    "@logtape/logtape": "catalog:",
    "@opentelemetry/exporter-trace-otlp-proto": "^0.57.0",
    "@opentelemetry/sdk-node": "^0.57.0",
    "@sentry/node": "^8.47.0",
@@ -29,9 +29,9 @@
    "markdown-it-footnote": "^4.0.0",
    "markdown-it-jsr-ref": "0.4.1",
    "mermaid": "^11.4.1",
    "postgres": "^3.4.5",
    "postgres": "catalog:",
    "stringify-entities": "^4.0.4",
    "typescript": "^5.8.3",
    "typescript": "catalog:",
    "vitepress": "^1.6.3",
    "vitepress-plugin-group-icons": "^1.3.5",
    "vitepress-plugin-llms": "^1.1.0",
+54 −36
Original line number Diff line number Diff line
@@ -9,6 +9,12 @@ catalogs:
    '@cloudflare/workers-types':
      specifier: ^4.20250529.0
      version: 4.20250529.0
    '@js-temporal/polyfill':
      specifier: ^0.5.1
      version: 0.5.1
    '@logtape/file':
      specifier: ^1.0.0
      version: 1.0.1
    '@logtape/logtape':
      specifier: ^1.0.0
      version: 1.0.0
@@ -27,6 +33,9 @@ catalogs:
    amqplib:
      specifier: ^0.10.8
      version: 0.10.8
    postgres:
      specifier: ^3.4.7
      version: 3.4.7
    tsdown:
      specifier: ^0.12.9
      version: 0.12.9
@@ -49,7 +58,7 @@ importers:
        specifier: ^0.6.3
        version: 0.6.3
      '@js-temporal/polyfill':
        specifier: ^0.5.1
        specifier: 'catalog:'
        version: 0.5.1
      '@std/assert':
        specifier: 'catalog:'
@@ -87,23 +96,23 @@ importers:
        specifier: 'workspace:'
        version: link:../fedify
      '@fedify/postgres':
        specifier: ^0.3.0
        version: 0.3.0
        specifier: 'workspace:'
        version: link:../postgres
      '@fedify/redis':
        specifier: ^0.4.0
        version: 0.4.0
        version: 0.4.0(web-streams-polyfill@3.3.3)
      '@hono/node-server':
        specifier: ^1.13.7
        version: 1.14.4(hono@4.8.3)
      '@js-temporal/polyfill':
        specifier: ^0.5.1
        specifier: 'catalog:'
        version: 0.5.1
      '@logtape/file':
        specifier: ^0.10.0
        version: 0.10.0
        specifier: 'catalog:'
        version: 1.0.1(@logtape/logtape@1.0.0)
      '@logtape/logtape':
        specifier: ^0.10.0
        version: 0.10.0
        specifier: 'catalog:'
        version: 1.0.0
      '@opentelemetry/exporter-trace-otlp-proto':
        specifier: ^0.57.0
        version: 0.57.2(@opentelemetry/api@1.9.0)
@@ -159,13 +168,13 @@ importers:
        specifier: ^11.4.1
        version: 11.7.0
      postgres:
        specifier: ^3.4.5
        specifier: 'catalog:'
        version: 3.4.7
      stringify-entities:
        specifier: ^4.0.4
        version: 4.0.4
      typescript:
        specifier: ^5.8.3
        specifier: 'catalog:'
        version: 5.8.3
      vitepress:
        specifier: ^1.6.3
@@ -283,6 +292,31 @@ importers:
        specifier: ^4.17.0
        version: 4.22.0(@cloudflare/workers-types@4.20250529.0)

  postgres:
    dependencies:
      '@fedify/fedify':
        specifier: 'workspace:'
        version: link:../fedify
      '@js-temporal/polyfill':
        specifier: 'catalog:'
        version: 0.5.1
      '@logtape/logtape':
        specifier: 'catalog:'
        version: 1.0.0
      postgres:
        specifier: 'catalog:'
        version: 3.4.7
    devDependencies:
      '@std/async':
        specifier: 'catalog:'
        version: '@jsr/std__async@1.0.13'
      tsdown:
        specifier: 'catalog:'
        version: 0.12.9(typescript@5.8.3)
      typescript:
        specifier: 'catalog:'
        version: 5.8.3

packages:

  '@algolia/autocomplete-core@1.17.7':
@@ -979,9 +1013,6 @@ packages:
    resolution: {integrity: sha512-gGD8+mwkLsavBoj/qyfhMD8Tnv9+hid59NrQ6ZrD5Zn5rWvq4LleU09GF78OqPWdSLY03ihxb6+EArcsb5VZCA==}
    engines: {bun: '>=1.1.0', deno: '>=2.0.0', node: '>=20.0.0'}

  '@fedify/postgres@0.3.0':
    resolution: {integrity: sha512-FQzEeJccmCGvwOLUVvz5iNoJ44O+co0X8zorP7YtlV5RD4wXTSXKV7Iac3zv/wNyqAOzSRoZ4wNNXMy4e08uiw==}

  '@fedify/redis@0.4.0':
    resolution: {integrity: sha512-dhP/x1jELEpgYTOKZomdqug3K52sCP6QcWihJdI2h+wSCFvYIAPfPnx7ojB/lRm9+jgfGHyDRh1Y2pE/rCCWoA==}

@@ -1191,11 +1222,10 @@ packages:
  '@jsr/std__yaml@1.0.8':
    resolution: {integrity: sha512-iLe84pvIEtG7EFKxP5fIQn7CFQle7gzkb6KSPqf9zkyR2NVViSJjK8xbXg82SUEFSmpdY18qCGpVEnTG3oRMVg==, tarball: https://npm.jsr.io/~/11/@jsr/std__yaml/1.0.8.tgz}

  '@logtape/file@0.10.0':
    resolution: {integrity: sha512-u+rniMrLHt4dAWACbWM/VQdT45oYhInankiSEFBbfh9eewAKWtihKebc4g0lvlE3BcsYL8iH3L7L+JRheO3cDg==}

  '@logtape/logtape@0.10.0':
    resolution: {integrity: sha512-zk8YILUU7TACEDPaI7sPO6Jyxj6+gwXeS82/ANAtIs3oyLqbUp1kzi5RWUjRj7yu8R7Hd0C4cX4fmfOo9S7COA==}
  '@logtape/file@1.0.1':
    resolution: {integrity: sha512-606pmJ895WLc52LveuDMZJb1NG3hnK6Xl8+Lr0FX3yVNt/n8+JGkpYnjyLXUYGR3UduB3thJUgbAaDQAatvEFg==}
    peerDependencies:
      '@logtape/logtape': 1.0.1

  '@logtape/logtape@0.8.2':
    resolution: {integrity: sha512-KikaMHi64p0BHYrYOE2Lom4dOE3R8PGT+21QJ5Ql/SWy0CNOp69dkAlG9RXzENQ6PAMWtiU+4kelJYNvfUvHOQ==}
@@ -4185,7 +4215,7 @@ snapshots:

  '@fastify/busboy@2.1.1': {}

  '@fedify/fedify@1.5.0':
  '@fedify/fedify@1.5.0(web-streams-polyfill@3.3.3)':
    dependencies:
      '@deno/shim-crypto': 0.3.1
      '@deno/shim-deno': 0.18.2
@@ -4207,20 +4237,10 @@ snapshots:
    transitivePeerDependencies:
      - web-streams-polyfill

  '@fedify/postgres@0.3.0':
    dependencies:
      '@deno/shim-deno': 0.18.2
      '@fedify/fedify': 1.5.0
      '@js-temporal/polyfill': 0.5.1
      '@logtape/logtape': 0.9.2
      postgres: 3.4.7
    transitivePeerDependencies:
      - web-streams-polyfill

  '@fedify/redis@0.4.0':
  '@fedify/redis@0.4.0(web-streams-polyfill@3.3.3)':
    dependencies:
      '@deno/shim-deno': 0.18.2
      '@fedify/fedify': 1.5.0
      '@fedify/fedify': 1.5.0(web-streams-polyfill@3.3.3)
      '@js-temporal/polyfill': 0.5.1
      '@logtape/logtape': 0.9.2
      ioredis: 5.6.1
@@ -4415,11 +4435,9 @@ snapshots:

  '@jsr/std__yaml@1.0.8': {}

  '@logtape/file@0.10.0':
  '@logtape/file@1.0.1(@logtape/logtape@1.0.0)':
    dependencies:
      '@logtape/logtape': 0.10.0

  '@logtape/logtape@0.10.0': {}
      '@logtape/logtape': 1.0.0

  '@logtape/logtape@0.8.2': {}

Loading