@yeoman/types 0.0.1 → 0.1.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yeoman/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Common API for yeoman's generator/environment stack",
|
|
6
6
|
"keywords": [
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"access": "public",
|
|
51
51
|
"registry": "https://registry.npmjs.org/"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "23d5c2702ab9237ec86d6b6831d9cf1d6353cd4c"
|
|
54
54
|
}
|
|
@@ -100,4 +100,19 @@ export type BaseEnvironment<A = InputOutputAdapter, S extends Store = Store> = {
|
|
|
100
100
|
* @param packagePath The path to the npm package of the generator.
|
|
101
101
|
*/
|
|
102
102
|
registerStub(generator: GetGeneratorConstructor, namespace: string, resolved?: string, packagePath?: string): void;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Queue tasks
|
|
106
|
+
* @param priority
|
|
107
|
+
* @param task
|
|
108
|
+
* @param options
|
|
109
|
+
*/
|
|
110
|
+
queueTask(priority: string, task: (...args: any[]) => void | Promise<void>, options?: { once?: string, startQueue?: boolean }): void;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Add priority
|
|
114
|
+
* @param priority
|
|
115
|
+
* @param before
|
|
116
|
+
*/
|
|
117
|
+
addPriority(priority: string, before?: string): void;
|
|
103
118
|
};
|