@livechat/developer-studio-api 2.0.12 → 2.0.14
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 +11 -2
- package/dist/index.mjs +11 -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
|
@@ -968,12 +968,17 @@ var netlifySiteApi = {
|
|
|
968
968
|
return __async(this, null, function* () {
|
|
969
969
|
const config = target === "nextjs" ? {
|
|
970
970
|
plugins: ["@netlify/plugin-nextjs"],
|
|
971
|
+
packages: [{ package: "@netlify/plugin-nextjs" }],
|
|
971
972
|
dir: ".next",
|
|
972
973
|
cmd: "npm run build"
|
|
973
|
-
} : {
|
|
974
|
+
} : target === "node" ? {
|
|
974
975
|
plugins: [],
|
|
975
976
|
dir: "dist",
|
|
976
977
|
cmd: "npm run build"
|
|
978
|
+
} : {
|
|
979
|
+
plugin: [],
|
|
980
|
+
dir: ".",
|
|
981
|
+
cmd: ""
|
|
977
982
|
};
|
|
978
983
|
const response = yield netlifyClientInstance.post(
|
|
979
984
|
`/sites`,
|
|
@@ -1009,10 +1014,14 @@ var netlifySiteApi = {
|
|
|
1009
1014
|
plugins: ["@netlify/plugin-nextjs"],
|
|
1010
1015
|
dir: ".next",
|
|
1011
1016
|
cmd: "npm run build"
|
|
1012
|
-
} : {
|
|
1017
|
+
} : target === "node" ? {
|
|
1013
1018
|
plugins: [],
|
|
1014
1019
|
dir: "dist",
|
|
1015
1020
|
cmd: "npm run build"
|
|
1021
|
+
} : {
|
|
1022
|
+
plugin: [],
|
|
1023
|
+
dir: ".",
|
|
1024
|
+
cmd: ""
|
|
1016
1025
|
};
|
|
1017
1026
|
const response = yield netlifyClientInstance.post(
|
|
1018
1027
|
`/sites`,
|
package/dist/index.mjs
CHANGED
|
@@ -884,12 +884,17 @@ var netlifySiteApi = {
|
|
|
884
884
|
return __async(this, null, function* () {
|
|
885
885
|
const config = target === "nextjs" ? {
|
|
886
886
|
plugins: ["@netlify/plugin-nextjs"],
|
|
887
|
+
packages: [{ package: "@netlify/plugin-nextjs" }],
|
|
887
888
|
dir: ".next",
|
|
888
889
|
cmd: "npm run build"
|
|
889
|
-
} : {
|
|
890
|
+
} : target === "node" ? {
|
|
890
891
|
plugins: [],
|
|
891
892
|
dir: "dist",
|
|
892
893
|
cmd: "npm run build"
|
|
894
|
+
} : {
|
|
895
|
+
plugin: [],
|
|
896
|
+
dir: ".",
|
|
897
|
+
cmd: ""
|
|
893
898
|
};
|
|
894
899
|
const response = yield netlifyClientInstance.post(
|
|
895
900
|
`/sites`,
|
|
@@ -925,10 +930,14 @@ var netlifySiteApi = {
|
|
|
925
930
|
plugins: ["@netlify/plugin-nextjs"],
|
|
926
931
|
dir: ".next",
|
|
927
932
|
cmd: "npm run build"
|
|
928
|
-
} : {
|
|
933
|
+
} : target === "node" ? {
|
|
929
934
|
plugins: [],
|
|
930
935
|
dir: "dist",
|
|
931
936
|
cmd: "npm run build"
|
|
937
|
+
} : {
|
|
938
|
+
plugin: [],
|
|
939
|
+
dir: ".",
|
|
940
|
+
cmd: ""
|
|
932
941
|
};
|
|
933
942
|
const response = yield netlifyClientInstance.post(
|
|
934
943
|
`/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.14",
|
|
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",
|