@carbon/ibm-products 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@ import { getPathForComponent } from '../../../../../core/story-structure';
|
|
17
17
|
|
18
18
|
export var getStoryTitle = function getStoryTitle(componentName) {
|
19
19
|
var title = // if the component isn't in the master structure, put it in a lost+found section
|
20
|
-
getPathForComponent('c', componentName) || "
|
20
|
+
getPathForComponent('c', componentName) || "Carbon for IBM Products/Lost + found/".concat(componentName); // add a canary tag if the component is public but not normally enabled
|
21
21
|
|
22
22
|
return !pkg.isComponentEnabled(componentName, true) && pkg.isComponentPublic(componentName, true) ? "".concat(title, "#canary") : title;
|
23
23
|
};
|
@@ -31,7 +31,7 @@ var _storyStructure = require("../../../../../core/story-structure");
|
|
31
31
|
*/
|
32
32
|
var getStoryTitle = function getStoryTitle(componentName) {
|
33
33
|
var title = // if the component isn't in the master structure, put it in a lost+found section
|
34
|
-
(0, _storyStructure.getPathForComponent)('c', componentName) || "
|
34
|
+
(0, _storyStructure.getPathForComponent)('c', componentName) || "Carbon for IBM Products/Lost + found/".concat(componentName); // add a canary tag if the component is public but not normally enabled
|
35
35
|
|
36
36
|
return !_packageSettings.default.isComponentEnabled(componentName, true) && _packageSettings.default.isComponentPublic(componentName, true) ? "".concat(title, "#canary") : title;
|
37
37
|
};
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@carbon/ibm-products",
|
3
3
|
"description": "Carbon for IBM Products",
|
4
|
-
"version": "1.2.
|
4
|
+
"version": "1.2.5",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -46,31 +46,31 @@
|
|
46
46
|
"generate": "cross-env FORCE_COLOR=1 node scripts/generate",
|
47
47
|
"postinstall": "carbon-telemetry collect --install",
|
48
48
|
"test": "jest --colors",
|
49
|
-
"//upgrade-dependencies": "# don't upgrade carbon (done globally), react/react-dom (explicit range peer dependency)",
|
50
|
-
"upgrade-dependencies": "npm-check-updates -u --color --reject '/(carbon|^react$|^react-dom$)/'"
|
49
|
+
"//upgrade-dependencies": "# don't upgrade carbon (done globally), react/react-dom (explicit range peer dependency) or chalk (until we can load it as ESM)",
|
50
|
+
"upgrade-dependencies": "npm-check-updates -u --color --reject '/(carbon|^react$|^react-dom$|^chalk$)/'"
|
51
51
|
},
|
52
52
|
"devDependencies": {
|
53
|
-
"@babel/cli": "^7.16.
|
54
|
-
"@babel/core": "^7.16.
|
55
|
-
"babel-preset-ibm-cloud-cognitive": "^0.14.
|
56
|
-
"chalk": "^
|
53
|
+
"@babel/cli": "^7.16.7",
|
54
|
+
"@babel/core": "^7.16.7",
|
55
|
+
"babel-preset-ibm-cloud-cognitive": "^0.14.3",
|
56
|
+
"chalk": "^4.1.2",
|
57
57
|
"change-case": "^4.1.2",
|
58
58
|
"copyfiles": "^2.4.1",
|
59
59
|
"cross-env": "^7.0.3",
|
60
60
|
"fs-extra": "^10.0.0",
|
61
61
|
"glob": "^7.2.0",
|
62
|
-
"jest": "^27.4.
|
63
|
-
"jest-config-ibm-cloud-cognitive": "^0.23.
|
64
|
-
"npm-check-updates": "^12.0
|
62
|
+
"jest": "^27.4.7",
|
63
|
+
"jest-config-ibm-cloud-cognitive": "^0.23.4",
|
64
|
+
"npm-check-updates": "^12.1.0",
|
65
65
|
"npm-run-all": "^4.1.5",
|
66
66
|
"rimraf": "^3.0.2",
|
67
|
-
"sass": "^1.
|
67
|
+
"sass": "^1.46.0",
|
68
68
|
"yargs": "^17.3.1"
|
69
69
|
},
|
70
70
|
"dependencies": {
|
71
|
-
"@babel/runtime": "^7.16.
|
71
|
+
"@babel/runtime": "^7.16.7",
|
72
72
|
"@carbon/telemetry": "^0.0.0-alpha.6",
|
73
|
-
"react-resize-detector": "^
|
73
|
+
"react-resize-detector": "^7.0.0"
|
74
74
|
},
|
75
75
|
"peerDependencies": {
|
76
76
|
"@carbon/colors": "^10.34.0",
|
@@ -86,5 +86,5 @@
|
|
86
86
|
"react": "^16.8.6 || ^17.0.1",
|
87
87
|
"react-dom": "^16.8.6 || ^17.0.1"
|
88
88
|
},
|
89
|
-
"gitHead": "
|
89
|
+
"gitHead": "f32985ca05fe906558bb5b330c306b7f0f6d0ef4"
|
90
90
|
}
|