Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 8aaeab6

Browse files
committed
Merge branch 'release/v1.0.3' into master
2 parents cb8f741 + daeead9 commit 8aaeab6

File tree

10 files changed

+178
-61
lines changed

10 files changed

+178
-61
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## TSProjectGenerator [Unreleased]
88

9-
[Show differences](https://github.com/manuth/TSProjectGenerator/compare/v1.0.2...dev)
9+
[Show differences](https://github.com/manuth/TSProjectGenerator/compare/v1.0.3...dev)
10+
11+
## TSProjectGenerator v1.0.3
12+
### Fixed
13+
- Errors due to incorrect imports
14+
- Errors due to the `cleanup` task being scoped incorrectly
15+
16+
## Updated
17+
- All packages
18+
19+
[Show differences](https://github.com/manuth/TSProjectGenerator/compare/v1.0.2...v1.0.3)
1020

1121
## TSProjectGenerator v1.0.2
1222
### Fixed

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.2",
2+
"version": "1.0.3",
33
"packages": [
44
"./packages/*"
55
],

package-lock.json

Lines changed: 57 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"concurrently": "^5.3.0",
3838
"copy-and-watch": "^0.1.5",
3939
"diff": "^4.0.2",
40-
"eslint": "^7.7.0",
40+
"eslint": "^7.8.0",
4141
"eslint-plugin-import": "^2.22.0",
4242
"eslint-plugin-jsdoc": "^30.3.0",
4343
"fs-extra": "^9.0.1",

packages/generator-my-ts-project/package-lock.json

Lines changed: 29 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/generator-my-ts-project/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@manuth/generator-my-ts-project",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Generates TypeScript-Projects with custom additions",
55
"author": "Manuel Thalmann <[email protected]>",
66
"keywords": [
@@ -40,8 +40,8 @@
4040
"prepare": "npm run rebuild"
4141
},
4242
"dependencies": {
43-
"@manuth/extended-yo-generator": "^7.3.2",
44-
"@manuth/generator-ts-project": "^1.0.2",
43+
"@manuth/extended-yo-generator": "^7.3.3",
44+
"@manuth/generator-ts-project": "^1.0.3",
4545
"chalk": "^4.1.0",
4646
"dedent": "^0.7.0",
4747
"detect-newline": "^3.1.0",
@@ -53,7 +53,7 @@
5353
},
5454
"devDependencies": {
5555
"@manuth/eslint-plugin-typescript": "^2.1.2",
56-
"@manuth/extended-yo-generator-test": "^7.3.2",
56+
"@manuth/extended-yo-generator-test": "^7.3.3",
5757
"@manuth/tsconfig": "^1.2.2",
5858
"@types/dedent": "^0.7.0",
5959
"@types/fs-extra": "^9.0.1",
@@ -65,7 +65,7 @@
6565
"@typescript-eslint/eslint-plugin-tslint": "^4.0.1",
6666
"@typescript-eslint/parser": "^4.0.1",
6767
"concurrently": "^5.3.0",
68-
"eslint": "^7.7.0",
68+
"eslint": "^7.8.0",
6969
"eslint-plugin-import": "^2.22.0",
7070
"eslint-plugin-jsdoc": "^30.3.0",
7171
"mocha": "^8.1.3",

packages/generator-my-ts-project/src/MarkdownFileProcessor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { GeneratorOptions, IGeneratorSettings, IFileMapping, IGenerator, FileMapping } from "@manuth/extended-yo-generator";
2+
import { FileMappingBase } from "@manuth/generator-ts-project";
23
import detectNewLine = require("detect-newline");
34
import { split } from "eol";
4-
import { FileMappingBase } from "../../generator-ts-project/lib";
55

66
/**
77
* Provides the functionality to remove unnecessary blank lines from markdown-files.

packages/generator-my-ts-project/src/MyTSProjectGenerator.ts

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { Generator, IComponentCollection, IFileMapping, FileMapping, IComponentCategory, IComponent, Component, IGenerator } from "@manuth/extended-yo-generator";
2-
import { CompositeConstructor } from "@manuth/extended-yo-generator/lib/CompositeConstructor";
3-
import { GeneratorConstructor } from "@manuth/extended-yo-generator/lib/GeneratorConstructor";
1+
import { CompositeConstructor, Generator, GeneratorConstructor, IComponentCollection, IFileMapping, FileMapping, IComponentCategory, IComponent, Component, IGenerator } from "@manuth/extended-yo-generator";
2+
import { TSProjectGenerator } from "@manuth/generator-ts-project";
43
import { DroneFileMapping } from "./DroneFileMapping";
54
import { MarkdownFileProcessor } from "./MarkdownFileProcessor";
65
import { MyGeneratorComponent } from "./MyGeneratorComponent";
@@ -28,7 +27,7 @@ export abstract class MyTSProjectGenerator
2827
* @returns
2928
* The generated constructor.
3029
*/
31-
public static Create<T extends GeneratorConstructor>(base: T, namespaceOrPath?: string): CompositeConstructor<T>
30+
public static Create<T extends GeneratorConstructor<TSProjectGenerator>>(base: T, namespaceOrPath?: string): CompositeConstructor<T>
3231
{
3332
let baseClass = Generator.ComposeWith(base, namespaceOrPath);
3433

@@ -115,6 +114,14 @@ export abstract class MyTSProjectGenerator
115114

116115
return components;
117116
}
117+
118+
/**
119+
* @inheritdoc
120+
*/
121+
public async cleanup(): Promise<void>
122+
{
123+
this.Base.cleanup();
124+
}
118125
}
119126

120127
return BaseGenerator as any;

0 commit comments

Comments
 (0)