Skip to content

Commit 4e682a2

Browse files
committed
Merge branch 'master' into nalipiev/update-yarn
2 parents c0233a4 + 2dde4ea commit 4e682a2

File tree

22 files changed

+133
-89
lines changed

22 files changed

+133
-89
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ on:
2323
jobs:
2424
analyze:
2525
name: Analyze
26+
permissions:
27+
contents: read
28+
security-events: write
2629
runs-on: ubuntu-latest
2730

2831
strategy:

.github/workflows/nodejs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: Node.js CI
2+
permissions:
3+
contents: read
4+
checks: write
25

36
on:
47
push:
@@ -35,6 +38,7 @@ jobs:
3538
run: yarn coverage
3639
- name: Publish to coveralls.io
3740
if: matrix.node-version == '20.x'
38-
uses: coverallsapp/[email protected]
41+
# coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 corresponds to v2.3.4
42+
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8
3943
with:
4044
github-token: ${{ github.token }}

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
release:
44
types: [created]
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
build:
811
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
# [14.7.0](https://github.com/IgniteUI/igniteui-cli/compare/v14.6.6...v14.7.0) (2025-11-17)
2+
## What's Changed
3+
4+
* feat(ng): use ng lint schematic by @Lipata in https://github.com/IgniteUI/igniteui-cli/pull/1439
5+
* chore(ng): add overrides to remove npm i warnings by @Lipata in https://github.com/IgniteUI/igniteui-cli/pull/1440
6+
* chore: address dependabot security alerts by @Copilot in https://github.com/IgniteUI/igniteui-cli/pull/1437
7+
* fix: command injection vulnerabilities in PackageManager and start command by @Copilot in https://github.com/IgniteUI/igniteui-cli/pull/1438
8+
* Fix code scanning alert: Potential file system race conditions by @Hristo313 in https://github.com/IgniteUI/igniteui-cli/pull/1446
9+
* Potential fix for code scanning alert: Workflow does not contain permissions by @Hristo313 in https://github.com/IgniteUI/igniteui-cli/pull/1445
10+
* build(deps): bump eazy-logger from 4.0.1 to 4.1.0 in the npm_and_yarn group across 1 directory by @dependabot[bot] in https://github.com/IgniteUI/igniteui-cli/pull/1436
11+
* merge 14.6.x into master by @Lipata in https://github.com/IgniteUI/igniteui-cli/pull/1451
12+
13+
**Full Changelog**: https://github.com/IgniteUI/igniteui-cli/compare/v14.6.6...v14.7.0
14+
15+
# [14.6.6](https://github.com/IgniteUI/igniteui-cli/compare/v14.6.5...v14.6.6) (2025-11-12)
16+
17+
## What's Changed
18+
* Update github pages workflow step by @Hristo313 in https://github.com/IgniteUI/igniteui-cli/pull/1452
19+
* Update react test setup configuration by @Hristo313 in https://github.com/IgniteUI/igniteui-cli/pull/1453
20+
21+
**Full Changelog**: https://github.com/IgniteUI/igniteui-cli/compare/v14.6.5...v14.6.6
22+
23+
# [14.6.5](https://github.com/IgniteUI/igniteui-cli/compare/v14.6.4...v14.6.5) (2025-11-10)
24+
25+
## What's Changed
26+
27+
* ci(react): install Playwright in the YAML file by @Lipata in https://github.com/IgniteUI/igniteui-cli/pull/1450
28+
* build(deps): bump eazy-logger from 4.0.1 to 4.1.0 in the npm_and_yarn group across 1 directory by @dependabot[bot] in https://github.com/IgniteUI/igniteui-cli/pull/1436
29+
30+
31+
**Full Changelog**: https://github.com/IgniteUI/igniteui-cli/compare/v14.6.4...v14.6.5
32+
133
# [14.6.4](https://github.com/IgniteUI/igniteui-cli/compare/v14.6.3...v14.6.4) (2025-10-14)
234

335
## What's Changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@
5555
"cache": false,
5656
"all": true
5757
},
58+
"resolutions": {
59+
"js-yaml": "^4.1.0"
60+
},
5861
"dependencies": {
5962
"handlebars": "4.7.8"
6063
},

packages/cli/lib/templates/ReactTemplate.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,9 @@ export class ReactTemplate implements Template {
109109
const components = require("@igniteui/cli-core/packages/components");
110110
const igResPath = path.join(projectPath, this.igniteResources);
111111

112-
if (fs.existsSync(igResPath)) {
113-
let igniteuiResFile = fs.readFileSync(igResPath, "utf8");
112+
try {
113+
const fd = fs.openSync(igResPath, fs.constants.O_RDWR | fs.constants.O_CREAT);
114+
let igniteuiResFile = fs.readFileSync(fd, "utf8");
114115
const freeVersionPath = "ignite-ui/";
115116
const fullVersionPath = "@infragistics/ignite-ui-full/en/";
116117
const dvPath = "@infragistics/ignite-ui-full/en/js/infragistics.dv.js";
@@ -123,16 +124,19 @@ export class ReactTemplate implements Template {
123124
igniteuiResFile = igniteuiResFile.replace(freeVersionPath, fullVersionPath);
124125
igniteuiResFile = igniteuiResFile.replace("-lite", "");
125126
}
126-
fs.writeFileSync(igResPath, igniteuiResFile);
127+
fs.ftruncateSync(fd, 0);
128+
fs.writeSync(fd, igniteuiResFile, 0);
127129
}
128130

129131
if (dvDep && !igniteuiResFile.includes(dvPath)) {
130-
fs.appendFileSync(igResPath, `${'\r\n// Ignite UI Charts Required JavaScript File\r\nimport "'
131-
+ dvPath + '";\r\n'}`);
132+
const endPos = fs.fstatSync(fd).size;
133+
fs.writeSync(fd, `\r\n// Ignite UI Charts Required JavaScript File\r\nimport "${dvPath}";\r\n`, endPos);
132134
}
133135

134-
} else {
135-
Util.log(`igniteuiResources.js file NOT found!`);
136+
fs.closeSync(fd);
137+
} catch (err) {
138+
Util.error(`Error while updating igniteuiResources.js: ${err.message}`);
139+
throw err;
136140
}
137141
}
138142

packages/cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "igniteui-cli",
3-
"version": "14.6.5-beta.0",
3+
"version": "14.7.0",
44
"description": "CLI tool for creating Ignite UI projects",
55
"keywords": [
66
"CLI",
@@ -76,8 +76,8 @@
7676
"all": true
7777
},
7878
"dependencies": {
79-
"@igniteui/angular-templates": "~20.1.1465-beta.0",
80-
"@igniteui/cli-core": "~14.6.5-beta.0",
79+
"@igniteui/angular-templates": "~20.1.1470",
80+
"@igniteui/cli-core": "~14.7.0",
8181
"@inquirer/prompts": "^7.9.0",
8282
"@types/yargs": "^17.0.33",
8383
"chalk": "^5.3.0",

packages/cli/templates/angular/ig-ts/projects/empty/files/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
"@angular/platform-browser": "~20.0.0",
1919
"@angular/platform-browser-dynamic": "~20.0.0",
2020
"@angular/router": "~20.0.0",
21-
"jquery": ">=1.9.1",
22-
"jquery-ui": ">=1.10.5",
23-
"igniteui-angular-wrappers": "~20.0.0",
24-
"ignite-ui": "~22.2",
21+
"jquery": "^3.7.1",
22+
"jquery-ui": "^1.13.3",
23+
"igniteui-angular-wrappers": "~19.0.0",
24+
"ignite-ui": "~23.1",
2525
"rxjs": "~7.8.0",
2626
"tslib": "^2.3.0",
2727
"zone.js": "~0.15.0"

packages/cli/templates/jquery/js/projects/empty/files/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"test": "karma start"
66
},
77
"dependencies": {
8-
"jquery": ">=1.9.1",
9-
"jquery-ui": ">=1.10.5",
10-
"ignite-ui": "~21.2"
8+
"jquery": "^3.7.1",
9+
"jquery-ui": "^1.13.3",
10+
"ignite-ui": "~23.1"
1111
},
1212
"devDependencies": {
1313
"browser-sync": "^3.0.3",

packages/cli/templates/react/es6/projects/empty/files/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"version": "0.0.0",
44
"private": true,
55
"dependencies": {
6-
"ignite-ui": "21.1.13",
6+
"ignite-ui": "~23.1",
77
"igniteui-react": "~19.2.0",
8-
"jquery": "^3.6.0",
9-
"jquery-ui": "^1.12.1",
8+
"jquery": "^3.7.1",
9+
"jquery-ui": "^1.13.3",
1010
"react": "^17.0.2",
1111
"react-dom": "^17.0.2",
1212
"react-router-dom": "^4.3.1",

0 commit comments

Comments
 (0)