This repository has been archived by the owner on Jun 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Greatly modernize the example: Switch from Lerna to Nx, which has off-the-shelf support for some of the things made to work with considerable effort under Lerna. Upgrade Angular and CLI. Revamp state code to follow current NgRx patterns (although some remains the old way). Rename to enterprise-example. Remove I from interface names, This idea had some very early popularity but has fallen by the wayside. Stop using rxjs/add/blah, take advantage of new pipeable operators. Compodoc. Combine old separate servers into one server, to enable easy demo deployment.
- Loading branch information
Kyle Cordes
committed
Mar 5, 2018
1 parent
b027a0c
commit 5912789
Showing
309 changed files
with
7,027 additions
and
28,224 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,203 @@ | ||
{ | ||
"$schema": "./node_modules/@nrwl/schematics/src/schema.json", | ||
"project": { | ||
"name": "enterprise-example", | ||
"npmScope": "enterprise-example", | ||
"latestMigration": "20180227-cleanup-scripts" | ||
}, | ||
"e2e": { | ||
"protractor": { | ||
"config": "./protractor.conf.js" | ||
} | ||
}, | ||
"lint": [ | ||
{ | ||
"project": "./tsconfig.spec.json", | ||
"exclude": "**/node_modules/**" | ||
}, | ||
{ | ||
"project": "apps/admin/src/tsconfig.app.json", | ||
"exclude": "**/node_modules/**" | ||
}, | ||
{ | ||
"project": "apps/admin/e2e/tsconfig.e2e.json", | ||
"exclude": "**/node_modules/**" | ||
}, | ||
{ | ||
"project": "apps/agent/src/tsconfig.app.json", | ||
"exclude": "**/node_modules/**" | ||
}, | ||
{ | ||
"project": "apps/agent/e2e/tsconfig.e2e.json", | ||
"exclude": "**/node_modules/**" | ||
}, | ||
{ | ||
"project": "apps/portal/src/tsconfig.app.json", | ||
"exclude": "**/node_modules/**" | ||
}, | ||
{ | ||
"project": "apps/portal/e2e/tsconfig.e2e.json", | ||
"exclude": "**/node_modules/**" | ||
} | ||
], | ||
"test": { | ||
"karma": { | ||
"config": "./karma.conf.js" | ||
} | ||
}, | ||
"apps": [ | ||
{ | ||
"name": "admin", | ||
"root": "apps/admin/src", | ||
"outDir": "dist/apps/admin", | ||
"assets": [ | ||
"assets", | ||
"favicon.ico" | ||
], | ||
"index": "index.html", | ||
"main": "main.ts", | ||
"polyfills": "polyfills.ts", | ||
"test": "../../../test.js", | ||
"tsconfig": "tsconfig.app.json", | ||
"testTsconfig": "../../../tsconfig.spec.json", | ||
"prefix": "app", | ||
"styles": [ | ||
"../../../node_modules/materialize-css/dist/css/materialize.css", | ||
"styles.css" | ||
], | ||
"scripts": [], | ||
"environmentSource": "environments/environment.ts", | ||
"environments": { | ||
"dev": "environments/environment.ts", | ||
"prod": "environments/environment.prod.ts" | ||
} | ||
}, | ||
{ | ||
"name": "agent", | ||
"root": "apps/agent/src", | ||
"outDir": "dist/apps/agent", | ||
"assets": [ | ||
"assets", | ||
"favicon.ico" | ||
], | ||
"index": "index.html", | ||
"main": "main.ts", | ||
"polyfills": "polyfills.ts", | ||
"test": "../../../test.js", | ||
"tsconfig": "tsconfig.app.json", | ||
"testTsconfig": "../../../tsconfig.spec.json", | ||
"prefix": "app", | ||
"styles": [ | ||
"../../../node_modules/materialize-css/dist/css/materialize.css", | ||
"styles.css" | ||
], | ||
"scripts": [], | ||
"environmentSource": "environments/environment.ts", | ||
"environments": { | ||
"dev": "environments/environment.ts", | ||
"prod": "environments/environment.prod.ts" | ||
} | ||
}, | ||
{ | ||
"name": "portal", | ||
"root": "apps/portal/src", | ||
"outDir": "dist/apps/portal", | ||
"assets": [ | ||
"assets", | ||
"favicon.ico" | ||
], | ||
"index": "index.html", | ||
"main": "main.ts", | ||
"polyfills": "polyfills.ts", | ||
"test": "../../../test.js", | ||
"tsconfig": "tsconfig.app.json", | ||
"testTsconfig": "../../../tsconfig.spec.json", | ||
"prefix": "app", | ||
"styles": [ | ||
"../../../node_modules/materialize-css/dist/css/materialize.css", | ||
"styles.css" | ||
], | ||
"scripts": [], | ||
"environmentSource": "environments/environment.ts", | ||
"environments": { | ||
"dev": "environments/environment.ts", | ||
"prod": "environments/environment.prod.ts" | ||
} | ||
}, | ||
{ | ||
"name": "age-range", | ||
"root": "libs/age-range/src", | ||
"test": "../../../test.js", | ||
"appRoot": "" | ||
}, | ||
{ | ||
"name": "app-schema", | ||
"root": "libs/app-schema/src", | ||
"test": "../../../test.js", | ||
"appRoot": "" | ||
}, | ||
{ | ||
"name": "employee-api", | ||
"root": "libs/employee-api/src", | ||
"test": "../../../test.js", | ||
"appRoot": "" | ||
}, | ||
{ | ||
"name": "employee-display", | ||
"root": "libs/employee-display/src", | ||
"test": "../../../test.js", | ||
"appRoot": "" | ||
}, | ||
{ | ||
"name": "employee-list", | ||
"root": "libs/employee-list/src", | ||
"test": "../../../test.js", | ||
"appRoot": "" | ||
}, | ||
{ | ||
"name": "employee-management", | ||
"root": "libs/employee-management/src", | ||
"test": "../../../test.js", | ||
"appRoot": "" | ||
}, | ||
{ | ||
"name": "employee-search", | ||
"root": "libs/employee-search/src", | ||
"test": "../../../test.js", | ||
"appRoot": "" | ||
}, | ||
{ | ||
"name": "fruit-basket", | ||
"root": "libs/fruit-basket/src", | ||
"test": "../../../test.js", | ||
"appRoot": "" | ||
}, | ||
{ | ||
"name": "retry-loader", | ||
"root": "libs/retry-loader/src", | ||
"test": "../../../test.js", | ||
"appRoot": "" | ||
}, | ||
{ | ||
"name": "video-stat-dashboard", | ||
"root": "libs/video-stat-dashboard/src", | ||
"test": "../../../test.js", | ||
"appRoot": "" | ||
}, | ||
{ | ||
"name": "$workspaceRoot", | ||
"root": ".", | ||
"appRoot": "" | ||
} | ||
], | ||
"defaults": { | ||
"schematics": { | ||
"collection": "@nrwl/schematics" | ||
}, | ||
"styleExt": "css", | ||
"component": {} | ||
}, | ||
"warnings": { | ||
"typescriptMismatch": false | ||
} | ||
} |
File renamed without changes.
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,4 +1,46 @@ | ||
node_modules | ||
todo | ||
# 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 | ||
|
||
# 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 | ||
testem.log | ||
/typings | ||
|
||
# e2e | ||
/e2e/*.js | ||
/e2e/*.map | ||
|
||
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
NOTES.md | ||
*.log | ||
documentation |
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,6 +1,6 @@ | ||
language: node_js | ||
node_js: | ||
- "7" | ||
- "8" | ||
env: | ||
- CXX=g++-4.8 | ||
addons: | ||
|
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
Oops, something went wrong.