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 diff --git a/package.json b/package.json index 24953500..d17cf5d6 100644 --- a/package.json +++ b/package.json @@ -22,16 +22,16 @@ }, "scripts": { "build": "npm run clean && npm run build:dev && npm run build:prod", - "build:dev": "NODE_ENV=development ./node_modules/.bin/webpack --env=development --progress --profile --colors --display-optimization-bailout", + "build:dev": "./node_modules/.bin/webpack --env=development --progress --profile --colors --display-optimization-bailout", "build:dev:watch": "npm run clean && ./node_modules/.bin/webpack --env=development --progress --profile --colors --watch --display-optimization-bailout", - "build:prod": "NODE_ENV=production ./node_modules/.bin/webpack --env=production --progress --profile --colors --display-optimization-bailout", + "build:prod": "./node_modules/.bin/webpack --env=production --progress --profile --colors --display-optimization-bailout", "clean": "rimraf dist", "jest": "jest --no-cache --maxWorkers=4 --config config/jest/default.js", "lint": "npm run lint:js", "lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .", "test": "npm run lint && npm run jest" }, - "version": "0.11.0", + "version": "1000.6.3", "dependencies": { "auth0-js": "^6.8.4", "config": "^3.2.0", diff --git a/src/actions/lookup.js b/src/actions/lookup.js index c2a0d928..1ca05121 100644 --- a/src/actions/lookup.js +++ b/src/actions/lookup.js @@ -20,8 +20,13 @@ function getSkillTagsInit() {} */ function getSkillTagsDone() { const params = { - domain: 'SKILLS', - status: 'APPROVED', + filter: { + domain: 'SKILLS', + status: 'APPROVED', + }, + limit: { + limit: 1000, + }, }; return getService().getTags(params); } diff --git a/src/services/lookup.js b/src/services/lookup.js index 408f1384..039ffcc6 100644 --- a/src/services/lookup.js +++ b/src/services/lookup.js @@ -25,7 +25,7 @@ class LookupService { * @return {Promise} Resolves to the tags. */ async getTags(params) { - const res = await this.private.api.get(`/tags/?${qs.stringify(params)}`); + const res = await this.private.api.get(`/tags/?filter=${encodeURIComponent(qs.stringify(params.filter))}&${qs.stringify(params.limit)}`); return getApiResponsePayload(res); }