chore: tx main repo, merge gitignores and circle

This commit is contained in:
Henrique Dias 2019-05-21 11:17:25 +01:00
parent 4e4055e7a8
commit f05479865c
7 changed files with 25 additions and 69 deletions

View File

@ -11,11 +11,6 @@ jobs:
- image: circleci/node
steps:
- checkout
- run:
name: "Pull Submodules"
command: |
git submodule init
git submodule update --remote
- run:
name: "Build"
command: ./wizard.sh -a

22
.gitignore vendored
View File

@ -5,3 +5,25 @@ _old
rice-box.go
.idea/
filebrowser
.DS_Store
node_modules
/frontend/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*

View File

@ -3,8 +3,8 @@ host = https://www.transifex.com
lang_map = pt_BR: pt-br, zh_CN: zh-cn, zh_HK: zh-hk, zh_TW: zh-tw
[file-browser.file-browser]
file_filter = src/i18n/<lang>.json
file_filter = frontend/src/i18n/<lang>.json
minimum_perc = 50
source_file = src/i18n/en.json
source_file = frontend/src/i18n/en.json
source_lang = en
type = KEYVALUEJSON

View File

@ -1,15 +0,0 @@
version: 2
jobs:
build:
docker:
- image: circleci/node
steps:
- checkout
- run: npm install
- run: npm run lint
- run: npm run build
workflows:
version: 2
build:
jobs:
- build

21
frontend/.gitignore vendored
View File

@ -1,21 +0,0 @@
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*

View File

@ -1,26 +0,0 @@
# File Browser Front-end
[![CircleCI](https://img.shields.io/circleci/project/github/filebrowser/frontend.svg?style=flat-square)](https://circleci.com/gh/filebrowser/frontend)
[![npm](https://img.shields.io/npm/v/filebrowser-frontend.svg?style=flat-square)]()
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![Chat IRC](https://img.shields.io/badge/freenode-%23filebrowser-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23filebrowser)
> This is an example file with default selections.
## Install
```
npm install filebrowser-frontend
```
## Usage
This package is not prepared to be used by other projects than [File Browser](https://github.com/filebrowser/filebrowser) itself.
## Contribute
Check the [community repository](https://github.com/filebrowser/community) for more information.
## License
[Apache 2.0](./LICENSE) File Browser Contributors

View File

@ -29,6 +29,7 @@ buildAssets () {
npm install
fi
npm run lint
npm run build
}