create-typescript-app 2.8.0 → 2.8.1
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _ from "lodash";
|
|
2
2
|
import { base } from "../base.js";
|
|
3
3
|
import { ownerContributions } from "../data/contributions.js";
|
|
4
|
+
import { blockPrettier } from "./blockPrettier.js";
|
|
4
5
|
import { blockREADME } from "./blockREADME.js";
|
|
5
6
|
import { blockRepositorySecrets } from "./blockRepositorySecrets.js";
|
|
6
7
|
import { createSoloWorkflowFile } from "./files/createSoloWorkflowFile.js";
|
|
@@ -13,6 +14,9 @@ const blockAllContributors = base.createBlock({
|
|
|
13
14
|
const contributions = options.contributors?.length;
|
|
14
15
|
return {
|
|
15
16
|
addons: [
|
|
17
|
+
blockPrettier({
|
|
18
|
+
ignores: ["/.all-contributorsrc"]
|
|
19
|
+
}),
|
|
16
20
|
blockREADME({
|
|
17
21
|
badges: [
|
|
18
22
|
`<!-- prettier-ignore-start -->
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as bingo_stratum from 'bingo-stratum';
|
|
2
2
|
|
|
3
3
|
declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
|
|
4
|
+
hints: string[];
|
|
4
5
|
sections: Record<string, {
|
|
5
6
|
contents?: string | {
|
|
6
7
|
before?: string | undefined;
|
|
@@ -13,7 +14,6 @@ declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
|
|
|
13
14
|
heading: string;
|
|
14
15
|
}[] | undefined;
|
|
15
16
|
}>;
|
|
16
|
-
hints: string[];
|
|
17
17
|
}, {
|
|
18
18
|
access: "public" | "restricted";
|
|
19
19
|
description: string;
|
|
@@ -13,10 +13,10 @@ declare const blockESLint: bingo_stratum.BlockWithAddons<{
|
|
|
13
13
|
comment?: string | undefined;
|
|
14
14
|
}[] | undefined;
|
|
15
15
|
settings?: Record<string, unknown> | undefined;
|
|
16
|
+
plugins?: Record<string, string> | undefined;
|
|
16
17
|
extends?: string[] | undefined;
|
|
17
18
|
languageOptions?: unknown;
|
|
18
19
|
linterOptions?: unknown;
|
|
19
|
-
plugins?: Record<string, string> | undefined;
|
|
20
20
|
})[];
|
|
21
21
|
ignores: string[];
|
|
22
22
|
explanations: string[];
|
package/lib/blocks/index.d.ts
CHANGED
|
@@ -376,6 +376,7 @@ declare const blocks: {
|
|
|
376
376
|
version?: string | undefined;
|
|
377
377
|
}>;
|
|
378
378
|
blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
|
|
379
|
+
hints: string[];
|
|
379
380
|
sections: Record<string, {
|
|
380
381
|
contents?: string | {
|
|
381
382
|
before?: string | undefined;
|
|
@@ -388,7 +389,6 @@ declare const blocks: {
|
|
|
388
389
|
heading: string;
|
|
389
390
|
}[] | undefined;
|
|
390
391
|
}>;
|
|
391
|
-
hints: string[];
|
|
392
392
|
}, {
|
|
393
393
|
access: "public" | "restricted";
|
|
394
394
|
description: string;
|
|
@@ -456,10 +456,10 @@ declare const blocks: {
|
|
|
456
456
|
comment?: string | undefined;
|
|
457
457
|
}[] | undefined;
|
|
458
458
|
settings?: Record<string, unknown> | undefined;
|
|
459
|
+
plugins?: Record<string, string> | undefined;
|
|
459
460
|
extends?: string[] | undefined;
|
|
460
461
|
languageOptions?: unknown;
|
|
461
462
|
linterOptions?: unknown;
|
|
462
|
-
plugins?: Record<string, string> | undefined;
|
|
463
463
|
})[];
|
|
464
464
|
ignores: string[];
|
|
465
465
|
explanations: string[];
|
|
@@ -2035,9 +2035,9 @@ declare const blocks: {
|
|
|
2035
2035
|
version?: string | undefined;
|
|
2036
2036
|
}>;
|
|
2037
2037
|
blockREADME: bingo_stratum.BlockWithAddons<{
|
|
2038
|
+
sections: string[];
|
|
2038
2039
|
badges: string[];
|
|
2039
2040
|
notices: string[];
|
|
2040
|
-
sections: string[];
|
|
2041
2041
|
}, {
|
|
2042
2042
|
access: "public" | "restricted";
|
|
2043
2043
|
description: string;
|