@ornikar/repo-config-react 7.1.0-beta.0 → 7.1.0
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
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [7.1.0](https://github.com/ornikar/shared-configs/compare/@ornikar/repo-config-react@7.0.22...@ornikar/repo-config-react@7.1.0) (2022-04-13)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **repo-config-react:** storybook ci script [no issue] ([#691](https://github.com/ornikar/shared-configs/issues/691)) ([b5dd1d8](https://github.com/ornikar/shared-configs/commit/b5dd1d80b454dfa63b613a019401cc9435255a24))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [7.0.22](https://github.com/ornikar/shared-configs/compare/@ornikar/repo-config-react@7.0.21...@ornikar/repo-config-react@7.0.22) (2022-04-01)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @ornikar/repo-config-react
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const fetch = require('node-fetch');
|
|
3
|
+
import fetch from 'node-fetch';
|
|
6
4
|
|
|
7
5
|
const {
|
|
8
6
|
GITHUB_TOKEN,
|
|
9
7
|
CIRCLE_PROJECT_USERNAME: ORG,
|
|
10
8
|
CIRCLE_PROJECT_REPONAME: REPO,
|
|
11
|
-
|
|
12
|
-
CIRCLE_PROJECT_ID: PROJECT_ID,
|
|
9
|
+
CIRCLE_WORKFLOW_JOB_ID: WORKFLOW_JOB_ID,
|
|
13
10
|
} = process.env;
|
|
14
11
|
const PR_ID = process.env.CI_PULL_REQUEST.split('/').slice(-1)[0];
|
|
15
12
|
|
|
16
|
-
if (!
|
|
17
|
-
console.error('Missing process.env.
|
|
13
|
+
if (!WORKFLOW_JOB_ID) {
|
|
14
|
+
console.error('Missing process.env.CIRCLE_WORKFLOW_JOB_ID');
|
|
18
15
|
process.exit(1);
|
|
19
16
|
}
|
|
20
17
|
|
|
@@ -55,7 +52,7 @@ async function cleanComments() {
|
|
|
55
52
|
|
|
56
53
|
(async () => {
|
|
57
54
|
await cleanComments();
|
|
58
|
-
const lateOceanStorybookUrl = `https
|
|
55
|
+
const lateOceanStorybookUrl = `https://output.circle-artifacts.com/output/job/${WORKFLOW_JOB_ID}/artifacts/0/storybook-static/index.html`;
|
|
59
56
|
|
|
60
57
|
const body = `${PREFIX}\n- Late Ocean Theme: ${lateOceanStorybookUrl}`;
|
|
61
58
|
await fetch(prCommentsIssueUrl, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ornikar/repo-config-react",
|
|
3
|
-
"version": "7.1.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "🔧⚛️ react repo config",
|
|
5
5
|
"repository": "ornikar/shared-configs",
|
|
6
6
|
"license": "ISC",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"bin": {
|
|
14
|
-
"ornikar-ci-comment-pr": "./bin/ornikar-ci-comment-pr.
|
|
14
|
+
"ornikar-ci-comment-pr": "./bin/ornikar-ci-comment-pr.mjs"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@ornikar/repo-config": "^8.2.0",
|
|
@@ -19,5 +19,6 @@
|
|
|
19
19
|
"node-fetch": "^3.2.3",
|
|
20
20
|
"svgo": "^1.3.0",
|
|
21
21
|
"typed-css-modules": "0.7.0"
|
|
22
|
-
}
|
|
22
|
+
},
|
|
23
|
+
"gitHead": "82bc28ac8f0881a0adf2adfd170552f0e5b2c295"
|
|
23
24
|
}
|
package/.vscode/settings.json
DELETED