@turbo/gen 2.7.3 → 2.7.4-canary.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.
|
@@ -18,26 +18,26 @@ module.exports = function generator(plop) {
|
|
|
18
18
|
return "file name is required";
|
|
19
19
|
}
|
|
20
20
|
return true;
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
type: "list",
|
|
25
25
|
name: "type",
|
|
26
26
|
message: "What type of file should be created?",
|
|
27
|
-
choices: [".md", ".txt"]
|
|
27
|
+
choices: [".md", ".txt"]
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
type: "input",
|
|
31
31
|
name: "title",
|
|
32
|
-
message: "What should be the title of the new file?"
|
|
33
|
-
}
|
|
32
|
+
message: "What should be the title of the new file?"
|
|
33
|
+
}
|
|
34
34
|
],
|
|
35
35
|
actions: [
|
|
36
36
|
{
|
|
37
37
|
type: "add",
|
|
38
38
|
path: "{{ turbo.paths.root }}/{{ dashCase file }}{{ type }}",
|
|
39
|
-
templateFile: "templates/turborepo-generators.hbs"
|
|
40
|
-
}
|
|
41
|
-
]
|
|
39
|
+
templateFile: "templates/turborepo-generators.hbs"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
42
|
});
|
|
43
43
|
};
|
|
@@ -20,26 +20,26 @@ export default function generator(plop: PlopTypes.NodePlopAPI): void {
|
|
|
20
20
|
return "file name is required";
|
|
21
21
|
}
|
|
22
22
|
return true;
|
|
23
|
-
}
|
|
23
|
+
}
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
type: "list",
|
|
27
27
|
name: "type",
|
|
28
28
|
message: "What type of file should be created?",
|
|
29
|
-
choices: [".md", ".txt"]
|
|
29
|
+
choices: [".md", ".txt"]
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
type: "input",
|
|
33
33
|
name: "title",
|
|
34
|
-
message: "What should be the title of the new file?"
|
|
35
|
-
}
|
|
34
|
+
message: "What should be the title of the new file?"
|
|
35
|
+
}
|
|
36
36
|
],
|
|
37
37
|
actions: [
|
|
38
38
|
{
|
|
39
39
|
type: "add",
|
|
40
40
|
path: "{{ turbo.paths.root }}/{{ dashCase file }}{{ type }}",
|
|
41
|
-
templateFile: "templates/turborepo-generators.hbs"
|
|
42
|
-
}
|
|
43
|
-
]
|
|
41
|
+
templateFile: "templates/turborepo-generators.hbs"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
44
|
});
|
|
45
45
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turbo/gen",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.4-canary.1",
|
|
4
4
|
"description": "Extend a Turborepo",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"homepage": "https://turborepo.com",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"ts-node": "10.9.2",
|
|
27
27
|
"update-check": "1.5.4",
|
|
28
28
|
"validate-npm-package-name": "5.0.0",
|
|
29
|
-
"@turbo/workspaces": "2.7.
|
|
29
|
+
"@turbo/workspaces": "2.7.4-canary.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@arethetypeswrong/cli": "0.18.2",
|
|
@@ -39,10 +39,9 @@
|
|
|
39
39
|
"ts-jest": "29.2.5",
|
|
40
40
|
"tsup": "6.7.0",
|
|
41
41
|
"typescript": "5.5.4",
|
|
42
|
-
"@turbo/
|
|
42
|
+
"@turbo/utils": "0.0.0",
|
|
43
43
|
"@turbo/test-utils": "0.0.0",
|
|
44
|
-
"@turbo/tsconfig": "0.0.0"
|
|
45
|
-
"@turbo/utils": "0.0.0"
|
|
44
|
+
"@turbo/tsconfig": "0.0.0"
|
|
46
45
|
},
|
|
47
46
|
"files": [
|
|
48
47
|
"dist"
|
|
@@ -53,7 +52,6 @@
|
|
|
53
52
|
"scripts": {
|
|
54
53
|
"build": "tsup",
|
|
55
54
|
"test": "jest",
|
|
56
|
-
"lint": "eslint src/",
|
|
57
55
|
"check-types": "tsc --noEmit",
|
|
58
56
|
"package:types": "attw --profile node16 --pack"
|
|
59
57
|
}
|