Skip to content

Upgrade to latest Angular and use the Nx framework #18

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions .editorconfig
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

# Editor configuration, see https://editorconfig.org
root = true

[*]

# Change these settings to your own preference
charset = utf-8
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
trim_trailing_whitespace = true

[*.ts]
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false
74 changes: 49 additions & 25 deletions .gitignore
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,31 +1,55 @@
# Project
.idea
.vscode
# See http://help.github.com/ignore-files/ for more about ignoring files.

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

# macOS
.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.Spotlight-V100
.Trashes

## Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
# dependencies
/node_modules

# Package Managers
yarn-error.log
# profiling files
chrome-profiler-events*.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

# Build
dist
/.angular/cache

# Docs
gh-pages
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
546 changes: 546 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions .yarn/releases/yarn-3.2.0-rc.7.cjs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.2.0-rc.7.cjs
Empty file modified README.md
100755 → 100644
Empty file.
142 changes: 142 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"ngxerrors": {
"projectType": "library",
"root": "projects/ngxerrors",
"sourceRoot": "projects/ngxerrors/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "projects/ngxerrors/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/ngxerrors/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/ngxerrors/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/ngxerrors/src/test.ts",
"tsConfig": "projects/ngxerrors/tsconfig.spec.json",
"karmaConfig": "projects/ngxerrors/karma.conf.js"
}
}
}
},
"example": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
},
"@schematics/angular:application": {
"strict": false
}
},
"root": "projects/example",
"sourceRoot": "projects/example/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/example",
"index": "projects/example/src/index.html",
"main": "projects/example/src/main.ts",
"polyfills": "projects/example/src/polyfills.ts",
"tsConfig": "projects/example/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"projects/example/src/favicon.ico",
"projects/example/src/assets"
],
"styles": [
"projects/example/src/styles.scss"
],
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"fileReplacements": [
{
"replace": "projects/example/src/environments/environment.ts",
"with": "projects/example/src/environments/environment.prod.ts"
}
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "example:build:production"
},
"development": {
"browserTarget": "example:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "example:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/example/src/test.ts",
"polyfills": "projects/example/src/polyfills.ts",
"tsConfig": "projects/example/tsconfig.spec.json",
"karmaConfig": "projects/example/karma.conf.js",
"inlineStyleLanguage": "scss",
"assets": [
"projects/example/src/favicon.ico",
"projects/example/src/assets"
],
"styles": [
"projects/example/src/styles.scss"
],
"scripts": []
}
}
}
}
},
"defaultProject": "ngxerrors"
}
12 changes: 0 additions & 12 deletions circle.yml

This file was deleted.

11 changes: 0 additions & 11 deletions example/app/main.ts

This file was deleted.

24 changes: 0 additions & 24 deletions example/app/stock-inventory/stock-inventory.module.ts

This file was deleted.

Loading