@igniteui/angular-templates 18.2.1423-beta.2 → 18.2.1424-beta.0

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.
@@ -2,19 +2,23 @@ name: Deploy GitHub Pages
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [ '*' ]
5
+ branches: [ <%=yamlDefaultBranch%> ]
6
6
  pull_request:
7
- branches: [ '*' ]
7
+ branches: [ <%=yamlDefaultBranch%> ]
8
8
 
9
9
  jobs:
10
10
  build-and-deploy:
11
- if: ${{ vars.PAGES_DEPLOYMENT == 'Always' || (vars.PAGES_DEPLOYMENT == 'Default' && github.ref_name == github.event.repository.default_branch) }}
11
+ if: <%=yamlGenerateDeploymentScript%> == true
12
12
  runs-on: ubuntu-latest
13
13
 
14
14
  permissions:
15
15
  pages: write
16
16
  id-token: write
17
17
 
18
+ environment:
19
+ name: github-pages
20
+ url: ${{ steps.deployment.outputs.page_url }}
21
+
18
22
  strategy:
19
23
  matrix:
20
24
  node-version: [22.x]
@@ -100,7 +100,8 @@ $app-palette: palette($primary, $secondary, $surface);
100
100
  projectTemplate: this.id,
101
101
  igxPackage: cli_core_1.NPM_ANGULAR,
102
102
  yamlDefaultBranch: "<%=yaml-default-branch%>", // the placeholder will be evaluated by CodeGen
103
- ApplicationTitle: "<%=ApplicationTitle%>" // the placeholder will be evaluated by CodeGen
103
+ ApplicationTitle: "<%=ApplicationTitle%>", // the placeholder will be evaluated by CodeGen
104
+ yamlGenerateDeploymentScript: "<%=yaml-generate-deployment-script%>" // the placeholder will be evaluated by CodeGen
104
105
  };
105
106
  switch (theme) {
106
107
  case "Custom":
@@ -2,19 +2,23 @@ name: Deploy GitHub Pages
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [ '*' ]
5
+ branches: [ <%=yamlDefaultBranch%> ]
6
6
  pull_request:
7
- branches: [ '*' ]
7
+ branches: [ <%=yamlDefaultBranch%> ]
8
8
 
9
9
  jobs:
10
10
  build-and-deploy:
11
- if: ${{ vars.PAGES_DEPLOYMENT == 'Always' || (vars.PAGES_DEPLOYMENT == 'Default' && github.ref_name == github.event.repository.default_branch) }}
11
+ if: <%=yamlGenerateDeploymentScript%> == true
12
12
  runs-on: ubuntu-latest
13
13
 
14
14
  permissions:
15
15
  pages: write
16
16
  id-token: write
17
17
 
18
+ environment:
19
+ name: github-pages
20
+ url: ${{ steps.deployment.outputs.page_url }}
21
+
18
22
  strategy:
19
23
  matrix:
20
24
  node-version: [22.x]
@@ -2,19 +2,23 @@ name: Deploy GitHub Pages
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [ '*' ]
5
+ branches: [ <%=yamlDefaultBranch%> ]
6
6
  pull_request:
7
- branches: [ '*' ]
7
+ branches: [ <%=yamlDefaultBranch%> ]
8
8
 
9
9
  jobs:
10
10
  build-and-deploy:
11
- if: ${{ vars.PAGES_DEPLOYMENT == 'Always' || (vars.PAGES_DEPLOYMENT == 'Default' && github.ref_name == github.event.repository.default_branch) }}
11
+ if: <%=yamlGenerateDeploymentScript%> == true
12
12
  runs-on: ubuntu-latest
13
13
 
14
14
  permissions:
15
15
  pages: write
16
16
  id-token: write
17
17
 
18
+ environment:
19
+ name: github-pages
20
+ url: ${{ steps.deployment.outputs.page_url }}
21
+
18
22
  strategy:
19
23
  matrix:
20
24
  node-version: [22.x]
@@ -99,7 +99,8 @@ $app-palette: palette($primary, $secondary, $surface);
99
99
  path: name,
100
100
  projectTemplate: this.id,
101
101
  yamlDefaultBranch: "<%=yaml-default-branch%>", // the placeholder will be evaluated by CodeGen
102
- ApplicationTitle: "<%=ApplicationTitle%>" // the placeholder will be evaluated by CodeGen
102
+ ApplicationTitle: "<%=ApplicationTitle%>", // the placeholder will be evaluated by CodeGen
103
+ yamlGenerateDeploymentScript: "<%=yaml-generate-deployment-script%>" // the placeholder will be evaluated by CodeGen
103
104
  };
104
105
  switch (theme) {
105
106
  case "Custom":
@@ -2,19 +2,23 @@ name: Deploy GitHub Pages
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [ '*' ]
5
+ branches: [ main ]
6
6
  pull_request:
7
- branches: [ '*' ]
7
+ branches: [ main ]
8
8
 
9
9
  jobs:
10
10
  build-and-deploy:
11
- if: ${{ vars.PAGES_DEPLOYMENT == 'Always' || (vars.PAGES_DEPLOYMENT == 'Default' && github.ref_name == github.event.repository.default_branch) }}
11
+ if: <%=yamlGenerateDeploymentScript%> == true
12
12
  runs-on: ubuntu-latest
13
13
 
14
14
  permissions:
15
15
  pages: write
16
16
  id-token: write
17
17
 
18
+ environment:
19
+ name: github-pages
20
+ url: ${{ steps.deployment.outputs.page_url }}
21
+
18
22
  strategy:
19
23
  matrix:
20
24
  node-version: [22.x]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igniteui/angular-templates",
3
- "version": "18.2.1423-beta.2",
3
+ "version": "18.2.1424-beta.0",
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": "~14.2.3-beta.2",
15
+ "@igniteui/cli-core": "~14.2.4-beta.0",
16
16
  "typescript": "~5.5.4"
17
17
  }
18
18
  }