Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major update #94

Merged
merged 3 commits into from
Aug 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:8.12
- image: circleci/node:10.12-browsers
env:
- DISPLAY=:99
- CHROME_BIN=/usr/bin/google-chrome

working_directory: ~/repo

Expand Down
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Editor configuration, see http://editorconfig.org
# Editor configuration, see https://editorconfig.org
root = true

[*]
Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@
/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
Expand All @@ -23,6 +29,7 @@
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# misc
/.sass-cache
Expand Down
6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[![Build Status](https://travis-ci.org/vyakymenko/dipi.svg?branch=master)](https://travis-ci.org/vyakymenko/dipi)
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)
[![CircleCI](https://circleci.com/gh/vyakymenko/dipi.svg?style=svg)](https://circleci.com/gh/vyakymenko/dipi)
[![Build status](https://ci.appveyor.com/api/projects/status/f20wus1mp0jqeu9c?svg=true)](https://ci.appveyor.com/project/vyakymenko/dipi)
[![npm version](https://badge.fury.io/js/dipi.svg)](https://badge.fury.io/js/dipi) [![Greenkeeper badge](https://badges.greenkeeper.io/vyakymenko/dipi.svg)](https://greenkeeper.io/)
[![npm version](https://badge.fury.io/js/dipi.svg)](https://badge.fury.io/js/dipi)
[![Greenkeeper badge](https://badges.greenkeeper.io/vyakymenko/dipi.svg)](https://greenkeeper.io/)

# Dipi

Expand Down
98 changes: 44 additions & 54 deletions angular.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,43 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "packages",
"newProjectRoot": "projects",
"projects": {
"docs": {
"root": "",
"sourceRoot": "doc",
"dipi-docs": {
"projectType": "application",
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"styleext": "scss"
"style": "scss"
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "docs",
"index": "doc/index.html",
"main": "doc/main.ts",
"polyfills": "doc/polyfills.ts",
"tsConfig": "doc/tsconfig.app.json",
"outputPath": "dist/dipi-docs",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": false,
"assets": [
"doc/favicon.ico",
"doc/assets"
"src/favicon.ico",
"src/assets"
],
"styles": [
"doc/styles.scss"
"src/styles.scss"
],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "doc/environments/environment.ts",
"with": "doc/environments/environment.prod.ts"
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
Expand All @@ -53,6 +54,11 @@
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
Expand All @@ -61,83 +67,68 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "docs:build"
"browserTarget": "dipi-docs:build"
},
"configurations": {
"production": {
"browserTarget": "docs:build:production"
"browserTarget": "dipi-docs:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "docs:build"
"browserTarget": "dipi-docs:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "doc/test.ts",
"polyfills": "doc/polyfills.ts",
"tsConfig": "doc/tsconfig.spec.json",
"karmaConfig": "doc/karma.conf.js",
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"doc/styles.scss"
"src/styles.scss"
],
"scripts": [],
"assets": [
"doc/favicon.ico",
"doc/assets"
]
"scripts": []
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"doc/tsconfig.app.json",
"doc/tsconfig.spec.json"
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"docs-e2e": {
"root": "e2e/",
"projectType": "application",
"prefix": "",
"architect": {
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "docs:serve"
"devServerTarget": "dipi-docs:serve"
},
"configurations": {
"production": {
"devServerTarget": "docs:serve:production"
"devServerTarget": "dipi-docs:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"dipi": {
"projectType": "library",
"root": "packages/dipi",
"sourceRoot": "packages/dipi/src",
"projectType": "library",
"prefix": "lib",
"architect": {
"build": {
Expand Down Expand Up @@ -168,7 +159,6 @@
}
}
}
}
},
"defaultProject": "docs"
}},
"defaultProject": "dipi-docs"
}
33 changes: 0 additions & 33 deletions appveyor.yml

This file was deleted.

12 changes: 12 additions & 0 deletions browserslist
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries

# You can see what browsers were selected by your queries by running:
# npx browserslist

> 0.5%
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.
12 changes: 0 additions & 12 deletions doc/app/app.component.ts

This file was deleted.

11 changes: 0 additions & 11 deletions doc/browserslist

This file was deleted.

14 changes: 0 additions & 14 deletions doc/index.html

This file was deleted.

11 changes: 0 additions & 11 deletions doc/tsconfig.app.json

This file was deleted.

18 changes: 0 additions & 18 deletions doc/tsconfig.spec.json

This file was deleted.