From 11e16add6504317aba6253ddca7f188fd2d0563f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Gu=CC=88hne?= Date: Tue, 7 Jul 2020 10:34:06 +0200 Subject: [PATCH] fix(package): added missing packages --- azure-pipelines.yml | 104 ++++++++++++++++++++++++-------------------- package.json | 3 +- 2 files changed, 60 insertions(+), 47 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b493ab790..980bf55f4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,54 +4,66 @@ # https://docs.microsoft.com/azure/devops/pipelines/languages/javascript trigger: -- next + - next pool: vmImage: 'ubuntu-latest' steps: -- task: NodeTool@0 - inputs: - versionSpec: '10.x' - displayName: 'Install Node.js' -- script: | - npm install - npm run semantic-release - npm run build - npm run build:storybook - displayName: 'npm build storybook and publish' - -- task: Bash@3 - inputs: - targetType: 'inline' - script: | - PACKAGE_VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json) - echo "Package version" - echo $PACKAGE_VERSION - NPM_VERSION=${PACKAGE_VERSION//./-} - echo $NPM_VERSION - echo '##vso[task.setvariable variable=NPM_VAR]'$NPM_VERSION - -- task: S3Upload@1 - inputs: - awsCredentials: 'WFP UI-Kit' - regionName: 'eu-west-1' - bucketName: 'uikit.wfp.org' - sourceFolder: './dist' - globExpressions: '**' - targetFolder: "dist$(NPM_VAR)" - createBucket: true - logRequest: true - logResponse: true - -- task: S3Upload@1 - inputs: - awsCredentials: 'WFP UI-Kit' - regionName: 'eu-west-1' - bucketName: 'uikit.wfp.org' - sourceFolder: './docs' - globExpressions: '**' - targetFolder: "docs" - createBucket: true - logRequest: true - logResponse: true + - task: NodeTool@0 + inputs: + versionSpec: '10.x' + displayName: 'Install Node.js' + - script: | + npm install + npm run semantic-release + npm run build + npm run build:storybook + displayName: 'npm install' + + - script: | + npm run semantic-release + displayName: 'npm run semantic-release' + + - script: | + npm run build + displayName: 'npm run build' + + - script: | + npm run build:storybook + displayName: 'npm run build:storybook' + + - task: Bash@3 + inputs: + targetType: 'inline' + script: | + PACKAGE_VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json) + echo "Package version" + echo $PACKAGE_VERSION + NPM_VERSION=${PACKAGE_VERSION//./-} + echo $NPM_VERSION + echo '##vso[task.setvariable variable=NPM_VAR]'$NPM_VERSION + + - task: S3Upload@1 + inputs: + awsCredentials: 'WFP UI-Kit' + regionName: 'eu-west-1' + bucketName: 'uikit.wfp.org' + sourceFolder: './dist' + globExpressions: '**' + targetFolder: 'dist$(NPM_VAR)' + createBucket: true + logRequest: true + logResponse: true + + - task: S3Upload@1 + inputs: + awsCredentials: 'WFP UI-Kit' + regionName: 'eu-west-1' + bucketName: 'uikit.wfp.org' + sourceFolder: './docs' + globExpressions: '**' + targetFolder: 'docs' + createBucket: true + logRequest: true + logResponse: true diff --git a/package.json b/package.json index 64ca80e00..b8c0bc06b 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wfp/ui", - "version": "0.0.0-development", + "version": "1.5.0", "description": "WFP UI Kit Next", "license": "Apache-2", "main": "dist/index.js", @@ -147,6 +147,7 @@ "@storybook/react": "^6.0.0-beta.39", "@storybook/theming": "^6.0.0-beta.39", "@tippy.js/react": "^3.1.1", + "@wfp/icons": "^0.0.82", "add": "^2.0.6", "all-contributors-cli": "^6.14.1", "autoprefixer": "^9.7.6",