@generation/icons 1.1.6 → 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,26 +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
71
- - run:
72
- name: Commit and push changes to package.json
73
- command: |
74
- git config user.name "RogerGeneration"
75
- git config user.email "rogelio@generation.org"
76
- git add package.json
77
- git commit -m "chore(release): update package.json with latest @generation/icons"
78
- git push -q https://${GITHUB_TOKEN}@github.com:digital-generation/generation-icons.git master
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"
79
74
  - persist_to_workspace:
80
75
  root: ~/repo/packages/demo
81
76
  paths:
@@ -88,12 +83,7 @@ jobs:
88
83
  steps:
89
84
  - attach_workspace:
90
85
  at: "~/repo/packages/demo"
91
- - aws-s3/sync:
92
- from: dist
93
- to: 's3://icons.deployment.dev'
94
- arguments: |
95
- --acl public-read \
96
- --cache-control "max-age=86400"
86
+
97
87
 
98
88
  workflows:
99
89
  version: 2
@@ -111,7 +101,7 @@ workflows:
111
101
  branches:
112
102
  only:
113
103
  - master
114
- - build-gallery:
104
+ - build_and_deploy_gallery:
115
105
  context: aws-creds
116
106
  requires:
117
107
  - release
@@ -119,11 +109,3 @@ workflows:
119
109
  branches:
120
110
  only:
121
111
  - master
122
- - deploy_to_dev:
123
- context: aws-creds
124
- requires:
125
- - build-gallery
126
- filters:
127
- branches:
128
- only:
129
- - master
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@generation/icons",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "description": "SVG bases React icon components",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {