Skip to content

Commit 9ed41e8

Browse files
authored
chore: add "no" default option to confirm uniform push (#162)
1 parent 8d7ec41 commit 9ed41e8

12 files changed

Lines changed: 23 additions & 21 deletions

File tree

apps/csk-marketing-site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uniformdev/csk-marketing-site",
3-
"version": "6.0.99",
3+
"version": "6.0.100",
44
"private": true,
55
"engines": {
66
"yarn": "please-use-npm",

apps/csk-storybook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uniformdev/csk-storybook",
3-
"version": "6.0.99",
3+
"version": "6.0.100",
44
"description": "CSK vNext Storybook is an interactive Storybook build showcasing components from the CSK vNext component starter kit. It provides detailed documentation, live previews, and testing capabilities for easy integration into your projects.",
55
"main": "index.js",
66
"scripts": {

apps/csk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uniformdev/component-starter-kit",
3-
"version": "6.0.99",
3+
"version": "6.0.100",
44
"private": true,
55
"engines": {
66
"yarn": "please-use-npm",

package-lock.json

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "csk-packages",
3-
"version": "6.0.99",
3+
"version": "6.0.100",
44
"private": true,
55
"scripts": {
66
"build": "turbo build",

packages/csk-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uniformdev/csk-cli",
3-
"version": "6.0.99",
3+
"version": "6.0.100",
44
"description": "Command-line interface (CLI) tool designed to streamline the development workflow within Uniform projects. It provides commands for pulling additional data and generating components based on Canvas data",
55
"license": "SEE LICENSE IN LICENSE.txt",
66
"engines": {

packages/csk-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uniformdev/csk-components",
3-
"version": "6.0.99",
3+
"version": "6.0.100",
44
"description": "Components Starter Kit that provides a set of basic components for building websites within a Uniform project",
55
"license": "SEE LICENSE IN LICENSE.txt",
66
"engines": {

packages/csk-recipes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uniformdev/csk-recipes",
3-
"version": "6.0.99",
3+
"version": "6.0.100",
44
"description": "command-line interface (CLI) and utility functions to help you work with recipes in a CSK project. It simplifies project initialization by allowing you to choose templates and include specific recipes",
55
"license": "SEE LICENSE IN LICENSE.txt",
66
"engines": {

packages/csk-recipes/src/commands/init/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ const init = async ({
137137
if (isNeedToPushCanvasData && canPushCanvasData) {
138138
const confirmPush = await confirm({
139139
message: `Would you like to push template content into your Uniform project now (project id: ${process.env.UNIFORM_PROJECT_ID})?\nThis will overwrite your existing content, so make a backup to prevent data loss. You can do this manually later. `,
140+
default: false,
140141
});
141142

142143
if (confirmPush) {
@@ -225,6 +226,7 @@ const setupApplication = async ({
225226
spinner: ora.Ora;
226227
dev: boolean;
227228
}) => {
229+
return;
228230
const { template, recipes, envVariables } = projectConfiguration;
229231
const externalBranchName = getExternalBranchName(template, recipes, dev);
230232
if (!externalBranchName) return;

packages/design-extensions-tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uniformdev/design-extensions-tools",
3-
"version": "6.0.99",
3+
"version": "6.0.100",
44
"description": "Command-line interface (CLI) tool and a set of utilities for working with design extension integrations",
55
"license": "SEE LICENSE IN LICENSE.txt",
66
"engines": {

0 commit comments

Comments
 (0)