Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Structure adjustments #6

Merged
merged 1 commit into from
Oct 13, 2024
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 .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
configFilePath: GitVersion.yml

- name: Replace - Version
run: sed -i 's/0.0.0/${{ steps.gitversion.outputs.majorMinorPatch }}${{ steps.gitversion.outputs.preReleaseLabel }}${{ steps.gitversion.outputs.preReleaseNumber }}/g' openapi/openapi.yml
run: sed -i 's/0.0.0/${{ steps.gitversion.outputs.majorMinorPatch }}${{ steps.gitversion.outputs.preReleaseLabel }}${{ steps.gitversion.outputs.preReleaseNumber }}/g' spec/reference.yml

- name: Bun - Install
run: bun install --frozen-lockfile
Expand Down
Binary file modified bun.lockb
Binary file not shown.
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{
"name": "satisfactory-api-v1",
"name": "satisfactory-api-spec",
"version": "1.0.0",
"private": true,
"scripts": {
"bundle-yaml": "openapi bundle -o dist/$npm_package_name.yaml",
"bundle-yml": "openapi bundle -o dist/$npm_package_name.yml",
"bundle-json": "openapi bundle -o dist/$npm_package_name.json",
"bundle": "bun run bundle-yaml && bun run bundle-yml && bun run bundle-json",
"build-redoc": "openapi build-docs dist/$npm_package_name.yaml -o dist/index.html",
"build": "bun run bundle && bun run build-redoc",
"start": "openapi preview-docs",
"build": "openapi bundle -o dist/satisfactory-api-spec.yaml && openapi bundle -o dist/satisfactory-api-spec.json && openapi build-docs dist/satisfactory-api-spec.yaml -o dist/index.html",
"lint": "openapi lint"
},
"dependencies": {
"@redocly/cli": "^1.25.3"
"@redocly/cli": "^1.25.5"
}
}
2 changes: 1 addition & 1 deletion redocly.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See https://docs.redoc.ly/cli/configuration/ for more information.
apis:
main@v1:
root: openapi/openapi.yml
root: spec/reference.yml
extends:
- recommended
rules:
Expand Down
File renamed without changes.
File renamed without changes.