Skip to content

Commit

Permalink
project: Initial commit
Browse files Browse the repository at this point in the history
* NEW Create workspace and library.
* NEW Create test application.
* NEW Add Configuration for library.
* NEW Add Alert component.
* NEW Add Dialog component.
* NEW Add SearchInput component.
* NEW Add API service.
* NEW Add Translate language service.
* NEW Add Nl2br pipe.
* NEW Add translate language pipe.
* NEW Add support for translations.
* NEW Invenio records search.
* BETTER Improves translate language service.

Signed-off-by: Sébastien Délèze <[email protected]>
  • Loading branch information
Sébastien Délèze committed Sep 6, 2019
0 parents commit 945f059
Show file tree
Hide file tree
Showing 99 changed files with 15,863 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see https://editorconfig.org
root = true

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

[*.md]
max_line_length = off
trim_trailing_whitespace = false
46 changes: 46 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc
# Only exists if Bazel was run
/bazel-out

# dependencies
/node_modules

# profiling files
chrome-profiler-events.json
speed-measure-plugin.json

# 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
.history/*

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings

# System Files
.DS_Store
Thumbs.db
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# NgCore

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.1.2.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
160 changes: 160 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"@rero/ng-core": {
"projectType": "library",
"root": "projects/rero/ng-core",
"sourceRoot": "projects/rero/ng-core/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "projects/rero/ng-core/tsconfig.lib.json",
"project": "projects/rero/ng-core/ng-package.json"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/rero/ng-core/src/test.ts",
"tsConfig": "projects/rero/ng-core/tsconfig.spec.json",
"karmaConfig": "projects/rero/ng-core/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/rero/ng-core/tsconfig.lib.json",
"projects/rero/ng-core/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"ng-core-tester": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"root": "projects/ng-core-tester",
"sourceRoot": "projects/ng-core-tester/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/ng-core-tester",
"index": "projects/ng-core-tester/src/index.html",
"main": "projects/ng-core-tester/src/main.ts",
"polyfills": "projects/ng-core-tester/src/polyfills.ts",
"tsConfig": "projects/ng-core-tester/tsconfig.app.json",
"aot": false,
"assets": [
"projects/ng-core-tester/src/favicon.ico",
"projects/ng-core-tester/src/assets"
],
"styles": [
"projects/ng-core-tester/src/styles.scss"
],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "projects/ng-core-tester/src/environments/environment.ts",
"with": "projects/ng-core-tester/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "ng-core-tester:build"
},
"configurations": {
"production": {
"browserTarget": "ng-core-tester:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "ng-core-tester:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/ng-core-tester/src/test.ts",
"polyfills": "projects/ng-core-tester/src/polyfills.ts",
"tsConfig": "projects/ng-core-tester/tsconfig.spec.json",
"karmaConfig": "projects/ng-core-tester/karma.conf.js",
"assets": [
"projects/ng-core-tester/src/favicon.ico",
"projects/ng-core-tester/src/assets"
],
"styles": [
"projects/ng-core-tester/src/styles.scss"
],
"scripts": []
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/ng-core-tester/tsconfig.app.json",
"projects/ng-core-tester/tsconfig.spec.json",
"projects/ng-core-tester/e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "projects/ng-core-tester/e2e/protractor.conf.js",
"devServerTarget": "ng-core-tester:serve"
},
"configurations": {
"production": {
"devServerTarget": "ng-core-tester:serve:production"
}
}
}
}
}
},
"defaultProject": "@rero/ng-core"
}
Loading

0 comments on commit 945f059

Please sign in to comment.