@livechat/developer-studio-api 2.0.18 → 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 +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1011,15 +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
|
-
|
|
1014
|
+
packages: [{ package: "@netlify/plugin-nextjs" }],
|
|
1015
1015
|
dir: ".next",
|
|
1016
1016
|
cmd: "npm run build"
|
|
1017
1017
|
} : target === "node" ? {
|
|
1018
|
-
|
|
1018
|
+
packages: [],
|
|
1019
1019
|
dir: "dist",
|
|
1020
1020
|
cmd: "npm run build"
|
|
1021
1021
|
} : {
|
|
1022
|
-
|
|
1022
|
+
packages: [],
|
|
1023
1023
|
dir: ".",
|
|
1024
1024
|
cmd: ""
|
|
1025
1025
|
};
|
|
@@ -1034,11 +1034,11 @@ var netlifySiteApi = {
|
|
|
1034
1034
|
deploy_key_id: deployKeyId,
|
|
1035
1035
|
env: {},
|
|
1036
1036
|
private: true,
|
|
1037
|
-
plugins: config.
|
|
1037
|
+
plugins: config.packages,
|
|
1038
1038
|
dir: config.dir,
|
|
1039
1039
|
cmd: config.cmd
|
|
1040
1040
|
},
|
|
1041
|
-
plugins: config.
|
|
1041
|
+
plugins: config.packages,
|
|
1042
1042
|
created_via: ""
|
|
1043
1043
|
},
|
|
1044
1044
|
getNetlifyClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
package/dist/index.mjs
CHANGED
|
@@ -927,15 +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
|
-
|
|
930
|
+
packages: [{ package: "@netlify/plugin-nextjs" }],
|
|
931
931
|
dir: ".next",
|
|
932
932
|
cmd: "npm run build"
|
|
933
933
|
} : target === "node" ? {
|
|
934
|
-
|
|
934
|
+
packages: [],
|
|
935
935
|
dir: "dist",
|
|
936
936
|
cmd: "npm run build"
|
|
937
937
|
} : {
|
|
938
|
-
|
|
938
|
+
packages: [],
|
|
939
939
|
dir: ".",
|
|
940
940
|
cmd: ""
|
|
941
941
|
};
|
|
@@ -950,11 +950,11 @@ var netlifySiteApi = {
|
|
|
950
950
|
deploy_key_id: deployKeyId,
|
|
951
951
|
env: {},
|
|
952
952
|
private: true,
|
|
953
|
-
plugins: config.
|
|
953
|
+
plugins: config.packages,
|
|
954
954
|
dir: config.dir,
|
|
955
955
|
cmd: config.cmd
|
|
956
956
|
},
|
|
957
|
-
plugins: config.
|
|
957
|
+
plugins: config.packages,
|
|
958
958
|
created_via: ""
|
|
959
959
|
},
|
|
960
960
|
getNetlifyClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
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",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"@types/node": "^17.0.12",
|
|
18
18
|
"tsup": "^7.1.0",
|
|
19
19
|
"typescript": "^5.1.6",
|
|
20
|
-
"
|
|
21
|
-
"eslint-config-custom-lib": "0.0.1",
|
|
20
|
+
"config": "0.0.0",
|
|
22
21
|
"tsconfig": "0.0.0",
|
|
23
|
-
"
|
|
22
|
+
"types": "0.0.1",
|
|
23
|
+
"eslint-config-custom-lib": "0.0.1"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|