Skip to content

Commit

Permalink
Merge pull request #32 from Consdata/yggdrasil2
Browse files Browse the repository at this point in the history
Yggdrasil2
  • Loading branch information
glipecki authored Sep 12, 2020
2 parents 32132b8 + 0eb0f74 commit 943aaec
Show file tree
Hide file tree
Showing 175 changed files with 15,900 additions and 12,767 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Editor configuration, see https://editorconfig.org
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 4
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

Expand Down
8 changes: 8 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
NX_FIREBASE_API_KEY="apiKey"
NX_FIREBASE_AUTH_DOMAIN="authDomain"
NX_FIREBASE_DATABASE_URL="databaseUrl"
NX_FIREBASE_PROJECT_ID="projectId"
NX_FIREBASE_STORAGE_BUCKET="storageBucket"
NX_FIREBASE_MESSAGING_SENDER_ID="messagingSenderId"
NX_FIREBASE_APP_ID="appid"
NX_FIREBASE_MEASUREMENT_ID="measurementId"
44 changes: 44 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.base.json"
},
"ignorePatterns": ["**/*"],
"plugins": ["@typescript-eslint", "@nrwl/nx"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"rules": {
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-parameter-properties": "off",
"@nrwl/nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
]
},
"overrides": [
{
"files": ["*.tsx"],
"rules": {
"@typescript-eslint/no-unused-vars": "off"
}
}
]
}
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "yggdrasil2"
}
}
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
21 changes: 0 additions & 21 deletions .github/workflows/nodejs.yml

This file was deleted.

54 changes: 45 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,47 @@
dist/
target/
build/
.idea/*
!.idea/runConfigurations
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc

# dependencies
/node_modules

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
*.iml
node_modules/
!.mvn/wrapper/maven-wrapper.jar
.gradle
data/

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings
.local.env
.firebase
firebase-debug.log
tools/users-sync/users

# System Files
.DS_Store
Thumbs.db

apps/web-app/src/app/features/skill-tree/dump/skill-tree-dump.ts
tools/convert-mm-to-json/skill-tree.mm
11 changes: 0 additions & 11 deletions .idea/runConfigurations/YggdrasilSkillBrowserApplication.xml

This file was deleted.

This file was deleted.

114 changes: 0 additions & 114 deletions .mvn/wrapper/MavenWrapperDownloader.java

This file was deleted.

Binary file removed .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
1 change: 0 additions & 1 deletion .mvn/wrapper/maven-wrapper.properties

This file was deleted.

4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Add files here to ignore them from prettier formatting

/dist
/coverage
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
12 changes: 9 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
language: java
jdk:
- openjdk8
language: node_js
node_js:
- "lts/*"
cache:
yarn: true
directories:
- node_modules
script:
- yarn build
14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,7 @@ TBD

## Building

In order to build the Yggdrasil, ensure that you have JDK installed.

Clone a copy of the repo:

```bash
git clone [email protected]:Consdata/yggdrasil.git
```

Build app using Maven Wrapper

```bash
./mvnw clean package
```
TBD

## Usage

Expand Down
1 change: 1 addition & 0 deletions apps/.gitkeep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

5 changes: 5 additions & 0 deletions apps/functions/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "../../.eslintrc",
"rules": {},
"ignorePatterns": ["!**/*"]
}
6 changes: 6 additions & 0 deletions apps/functions/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
name: 'functions',
preset: '../../jest.config.js',
coverageDirectory: '../../coverage/apps/functions',
globals: { 'ts-jest': { tsConfig: '<rootDir>/tsconfig.spec.json' } },
};
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const environment = {
production: true
production: true
};
3 changes: 3 additions & 0 deletions apps/functions/src/environments/environment.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export const environment = {
production: false
};
File renamed without changes.
9 changes: 9 additions & 0 deletions apps/functions/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"types": ["node"]
},
"exclude": ["**/*.spec.ts"],
"include": ["**/*.ts"]
}
Loading

0 comments on commit 943aaec

Please sign in to comment.