@fedify/postgres 0.4.0-dev.31 → 1.8.0-dev.933

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,101 +0,0 @@
1
- name: main
2
- on: [push, pull_request]
3
-
4
- jobs:
5
- test:
6
- runs-on: ubuntu-latest
7
- permissions:
8
- checks: write
9
- pull-requests: write
10
- services:
11
- postgres:
12
- image: postgres
13
- env:
14
- POSTGRES_USER: postgres
15
- POSTGRES_PASSWORD: postgres
16
- POSTGRES_DB: postgres
17
- options: >-
18
- --health-cmd pg_isready
19
- --health-interval 10s
20
- --health-timeout 5s
21
- --health-retries 5
22
- ports:
23
- - 5432:5432
24
- env:
25
- DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
26
- steps:
27
- - uses: actions/checkout@v4
28
- - uses: denoland/setup-deno@v1
29
- with:
30
- deno-version: v2.x
31
- - uses: pnpm/action-setup@v4
32
- with:
33
- version: 10
34
- - uses: actions/setup-node@v4
35
- with:
36
- node-version: lts/*
37
- cache: pnpm
38
- - uses: oven-sh/setup-bun@v1
39
- with:
40
- bun-version: latest
41
- - run: deno task test --junit-path=.test-report.xml
42
- - uses: EnricoMi/publish-unit-test-result-action@v2
43
- if: always()
44
- with:
45
- files: .test-report.xml
46
- - run: deno task check
47
- - run: pnpm install
48
- - run: pnpm test
49
- - run: pnpm test:bun
50
-
51
- publish:
52
- if: github.event_name == 'push'
53
- needs: [test]
54
- runs-on: ubuntu-latest
55
- permissions:
56
- contents: read
57
- id-token: write
58
- steps:
59
- - uses: actions/checkout@v4
60
- - uses: denoland/setup-deno@v1
61
- with:
62
- deno-version: v2.x
63
- - uses: pnpm/action-setup@v4
64
- with:
65
- version: 10
66
- - uses: actions/setup-node@v4
67
- with:
68
- node-version: lts/*
69
- cache: pnpm
70
- - if: github.ref_type == 'branch'
71
- run: |
72
- set -ex
73
- jq \
74
- --arg build "$GITHUB_RUN_NUMBER" \
75
- --arg commit "${GITHUB_SHA::8}" \
76
- '.version = .version + "-dev." + $build + "+" + $commit' \
77
- deno.json > deno.json.tmp
78
- mv deno.json.tmp deno.json
79
- jq \
80
- --arg build "$GITHUB_RUN_NUMBER" \
81
- '.version = .version + "-dev." + $build' \
82
- package.json > package.json.tmp
83
- mv package.json.tmp package.json
84
- - if: github.ref_type == 'tag'
85
- run: |
86
- set -ex
87
- [[ "$(jq -r .version deno.json)" = "$GITHUB_REF_NAME" ]]
88
- [[ "$(jq -r .version package.json)" = "$GITHUB_REF_NAME" ]]
89
- - run: |
90
- set -ex
91
- pnpm install
92
- pnpm config set //registry.npmjs.org/:_authToken "$NPM_AUTH_TOKEN"
93
- if [[ "$GITHUB_REF_TYPE" = "tag" ]]; then
94
- pnpm publish --provenance --access public --no-git-checks
95
- else
96
- pnpm publish --provenance --access public --no-git-checks --tag dev
97
- fi
98
- env:
99
- NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
100
- NPM_CONFIG_PROVENANCE: "true"
101
- - run: deno publish --allow-dirty
@@ -1,6 +0,0 @@
1
- {
2
- "recommendations": [
3
- "denoland.vscode-deno",
4
- "streetsidesoftware.code-spell-checker"
5
- ]
6
- }
@@ -1,33 +0,0 @@
1
- {
2
- "deno.enable": true,
3
- "deno.unstable": [
4
- "temporal"
5
- ],
6
- "editor.detectIndentation": false,
7
- "editor.indentSize": 2,
8
- "editor.insertSpaces": true,
9
- "files.eol": "\n",
10
- "files.insertFinalNewline": true,
11
- "files.trimFinalNewlines": true,
12
- "[json]": {
13
- "editor.defaultFormatter": "vscode.json-language-features",
14
- "editor.formatOnSave": true
15
- },
16
- "[jsonc]": {
17
- "editor.defaultFormatter": "vscode.json-language-features",
18
- "editor.formatOnSave": true
19
- },
20
- "[typescript]": {
21
- "editor.defaultFormatter": "denoland.vscode-deno",
22
- "editor.formatOnSave": true,
23
- "editor.codeActionsOnSave": {
24
- "source.sortImports": "always"
25
- }
26
- },
27
- "cSpell.words": [
28
- "fedify",
29
- "logtape",
30
- "unlisten",
31
- "UNLOGGED"
32
- ]
33
- }
@@ -1,30 +0,0 @@
1
- {
2
- "deno": {
3
- "enable": true
4
- },
5
- "ensure_final_newline_on_save": true,
6
- "format_on_save": "on",
7
- "formatter": "language_server",
8
- "languages": {
9
- "TypeScript": {
10
- "language_servers": [
11
- "deno",
12
- "!typescript-language-server",
13
- "!vtsls",
14
- "!eslint",
15
- "..."
16
- ]
17
- },
18
- "TSX": {
19
- "language_servers": [
20
- "deno",
21
- "!typescript-language-server",
22
- "!vtsls",
23
- "!eslint",
24
- "..."
25
- ]
26
- }
27
- },
28
- "show_wrap_guides": true,
29
- "wrap_guides": [80]
30
- }