Skip to content

Commit da0a803

Browse files
committed
Rename src/ to fedify/ for consistency
1 parent 214560b commit da0a803

211 files changed

Lines changed: 26 additions & 26 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,30 @@ jobs:
1919
with:
2020
deno-version: v2.x
2121
- run: deno task cache
22-
working-directory: ${{ github.workspace }}/src/
22+
working-directory: ${{ github.workspace }}/fedify/
2323
- run: deno task test --coverage=.cov --junit-path=.test-report.xml
2424
env:
2525
RUST_BACKTRACE: ${{ runner.debug }}
26-
working-directory: ${{ github.workspace }}/src/
26+
working-directory: ${{ github.workspace }}/fedify/
2727
- uses: dorny/test-reporter@v2
2828
if: success() || failure()
2929
with:
3030
name: "Test Results (${{ matrix.os }})"
31-
path: src/.test-report.xml
31+
path: fedify/.test-report.xml
3232
reporter: jest-junit
3333
continue-on-error: true
3434
- if: '!cancelled()'
3535
uses: codecov/test-results-action@v1
3636
with:
3737
token: ${{ secrets.CODECOV_TOKEN }}
38-
files: src/.test-report.xml
38+
files: fedify/.test-report.xml
3939
- run: deno coverage --lcov .cov > .cov.lcov
40-
working-directory: ${{ github.workspace }}/src/
40+
working-directory: ${{ github.workspace }}/fedify/
4141
continue-on-error: true
4242
- uses: codecov/codecov-action@v5
4343
with:
4444
token: ${{ secrets.CODECOV_TOKEN }}
45-
files: src/.cov.lcov
45+
files: fedify/.cov.lcov
4646
continue-on-error: true
4747
- run: "true"
4848

@@ -64,11 +64,11 @@ jobs:
6464
with:
6565
bun-version: latest
6666
- run: deno task cache
67-
working-directory: ${{ github.workspace }}/src/
67+
working-directory: ${{ github.workspace }}/fedify/
6868
- run: deno task dnt
69-
working-directory: ${{ github.workspace }}/src/
69+
working-directory: ${{ github.workspace }}/fedify/
7070
- run: bun test_runner.js
71-
working-directory: ${{ github.workspace }}/src/npm/
71+
working-directory: ${{ github.workspace }}/fedify/npm/
7272

7373
lint:
7474
runs-on: ubuntu-latest
@@ -93,11 +93,11 @@ jobs:
9393
with:
9494
node-version: lts/*
9595
- run: deno task publish --dry-run
96-
working-directory: ${{ github.workspace }}/src/
96+
working-directory: ${{ github.workspace }}/fedify/
9797
- run: deno task dnt
98-
working-directory: ${{ github.workspace }}/src/
98+
working-directory: ${{ github.workspace }}/fedify/
9999
- run: npm publish --dry-run
100-
working-directory: ${{ github.workspace }}/src/npm/
100+
working-directory: ${{ github.workspace }}/fedify/npm/
101101
env:
102102
DNT_SKIP_TEST: "true"
103103
- run: deno task publish-dry-run
@@ -125,23 +125,23 @@ jobs:
125125
'.version = .version + "-dev." + $build + "+" + $commit' \
126126
deno.json > deno.json.tmp
127127
mv deno.json.tmp deno.json
128-
working-directory: ${{ github.workspace }}/src/
128+
working-directory: ${{ github.workspace }}/fedify/
129129
- if: github.ref_type == 'tag'
130130
run: |
131131
set -ex
132132
[[ "$(jq -r .version deno.json)" = "$GITHUB_REF_NAME" ]]
133133
! grep -i "to be released" CHANGES.md
134-
working-directory: ${{ github.workspace }}/src/
134+
working-directory: ${{ github.workspace }}/fedify/
135135
# Don't know why, but the .gitignore list is not overridden by include list
136136
# in deno.json:
137137
- run: rm vocab/.gitignore
138-
working-directory: ${{ github.workspace }}/src/
138+
working-directory: ${{ github.workspace }}/fedify/
139139
- run: 'deno task dnt "$(jq -r .version deno.json)"'
140-
working-directory: ${{ github.workspace }}/src/
140+
working-directory: ${{ github.workspace }}/fedify/
141141
env:
142142
DNT_SKIP_TEST: "true"
143143
- run: npm pack
144-
working-directory: ${{ github.workspace }}/src/npm/
144+
working-directory: ${{ github.workspace }}/fedify/npm/
145145
- run: deno task pack
146146
working-directory: ${{ github.workspace }}/cli/
147147
- run: 'deno task npm "$(jq -r .version deno.json)"'
@@ -161,22 +161,22 @@ jobs:
161161
with:
162162
name: dist
163163
path: |
164-
src/npm/*.tgz
164+
fedify/npm/*.tgz
165165
cli/fedify-cli-*
166166
- if: github.event_name == 'push' && github.ref_type == 'tag'
167167
uses: softprops/action-gh-release@v1
168168
with:
169169
body_path: ${{ steps.extract-changelog.outputs.output-file }}
170170
name: Fedify ${{ github.ref_name }}
171171
files: |
172-
src/npm/*.tgz
172+
fedify/npm/*.tgz
173173
cli/fedify-cli-*
174174
generate_release_notes: false
175175
- if: |
176176
github.event_name == 'push' &&
177177
github.ref_type == 'tag' || github.ref == 'refs/heads/main'
178178
run: deno task publish --allow-dirty
179-
working-directory: ${{ github.workspace }}/src/
179+
working-directory: ${{ github.workspace }}/fedify/
180180
- if: |
181181
github.event_name == 'push' &&
182182
github.ref_type == 'tag' || github.ref == 'refs/heads/main'
@@ -195,7 +195,7 @@ jobs:
195195
fi
196196
env:
197197
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
198-
working-directory: ${{ github.workspace }}/src/npm/
198+
working-directory: ${{ github.workspace }}/fedify/npm/
199199
- if: github.event_name == 'push' && github.ref_type == 'tag'
200200
run: |
201201
set -ex
@@ -218,7 +218,7 @@ jobs:
218218
with:
219219
deno-version: v2.x
220220
- run: deno task codegen
221-
working-directory: ${{ github.workspace }}/src/
221+
working-directory: ${{ github.workspace }}/fedify/
222222
- uses: denoland/deployctl@v1
223223
with:
224224
project: fedify-blog

cli/scripts/check_version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import parentMetadata from "../../src/deno.json" with { type: "json" };
1+
import parentMetadata from "../../fedify/deno.json" with { type: "json" };
22
import metadata from "../deno.json" with { type: "json" };
33

44
if (metadata.version !== parentMetadata.version) {

cli/scripts/sync_version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import jsonPreserveIndent from "json-preserve-indent";
2-
import metadata from "../../src/deno.json" with { type: "json" };
2+
import metadata from "../../fedify/deno.json" with { type: "json" };
33

44
const denoJsonPath = `${import.meta.dirname}/../deno.json`;
55
const denoJson = await Deno.readTextFile(denoJsonPath);

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"workspace": [
3-
"./src",
3+
"./fedify",
44
"./cli",
55
"./examples/blog",
66
"./examples/hono-sample"
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)