JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 30
  • Score
    100M100P100Q44889F
  • License MIT

A schematic to template a core project.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (core-angular-template) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Core Angular Template (ANGULAR 16)

    This helper is a basic schematic to initialize an Angular 16 Architecture properly.

    It is now module-less with v16.

    Before ⚠️

    Init an Angular Project with SCSS configuration and no test.

    ng new my-app --strict --standalone --routing --skip-tests --style scss

    Running

    Just do after initialization

    ng add core-angular-template

    That's it! 🚀

    From

    📦my-app
    ┣ 📂src
    ┃ ┣ 📂app
    ┃ ┃ ┣ 📜app-routing.module.ts
    ┃ ┃ ┣ 📜app.component.html
    ┃ ┃ ┣ 📜app.component.scss
    ┃ ┃ ┣ 📜app.component.ts
    ┃ ┃ ┗ 📜app.module.ts
    ┃ ┣ 📂assets
    ┃ ┃ ┗ 📜.gitkeep
    ┃ ┣ 📂environments
    ┃ ┃ ┣ 📜environment.prod.ts
    ┃ ┃ ┗ 📜environment.ts
    ┃ ┣ 📜favicon.ico
    ┃ ┣ 📜index.html
    ┃ ┣ 📜main.ts
    ┃ ┣ 📜polyfills.ts
    ┃ ┣ 📜styles.scss
    ┃ ┗ 📜test.ts
    ┣ 📜.browserslistrc
    ┣ 📜.editorconfig
    ┣ 📜.gitignore
    ┣ 📜angular.json
    ┣ 📜karma.conf.js
    ┣ 📜package-lock.json
    ┣ 📜package.json
    ┣ 📜README.md
    ┣ 📜tsconfig.app.json
    ┣ 📜tsconfig.json
    ┗ 📜tsconfig.spec.json

    To

    📦my-app
     ┣ 📂src
     ┃ ┣ 📂app
     ┃ ┃ ┣ 📂models
     ┃ ┃ ┃ ┣ 📂enum
     ┃ ┃ ┃ ┃ ┗ 📜template.enum.ts
     ┃ ┃ ┃ ┗ 📜template.model.ts
     ┃ ┃ ┣ 📂pages
     ┃ ┃ ┃ ┗ 📂home
     ┃ ┃ ┃ ┃ ┣ 📜home.component.html
     ┃ ┃ ┃ ┃ ┣ 📜home.component.scss
     ┃ ┃ ┃ ┃ ┗ 📜home.component.ts
     ┃ ┃ ┣ 📂services
     ┃ ┃ ┃ ┣ 📂webservices
     ┃ ┃ ┃ ┃ ┗ 📜template.service.ts
     ┃ ┃ ┃ ┣ 📜loading.service.ts
     ┃ ┃ ┃ ┗ 📜local-storage.service.ts
     ┃ ┃ ┣ 📂shared
     ┃ ┃ ┃ ┣ 📂directives
     ┃ ┃ ┃ ┃ ┣ 📜resizable.directive.ts
     ┃ ┃ ┃ ┃ ┗ 📜template.directive.ts
     ┃ ┃ ┃ ┣ 📂helpers
     ┃ ┃ ┃ ┃ ┗ 📜template.helper.ts
     ┃ ┃ ┃ ┣ 📂injectables
     ┃ ┃ ┃ ┃ ┗ 📜destroyed.injectable.ts
     ┃ ┃ ┃ ┣ 📂interceptor
     ┃ ┃ ┃ ┃ ┗ 📜loading.interceptor.ts
     ┃ ┃ ┃ ┣ 📂pipes
     ┃ ┃ ┃ ┃ ┗ 📜template.pipe.ts
     ┃ ┃ ┃ ┣ 📂ui
     ┃ ┃ ┃ ┃ ┣ 📂loading
     ┃ ┃ ┃ ┃ ┃ ┣ 📜loading.component.html
     ┃ ┃ ┃ ┃ ┃ ┣ 📜loading.component.scss
     ┃ ┃ ┃ ┃ ┃ ┗ 📜loading.component.ts
     ┃ ┃ ┃ ┃ ┣ 📂resizable-exemple
     ┃ ┃ ┃ ┃ ┃ ┣ 📜resizable-exemple.component.html
     ┃ ┃ ┃ ┃ ┃ ┣ 📜resizable-exemple.component.scss
     ┃ ┃ ┃ ┃ ┃ ┗ 📜resizable-exemple.component.ts
     ┃ ┃ ┃ ┃ ┗ 📂template
     ┃ ┃ ┃ ┃ ┃ ┣ 📜template.component.html
     ┃ ┃ ┃ ┃ ┃ ┣ 📜template.component.scss
     ┃ ┃ ┃ ┃ ┃ ┗ 📜template.component.ts
     ┃ ┃ ┃ ┣ 📂utils
     ┃ ┃ ┃ ┃ ┗ 📜utils.static.ts
     ┃ ┃ ┃ ┗ 📜shared.module.ts
     ┃ ┃ ┣ 📜app-routing.module.ts
     ┃ ┃ ┣ 📜app.component.html
     ┃ ┃ ┣ 📜app.component.scss
     ┃ ┃ ┣ 📜app.component.ts
     ┃ ┃ ┗ 📜app.module.ts
     ┃ ┣ 📂assets
     ┃ ┃ ┗ 📜.gitkeep
     ┃ ┣ 📂environments
     ┃ ┃ ┣ 📜environment.prod.ts
     ┃ ┃ ┗ 📜environment.ts
     ┃ ┣ 📜favicon.ico
     ┃ ┣ 📜index.html
     ┃ ┣ 📜main.ts
     ┃ ┣ 📜styles.scss
     ┃ ┗ 📜test.ts
     ┣ 📜.browserslistrc
     ┣ 📜.editorconfig
     ┣ 📜.gitignore
     ┣ 📜angular.json
     ┣ 📜karma.conf.js
     ┣ 📜package-lock.json
     ┣ 📜package.json
     ┣ 📜README.md
     ┣ 📜tsconfig.app.json
     ┣ 📜tsconfig.json
     ┗ 📜tsconfig.spec.json