🏛️ Corifeus Builder Angular - Last
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
artifacts/readme
src
test
.gitignore
.npmignore
.travis.yml
Gruntfile.js
LICENSE
README.md
corifeus-builder-angular.iml
package.json
tsconfig.aot.json
tsconfig.json

README.md

Build Status Uptime Robot ratio (30 days)

NPM

🏛️ Corifeus Builder Angular - Prototype v2018.10.8-9

This is an open-source project. Star this repository, if you like it, or even donate! Thank you so much! :)

I run my own server with dynamic IP address, so, it may happen, that the server can not be reachable for about max 15 minutes, due to nature of the dynamic DNS. The server may also be unreachable, when I backup the SSD with Clonzilla (very rarely) or an electrical issue (but this should not happen again). When the server is down, please hang on for 15-30 minutes and the server will be back up.

All my domains (patrikx3.com and corifeus.com) could have errors, since I am developing in my free time. However, it is usually stable.

Bugs are evident™ - MATRIX️

Node Version Requirement

>=8.11.4 

Built on Node

v10.11.0

The async and await keywords are required.

Install NodeJs:
https://nodejs.org/en/download/package-manager/

Built on Angular

6.1.9

Description

See Skeleton files.

The Angular TypeScript builder (extra packages). It includes required packages for building (SCSS / TypeScript / CSS / JSON).

Works JIT, AOT and even AOT + JIT at once out of the box. You can add p3x-angular-compile to your modules to free from creating components.

Errors

For now a new TypeScript breaking update for RXJS, so I have to add this settings:

{
  "compilerOptions": {
    "noStrictGenericChecks": true
  }
} 

Tasks

See tasks.

The corifeus-builder using it as a composite.

Linked NPM

Just delete the node_modules directories from the linked modules.

Options

--cory-run-aot          - for running it uses AOT instead of AOT
--cory-loader-off       - disable loader 
--cory-verbose          - disable uglify
--cory-webpack-target   - set the webpack target type (web, electron)

Increase speed download

Use gzip (like 2.5MB vs 600KB).

Modules undefined

Need to use exact classes for export instead of
export * from './something',
so use
export { Something } form './something'

Example pages

https://pages.corifeus.com
https://material.corifeus.com

Tree shaking

  • Always use exact import (instead of export * etc...)
  • Typescript @Types often load everything, sometimes exact require is smaller bundle, only pure TypeScript can do it or ES2015 programs
  • Externals might be good: https://webpack.js.org/guides/author-libraries/ (external)
  • For pure JavaScript, types are bigger when they load everything, require for exact functions is better

CORIFEUS-BUILDER-ANGULAR Build v2018.10.8-9

Like Corifeus @ Facebook Donate for Corifeus / P3X Contact Corifeus / P3X

P3X Sponsors

IntelliJ - The most intelligent Java IDE

JetBrains NoSQLBooster

The Smartest IDE for MongoDB