@livechat/developer-studio-api 2.0.12 → 2.0.13
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.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -2
- package/dist/index.mjs +10 -2
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -2143,8 +2143,8 @@ declare const api: {
|
|
|
2143
2143
|
id: string;
|
|
2144
2144
|
title: string;
|
|
2145
2145
|
}[]>;
|
|
2146
|
-
createSiteByInstallationId(name: string, repositoryFullName: string, target: AppRepositoryTarget, installationId: string, branch?: string | undefined, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<NetlifySite>;
|
|
2147
|
-
createSiteByDeployKey(name: string, repositoryFullName: string, target: AppRepositoryTarget, deployKeyId: string, branch?: string | undefined, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<NetlifySite>;
|
|
2146
|
+
createSiteByInstallationId(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, installationId: string, branch?: string | undefined, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<NetlifySite>;
|
|
2147
|
+
createSiteByDeployKey(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, deployKeyId: string, branch?: string | undefined, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<NetlifySite>;
|
|
2148
2148
|
removeSite(siteId: string, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<void>;
|
|
2149
2149
|
triggerSiteBuild(siteId: string, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<void>;
|
|
2150
2150
|
addGitHubInstallationToSite(siteId: string, installationId: string, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2143,8 +2143,8 @@ declare const api: {
|
|
|
2143
2143
|
id: string;
|
|
2144
2144
|
title: string;
|
|
2145
2145
|
}[]>;
|
|
2146
|
-
createSiteByInstallationId(name: string, repositoryFullName: string, target: AppRepositoryTarget, installationId: string, branch?: string | undefined, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<NetlifySite>;
|
|
2147
|
-
createSiteByDeployKey(name: string, repositoryFullName: string, target: AppRepositoryTarget, deployKeyId: string, branch?: string | undefined, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<NetlifySite>;
|
|
2146
|
+
createSiteByInstallationId(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, installationId: string, branch?: string | undefined, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<NetlifySite>;
|
|
2147
|
+
createSiteByDeployKey(name: string, repositoryFullName: string, target: AppRepositoryTarget | undefined, deployKeyId: string, branch?: string | undefined, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<NetlifySite>;
|
|
2148
2148
|
removeSite(siteId: string, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<void>;
|
|
2149
2149
|
triggerSiteBuild(siteId: string, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<void>;
|
|
2150
2150
|
addGitHubInstallationToSite(siteId: string, installationId: string, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<void>;
|
package/dist/index.js
CHANGED
|
@@ -970,10 +970,14 @@ var netlifySiteApi = {
|
|
|
970
970
|
plugins: ["@netlify/plugin-nextjs"],
|
|
971
971
|
dir: ".next",
|
|
972
972
|
cmd: "npm run build"
|
|
973
|
-
} : {
|
|
973
|
+
} : target === "node" ? {
|
|
974
974
|
plugins: [],
|
|
975
975
|
dir: "dist",
|
|
976
976
|
cmd: "npm run build"
|
|
977
|
+
} : {
|
|
978
|
+
plugin: [],
|
|
979
|
+
dir: ".",
|
|
980
|
+
cmd: ""
|
|
977
981
|
};
|
|
978
982
|
const response = yield netlifyClientInstance.post(
|
|
979
983
|
`/sites`,
|
|
@@ -1009,10 +1013,14 @@ var netlifySiteApi = {
|
|
|
1009
1013
|
plugins: ["@netlify/plugin-nextjs"],
|
|
1010
1014
|
dir: ".next",
|
|
1011
1015
|
cmd: "npm run build"
|
|
1012
|
-
} : {
|
|
1016
|
+
} : target === "node" ? {
|
|
1013
1017
|
plugins: [],
|
|
1014
1018
|
dir: "dist",
|
|
1015
1019
|
cmd: "npm run build"
|
|
1020
|
+
} : {
|
|
1021
|
+
plugin: [],
|
|
1022
|
+
dir: ".",
|
|
1023
|
+
cmd: ""
|
|
1016
1024
|
};
|
|
1017
1025
|
const response = yield netlifyClientInstance.post(
|
|
1018
1026
|
`/sites`,
|
package/dist/index.mjs
CHANGED
|
@@ -886,10 +886,14 @@ var netlifySiteApi = {
|
|
|
886
886
|
plugins: ["@netlify/plugin-nextjs"],
|
|
887
887
|
dir: ".next",
|
|
888
888
|
cmd: "npm run build"
|
|
889
|
-
} : {
|
|
889
|
+
} : target === "node" ? {
|
|
890
890
|
plugins: [],
|
|
891
891
|
dir: "dist",
|
|
892
892
|
cmd: "npm run build"
|
|
893
|
+
} : {
|
|
894
|
+
plugin: [],
|
|
895
|
+
dir: ".",
|
|
896
|
+
cmd: ""
|
|
893
897
|
};
|
|
894
898
|
const response = yield netlifyClientInstance.post(
|
|
895
899
|
`/sites`,
|
|
@@ -925,10 +929,14 @@ var netlifySiteApi = {
|
|
|
925
929
|
plugins: ["@netlify/plugin-nextjs"],
|
|
926
930
|
dir: ".next",
|
|
927
931
|
cmd: "npm run build"
|
|
928
|
-
} : {
|
|
932
|
+
} : target === "node" ? {
|
|
929
933
|
plugins: [],
|
|
930
934
|
dir: "dist",
|
|
931
935
|
cmd: "npm run build"
|
|
936
|
+
} : {
|
|
937
|
+
plugin: [],
|
|
938
|
+
dir: ".",
|
|
939
|
+
cmd: ""
|
|
932
940
|
};
|
|
933
941
|
const response = yield netlifyClientInstance.post(
|
|
934
942
|
`/sites`,
|
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.13",
|
|
4
4
|
"description": "This project is API for LiveChat Developer Studio.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"typescript": "^5.1.6",
|
|
20
20
|
"config": "0.0.0",
|
|
21
21
|
"eslint-config-custom-lib": "0.0.1",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
22
|
+
"tsconfig": "0.0.0",
|
|
23
|
+
"types": "0.0.1"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|