-
Notifications
You must be signed in to change notification settings - Fork 8
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 #72 from vocascan/experimental
Push v1.0.0 to production
- Loading branch information
Showing
227 changed files
with
42,447 additions
and
6,263 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,11 @@ | ||
{ | ||
"extends": ["react-app", "react-app/jest", "plugin:prettier/recommended"], | ||
"rules": { | ||
"prettier/prettier": "warn" | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": "*.jsx" | ||
} | ||
] | ||
} |
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,49 @@ | ||
name: build app | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
# keep building even if another job is failed | ||
fail-fast: false | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macos-latest] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14" | ||
|
||
- name: Date | ||
id: date | ||
run: echo "::set-output name=date::$(date -u +'%Y-%m-%dT%H:%M:%SZ')" | ||
|
||
- name: Install Snapcraft | ||
uses: samuelmeuli/action-snapcraft@v1 | ||
if: startsWith(matrix.os, 'ubuntu') | ||
with: | ||
# Log in to Snap Store | ||
snapcraft_token: ${{ secrets.snapcraft_token }} | ||
|
||
- name: Install RPM | ||
if: startsWith(matrix.os, 'ubuntu') | ||
run: | | ||
sudo apt install rpm | ||
- name: Build/release Electron app | ||
uses: samuelmeuli/action-electron-builder@v1 | ||
with: | ||
build_script_name: react-build | ||
github_token: ${{ secrets.VOCASCAN_BOT_TOKEN }} | ||
args: "-c.extraMetadata.commit='${{ github.sha }}' -c.extraMetadata.date='${{ steps.date.outputs.date }}'" | ||
release: 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
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,21 @@ | ||
{ | ||
"tabWidth": 2, | ||
"endOfLine": "auto", | ||
"trailingComma": "es5", | ||
"printWidth": 80, | ||
"singleQuote": false, | ||
"semi": true, | ||
"useTabs": false, | ||
"importOrder": [ | ||
"^(react|uniqid|i18next|redux|axios|clsx|semver|@testing-library)(.*)$", | ||
"^@material-ui/core(.*)$", | ||
"^@material-ui/icons(.*)$", | ||
"^(.*).jsx$", | ||
"^(.*).js$", | ||
"^(.*).(png|jpg|svg|json)$", | ||
"^(.*).(scss)$", | ||
".*" | ||
], | ||
"importOrderSeparation": true, | ||
"experimentalBabelParserPluginsList": ["jsx"] | ||
} |
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 @@ | ||
{ | ||
"extends": "stylelint-config-sass-guidelines", | ||
"rules": { | ||
"order/properties-alphabetical-order": null, | ||
"max-nesting-depth": 4, | ||
"string-quotes": "double", | ||
"selector-max-compound-selectors": null | ||
} | ||
} |
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,11 +1,12 @@ | ||
{ | ||
"upload": { | ||
"type": "json", | ||
"files": "src/i18n/locales/en.json", | ||
"files": "src/i18n/locales/en/*.json", | ||
"deprecateMissing": true, | ||
"features": ["array", "filter_untranslated", "plural_postfix_us"] | ||
}, | ||
"download": { | ||
"files": "src/i18n/locales/${lang}.json" | ||
"metadataFileJson": "src/i18n/locales/locales.json", | ||
"files": "src/i18n/locales/${lang}/${file}" | ||
} | ||
} |
Oops, something went wrong.