-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #703 from swrlab/dev/docs-packaging-maintenance
chore: docs and data maintenances
- Loading branch information
Showing
44 changed files
with
408 additions
and
6,283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,9 @@ | ||
{ | ||
"parserOptions": { | ||
"ecmaVersion": 2020 | ||
}, | ||
"root": true, | ||
"plugins": ["@swrlab/eslint-plugin-swr", "chai-friendly"], | ||
"extends": ["plugin:@swrlab/eslint-plugin-swr/recommended", "plugin:chai-friendly/recommended"], | ||
"ignorePatterns": ["docs/_SIDEBAR.md"], | ||
"env": {}, | ||
"extends": [], | ||
"rules": { | ||
"radix": 0, | ||
"no-unused-vars": [ | ||
"error", | ||
{ | ||
"argsIgnorePattern": "next", | ||
"varsIgnorePattern": "should" | ||
} | ||
], | ||
"no-param-reassign": [2, { "props": false }], | ||
"no-restricted-syntax": 0 | ||
"no-undef": "off", | ||
"no-unused-vars": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
# Load desired node image | ||
FROM node:18-alpine | ||
# select bun | ||
FROM oven/bun:1 as bun | ||
|
||
# Create app directory | ||
WORKDIR /web/app | ||
|
||
# Copy app source | ||
COPY . . | ||
|
||
# Install node dependencies with clean slate | ||
# Also download tokens | ||
RUN rm -rf node_modules && \ | ||
yarn | ||
# Install dependencies | ||
RUN bun install | ||
|
||
# Load desired node image | ||
FROM node:22-alpine | ||
|
||
# Create app directory | ||
WORKDIR /web/app | ||
|
||
# Copy compiled app source | ||
COPY --from=bun /web/app /web/app | ||
|
||
# Expose port | ||
EXPOSE 80 | ||
|
||
# Run app | ||
CMD [ "yarn", "ingest:cloud" ] | ||
CMD [ "npm", "run", "ingest:cloud" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# disable analytics | ||
# https://bun.sh/docs/runtime/bunfig#telemetry | ||
telemetry = false | ||
|
||
# exclude commands from logs | ||
# https://bun.sh/docs/runtime/bunfig#run-silent-suppress-reporting-the-command-being-run | ||
[run] | ||
silent = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.