Skip to content
Permalink
Browse files

packages, licenses, configs, etc

  • Loading branch information...
evereq committed Dec 13, 2018
1 parent ee443f6 commit 924be0a19f5eabd3f5f2f9a6dafe1561a59ae889
Showing with 59,160 additions and 0 deletions.
  1. +370 −0 .circleci/config.yml
  2. +27 −0 .editorconfig
  3. +1 −0 .github/CODE_OF_CONDUCT.md
  4. +17 −0 .github/CONTRIBUTING.md
  5. 0 .github/ISSUE_TEMPLATE.md
  6. 0 .github/PULL_REQUEST_TEMPLATE.md
  7. +41 −0 .gitignore
  8. +3 −0 .ncurc.json
  9. +5 −0 .prettierrc.yaml
  10. +90 −0 .stylelintrc.json
  11. +4 −0 .vscode/launch.json
  12. +66 −0 .vscode/settings.json
  13. +9 −0 admin/website-angular/CREDITS.md
  14. +661 −0 admin/website-angular/GNU-AGPL-3.0.txt
  15. +25 −0 admin/website-angular/LICENSE.md
  16. +1 −0 admin/website-angular/README.md
  17. +179 −0 admin/website-angular/package.json
  18. +9,390 −0 admin/website-angular/yarn.lock
  19. +9 −0 backend/api/CREDITS.md
  20. +661 −0 backend/api/GNU-AGPL-3.0.txt
  21. +25 −0 backend/api/LICENSE.md
  22. +186 −0 backend/api/README.md
  23. +230 −0 backend/api/package.json
  24. +10,381 −0 backend/api/yarn.lock
  25. +9 −0 carrier/mobile-ionic/CREDITS.md
  26. +25 −0 carrier/mobile-ionic/LICENSE.md
  27. +674 −0 carrier/mobile-ionic/gpl-3.0.txt
  28. +176 −0 carrier/mobile-ionic/package.json
  29. +23 −0 ever.code-workspace
  30. +24 −0 lerna.json
  31. +9 −0 merchant/tablet-ionic/CREDITS.md
  32. +661 −0 merchant/tablet-ionic/GNU-AGPL-3.0.txt
  33. +25 −0 merchant/tablet-ionic/LICENSE.md
  34. +175 −0 merchant/tablet-ionic/package.json
  35. +6,343 −0 merchant/tablet-ionic/yarn.lock
  36. +102 −0 package.json
  37. +15 −0 package.workspaces.json
  38. +25 −0 shared/core-angular/LICENSE.md
  39. +1 −0 shared/core-angular/README.md
  40. +674 −0 shared/core-angular/gpl-3.0.txt
  41. +25 −0 shared/core/LICENSE.md
  42. +1 −0 shared/core/README.md
  43. +674 −0 shared/core/gpl-3.0.txt
  44. +9 −0 shop/mobile-ionic/CREDITS.md
  45. +25 −0 shop/mobile-ionic/LICENSE.md
  46. +1 −0 shop/mobile-ionic/README.md
  47. +674 −0 shop/mobile-ionic/gpl-3.0.txt
  48. +200 −0 shop/mobile-ionic/package.json
  49. +9,437 −0 shop/mobile-ionic/yarn.lock
  50. +9 −0 shop/website-angular/CREDITS.md
  51. +661 −0 shop/website-angular/GNU-AGPL-3.0.txt
  52. +25 −0 shop/website-angular/LICENSE.md
  53. +1 −0 shop/website-angular/README.md
  54. +230 −0 shop/website-angular/package.json
  55. +8,967 −0 shop/website-angular/yarn.lock
  56. +84 −0 tslint.json
  57. +6,795 −0 yarn.lock
@@ -0,0 +1,370 @@
version: 2

aliases:
- &install-chrome
name: Install Chrome
command: |
sudo apt install -y libappindicator3-1
curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome.deb
sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome
rm google-chrome.deb
defaults: &defaults
# put here anything which is common between all jobs
# we define default work dir, however almost every job redefine it
working_directory: /tmp/workspace

jobs:
build-backend-api:
<<: *defaults
working_directory: /tmp/workspace/backend/api
docker:
- image: circleci/node:10.9.0
steps:
- checkout
- run:
name: 'Pull Submodules'
command: |
git submodule init
git submodule update --remote
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-backend-api-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: cd backend/api && yarn install
- run:
name: Run Build
command: cd backend/api && yarn build
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-backend-api-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- persist_to_workspace:
root: /tmp/workspace/backend/api
paths:
- "*"
build-admin-website-angular:
<<: *defaults
working_directory: /tmp/workspace/admin/website-angular
docker:
- image: circleci/node:10.9.0
steps:
- checkout
- run:
name: 'Pull Submodules'
command: |
git submodule init
git submodule update --remote
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-admin-website-angular-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: cd admin/website-angular && yarn install
- run:
name: Run Build
command: cd admin/website-angular && yarn build
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-admin-website-angular-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- persist_to_workspace:
root: /tmp/workspace/admin/website-angular
paths:
- "*"
build-carrier-mobile-ionic:
<<: *defaults
working_directory: /tmp/workspace/carrier/mobile-ionic
docker:
- image: circleci/node:10.9.0
steps:
- checkout
- run:
name: 'Pull Submodules'
command: |
git submodule init
git submodule update --remote
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-carrier-mobile-ionic-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: cd carrier/mobile-ionic && yarn install
- run:
name: Run Build
command: cd carrier/mobile-ionic && yarn build
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-carrier-mobile-ionic-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- persist_to_workspace:
root: /tmp/workspace/carrier/mobile-ionic
paths:
- "*"
build-shop-mobile-ionic:
<<: *defaults
working_directory: /tmp/workspace/shop/mobile-ionic
docker:
- image: circleci/node:10.9.0
steps:
- checkout
- run:
name: 'Pull Submodules'
command: |
git submodule init
git submodule update --remote
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-shop-mobile-ionic-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: cd shop/mobile-ionic && yarn install
- run:
name: Run Build
command: cd shop/mobile-ionic && yarn build
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-shop-mobile-ionic-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- persist_to_workspace:
root: /tmp/workspace/shop/mobile-ionic
paths:
- "*"
build-shop-website-angular:
<<: *defaults
working_directory: /tmp/workspace/shop/website-angular
docker:
- image: circleci/node:10.9.0
steps:
- checkout
- run:
name: 'Pull Submodules'
command: |
git submodule init
git submodule update --remote
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-shop-website-angular-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: cd shop/website-angular && yarn install
- run:
name: Run Build
command: cd shop/website-angular && yarn build
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-shop-website-angular-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- persist_to_workspace:
root: /tmp/workspace/shop/website-angular
paths:
- "*"
build-merchant-tablet-ionic:
<<: *defaults
working_directory: /tmp/workspace/merchant/tablet-ionic
docker:
- image: circleci/node:10.9.0
steps:
- checkout
- run:
name: 'Pull Submodules'
command: |
git submodule init
git submodule update --remote
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-merchant-tablet-ionic-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: cd merchant/tablet-ionic && yarn install
- run:
name: Run Build
command: cd merchant/tablet-ionic && yarn build
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-merchant-tablet-ionic-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- persist_to_workspace:
root: /tmp/workspace/merchant/tablet-ionic
paths:
- "*"
test-carrier-mobile-ionic:
<<: *defaults
working_directory: /tmp/workspace/carrier/mobile-ionic
docker:
- image: circleci/node:10.9.0-browsers
steps:
- run: *install-chrome
- attach_workspace:
at: /tmp/workspace/carrier/mobile-ionic
- run:
name: 'Pull Submodules'
command: |
git submodule init
git submodule update --remote
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-carrier-mobile-ionic-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: cd carrier/mobile-ionic && yarn install
- run:
name: test
command: cd carrier/mobile-ionic && yarn test
test-shop-mobile-ionic:
<<: *defaults
working_directory: /tmp/workspace/shop/mobile-ionic
docker:
- image: circleci/node:10.9.0-browsers
steps:
- run: *install-chrome
- attach_workspace:
at: /tmp/workspace/shop/mobile-ionic
- run:
name: 'Pull Submodules'
command: |
git submodule init
git submodule update --remote
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-shop-mobile-ionic-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: cd shop/mobile-ionic && yarn install
- run:
name: test
command: cd shop/mobile-ionic && yarn test
test-shop-website-angular:
<<: *defaults
working_directory: /tmp/workspace/shop/website-angular
docker:
- image: circleci/node:10.9.0-browsers
steps:
- run: *install-chrome
- attach_workspace:
at: /tmp/workspace/shop/website-angular
- run:
name: 'Pull Submodules'
command: |
git submodule init
git submodule update --remote
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-shop-website-angular-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: cd shop/website-angular && yarn install
- run:
name: test
command: cd shop/website-angular && yarn test
test-admin-website-angular:
<<: *defaults
working_directory: /tmp/workspace/admin/website-angular
docker:
- image: circleci/node:10.9.0-browsers
steps:
- run: *install-chrome
- attach_workspace:
at: /tmp/workspace/admin/website-angular
- run:
name: 'Pull Submodules'
command: |
git submodule init
git submodule update --remote
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-admin-website-angular-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: cd admin/website-angular && yarn install
- run:
name: test
command: cd admin/website-angular && yarn test
test-backend-api:
<<: *defaults
working_directory: /tmp/workspace/backend/api
docker:
- image: circleci/node:10.9.0-browsers
steps:
- run: *install-chrome
- attach_workspace:
at: /tmp/workspace/backend/api
- run:
name: 'Pull Submodules'
command: |
git submodule init
git submodule update --remote
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-backend-api-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: cd backend/api && yarn install
- run:
name: test
command: cd backend/api && yarn test
workflows:
version: 2
build_and_test:
jobs:
- build-backend-api
- build-admin-website-angular
- build-merchant-tablet-ionic
- build-shop-mobile-ionic
- build-shop-website-angular
- build-carrier-mobile-ionic
# - test-admin-website-angular:
# requires:
# - build-admin-website-angular
# filters:
# branches:
# only: master
# - test-backend-api:
# requires:
# - build-backend-api
# filters:
# branches:
# only: master
# - test-merchant-tablet-ionic:
# requires:
# - build-merchant-tablet-ionic
# filters:
# branches:
# only: master
# - test-carrier-mobile-ionic:
# requires:
# - build-carrier-mobile-ionic
# filters:
# branches:
# only: master
# - test-shop-mobile-ionic:
# requires:
# - build-shop-mobile-ionic
# filters:
# branches:
# only: master
# - test-shop-website-angular:
# requires:
# - build-shop-website-angular
# filters:
# branches:
# only: master
@@ -0,0 +1,27 @@
# http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = tab
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
insert_final_newline = false
trim_trailing_whitespace = false

[*.yml]
indent_style = space
indent_size = 4

[*.json]
indent_style = space
indent_size = 4

[*.graphql]
indent_style = space
indent_size = 4
Oops, something went wrong.

0 comments on commit 924be0a

Please sign in to comment.
You can’t perform that action at this time.