Skip to content

Commit bd72408

Browse files
authored
Merge pull request #19 from open-template-hub/develop
Update dependencies
2 parents 764772e + cf7c394 commit bd72408

File tree

13 files changed

+74
-60
lines changed

13 files changed

+74
-60
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<scripts>
66
<script value="build" />
77
</scripts>
8-
<node-interpreter value="/usr/local/bin/node" />
8+
<node-interpreter value="project" />
99
<envs />
1010
<method v="2" />
1111
</configuration>

.run/install.run.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<configuration default="false" name="install" type="js.build_tools.npm" nameIsGenerated="true">
33
<package-json value="$PROJECT_DIR$/package.json" />
44
<command value="install" />
5-
<node-interpreter value="/usr/local/bin/node" />
5+
<node-interpreter value="project" />
66
<envs />
77
<method v="2" />
88
</configuration>

.run/outdated.run.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<scripts>
66
<script value="outdated" />
77
</scripts>
8-
<node-interpreter value="/usr/local/bin/node" />
8+
<node-interpreter value="project" />
99
<envs />
1010
<method v="2" />
1111
</configuration>

.run/update.run.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<configuration default="false" name="update" type="js.build_tools.npm" nameIsGenerated="true">
33
<package-json value="$PROJECT_DIR$/package.json" />
44
<command value="update" />
5-
<node-interpreter value="/usr/local/bin/node" />
5+
<node-interpreter value="project" />
66
<envs />
77
<method v="2" />
88
</configuration>

.vscode/extensions.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
22
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
3-
"recommendations": ["angular.ng-template"]
3+
"recommendations": [
4+
"angular.ng-template"
5+
]
46
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<p align="center">
22
<a href="https://opentemplatehub.com">
3-
<img src="https://raw.githubusercontent.com/open-template-hub/open-template-hub.github.io/master/assets/logo/brand-logo.png" alt="Logo" width=200>
3+
<img src="https://raw.githubusercontent.com/open-template-hub/open-template-hub.github.io/master/assets/logo/generator/server-generator-logo.png" alt="Logo" width=200>
44
</a>
55
</p>
66

77
<h1 align="center">
8-
Open Template Hub - Animated Code Editor UI Component v4
8+
Open Template Hub - Animated Code Editor UI Component v5
99
</h1>
1010

1111
[![Version](https://img.shields.io/npm/v/@open-template-hub/animated-code-editor?color=CB3837&style=for-the-badge&logo=npm)](https://www.npmjs.com/package/@open-template-hub/animated-code-editor)

dependency-checker.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ const lines = outdatedCmd.stdout.toString().split( '\n' );
55

66
const columnIndexes = [ 0, 0, 0, 0 ];
77

8+
let indexOfDependedBy = -1;
9+
810
console.log(
911
'<p align="center">\n' +
1012
' <a href="https://opentemplatehub.com">\n' +
@@ -14,7 +16,7 @@ console.log(
1416
'\n' +
1517
'\n' +
1618
'<h1 align="center">\n' +
17-
'Open Template Hub - Animated Code Editor UI Component v4\n' +
19+
'Open Template Hub - Animated Code Editor UI Component v5\n' +
1820
' <br/>\n' +
1921
'(outdated packages)\n' +
2022
'</h1>\n' +
@@ -41,7 +43,17 @@ for ( const line of lines ) {
4143

4244
modifiedLine += '| ';
4345

44-
for ( let part of stringParts ) {
46+
for ( let i = 0; i < stringParts.length; ++i ) {
47+
const part = stringParts[ i ];
48+
49+
if ( lines.indexOf( line ) === 0 && i < stringParts.length - 1 && stringParts[ i + 1 ] === 'Depended' ) {
50+
indexOfDependedBy = i;
51+
}
52+
53+
if ( indexOfDependedBy !== -1 && i >= indexOfDependedBy ) {
54+
continue;
55+
}
56+
4557
if ( part.match( /\s+/ ) ) {
4658
modifiedLine += ' | ';
4759
} else {
@@ -63,5 +75,5 @@ for ( const line of lines ) {
6375

6476
console.log(
6577
'\n' +
66-
'<table align="right"><tr><td><a href="https://opentemplatehub.com"><img src="https://raw.githubusercontent.com/open-template-hub/open-template-hub.github.io/master/assets/logo/brand-logo.png" width="50px" alt="oth"/></a></td><td><b>Open Template Hub © 2021</b></td></tr></table>\n'
78+
'<table align="right"><tr><td><a href="https://opentemplatehub.com"><img src="https://raw.githubusercontent.com/open-template-hub/open-template-hub.github.io/master/assets/logo/brand-logo.png" width="50px" alt="oth"/></a></td><td><b>Open Template Hub © 2023</b></td></tr></table>\n'
6779
);

docs/OUTDATED.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@
66

77

88
<h1 align="center">
9-
Open Template Hub - Animated Code Editor UI Component v4
9+
Open Template Hub - Animated Code Editor UI Component v5
1010
<br/>
1111
(outdated packages)
1212
</h1>
1313

1414
Following packages are not updated in the develop branch yet. So, if you want to update outdated packages on your own risk, update the package.json and install dependencies.
1515

16+
| Package | Current | Wanted | Latest | Location |
17+
| --- | --- | --- | --- | --- |
18+
| typescript | 4.8.4 | 4.9.4 | 4.9.4 | node_modules/typescript |
1619

17-
<table align="right"><tr><td><a href="https://opentemplatehub.com"><img src="https://raw.githubusercontent.com/open-template-hub/open-template-hub.github.io/master/assets/logo/brand-logo.png" width="50px" alt="oth"/></a></td><td><b>Open Template Hub © 2021</b></td></tr></table>
20+
<table align="right"><tr><td><a href="https://opentemplatehub.com"><img src="https://raw.githubusercontent.com/open-template-hub/open-template-hub.github.io/master/assets/logo/brand-logo.png" width="50px" alt="oth"/></a></td><td><b>Open Template Hub © 2023</b></td></tr></table>
1821

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,31 @@
1111
},
1212
"private": true,
1313
"dependencies": {
14-
"@angular/animations": "^14.0.1",
15-
"@angular/common": "^14.0.1",
16-
"@angular/compiler": "^14.0.1",
17-
"@angular/core": "^14.0.1",
18-
"@angular/forms": "^14.0.1",
19-
"@angular/platform-browser": "^14.0.1",
20-
"@angular/platform-browser-dynamic": "^14.0.1",
21-
"@angular/router": "^14.0.1",
22-
"rxjs": "~7.5.0",
23-
"tslib": "^2.4.0",
24-
"zone.js": "~0.11.4"
14+
"@angular/animations": "^15.0.4",
15+
"@angular/common": "^15.0.4",
16+
"@angular/compiler": "^15.0.4",
17+
"@angular/core": "^15.0.4",
18+
"@angular/forms": "^15.0.4",
19+
"@angular/platform-browser": "^15.0.4",
20+
"@angular/platform-browser-dynamic": "^15.0.4",
21+
"@angular/router": "^15.0.4",
22+
"rxjs": "~7.8.0",
23+
"tslib": "^2.4.1",
24+
"zone.js": "~0.12.0"
2525
},
2626
"devDependencies": {
27-
"@angular-devkit/build-angular": "^14.0.1",
28-
"@angular/cli": "^14.0.1",
29-
"@angular/compiler-cli": "^14.0.1",
27+
"@angular-devkit/build-angular": "^15.0.4",
28+
"@angular/cli": "^15.0.4",
29+
"@angular/compiler-cli": "^15.0.4",
3030
"@types/jasmine": "^4.0.3",
31-
"@types/node": "^17.0.41",
31+
"@types/node": "^18.0.4",
3232
"jasmine-core": "^4.2.0",
3333
"karma": "^6.3.20",
3434
"karma-chrome-launcher": "~3.1.0",
3535
"karma-coverage": "^2.2.0",
3636
"karma-jasmine": "^5.0.1",
3737
"karma-jasmine-html-reporter": "^2.0.0",
38-
"ng-packagr": "^14.0.1",
39-
"typescript": "^4.7.3"
38+
"ng-packagr": "^15.0.3",
39+
"typescript": "^4.8.4"
4040
}
4141
}

projects/animated-code-editor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</p>
66

77
<h1 align="center">
8-
Open Template Hub - Animated Code Editor UI Component v4
8+
Open Template Hub - Animated Code Editor UI Component v5
99
</h1>
1010

1111
[![GitHubRepo](https://img.shields.io/badge/GitHub-Repository-24292e.svg?style=for-the-badge&logo=github)](https://github.com/open-template-hub/animated-code-editor)

0 commit comments

Comments
 (0)