From a6fb1955e3710784e639f46d13b0466640553137 Mon Sep 17 00:00:00 2001 From: "Luiz R. Rodrigues" Date: Mon, 28 Sep 2020 16:52:37 -0300 Subject: [PATCH 1/3] utils/tc - Added CHALLENGE_STATUS --- __tests__/__snapshots__/index.js.snap | 6 ++++++ src/utils/tc.js | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/__tests__/__snapshots__/index.js.snap b/__tests__/__snapshots__/index.js.snap index d8bdd649..e518ab25 100644 --- a/__tests__/__snapshots__/index.js.snap +++ b/__tests__/__snapshots__/index.js.snap @@ -371,6 +371,12 @@ Object { "processMMSubmissions": [Function], }, "tc": Object { + "CHALLENGE_STATUS": Object { + "ACTIVE": "Active", + "CANCELLED": "Cancelled", + "COMPLETED": "Completed", + "DRAFT": "Draft", + }, "COMPETITION_TRACKS": Object { "DATA_SCIENCE": "Data Science", "DESIGN": "Design", diff --git a/src/utils/tc.js b/src/utils/tc.js index ca97ace3..4ea44255 100644 --- a/src/utils/tc.js +++ b/src/utils/tc.js @@ -31,6 +31,16 @@ export const OLD_SUBTRACKS = { TESTING_COMPETITION: 'TESTING_COMPETITION', }; +/* + * Challenge Status + */ +export const CHALLENGE_STATUS = { + ACTIVE: 'Active', + CANCELLED: 'Cancelled', + COMPLETED: 'Completed', + DRAFT: 'Draft', +}; + /** * Review Opportunity types */ From 148f3500b3c7d909879caa4fd9b6ebe28777a5e6 Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Mon, 28 Sep 2020 17:50:55 -0300 Subject: [PATCH 2/3] ci: added dist tag Isuse: https://github.com/topcoder-platform/community-app/issues/4948 PRs: https://github.com/topcoder-platform/community-app/pull/5013 https://github.com/topcoder-platform/topcoder-react-lib/pull/262 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0e161844..e8eac28e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,7 +28,7 @@ jobs: - attach_workspace: at: . - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc - - run: npm publish + - run: npm publish --tag test-release # dont change anything workflows: version: 2 From 29cfc284e288eafb020d643a6a3776d440ce0447 Mon Sep 17 00:00:00 2001 From: Luiz Ricardo Rodrigues Date: Mon, 28 Sep 2020 17:51:53 -0300 Subject: [PATCH 3/3] fix: for issue #4948 Issue: https://github.com/topcoder-platform/community-app/issues/4948 PRs: https://github.com/topcoder-platform/community-app/pull/5013 https://github.com/topcoder-platform/topcoder-react-lib/pull/262 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cc678ced..69b8bcbe 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "1.0.6", + "version": "1000.22.12", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0",