unicorn-demo-app 7.43.0 → 7.44.0-snapshot.7202
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/package.json
CHANGED
package/scripts/releaseDemo.js
CHANGED
|
@@ -17,8 +17,11 @@ const VERSION_INC = 'patch';
|
|
|
17
17
|
|
|
18
18
|
function run() {
|
|
19
19
|
if (!validateEnv()) {
|
|
20
|
+
console.log('Do not release demo');
|
|
20
21
|
return;
|
|
21
22
|
}
|
|
23
|
+
|
|
24
|
+
console.log('Release demo');
|
|
22
25
|
createNpmRc();
|
|
23
26
|
versionTagAndPublish();
|
|
24
27
|
}
|
|
@@ -27,7 +30,11 @@ function validateEnv() {
|
|
|
27
30
|
if (!process.env.CI) {
|
|
28
31
|
throw new Error('releasing is only available from CI');
|
|
29
32
|
}
|
|
30
|
-
return
|
|
33
|
+
return (
|
|
34
|
+
process.env.BUILDKITE_BRANCH === 'master' ||
|
|
35
|
+
process.env.BUILDKITE_BRANCH === 'release' ||
|
|
36
|
+
process.env.BUILDKITE_MESSAGE === 'snapshot'
|
|
37
|
+
);
|
|
31
38
|
}
|
|
32
39
|
|
|
33
40
|
function createNpmRc() {
|
|
@@ -728,7 +728,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
728
728
|
},
|
|
729
729
|
undefined,
|
|
730
730
|
{
|
|
731
|
-
"color": "#
|
|
731
|
+
"color": "#D52712",
|
|
732
732
|
},
|
|
733
733
|
undefined,
|
|
734
734
|
undefined,
|
|
@@ -1269,7 +1269,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
1269
1269
|
},
|
|
1270
1270
|
undefined,
|
|
1271
1271
|
{
|
|
1272
|
-
"color": "#
|
|
1272
|
+
"color": "#D52712",
|
|
1273
1273
|
},
|
|
1274
1274
|
undefined,
|
|
1275
1275
|
undefined,
|
|
@@ -1635,7 +1635,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
1635
1635
|
},
|
|
1636
1636
|
undefined,
|
|
1637
1637
|
{
|
|
1638
|
-
"color": "#
|
|
1638
|
+
"color": "#D52712",
|
|
1639
1639
|
},
|
|
1640
1640
|
undefined,
|
|
1641
1641
|
undefined,
|
|
@@ -1866,7 +1866,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
1866
1866
|
},
|
|
1867
1867
|
undefined,
|
|
1868
1868
|
{
|
|
1869
|
-
"color": "#
|
|
1869
|
+
"color": "#D52712",
|
|
1870
1870
|
},
|
|
1871
1871
|
undefined,
|
|
1872
1872
|
undefined,
|
|
@@ -2231,7 +2231,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
2231
2231
|
},
|
|
2232
2232
|
undefined,
|
|
2233
2233
|
{
|
|
2234
|
-
"color": "#
|
|
2234
|
+
"color": "#D52712",
|
|
2235
2235
|
},
|
|
2236
2236
|
undefined,
|
|
2237
2237
|
undefined,
|
|
@@ -3126,7 +3126,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
3126
3126
|
},
|
|
3127
3127
|
undefined,
|
|
3128
3128
|
{
|
|
3129
|
-
"color": "#
|
|
3129
|
+
"color": "#D52712",
|
|
3130
3130
|
},
|
|
3131
3131
|
undefined,
|
|
3132
3132
|
undefined,
|
|
@@ -4023,7 +4023,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
4023
4023
|
},
|
|
4024
4024
|
undefined,
|
|
4025
4025
|
{
|
|
4026
|
-
"color": "#
|
|
4026
|
+
"color": "#D52712",
|
|
4027
4027
|
},
|
|
4028
4028
|
undefined,
|
|
4029
4029
|
undefined,
|
|
@@ -4726,7 +4726,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
4726
4726
|
},
|
|
4727
4727
|
undefined,
|
|
4728
4728
|
{
|
|
4729
|
-
"color": "#
|
|
4729
|
+
"color": "#D52712",
|
|
4730
4730
|
},
|
|
4731
4731
|
undefined,
|
|
4732
4732
|
undefined,
|
|
@@ -4986,7 +4986,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
4986
4986
|
},
|
|
4987
4987
|
undefined,
|
|
4988
4988
|
{
|
|
4989
|
-
"color": "#
|
|
4989
|
+
"color": "#D52712",
|
|
4990
4990
|
},
|
|
4991
4991
|
undefined,
|
|
4992
4992
|
undefined,
|
|
@@ -5276,7 +5276,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
5276
5276
|
},
|
|
5277
5277
|
undefined,
|
|
5278
5278
|
{
|
|
5279
|
-
"color": "#
|
|
5279
|
+
"color": "#D52712",
|
|
5280
5280
|
},
|
|
5281
5281
|
undefined,
|
|
5282
5282
|
undefined,
|
|
@@ -6017,7 +6017,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
6017
6017
|
},
|
|
6018
6018
|
undefined,
|
|
6019
6019
|
{
|
|
6020
|
-
"color": "#
|
|
6020
|
+
"color": "#D52712",
|
|
6021
6021
|
},
|
|
6022
6022
|
undefined,
|
|
6023
6023
|
undefined,
|
|
@@ -6318,7 +6318,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
6318
6318
|
},
|
|
6319
6319
|
undefined,
|
|
6320
6320
|
{
|
|
6321
|
-
"color": "#
|
|
6321
|
+
"color": "#D52712",
|
|
6322
6322
|
},
|
|
6323
6323
|
undefined,
|
|
6324
6324
|
undefined,
|
|
@@ -6647,7 +6647,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
6647
6647
|
},
|
|
6648
6648
|
undefined,
|
|
6649
6649
|
{
|
|
6650
|
-
"color": "#
|
|
6650
|
+
"color": "#D52712",
|
|
6651
6651
|
},
|
|
6652
6652
|
undefined,
|
|
6653
6653
|
undefined,
|
|
@@ -7023,7 +7023,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
7023
7023
|
},
|
|
7024
7024
|
undefined,
|
|
7025
7025
|
{
|
|
7026
|
-
"color": "#
|
|
7026
|
+
"color": "#D52712",
|
|
7027
7027
|
},
|
|
7028
7028
|
undefined,
|
|
7029
7029
|
undefined,
|
|
@@ -7299,7 +7299,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
7299
7299
|
},
|
|
7300
7300
|
undefined,
|
|
7301
7301
|
{
|
|
7302
|
-
"color": "#
|
|
7302
|
+
"color": "#D52712",
|
|
7303
7303
|
},
|
|
7304
7304
|
undefined,
|
|
7305
7305
|
undefined,
|
|
@@ -7554,7 +7554,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
7554
7554
|
},
|
|
7555
7555
|
undefined,
|
|
7556
7556
|
{
|
|
7557
|
-
"color": "#
|
|
7557
|
+
"color": "#D52712",
|
|
7558
7558
|
},
|
|
7559
7559
|
undefined,
|
|
7560
7560
|
undefined,
|
|
@@ -7844,7 +7844,7 @@ exports[`TextField Screen renders screen 1`] = `
|
|
|
7844
7844
|
},
|
|
7845
7845
|
undefined,
|
|
7846
7846
|
{
|
|
7847
|
-
"color": "#
|
|
7847
|
+
"color": "#D52712",
|
|
7848
7848
|
},
|
|
7849
7849
|
undefined,
|
|
7850
7850
|
undefined,
|