-
Notifications
You must be signed in to change notification settings - Fork 2
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 #56 from mcauto/develop
v21.0.0
- Loading branch information
Showing
142 changed files
with
48,573 additions
and
19,611 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.DS_Store | ||
node_modules | ||
/dist | ||
.nuxt | ||
|
||
# local env files | ||
.env.local | ||
.env.*.local | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
yarn-error.log | ||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
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,9 @@ | ||
PROJECT_ID= | ||
PRIVATE_KEY_ID= | ||
PRIVATE_KEY= | ||
CLIENT_EMAIL= | ||
CLIENT_ID= | ||
AUTH_URI= | ||
TOKEN_URI= | ||
AUTH_PROVIDER_X509_CERT_URL= | ||
CLIENT_X509_CERT_URL= |
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,23 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
node: true, | ||
browser: true, | ||
}, | ||
extends: [ | ||
"plugin:vue/recommended", | ||
"eslint:recommended", | ||
"plugin:prettier/recommended", | ||
], | ||
rules: { | ||
"vue/component-name-in-template-casing": ["error", "PascalCase"], | ||
"no-console": process.env.NODE_ENV === "production" ? "error" : "off", | ||
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", | ||
}, | ||
globals: { | ||
$nuxt: true, | ||
}, | ||
parserOptions: { | ||
parser: "babel-eslint", | ||
}, | ||
}; |
Validating CODEOWNERS rules …
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 @@ | ||
* @mcauto @KimHunJin |
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 @@ | ||
# Summary | ||
|
||
# Issue | ||
|
||
# Changelog | ||
|
||
--- | ||
|
||
<details open> <summary>스크린샷</summary> | ||
|
||
</details> |
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,20 @@ | ||
--- | ||
name: Changelog | ||
|
||
on: [push] | ||
|
||
jobs: | ||
changelog: | ||
name: Make changelog | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 15 | ||
- name: Show current changelog | ||
run: | | ||
npm ci | ||
make current_changelog |
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,54 @@ | ||
--- | ||
name: Release | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
if: github.event.pull_request.merged == true | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 16 | ||
- name: Install dependencies | ||
run: | | ||
npm ci | ||
- name: Commit files | ||
env: | ||
HUSKY_SKIP_HOOKS: 1 | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
VERSION=$(npx next-standard-version) | ||
DESCRIPTION=$(npx standard-version --dry-run --silent | grep -v yarn | grep -v Done | grep -v "\-\-\-" | grep -v standard-version) | ||
echo "DESCRIPTION<<EOF" >> $GITHUB_ENV | ||
echo "$DESCRIPTION" >> $GITHUB_ENV | ||
echo "EOF" >> $GITHUB_ENV | ||
echo "VERSION=$VERSION" >> $GITHUB_ENV | ||
npx standard-version | ||
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
tags: true | ||
- name: Create Github Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | ||
with: | ||
tag_name: v${{ env.VERSION }} | ||
release_name: Release v${{ env.VERSION }} | ||
body: | | ||
${{ env.DESCRIPTION }} | ||
draft: false | ||
prerelease: false |
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,13 @@ | ||
// Requirements... | ||
require("dotenv").config(); | ||
const { PythonShell } = require("python-shell"); | ||
|
||
console.log("run content_generator"); | ||
PythonShell.run( | ||
"./content_generator", | ||
{ pythonOptions: ["-u", "-m"], env: process.env }, | ||
function (err) { | ||
if (err) throw err; | ||
console.log("content_generator complete"); | ||
} | ||
); |
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,14 @@ | ||
const execSync = require("child_process").execSync; | ||
const path = require("path"); | ||
|
||
/** | ||
* Creates a path to an executable in the node_modules/.bin directory. Each | ||
* path segment is joined with the appropriate platform-specific separator as | ||
* a delimiter. | ||
* @param {String} cmd The name of the executable. | ||
* @returns {String} The path to the executable. | ||
*/ | ||
function getBinFile(cmd) { | ||
return path.join("node_modules", ".bin", cmd); | ||
} | ||
execSync(`${getBinFile("nuxt")} generate`, { stdio: [0, 1, 2] }); |
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,12 @@ | ||
FROM node:16.9.0 | ||
|
||
RUN mkdir -p /var/www/app | ||
WORKDIR /var/www/app | ||
|
||
COPY . . | ||
|
||
RUN npm install | ||
|
||
ENV HOST 0.0.0.0 | ||
|
||
ENTRYPOINT [ "sh", "entrypoint.sh" ] |
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 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
gspread = "*" | ||
tqdm = "*" | ||
|
||
[dev-packages] | ||
|
||
[requires] | ||
python_version = "3.6" |
Oops, something went wrong.