@serverless-devs/s 2.0.97-beta.2 → 2.0.97-beta.9
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/Makefile +23 -0
- package/lib/clean/index.js +33 -31
- package/lib/cli/cli-manager.js +10 -10
- package/lib/cli/index.js +52 -52
- package/lib/component/index.js +49 -144
- package/lib/config/add/index.js +40 -38
- package/lib/config/delete/index.js +47 -47
- package/lib/config/get/index.js +39 -37
- package/lib/config/index.js +34 -32
- package/lib/core/command/command-manager.js +8 -7
- package/lib/core/component/hook.js +4 -4
- package/lib/core/component/index.js +9 -9
- package/lib/error/human-error.js +5 -5
- package/lib/error/human-warning.js +4 -4
- package/lib/error/index.js +35 -34
- package/lib/index.js +106 -135
- package/lib/init/index.js +90 -103
- package/lib/init/init-manager.js +66 -19
- package/lib/onboarding/index.js +5 -5
- package/lib/set/analysis/index.js +36 -34
- package/lib/set/index.js +34 -32
- package/lib/set/locale/index.js +50 -50
- package/lib/set/registry/index.js +49 -49
- package/lib/set/workspace/index.js +37 -35
- package/lib/specification/parse.js +10 -10
- package/lib/update-notifier/index.js +19 -19
- package/lib/utils/command-util.js +74 -57
- package/lib/utils/common.js +61 -13
- package/lib/utils/index.js +3 -3
- package/package.json +5 -4
- package/.eslintrc.json +0 -112
- package/.prettierrc.json +0 -11
- package/lib/clean/index.d.ts +0 -1
- package/lib/cli/cli-manager.d.ts +0 -13
- package/lib/cli/index.d.ts +0 -2
- package/lib/component/index.d.ts +0 -1
- package/lib/config/add/index.d.ts +0 -1
- package/lib/config/common/common.d.ts +0 -46
- package/lib/config/delete/index.d.ts +0 -2
- package/lib/config/get/index.d.ts +0 -1
- package/lib/config/index.d.ts +0 -2
- package/lib/constants/index.d.ts +0 -0
- package/lib/constants/static-variable.d.ts +0 -4
- package/lib/core/command/command-manager.d.ts +0 -12
- package/lib/core/component/hook.d.ts +0 -17
- package/lib/core/component/index.d.ts +0 -53
- package/lib/core/index.d.ts +0 -2
- package/lib/core/plugin/index.d.ts +0 -13
- package/lib/entiry/cli.d.ts +0 -27
- package/lib/entiry/index.d.ts +0 -2
- package/lib/error/command-error.d.ts +0 -5
- package/lib/error/config-delete-error.d.ts +0 -5
- package/lib/error/config-error.d.ts +0 -5
- package/lib/error/config-get-error.d.ts +0 -5
- package/lib/error/human-error.d.ts +0 -13
- package/lib/error/human-warning.d.ts +0 -8
- package/lib/error/index.d.ts +0 -17
- package/lib/error/init-error.d.ts +0 -5
- package/lib/error/serverless-error.d.ts +0 -4
- package/lib/execDaemon.d.ts +0 -6
- package/lib/index.d.ts +0 -2
- package/lib/init/index.d.ts +0 -2
- package/lib/init/init-config.d.ts +0 -43
- package/lib/init/init-manager.d.ts +0 -17
- package/lib/onboarding/index.d.ts +0 -2
- package/lib/set/analysis/index.d.ts +0 -1
- package/lib/set/index.d.ts +0 -1
- package/lib/set/locale/index.d.ts +0 -1
- package/lib/set/registry/index.d.ts +0 -10
- package/lib/set/workspace/index.d.ts +0 -1
- package/lib/specification/analysis.d.ts +0 -12
- package/lib/specification/index.d.ts +0 -4
- package/lib/specification/parse.d.ts +0 -24
- package/lib/specification/version.d.ts +0 -35
- package/lib/update-notifier/index.d.ts +0 -10
- package/lib/utils/command-util.d.ts +0 -18
- package/lib/utils/common.d.ts +0 -28
- package/lib/utils/core.d.ts +0 -3
- package/lib/utils/handler-set-config.d.ts +0 -19
- package/lib/utils/i18n/en.d.ts +0 -44
- package/lib/utils/i18n/index.d.ts +0 -2
- package/lib/utils/i18n/zh.d.ts +0 -44
- package/lib/utils/index.d.ts +0 -9
- package/lib/utils/logger.d.ts +0 -11
- package/lib/utils/storage.d.ts +0 -8
- package/lib/utils/url-parser.d.ts +0 -15
package/lib/utils/i18n/zh.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
clean_up_the_environment: string;
|
|
3
|
-
display_help_for_command: string;
|
|
4
|
-
remove_components: string;
|
|
5
|
-
delete_the_file_under_the_cache: string;
|
|
6
|
-
record_your_log_information: string;
|
|
7
|
-
init_pproject_deploy_tip: string;
|
|
8
|
-
tip_for_a_serverless_project: string;
|
|
9
|
-
create_a_new_project: string;
|
|
10
|
-
en: string;
|
|
11
|
-
zh: string;
|
|
12
|
-
select_current_language: string;
|
|
13
|
-
'app-tip': string;
|
|
14
|
-
'template-tip': string;
|
|
15
|
-
'fc-runtime-starter': string;
|
|
16
|
-
'fc-custom-container-stater': string;
|
|
17
|
-
web: string;
|
|
18
|
-
'static-site': string;
|
|
19
|
-
'best-practice': string;
|
|
20
|
-
'devs-template': string;
|
|
21
|
-
'fc-http-nodejs': string;
|
|
22
|
-
'fc-http-python': string;
|
|
23
|
-
'fc-http-java': string;
|
|
24
|
-
'fc-custom-container-event-python3': string;
|
|
25
|
-
'fc-custom-container-event-cpp': string;
|
|
26
|
-
'fc-custom-container-http-springboot': string;
|
|
27
|
-
'fc-custom-container-http-aspdotnetcore': string;
|
|
28
|
-
'express-starter': string;
|
|
29
|
-
'koa-starter': string;
|
|
30
|
-
'nuxtjs-starter': string;
|
|
31
|
-
'eggjs-starter': string;
|
|
32
|
-
'flask-starter': string;
|
|
33
|
-
'SpringBoot-starter': string;
|
|
34
|
-
'Zblog-starter': string;
|
|
35
|
-
'website-starter': string;
|
|
36
|
-
'react-starter': string;
|
|
37
|
-
'vue-starter': string;
|
|
38
|
-
puppeteer: string;
|
|
39
|
-
ffmpeg: string;
|
|
40
|
-
pdf2Img: string;
|
|
41
|
-
tensorflow: string;
|
|
42
|
-
todoList: string;
|
|
43
|
-
};
|
|
44
|
-
export default _default;
|
package/lib/utils/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
export { default as common } from './common';
|
|
3
|
-
export { default as configSet } from './handler-set-config';
|
|
4
|
-
export { default as storage } from './storage';
|
|
5
|
-
export { default as urlParser } from './url-parser';
|
|
6
|
-
export { default as registerAction } from './command-util';
|
|
7
|
-
export { default as logger } from './logger';
|
|
8
|
-
export { default as i18n } from './i18n';
|
|
9
|
-
export declare const getYamlPath: (prePath: string, name: string) => string;
|
package/lib/utils/logger.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
export default class ServerlessDevsCliLogger {
|
|
3
|
-
static log(m: any): void;
|
|
4
|
-
static info(m: any): void;
|
|
5
|
-
static debug(m: any): void;
|
|
6
|
-
static error(m: any): void;
|
|
7
|
-
static warning(m: any): void;
|
|
8
|
-
static success(m: any): void;
|
|
9
|
-
static spinner(info: any): any;
|
|
10
|
-
static output(info: any): any;
|
|
11
|
-
}
|
package/lib/utils/storage.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
import URL from 'url';
|
|
4
|
-
import { GitRepoTemplate } from '../entiry';
|
|
5
|
-
export declare function parse(url: string): URL.Url;
|
|
6
|
-
export declare function getProjectNameFromUrl(url: string): string;
|
|
7
|
-
export declare function isUrlFormat(url: string): boolean;
|
|
8
|
-
export declare function extractTemplateInfo(url: URL.Url): GitRepoTemplate;
|
|
9
|
-
declare const _default: {
|
|
10
|
-
extractTemplateInfo: typeof extractTemplateInfo;
|
|
11
|
-
getProjectNameFromUrl: typeof getProjectNameFromUrl;
|
|
12
|
-
isUrlFormat: typeof isUrlFormat;
|
|
13
|
-
parse: typeof parse;
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|