@igniteui/angular-templates 15.1.1112-alpha.3 → 15.1.1112

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/igx-ts/projects/_base/files/__dot__github/workflows/node.js.yml +2 -2
  2. package/igx-ts/projects/_base/files/package.json +1 -0
  3. package/igx-ts/projects/_base/files/src/app/app-routing.module.ts +3 -0
  4. package/igx-ts/projects/_base/index.js +1 -2
  5. package/igx-ts/projects/empty/index.d.ts +2 -2
  6. package/igx-ts/projects/empty/index.js +2 -2
  7. package/igx-ts/projects/side-nav/index.d.ts +2 -2
  8. package/igx-ts/projects/side-nav/index.js +2 -2
  9. package/igx-ts/projects/side-nav-auth/files/package.json +1 -0
  10. package/package.json +2 -2
  11. package/igx-ts/projects/_base/files/src/app/app.component.html +0 -3
  12. package/igx-ts/projects/_base/files/src/app/app.component.scss +0 -5
  13. package/igx-ts/projects/_base/files/src/app/app.component.ts +0 -10
  14. package/igx-ts/projects/_base/files/src/app/app.module.ts +0 -21
  15. package/igx-ts/projects/_base_with_home/files/__dot__github/workflows/node.js.yml +0 -35
  16. package/igx-ts/projects/_base_with_home/files/src/app/app-routing.module.ts +0 -20
  17. package/igx-ts/projects/_base_with_home/index.d.ts +0 -14
  18. package/igx-ts/projects/_base_with_home/index.js +0 -22
  19. package/igx-ts/projects/base/index.d.ts +0 -14
  20. package/igx-ts/projects/base/index.js +0 -22
  21. /package/igx-ts/projects/{_base_with_home → _base}/files/src/app/home/home.component.html +0 -0
  22. /package/igx-ts/projects/{_base_with_home → _base}/files/src/app/home/home.component.scss +0 -0
  23. /package/igx-ts/projects/{_base_with_home → _base}/files/src/app/home/home.component.spec.ts +0 -0
  24. /package/igx-ts/projects/{_base_with_home → _base}/files/src/app/home/home.component.ts +0 -0
  25. /package/igx-ts/projects/{_base_with_home → _base}/files/src/assets/responsive.gif +0 -0
@@ -8,9 +8,9 @@ name: Node.js CI
8
8
 
9
9
  on:
10
10
  push:
11
- branches: [ <%=yamlDefaultBranch%> ]
11
+ branches: [ main ]
12
12
  pull_request:
13
- branches: [ <%=yamlDefaultBranch%> ]
13
+ branches: [ main ]
14
14
 
15
15
  jobs:
16
16
  build:
@@ -20,6 +20,7 @@
20
20
  "@angular/router": "~15.2.0",
21
21
  "hammerjs": "^2.0.8",
22
22
  "igniteui-angular": "~15.1.0",
23
+ "igniteui-theming": "~1.4.4",
23
24
  "minireset.css": "~0.0.4",
24
25
  "rxjs": "~7.5.0",
25
26
  "tslib": "^2.3.0",
@@ -1,11 +1,14 @@
1
1
  import { NgModule } from '@angular/core';
2
2
  import { RouterModule, Routes } from '@angular/router';
3
+ import { HomeComponent } from './home/home.component';
3
4
 
4
5
  import { PageNotFoundComponent } from './error-routing/not-found/not-found.component';
5
6
  import { UncaughtErrorComponent } from './error-routing/error/uncaught-error.component';
6
7
  import { ErrorRoutingModule } from './error-routing/error-routing.module';
7
8
 
8
9
  export const routes: Routes = [
10
+ { path: '', redirectTo: '/home', pathMatch: 'full'},
11
+ { path: 'home', component: HomeComponent, data: { text: 'Home' }},
9
12
  { path: 'error', component: UncaughtErrorComponent },
10
13
  { path: '**', component: PageNotFoundComponent } // must always be last
11
14
  ];
@@ -75,8 +75,7 @@ $app-palette: palette($primary, $secondary, $surface);
75
75
  DefaultTheme: "",
76
76
  dot: ".",
77
77
  path: name,
78
- projectTemplate: this.id,
79
- yamlDefaultBranch: "<%=yaml-default-branch%>" // the placeholder will be evaluated by CodeGen
78
+ projectTemplate: this.id
80
79
  };
81
80
  switch (theme) {
82
81
  case "Custom":
@@ -1,6 +1,6 @@
1
1
  import { ProjectTemplate } from "@igniteui/cli-core";
2
- import { BaseWithHomeProject } from "../_base_with_home";
3
- export declare class EmptyPageTemplate extends BaseWithHomeProject implements ProjectTemplate {
2
+ import { BaseIgxProject } from "../_base";
3
+ export declare class EmptyPageTemplate extends BaseIgxProject implements ProjectTemplate {
4
4
  id: string;
5
5
  name: string;
6
6
  description: string;
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EmptyPageTemplate = void 0;
4
4
  const path = require("path");
5
- const _base_with_home_1 = require("../_base_with_home");
6
- class EmptyPageTemplate extends _base_with_home_1.BaseWithHomeProject {
5
+ const _base_1 = require("../_base");
6
+ class EmptyPageTemplate extends _base_1.BaseIgxProject {
7
7
  constructor() {
8
8
  super(...arguments);
9
9
  this.id = "empty";
@@ -1,6 +1,6 @@
1
1
  import { ProjectTemplate } from "@igniteui/cli-core";
2
- import { BaseWithHomeProject } from "../_base_with_home";
3
- export declare class SideNavProject extends BaseWithHomeProject implements ProjectTemplate {
2
+ import { BaseIgxProject } from "../_base";
3
+ export declare class SideNavProject extends BaseIgxProject implements ProjectTemplate {
4
4
  id: string;
5
5
  name: string;
6
6
  description: string;
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SideNavProject = void 0;
4
4
  const path = require("path");
5
- const _base_with_home_1 = require("../_base_with_home");
6
- class SideNavProject extends _base_with_home_1.BaseWithHomeProject {
5
+ const _base_1 = require("../_base");
6
+ class SideNavProject extends _base_1.BaseIgxProject {
7
7
  constructor() {
8
8
  super(...arguments);
9
9
  this.id = "side-nav";
@@ -21,6 +21,7 @@
21
21
  "angular-auth-oidc-client": "^9.0.3",
22
22
  "hammerjs": "^2.0.8",
23
23
  "igniteui-angular": "~15.1.0",
24
+ "igniteui-theming": "~1.4.4",
24
25
  "minireset.css": "~0.0.4",
25
26
  "rxjs": "~7.5.0",
26
27
  "tslib": "^2.4.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igniteui/angular-templates",
3
- "version": "15.1.1112-alpha.3",
3
+ "version": "15.1.1112",
4
4
  "description": "Templates for Ignite UI for Angular projects and components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  "author": "Infragistics",
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@igniteui/cli-core": "~11.1.2-alpha.3",
15
+ "@igniteui/cli-core": "~11.1.2",
16
16
  "typescript": "~4.7.2"
17
17
  }
18
18
  }
@@ -1,3 +0,0 @@
1
- <div class="outer-wrapper">
2
- <router-outlet></router-outlet>
3
- </div>
@@ -1,5 +0,0 @@
1
- .outer-wrapper {
2
- display: flex;
3
- justify-content: center;
4
- height: 100%;
5
- }
@@ -1,10 +0,0 @@
1
- import { Component } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'app-root',
5
- templateUrl: './app.component.html',
6
- styleUrls: ['./app.component.scss']
7
- })
8
- export class AppComponent {
9
- title = 'Home - IgniteUI for Angular';
10
- }
@@ -1,21 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { BrowserModule, HammerModule } from '@angular/platform-browser';
3
- import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
4
- import { AppRoutingModule } from './app-routing.module';
5
- import { AppComponent } from './app.component';
6
-
7
- @NgModule({
8
- declarations: [
9
- AppComponent,
10
- ],
11
- imports: [
12
- BrowserModule,
13
- HammerModule,
14
- AppRoutingModule,
15
- BrowserAnimationsModule
16
- ],
17
- providers: [],
18
- bootstrap: [AppComponent]
19
- })
20
- export class AppModule {
21
- }
@@ -1,35 +0,0 @@
1
- # This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
-
4
- # Using Ignite UI for Angular licensed packages via an access token:
5
- # https://www.infragistics.com/products/ignite-ui-angular/angular/components/general/ignite-ui-licensing#github-actions-configuration
6
-
7
- name: Node.js CI
8
-
9
- on:
10
- push:
11
- branches: [ main ]
12
- pull_request:
13
- branches: [ main ]
14
-
15
- jobs:
16
- build:
17
-
18
- runs-on: ubuntu-latest
19
-
20
- strategy:
21
- matrix:
22
- node-version: [16.x, 18.x]
23
- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
24
-
25
- steps:
26
- - uses: actions/checkout@v2
27
- - name: Use Node.js ${{ matrix.node-version }}
28
- uses: actions/setup-node@v2
29
- with:
30
- node-version: ${{ matrix.node-version }}
31
- cache: 'npm'
32
- - run: npm ci
33
- - run: npm run lint
34
- - run: npm run build
35
- - run: npm run test -- --watch=false --browsers ChromeHeadless
@@ -1,20 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { RouterModule, Routes } from '@angular/router';
3
- import { HomeComponent } from './home/home.component';
4
-
5
- import { PageNotFoundComponent } from './error-routing/not-found/not-found.component';
6
- import { UncaughtErrorComponent } from './error-routing/error/uncaught-error.component';
7
- import { ErrorRoutingModule } from './error-routing/error-routing.module';
8
-
9
- export const routes: Routes = [
10
- { path: '', redirectTo: '/home', pathMatch: 'full'},
11
- { path: 'home', component: HomeComponent, data: { text: 'Home' }},
12
- { path: 'error', component: UncaughtErrorComponent },
13
- { path: '**', component: PageNotFoundComponent } // must always be last
14
- ];
15
-
16
- @NgModule({
17
- imports: [RouterModule.forRoot(routes), ErrorRoutingModule],
18
- exports: [RouterModule, ErrorRoutingModule]
19
- })
20
- export class AppRoutingModule { }
@@ -1,14 +0,0 @@
1
- import { ProjectTemplate } from "@igniteui/cli-core";
2
- import { BaseIgxProject } from "../_base";
3
- export declare class BaseWithHomeProject extends BaseIgxProject implements ProjectTemplate {
4
- id: string;
5
- name: string;
6
- description: string;
7
- dependencies: string[];
8
- framework: string;
9
- projectType: string;
10
- hasExtraConfiguration: boolean;
11
- get templatePaths(): string[];
12
- }
13
- declare const _default: BaseWithHomeProject;
14
- export default _default;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BaseWithHomeProject = void 0;
4
- const path = require("path");
5
- const _base_1 = require("../_base");
6
- class BaseWithHomeProject extends _base_1.BaseIgxProject {
7
- constructor() {
8
- super(...arguments);
9
- this.id = "base-with-home";
10
- this.name = "Base with home";
11
- this.description = "Empty project layout structure for Ignite UI for Angular with home page";
12
- this.dependencies = [];
13
- this.framework = "angular";
14
- this.projectType = "igx-ts";
15
- this.hasExtraConfiguration = false;
16
- }
17
- get templatePaths() {
18
- return [...super.templatePaths, path.join(__dirname, "files")];
19
- }
20
- }
21
- exports.BaseWithHomeProject = BaseWithHomeProject;
22
- exports.default = new BaseWithHomeProject();
@@ -1,14 +0,0 @@
1
- import { ProjectTemplate } from "@igniteui/cli-core";
2
- import { BaseIgxProject } from "../_base";
3
- export declare class BasePageTemplate extends BaseIgxProject implements ProjectTemplate {
4
- id: string;
5
- name: string;
6
- description: string;
7
- dependencies: string[];
8
- framework: string;
9
- projectType: string;
10
- hasExtraConfiguration: boolean;
11
- get templatePaths(): string[];
12
- }
13
- declare const _default: BasePageTemplate;
14
- export default _default;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BasePageTemplate = void 0;
4
- const path = require("path");
5
- const _base_1 = require("../_base");
6
- class BasePageTemplate extends _base_1.BaseIgxProject {
7
- constructor() {
8
- super(...arguments);
9
- this.id = "base";
10
- this.name = "Base Project";
11
- this.description = "Project structure with routing";
12
- this.dependencies = [];
13
- this.framework = "angular";
14
- this.projectType = "igx-ts";
15
- this.hasExtraConfiguration = false;
16
- }
17
- get templatePaths() {
18
- return [...super.templatePaths, path.join(__dirname, "files")];
19
- }
20
- }
21
- exports.BasePageTemplate = BasePageTemplate;
22
- exports.default = new BasePageTemplate();