create-typescript-app 2.0.0-beta.12 → 2.0.0-beta.14
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/README.md +1 -3
- package/bin/index.js +3 -13
- package/lib/blocks/blockDevelopmentDocs.d.ts +1 -1
- package/lib/blocks/index.d.ts +1 -1
- package/lib/data/packageData.d.ts +9 -10
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/lib/template.d.ts +1 -1
- package/lib/template.js +1 -3
- package/lib/template.js.map +1 -1
- package/package.json +9 -10
package/README.md
CHANGED
|
@@ -38,11 +38,9 @@ First make sure you have the following installed:
|
|
|
38
38
|
Then in an existing repository or in your directory where you'd like to make a new repository:
|
|
39
39
|
|
|
40
40
|
```shell
|
|
41
|
-
npx
|
|
41
|
+
npx create-typescript-app@beta
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
That will launch `create-typescript-app` using the [`bingo` runner](https://create.bingo).
|
|
45
|
-
|
|
46
44
|
You can read more about the supported setup modes in their docs pages:
|
|
47
45
|
|
|
48
46
|
- [**Creating from the terminal**](./docs/Creation.md): creating a new repository locally on the command-line _(recommended)_
|
package/bin/index.js
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
2
|
+
import { runTemplateCLI } from "bingo";
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
[
|
|
6
|
-
"create-typescript-app is now run using ",
|
|
7
|
-
chalk.bold("bingo"),
|
|
8
|
-
".\n\nRun:\n ",
|
|
9
|
-
chalk.bold("npx bingo", process.argv.slice(2).join(" ")),
|
|
10
|
-
"\n\nYou can read more on:\n https://",
|
|
11
|
-
chalk.bold("create.bingo"),
|
|
12
|
-
"\n\nThanks for using create-typescript-app! 🎁",
|
|
13
|
-
].join(""),
|
|
14
|
-
);
|
|
4
|
+
import { template } from "../lib/index.js";
|
|
15
5
|
|
|
16
|
-
process.exitCode =
|
|
6
|
+
process.exitCode = await runTemplateCLI(template);
|
|
@@ -3,8 +3,8 @@ import * as bingo_stratum from 'bingo-stratum';
|
|
|
3
3
|
declare const blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
|
|
4
4
|
sections: Record<string, {
|
|
5
5
|
contents?: string | {
|
|
6
|
-
before?: string | undefined;
|
|
7
6
|
after?: string[] | undefined;
|
|
7
|
+
before?: string | undefined;
|
|
8
8
|
items?: string[] | undefined;
|
|
9
9
|
plural?: string | undefined;
|
|
10
10
|
} | undefined;
|
package/lib/blocks/index.d.ts
CHANGED
|
@@ -329,8 +329,8 @@ declare const blocks: {
|
|
|
329
329
|
blockDevelopmentDocs: bingo_stratum.BlockWithAddons<{
|
|
330
330
|
sections: Record<string, {
|
|
331
331
|
contents?: string | {
|
|
332
|
-
before?: string | undefined;
|
|
333
332
|
after?: string[] | undefined;
|
|
333
|
+
before?: string | undefined;
|
|
334
334
|
items?: string[] | undefined;
|
|
335
335
|
plural?: string | undefined;
|
|
336
336
|
} | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "create-typescript-app";
|
|
2
|
-
var version = "2.0.0-beta.
|
|
2
|
+
var version = "2.0.0-beta.13";
|
|
3
3
|
var description = "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁";
|
|
4
4
|
var repository = {
|
|
5
5
|
type: "git",
|
|
@@ -33,19 +33,18 @@ var scripts = {
|
|
|
33
33
|
tsc: "tsc"
|
|
34
34
|
};
|
|
35
35
|
var dependencies = {
|
|
36
|
-
bingo: "^0.
|
|
37
|
-
"bingo-fs": "^0.
|
|
38
|
-
"bingo-stratum": "^0.
|
|
39
|
-
chalk: "^5.4.1",
|
|
36
|
+
bingo: "^0.5.0",
|
|
37
|
+
"bingo-fs": "^0.5.0",
|
|
38
|
+
"bingo-stratum": "^0.5.0",
|
|
40
39
|
"cspell-populate-words": "^0.3.0",
|
|
41
40
|
execa: "^9.5.2",
|
|
42
41
|
"git-remote-origin-url": "^4.0.0",
|
|
43
42
|
"git-url-parse": "^16.0.1",
|
|
44
43
|
"html-to-text": "^9.0.5",
|
|
45
44
|
"image-size": "^1.2.0",
|
|
46
|
-
"input-from-file": "^0.
|
|
47
|
-
"input-from-file-json": "^0.
|
|
48
|
-
"input-from-script": "^0.
|
|
45
|
+
"input-from-file": "^0.5.0",
|
|
46
|
+
"input-from-file-json": "^0.5.0",
|
|
47
|
+
"input-from-script": "^0.5.0",
|
|
49
48
|
"js-yaml": "^4.1.0",
|
|
50
49
|
"lazy-value": "^3.0.0",
|
|
51
50
|
lodash: "^4.17.21",
|
|
@@ -75,8 +74,8 @@ var devDependencies = {
|
|
|
75
74
|
"@vitest/coverage-v8": "3.0.6",
|
|
76
75
|
"@vitest/eslint-plugin": "1.1.31",
|
|
77
76
|
"all-contributors-cli": "6.26.1",
|
|
78
|
-
"bingo-stratum-testers": "0.
|
|
79
|
-
"bingo-testers": "0.
|
|
77
|
+
"bingo-stratum-testers": "0.5.0",
|
|
78
|
+
"bingo-testers": "0.5.0",
|
|
80
79
|
"console-fail-test": "0.5.0",
|
|
81
80
|
cspell: "8.17.3",
|
|
82
81
|
eslint: "9.20.1",
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
export { template as default, template } from './template.js';
|
|
1
2
|
export { BaseOptions, Contributor, base } from './base.js';
|
|
2
3
|
export { blocks } from './blocks/index.js';
|
|
3
4
|
export { presets } from './presets/index.js';
|
|
4
|
-
export { default } from './template.js';
|
|
5
5
|
export { blockAllContributors } from './blocks/blockAllContributors.js';
|
|
6
6
|
export { blockAreTheTypesWrong } from './blocks/blockAreTheTypesWrong.js';
|
|
7
7
|
export { blockCodecov } from './blocks/blockCodecov.js';
|
|
@@ -48,6 +48,6 @@ export { blockVSCode } from './blocks/blockVSCode.js';
|
|
|
48
48
|
export { presetCommon } from './presets/common.js';
|
|
49
49
|
export { presetEverything } from './presets/everything.js';
|
|
50
50
|
export { presetMinimal } from './presets/minimal.js';
|
|
51
|
-
import 'bingo-stratum';
|
|
52
|
-
import 'zod';
|
|
53
51
|
import 'bingo-stratum/lib/types/templates.js';
|
|
52
|
+
import 'zod';
|
|
53
|
+
import 'bingo-stratum';
|
package/lib/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { template } from "./template.js";
|
|
1
2
|
export * from "./base.js";
|
|
2
3
|
export * from "./blocks/index.js";
|
|
3
4
|
export * from "./presets/index.js";
|
|
4
|
-
import { default as default2 } from "./template.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
template as default,
|
|
7
|
+
template
|
|
7
8
|
};
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { template } from \"./template.js\";\n\nexport { template as default, template };\n\nexport * from \"./base.js\";\nexport * from \"./blocks/index.js\";\nexport * from \"./presets/index.js\";\n"],"mappings":"AAAA,SAAS,gBAAgB;AAIzB,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
package/lib/template.d.ts
CHANGED
package/lib/template.js
CHANGED
|
@@ -4,7 +4,7 @@ import { presetEverything } from "./presets/everything.js";
|
|
|
4
4
|
import { presetMinimal } from "./presets/minimal.js";
|
|
5
5
|
const template = base.createStratumTemplate({
|
|
6
6
|
about: {
|
|
7
|
-
name: "TypeScript App",
|
|
7
|
+
name: "Create TypeScript App",
|
|
8
8
|
repository: {
|
|
9
9
|
owner: "JoshuaKGoldberg",
|
|
10
10
|
repository: "create-typescript-app"
|
|
@@ -13,9 +13,7 @@ const template = base.createStratumTemplate({
|
|
|
13
13
|
presets: [presetMinimal, presetCommon, presetEverything],
|
|
14
14
|
suggested: presetCommon
|
|
15
15
|
});
|
|
16
|
-
var template_default = template;
|
|
17
16
|
export {
|
|
18
|
-
template_default as default,
|
|
19
17
|
template
|
|
20
18
|
};
|
|
21
19
|
//# sourceMappingURL=template.js.map
|
package/lib/template.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/template.ts"],"sourcesContent":["import { base } from \"./base.js\";\nimport { presetCommon } from \"./presets/common.js\";\nimport { presetEverything } from \"./presets/everything.js\";\nimport { presetMinimal } from \"./presets/minimal.js\";\n\nexport const template = base.createStratumTemplate({\n\tabout: {\n\t\tname: \"TypeScript App\",\n\t\trepository: {\n\t\t\towner: \"JoshuaKGoldberg\",\n\t\t\trepository: \"create-typescript-app\",\n\t\t},\n\t},\n\tpresets: [presetMinimal, presetCommon, presetEverything],\n\tsuggested: presetCommon,\n});\n
|
|
1
|
+
{"version":3,"sources":["../src/template.ts"],"sourcesContent":["import { base } from \"./base.js\";\nimport { presetCommon } from \"./presets/common.js\";\nimport { presetEverything } from \"./presets/everything.js\";\nimport { presetMinimal } from \"./presets/minimal.js\";\n\nexport const template = base.createStratumTemplate({\n\tabout: {\n\t\tname: \"Create TypeScript App\",\n\t\trepository: {\n\t\t\towner: \"JoshuaKGoldberg\",\n\t\t\trepository: \"create-typescript-app\",\n\t\t},\n\t},\n\tpresets: [presetMinimal, presetCommon, presetEverything],\n\tsuggested: presetCommon,\n});\n"],"mappings":"AAAA,SAAS,YAAY;AACrB,SAAS,oBAAoB;AAC7B,SAAS,wBAAwB;AACjC,SAAS,qBAAqB;AAEvB,MAAM,WAAW,KAAK,sBAAsB;AAAA,EAClD,OAAO;AAAA,IACN,MAAM;AAAA,IACN,YAAY;AAAA,MACX,OAAO;AAAA,MACP,YAAY;AAAA,IACb;AAAA,EACD;AAAA,EACA,SAAS,CAAC,eAAe,cAAc,gBAAgB;AAAA,EACvD,WAAW;AACZ,CAAC;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-typescript-app",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.14",
|
|
4
4
|
"description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,19 +37,18 @@
|
|
|
37
37
|
"*": "prettier --ignore-unknown --write"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"bingo": "^0.
|
|
41
|
-
"bingo-fs": "^0.
|
|
42
|
-
"bingo-stratum": "^0.
|
|
43
|
-
"chalk": "^5.4.1",
|
|
40
|
+
"bingo": "^0.5.0",
|
|
41
|
+
"bingo-fs": "^0.5.0",
|
|
42
|
+
"bingo-stratum": "^0.5.0",
|
|
44
43
|
"cspell-populate-words": "^0.3.0",
|
|
45
44
|
"execa": "^9.5.2",
|
|
46
45
|
"git-remote-origin-url": "^4.0.0",
|
|
47
46
|
"git-url-parse": "^16.0.1",
|
|
48
47
|
"html-to-text": "^9.0.5",
|
|
49
48
|
"image-size": "^1.2.0",
|
|
50
|
-
"input-from-file": "^0.
|
|
51
|
-
"input-from-file-json": "^0.
|
|
52
|
-
"input-from-script": "^0.
|
|
49
|
+
"input-from-file": "^0.5.0",
|
|
50
|
+
"input-from-file-json": "^0.5.0",
|
|
51
|
+
"input-from-script": "^0.5.0",
|
|
53
52
|
"js-yaml": "^4.1.0",
|
|
54
53
|
"lazy-value": "^3.0.0",
|
|
55
54
|
"lodash": "^4.17.21",
|
|
@@ -79,8 +78,8 @@
|
|
|
79
78
|
"@vitest/coverage-v8": "3.0.6",
|
|
80
79
|
"@vitest/eslint-plugin": "1.1.31",
|
|
81
80
|
"all-contributors-cli": "6.26.1",
|
|
82
|
-
"bingo-stratum-testers": "0.
|
|
83
|
-
"bingo-testers": "0.
|
|
81
|
+
"bingo-stratum-testers": "0.5.0",
|
|
82
|
+
"bingo-testers": "0.5.0",
|
|
84
83
|
"console-fail-test": "0.5.0",
|
|
85
84
|
"cspell": "8.17.3",
|
|
86
85
|
"eslint": "9.20.1",
|