igniteui-cli 14.2.3-beta.2 → 14.2.4-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-cli",
3
- "version": "14.2.3-beta.2",
3
+ "version": "14.2.4-beta.0",
4
4
  "description": "CLI tool for creating Ignite UI projects",
5
5
  "keywords": [
6
6
  "CLI",
@@ -72,8 +72,8 @@
72
72
  "all": true
73
73
  },
74
74
  "dependencies": {
75
- "@igniteui/angular-templates": "~18.2.1423-beta.2",
76
- "@igniteui/cli-core": "~14.2.3-beta.2",
75
+ "@igniteui/angular-templates": "~18.2.1424-beta.0",
76
+ "@igniteui/cli-core": "~14.2.4-beta.0",
77
77
  "@inquirer/prompts": "^5.4.0",
78
78
  "@types/yargs": "^17.0.33",
79
79
  "chalk": "^5.3.0",
@@ -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]
@@ -4,7 +4,6 @@ import react from '@vitejs/plugin-react'
4
4
 
5
5
  // https://vitejs.dev/config/
6
6
  export default defineConfig({
7
- define: process.env.VITEST ? {} : { global: 'window' },
8
7
  plugins: [react()],
9
8
  test: {
10
9
  globals: true,
@@ -26,5 +26,6 @@ export declare class BaseIgrTsProject implements ProjectTemplate {
26
26
  path: string;
27
27
  projectTemplate: string;
28
28
  yamlDefaultBranch: string;
29
+ yamlGenerateDeploymentScript: string;
29
30
  };
30
31
  }
@@ -75,7 +75,8 @@ class BaseIgrTsProject {
75
75
  "dot": ".",
76
76
  "path": name,
77
77
  "projectTemplate": this.id,
78
- "yamlDefaultBranch": this.id === "base" ? "<%=yaml-default-branch%>" : "main"
78
+ "yamlDefaultBranch": this.id === "base" ? "<%=yaml-default-branch%>" : "main",
79
+ "yamlGenerateDeploymentScript": "<%=yaml-generate-deployment-script%>"
79
80
  };
80
81
  }
81
82
  }
@@ -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]
@@ -72,7 +72,8 @@ class BaseIgcProject {
72
72
  dot: ".",
73
73
  path: name,
74
74
  projectTemplate: this.id,
75
- yamlDefaultBranch: this.id === "base" ? "<%=yaml-default-branch%>" : "main"
75
+ yamlDefaultBranch: this.id === "base" ? "<%=yaml-default-branch%>" : "main",
76
+ yamlGenerateDeploymentScript: "<%=yaml-generate-deployment-script%>"
76
77
  };
77
78
  return config;
78
79
  }