@sproutsocial/racine 11.0.2-dependencies.1 → 11.1.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/CHANGELOG.md +12 -0
- package/__flow__/Avatar/index.test.js +5 -0
- package/__flow__/Badge/index.test.js +5 -0
- package/__flow__/Button/index.stories.js +67 -51
- package/__flow__/CharacterCounter/index.test.js +8 -0
- package/__flow__/ChartLegend/index.test.js +37 -0
- package/__flow__/EmptyState/index.test.js +3 -1
- package/__flow__/EnumIconNames.js +1 -1
- package/__flow__/IconViewBoxes.js +1 -1
- package/__flow__/Link/index.test.js +10 -0
- package/__flow__/Loader/index.test.js +14 -0
- package/__flow__/Menu/__snapshots__/index.test.js.snap +2 -2
- package/__flow__/Modal/index.test.js +19 -0
- package/__flow__/Text/index.test.js +39 -0
- package/commonjs/IconViewBoxes.js +1 -0
- package/commonjs/include-icons.js +1 -1
- package/dist/iconList.js +1 -1
- package/dist/icons.svg +1 -1
- package/icons/power-up-outline.svg +3 -0
- package/includeIcons.js +1 -1
- package/lib/IconViewBoxes.js +1 -0
- package/lib/include-icons.js +1 -1
- package/package.json +16 -23
- package/bin/buildNpm.js +0 -58
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sproutsocial/racine",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"__flow__",
|
|
@@ -9,13 +9,11 @@
|
|
|
9
9
|
"lib",
|
|
10
10
|
"codemods",
|
|
11
11
|
"bin/racine-codemod.js",
|
|
12
|
-
"bin/buildNpm.js",
|
|
13
12
|
"icons",
|
|
14
13
|
"includeIcons.js"
|
|
15
14
|
],
|
|
16
15
|
"bin": {
|
|
17
|
-
"racine-codemod": "bin/racine-codemod.js"
|
|
18
|
-
"build-npm": "bin/buildNpm.js"
|
|
16
|
+
"racine-codemod": "bin/racine-codemod.js"
|
|
19
17
|
},
|
|
20
18
|
"main": "commonjs/index.js",
|
|
21
19
|
"module": "lib/index.js",
|
|
@@ -23,7 +21,6 @@
|
|
|
23
21
|
"./includeIcons.js"
|
|
24
22
|
],
|
|
25
23
|
"scripts": {
|
|
26
|
-
"preinstall": "node ./bin/buildNpm.js",
|
|
27
24
|
"install-deps": "yarn install",
|
|
28
25
|
"prepublishOnly": "yarn run build",
|
|
29
26
|
"precommit": "lint-staged",
|
|
@@ -65,7 +62,6 @@
|
|
|
65
62
|
]
|
|
66
63
|
},
|
|
67
64
|
"dependencies": {
|
|
68
|
-
"@storybook/addon-controls": "^6.4.19",
|
|
69
65
|
"@styled-system/theme-get": "^5.1.2",
|
|
70
66
|
"classnames": "^2.2.6",
|
|
71
67
|
"lodash.curry": "^4.1.1",
|
|
@@ -79,14 +75,14 @@
|
|
|
79
75
|
"react-popper": "^1.3.3",
|
|
80
76
|
"react-spring": "^8.0.25",
|
|
81
77
|
"react-toastify": "^6.0.5",
|
|
82
|
-
"react-virtualized": "9.
|
|
78
|
+
"react-virtualized": "9.18.5",
|
|
83
79
|
"scroll-into-view-if-needed": "1.1.0",
|
|
84
80
|
"styled-system": "^5.1.5",
|
|
85
81
|
"use-measure": "^0.2.2"
|
|
86
82
|
},
|
|
87
83
|
"devDependencies": {
|
|
88
84
|
"@babel/cli": "^7.5.5",
|
|
89
|
-
"@babel/core": "^7.
|
|
85
|
+
"@babel/core": "^7.4.5",
|
|
90
86
|
"@babel/plugin-proposal-class-properties": "^7.4.4",
|
|
91
87
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
92
88
|
"@babel/preset-env": "^7.8.0",
|
|
@@ -101,22 +97,20 @@
|
|
|
101
97
|
"@sproutsocial/seeds-networkcolor": "^2.9.0",
|
|
102
98
|
"@sproutsocial/seeds-space": "^0.4.7",
|
|
103
99
|
"@sproutsocial/seeds-typography": "^3.0.1",
|
|
104
|
-
"@storybook/addon-a11y": "^6.
|
|
105
|
-
"@storybook/addon-actions": "^6.
|
|
106
|
-
"@storybook/addon-
|
|
107
|
-
"@storybook/addon-
|
|
108
|
-
"@storybook/addon-
|
|
109
|
-
"@storybook/
|
|
110
|
-
"@storybook/addons": "^6.4.19",
|
|
100
|
+
"@storybook/addon-a11y": "^6.1.11",
|
|
101
|
+
"@storybook/addon-actions": "^6.3.8",
|
|
102
|
+
"@storybook/addon-knobs": "^6.1.11",
|
|
103
|
+
"@storybook/addon-storysource": "^6.1.11",
|
|
104
|
+
"@storybook/addon-viewport": "^6.1.11",
|
|
105
|
+
"@storybook/addons": "^6.1.11",
|
|
111
106
|
"@storybook/react": "^6.4.19",
|
|
112
|
-
"@storybook/theming": "^6.
|
|
107
|
+
"@storybook/theming": "^6.1.11",
|
|
113
108
|
"@testing-library/react": "^11.2.2",
|
|
114
109
|
"@testing-library/user-event": "^13.0.0",
|
|
115
|
-
"axios": "^0.26.1",
|
|
116
110
|
"babel-core": "^7.0.0-bridge",
|
|
117
111
|
"babel-eslint": "10.1.0",
|
|
118
112
|
"babel-jest": "26.1.0",
|
|
119
|
-
"babel-loader": "8.
|
|
113
|
+
"babel-loader": "8.0.6",
|
|
120
114
|
"babel-plugin-inline-import": "^3.0.0",
|
|
121
115
|
"babel-plugin-polished": "^1.1.0",
|
|
122
116
|
"babel-plugin-styled-components": "^1.10.0",
|
|
@@ -144,7 +138,7 @@
|
|
|
144
138
|
"jest": "26.1.0",
|
|
145
139
|
"jest-axe": "3.4.0",
|
|
146
140
|
"jest-dom": "^3.5.0",
|
|
147
|
-
"jest-styled-components": "7.0.
|
|
141
|
+
"jest-styled-components": "7.0.0-beta.1",
|
|
148
142
|
"jscodeshift": "^0.6.4",
|
|
149
143
|
"json-to-scss": "^1.6.2",
|
|
150
144
|
"lint-staged": "^10.2.11",
|
|
@@ -152,15 +146,15 @@
|
|
|
152
146
|
"npm-run-all": "^4.1.2",
|
|
153
147
|
"outdent": "^0.7.0",
|
|
154
148
|
"pify": "^4.0.1",
|
|
155
|
-
"playroom": "^0.
|
|
149
|
+
"playroom": "^0.22.2",
|
|
156
150
|
"prettier": "^2.0.5",
|
|
157
151
|
"prop-types": "^15.6.1",
|
|
158
152
|
"react": "16.12.0",
|
|
159
153
|
"react-dates": "^21.8.0",
|
|
160
154
|
"react-dom": "16.12.0",
|
|
161
155
|
"rimraf": "^2.6.3",
|
|
162
|
-
"storybook-dark-mode": "^1.0.
|
|
163
|
-
"styled-components": "5.
|
|
156
|
+
"storybook-dark-mode": "^1.0.7",
|
|
157
|
+
"styled-components": "5.0.0-rc.2",
|
|
164
158
|
"stylelint": "^13.8.0",
|
|
165
159
|
"stylelint-config-recommended": "^2.2.0",
|
|
166
160
|
"stylelint-config-styled-components": "^0.1.1",
|
|
@@ -185,7 +179,6 @@
|
|
|
185
179
|
"styled-components": "^5.0.0-rc.2"
|
|
186
180
|
},
|
|
187
181
|
"resolutions": {
|
|
188
|
-
"**/eslint-import-resolver-node": "0.3.4",
|
|
189
182
|
"lodash": "^4.17.21",
|
|
190
183
|
"react-popper/create-react-context": "^0.3.0"
|
|
191
184
|
},
|
package/bin/buildNpm.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file handles the generation of an .npmrc with Jfrog credentials during the CI process.
|
|
3
|
-
* It replicates the local configuration requirements of a developer running `yarn` on their machine
|
|
4
|
-
* If run locally please do not commit your auth credentials
|
|
5
|
-
*/
|
|
6
|
-
const fs = require("fs");
|
|
7
|
-
const https = require("https");
|
|
8
|
-
const { exit } = require("process");
|
|
9
|
-
|
|
10
|
-
const { ARTIFACTORY_KEY, CI } = process.env;
|
|
11
|
-
|
|
12
|
-
// Check if we're in CI context, otherwise skip the process
|
|
13
|
-
if (!CI) {
|
|
14
|
-
exit();
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
const options = {
|
|
18
|
-
hostname: "sproutsocial.jfrog.io",
|
|
19
|
-
path: "/artifactory/api/npm/auth",
|
|
20
|
-
method: "GET",
|
|
21
|
-
headers: {
|
|
22
|
-
"X-JFrog-Art-Api": ARTIFACTORY_KEY,
|
|
23
|
-
},
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
const req = https.request(options, (res) => {
|
|
27
|
-
console.log(`statusCode: ${res.statusCode}`);
|
|
28
|
-
|
|
29
|
-
// Call our auth endpoint with environment credentials
|
|
30
|
-
res.on("data", (data) => {
|
|
31
|
-
// Writes out an .npmrc file with the response
|
|
32
|
-
fs.writeFile(".npmrc", data, (err) => {
|
|
33
|
-
if (err) console.log(err);
|
|
34
|
-
else {
|
|
35
|
-
console.log(".npmrc generated successfully!");
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
// Once the file is created we append the registry info
|
|
40
|
-
fs.appendFile(
|
|
41
|
-
".npmrc",
|
|
42
|
-
"registry=https://sproutsocial.jfrog.io/artifactory/api/npm/npm_virtual",
|
|
43
|
-
function (err) {
|
|
44
|
-
if (err) throw err;
|
|
45
|
-
console.log("Registry Config Added!");
|
|
46
|
-
}
|
|
47
|
-
);
|
|
48
|
-
|
|
49
|
-
// Finally, we set permissions for the file so that netlify recognizes it
|
|
50
|
-
fs.chmodSync(".npmrc", "0600");
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
req.on("error", (error) => {
|
|
55
|
-
console.error(error);
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
req.end();
|