tencentcloud-sdk-nodejs-wedata 4.0.1053 → 4.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/README.md CHANGED
@@ -52,10 +52,24 @@ npm install tencentcloud-sdk-nodejs --save
52
52
 
53
53
  ## 通过源码包安装
54
54
 
55
- 1. 前往 [GitHub 仓库](https://github.com/tencentcloud/tencentcloud-sdk-nodejs) 或者 [Gitee 仓库](https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs) 下载源码压缩包。
56
- 2. 解压源码包到您项目合适的位置,例如 `sdk/tencentcloud-sdk-nodejs`。
57
- 3. 执行 `npm install ./sdk/tencentcloud-sdk-nodejs`。
58
- 4. 使用 `require("tencentcloud-sdk-nodejs")` 的方式引入 SDK,具体可参考示例。
55
+ 1. clone 代码到本地:
56
+ ```
57
+ git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
58
+ # 或者
59
+ git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
60
+ ```
61
+ 2. 在项目根目录执行以下命令完成构建:
62
+ ```
63
+ npm install && npm run build
64
+ ```
65
+ 3. 打包 NPM 压缩文件,例如 `tencentcloud-sdk-nodejs-4.0.0.tgz`
66
+ ```
67
+ npm pack
68
+ ```
69
+ 4. 安装包到你的项目里:
70
+ ```
71
+ npm install /path/to/tencentcloud-sdk-nodejs/tencentcloud-sdk-nodejs-4.0.0.tgz
72
+ ```
59
73
 
60
74
  # 示例
61
75
 
package/es/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from "./services";
@@ -0,0 +1 @@
1
+ export { wedata } from "./wedata";
@@ -0,0 +1,4 @@
1
+ import { v20210820 } from "./v20210820";
2
+ export const wedata = {
3
+ v20210820: v20210820,
4
+ };
@@ -0,0 +1,6 @@
1
+ import * as Models from "./wedata_models";
2
+ import { Client } from "./wedata_client";
3
+ export const v20210820 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ };