@generation/icons 1.1.7 → 1.1.8

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.
@@ -56,18 +56,21 @@ jobs:
56
56
  name: Build project in a minified and transpiled version
57
57
  command: npm run semantic-release
58
58
 
59
- build-gallery:
59
+ build_and_deploy_gallery:
60
60
  docker:
61
61
  - image: cimg/node:20.14.0
62
- working_directory: ~/repo/packages/demo
62
+ working_directory: ~/repo
63
63
  steps:
64
64
  - checkout
65
65
  - run:
66
66
  name: Install @generation/icons
67
- command: npm install @generation/icons@latest
68
- - run:
69
- name: Build gallery
70
- command: npm run build
67
+ command: cd packages/demo && npm install && npm install @generation/icons@latest && npm run build
68
+ - aws-s3/sync:
69
+ from: packages/demo/dist
70
+ to: 's3://icons.deployment.dev'
71
+ arguments: |
72
+ --acl public-read \
73
+ --cache-control "max-age=86400"
71
74
  - persist_to_workspace:
72
75
  root: ~/repo/packages/demo
73
76
  paths:
@@ -80,12 +83,7 @@ jobs:
80
83
  steps:
81
84
  - attach_workspace:
82
85
  at: "~/repo/packages/demo"
83
- - aws-s3/sync:
84
- from: dist
85
- to: 's3://icons.deployment.dev'
86
- arguments: |
87
- --acl public-read \
88
- --cache-control "max-age=86400"
86
+
89
87
 
90
88
  workflows:
91
89
  version: 2
@@ -103,17 +101,10 @@ workflows:
103
101
  branches:
104
102
  only:
105
103
  - master
106
- - build-gallery:
107
- requires:
108
- - release
109
- filters:
110
- branches:
111
- only:
112
- - master
113
- - deploy_to_dev:
104
+ - build_and_deploy_gallery:
114
105
  context: aws-creds
115
106
  requires:
116
- - build-gallery
107
+ - release
117
108
  filters:
118
109
  branches:
119
110
  only:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@generation/icons",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "SVG bases React icon components",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {