create-nx-workspace 19.2.2 → 19.3.0-beta.0
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,2 +1,2 @@
|
|
|
1
1
|
export declare const bundlerList: string[];
|
|
2
|
-
export type Bundler =
|
|
2
|
+
export type Bundler = typeof bundlerList[number];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const frameworkList: string[];
|
|
2
|
-
export type Framework =
|
|
2
|
+
export type Framework = typeof frameworkList[number];
|
package/package.json
CHANGED
|
@@ -58,7 +58,7 @@ declare const messageOptions: {
|
|
|
58
58
|
}];
|
|
59
59
|
};
|
|
60
60
|
export type MessageKey = keyof typeof messageOptions;
|
|
61
|
-
type MessageData =
|
|
61
|
+
type MessageData = typeof messageOptions[MessageKey][number];
|
|
62
62
|
export declare class PromptMessages {
|
|
63
63
|
private selectedMessages;
|
|
64
64
|
getPrompt(key: MessageKey): MessageData;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const packageManagerList: readonly ["pnpm", "yarn", "npm", "bun"];
|
|
2
|
-
export type PackageManager =
|
|
2
|
+
export type PackageManager = typeof packageManagerList[number];
|
|
3
3
|
export declare function detectPackageManager(dir?: string): PackageManager;
|
|
4
4
|
/**
|
|
5
5
|
* Returns commands for the package manager used in the workspace.
|