Skip to content

Commit 11e16ad

Browse files
committed
fix(package): added missing packages
1 parent b89e07a commit 11e16ad

2 files changed

Lines changed: 60 additions & 47 deletions

File tree

azure-pipelines.yml

Lines changed: 58 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -4,54 +4,66 @@
44
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
55

66
trigger:
7-
- next
7+
- next
88

99
pool:
1010
vmImage: 'ubuntu-latest'
1111

1212
steps:
13-
- task: NodeTool@0
14-
inputs:
15-
versionSpec: '10.x'
16-
displayName: 'Install Node.js'
17-
- script: |
18-
npm install
19-
npm run semantic-release
20-
npm run build
21-
npm run build:storybook
22-
displayName: 'npm build storybook and publish'
23-
24-
- task: Bash@3
25-
inputs:
26-
targetType: 'inline'
27-
script: |
28-
PACKAGE_VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json)
29-
echo "Package version"
30-
echo $PACKAGE_VERSION
31-
NPM_VERSION=${PACKAGE_VERSION//./-}
32-
echo $NPM_VERSION
33-
echo '##vso[task.setvariable variable=NPM_VAR]'$NPM_VERSION
34-
35-
- task: S3Upload@1
36-
inputs:
37-
awsCredentials: 'WFP UI-Kit'
38-
regionName: 'eu-west-1'
39-
bucketName: 'uikit.wfp.org'
40-
sourceFolder: './dist'
41-
globExpressions: '**'
42-
targetFolder: "dist$(NPM_VAR)"
43-
createBucket: true
44-
logRequest: true
45-
logResponse: true
46-
47-
- task: S3Upload@1
48-
inputs:
49-
awsCredentials: 'WFP UI-Kit'
50-
regionName: 'eu-west-1'
51-
bucketName: 'uikit.wfp.org'
52-
sourceFolder: './docs'
53-
globExpressions: '**'
54-
targetFolder: "docs"
55-
createBucket: true
56-
logRequest: true
57-
logResponse: true
13+
- task: NodeTool@0
14+
inputs:
15+
versionSpec: '10.x'
16+
displayName: 'Install Node.js'
17+
- script: |
18+
npm install
19+
npm run semantic-release
20+
npm run build
21+
npm run build:storybook
22+
displayName: 'npm install'
23+
24+
- script: |
25+
npm run semantic-release
26+
displayName: 'npm run semantic-release'
27+
28+
- script: |
29+
npm run build
30+
displayName: 'npm run build'
31+
32+
- script: |
33+
npm run build:storybook
34+
displayName: 'npm run build:storybook'
35+
36+
- task: Bash@3
37+
inputs:
38+
targetType: 'inline'
39+
script: |
40+
PACKAGE_VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json)
41+
echo "Package version"
42+
echo $PACKAGE_VERSION
43+
NPM_VERSION=${PACKAGE_VERSION//./-}
44+
echo $NPM_VERSION
45+
echo '##vso[task.setvariable variable=NPM_VAR]'$NPM_VERSION
46+
47+
- task: S3Upload@1
48+
inputs:
49+
awsCredentials: 'WFP UI-Kit'
50+
regionName: 'eu-west-1'
51+
bucketName: 'uikit.wfp.org'
52+
sourceFolder: './dist'
53+
globExpressions: '**'
54+
targetFolder: 'dist$(NPM_VAR)'
55+
createBucket: true
56+
logRequest: true
57+
logResponse: true
58+
59+
- task: S3Upload@1
60+
inputs:
61+
awsCredentials: 'WFP UI-Kit'
62+
regionName: 'eu-west-1'
63+
bucketName: 'uikit.wfp.org'
64+
sourceFolder: './docs'
65+
globExpressions: '**'
66+
targetFolder: 'docs'
67+
createBucket: true
68+
logRequest: true
69+
logResponse: true

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wfp/ui",
3-
"version": "0.0.0-development",
3+
"version": "1.5.0",
44
"description": "WFP UI Kit Next",
55
"license": "Apache-2",
66
"main": "dist/index.js",
@@ -147,6 +147,7 @@
147147
"@storybook/react": "^6.0.0-beta.39",
148148
"@storybook/theming": "^6.0.0-beta.39",
149149
"@tippy.js/react": "^3.1.1",
150+
"@wfp/icons": "^0.0.82",
150151
"add": "^2.0.6",
151152
"all-contributors-cli": "^6.14.1",
152153
"autoprefixer": "^9.7.6",

0 commit comments

Comments
 (0)