-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into origin/master
- Loading branch information
Showing
47 changed files
with
31,087 additions
and
12,085 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
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,8 +1,8 @@ | ||
# These are supported funding model platforms | ||
|
||
# github: [louistiti] | ||
github: [louistiti] | ||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: # Replace with a single Ko-fi username | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
custom: https://donate.getleon.ai | ||
custom: # http://sponsor.getleon.ai |
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,13 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: 'npm' | ||
directory: '/' | ||
schedule: | ||
interval: 'weekly' | ||
day: 'friday' | ||
time: '22:00' | ||
commit-message: | ||
prefix: 'chore' | ||
include: 'scope' | ||
reviewers: | ||
- 'louistiti' |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
if ! [ -x "$(command -v npm)" ]; then | ||
echo "npm: command not found" | ||
echo "If you use a version manager tool such as nvm and a git GUI such as GitKraken, please read: https://typicode.github.io/husky/#/?id=command-not-found" >&2 | ||
exit 1 | ||
else | ||
npm run lint && node_modules/@babel/node/bin/babel-node.js scripts/commit-msg.js | ||
fi | ||
|
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,25 +1,20 @@ | ||
FROM node:14-alpine | ||
FROM node:16-alpine | ||
ENV IS_DOCKER true | ||
WORKDIR /app | ||
|
||
# Install system packages | ||
RUN apk add --no-cache --no-progress \ | ||
ca-certificates \ | ||
python3 \ | ||
git \ | ||
tzdata | ||
ca-certificates \ | ||
py3-pip \ | ||
git \ | ||
tzdata | ||
|
||
# Upgrade pip and install Pipenv | ||
RUN pip3 install --no-cache-dir --progress-bar off pipenv | ||
|
||
# Install Leon | ||
# Need to explicitly run the npm preinstall and npm posinstall scripts (not needed with npm@7) | ||
# because npm tries to downgrade its privileges, and these scripts are not executed | ||
COPY ./package*.json ./ | ||
RUN npm clean-install | ||
COPY ./ ./ | ||
RUN npm run preinstall | ||
RUN npm run postinstall | ||
RUN npm install | ||
RUN npm run build | ||
|
||
CMD ["npm", "start"] |
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.