@livechat/developer-studio-api 2.0.19 → 2.0.20
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/dist/index.js +3 -4
- package/dist/index.mjs +3 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1011,16 +1011,15 @@ var netlifySiteApi = {
|
|
|
1011
1011
|
createSiteByDeployKey(name, repositoryFullName, target, deployKeyId, branch, authorization) {
|
|
1012
1012
|
return __async(this, null, function* () {
|
|
1013
1013
|
const config = target === "nextjs" ? {
|
|
1014
|
-
plugins: ["@netlify/plugin-nextjs"],
|
|
1015
1014
|
packages: [{ package: "@netlify/plugin-nextjs" }],
|
|
1016
1015
|
dir: ".next",
|
|
1017
1016
|
cmd: "npm run build"
|
|
1018
1017
|
} : target === "node" ? {
|
|
1019
|
-
|
|
1018
|
+
packages: [],
|
|
1020
1019
|
dir: "dist",
|
|
1021
1020
|
cmd: "npm run build"
|
|
1022
1021
|
} : {
|
|
1023
|
-
|
|
1022
|
+
packages: [],
|
|
1024
1023
|
dir: ".",
|
|
1025
1024
|
cmd: ""
|
|
1026
1025
|
};
|
|
@@ -1035,7 +1034,7 @@ var netlifySiteApi = {
|
|
|
1035
1034
|
deploy_key_id: deployKeyId,
|
|
1036
1035
|
env: {},
|
|
1037
1036
|
private: true,
|
|
1038
|
-
plugins: config.
|
|
1037
|
+
plugins: config.packages,
|
|
1039
1038
|
dir: config.dir,
|
|
1040
1039
|
cmd: config.cmd
|
|
1041
1040
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -927,16 +927,15 @@ var netlifySiteApi = {
|
|
|
927
927
|
createSiteByDeployKey(name, repositoryFullName, target, deployKeyId, branch, authorization) {
|
|
928
928
|
return __async(this, null, function* () {
|
|
929
929
|
const config = target === "nextjs" ? {
|
|
930
|
-
plugins: ["@netlify/plugin-nextjs"],
|
|
931
930
|
packages: [{ package: "@netlify/plugin-nextjs" }],
|
|
932
931
|
dir: ".next",
|
|
933
932
|
cmd: "npm run build"
|
|
934
933
|
} : target === "node" ? {
|
|
935
|
-
|
|
934
|
+
packages: [],
|
|
936
935
|
dir: "dist",
|
|
937
936
|
cmd: "npm run build"
|
|
938
937
|
} : {
|
|
939
|
-
|
|
938
|
+
packages: [],
|
|
940
939
|
dir: ".",
|
|
941
940
|
cmd: ""
|
|
942
941
|
};
|
|
@@ -951,7 +950,7 @@ var netlifySiteApi = {
|
|
|
951
950
|
deploy_key_id: deployKeyId,
|
|
952
951
|
env: {},
|
|
953
952
|
private: true,
|
|
954
|
-
plugins: config.
|
|
953
|
+
plugins: config.packages,
|
|
955
954
|
dir: config.dir,
|
|
956
955
|
cmd: config.cmd
|
|
957
956
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.20",
|
|
4
4
|
"description": "This project is API for LiveChat Developer Studio.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"tsup": "^7.1.0",
|
|
19
19
|
"typescript": "^5.1.6",
|
|
20
20
|
"config": "0.0.0",
|
|
21
|
-
"types": "0.0.1",
|
|
22
21
|
"tsconfig": "0.0.0",
|
|
22
|
+
"types": "0.0.1",
|
|
23
23
|
"eslint-config-custom-lib": "0.0.1"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|