@create-node-app/core 0.5.6 → 0.5.7
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 +8 -8
- package/dist/chunk-TMTYXZIP.js +0 -4799
- package/dist/esm-SPIVR2WR.js +0 -34
- package/dist/index.d.mts +0 -37
- package/dist/index.mjs +0 -8404
package/dist/esm-SPIVR2WR.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CheckRepoActions,
|
|
3
|
-
CleanOptions,
|
|
4
|
-
DiffNameStatus,
|
|
5
|
-
GitConfigScope,
|
|
6
|
-
GitConstructError,
|
|
7
|
-
GitError,
|
|
8
|
-
GitPluginError,
|
|
9
|
-
GitResponseError,
|
|
10
|
-
ResetMode,
|
|
11
|
-
TaskConfigurationError,
|
|
12
|
-
esm_default,
|
|
13
|
-
gitP,
|
|
14
|
-
grepQueryBuilder,
|
|
15
|
-
pathspec,
|
|
16
|
-
simpleGit
|
|
17
|
-
} from "./chunk-TMTYXZIP.js";
|
|
18
|
-
export {
|
|
19
|
-
CheckRepoActions,
|
|
20
|
-
CleanOptions,
|
|
21
|
-
DiffNameStatus,
|
|
22
|
-
GitConfigScope,
|
|
23
|
-
GitConstructError,
|
|
24
|
-
GitError,
|
|
25
|
-
GitPluginError,
|
|
26
|
-
GitResponseError,
|
|
27
|
-
ResetMode,
|
|
28
|
-
TaskConfigurationError,
|
|
29
|
-
esm_default as default,
|
|
30
|
-
gitP,
|
|
31
|
-
grepQueryBuilder,
|
|
32
|
-
pathspec,
|
|
33
|
-
simpleGit
|
|
34
|
-
};
|
package/dist/index.d.mts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
type TemplateOrExtension = {
|
|
2
|
-
url: string;
|
|
3
|
-
ignorePackage?: boolean;
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
declare const checkNodeVersion: (requiredVersion: string, packageName: string) => void;
|
|
7
|
-
declare const checkForLatestVersion: (packageName: string) => Promise<string | null>;
|
|
8
|
-
declare const printEnvInfo: () => Promise<never>;
|
|
9
|
-
type CnaOptions = {
|
|
10
|
-
projectName: string;
|
|
11
|
-
info?: boolean;
|
|
12
|
-
verbose?: boolean;
|
|
13
|
-
packageManager?: string;
|
|
14
|
-
install?: boolean;
|
|
15
|
-
template?: string;
|
|
16
|
-
templatesOrExtensions?: TemplateOrExtension[];
|
|
17
|
-
} & {
|
|
18
|
-
[key: string]: unknown;
|
|
19
|
-
};
|
|
20
|
-
type CnaOptionsTransform = (options: CnaOptions) => Promise<CnaOptions>;
|
|
21
|
-
/**
|
|
22
|
-
* Main procress to bootstrap the Node app using user options
|
|
23
|
-
* @param programName - Name of the program to bootstrap the Node application
|
|
24
|
-
* @param options - CnaOptions to bootstrap the Node application
|
|
25
|
-
* @param options.info - Print environment debug info
|
|
26
|
-
* @param options.verbose - Specify if it is needed to use verbose mode or not
|
|
27
|
-
* @param options.projectName - Project's name
|
|
28
|
-
* @param options.packageManager - Package manager to use
|
|
29
|
-
* @param options.install - Generate package.json file installing dependencies
|
|
30
|
-
* @param options.template - Template to bootstrap the aplication
|
|
31
|
-
* @param options.extend - Extensions to apply for the boilerplate generation
|
|
32
|
-
* @param options.templatesOrExtensions - Official extensions to apply
|
|
33
|
-
* @param transformOptions - Function to transform the options
|
|
34
|
-
*/
|
|
35
|
-
declare const createNodeApp: (programName: string, options: CnaOptions, transformOptions: CnaOptionsTransform) => Promise<void>;
|
|
36
|
-
|
|
37
|
-
export { type CnaOptions, type CnaOptionsTransform, checkForLatestVersion, checkNodeVersion, createNodeApp, printEnvInfo };
|