sproutkit-code 1.2.0 → 1.2.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/dist/index.js +17 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -80742,7 +80742,22 @@ export default defineConfig({ plugins: [react()] });`;
|
|
|
80742
80742
|
encoding: "utf-8"
|
|
80743
80743
|
};
|
|
80744
80744
|
onProgress("Deploying booking site\u2026");
|
|
80745
|
-
const res = await postVercelDeployment({
|
|
80745
|
+
const res = await postVercelDeployment({
|
|
80746
|
+
name: projectName,
|
|
80747
|
+
files,
|
|
80748
|
+
// REQUIRED for a new Vercel project — omitting it fails every first
|
|
80749
|
+
// deploy with "The `projectSettings` object is required for new
|
|
80750
|
+
// projects". Unlike the site builds this is NOT a Vite app: it's static
|
|
80751
|
+
// HTML plus serverless functions under api/, so declare no framework and
|
|
80752
|
+
// no build step rather than copying framework:"vite" from the others.
|
|
80753
|
+
projectSettings: {
|
|
80754
|
+
framework: null,
|
|
80755
|
+
buildCommand: null,
|
|
80756
|
+
installCommand: null,
|
|
80757
|
+
outputDirectory: null
|
|
80758
|
+
},
|
|
80759
|
+
target: "production"
|
|
80760
|
+
}, vercelToken, onProgress);
|
|
80746
80761
|
await axios_1.default.patch(`https://api.vercel.com/v9/projects/${res.data.name}`, { ssoProtection: null }, { headers: { Authorization: `Bearer ${vercelToken}` } }).catch(() => null);
|
|
80747
80762
|
const publicUrl = await stableProjectUrl({
|
|
80748
80763
|
projectName,
|
|
@@ -94949,7 +94964,7 @@ var require_package2 = __commonJS({
|
|
|
94949
94964
|
"package.json"(exports2, module2) {
|
|
94950
94965
|
module2.exports = {
|
|
94951
94966
|
name: "sproutkit-code",
|
|
94952
|
-
version: "1.2.
|
|
94967
|
+
version: "1.2.1",
|
|
94953
94968
|
description: "Sproutkit in your terminal \u2014 find leads, build sites, run outreach, all via chat.",
|
|
94954
94969
|
bin: {
|
|
94955
94970
|
sproutkit: "./dist/index.js"
|