Skip to content

Commit 216242e

Browse files
authored
Merge pull request #98 from haensl/97
#97: Update dependencies.
2 parents f50cc69 + 67d7eb7 commit 216242e

File tree

4 files changed

+1916
-1304
lines changed

4 files changed

+1916
-1304
lines changed

.circleci/config.yml

Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,15 @@ commands:
4646
steps:
4747
- checkout
4848
- restore_cache:
49-
keys: hooks-dependencies-{{ checksum "package.json" }}
49+
keys:
50+
- hooks-dependencies-{{ checksum "package-lock.json" }}
5051
- run:
5152
name: install dependencies
5253
command: npm i
5354
- save_cache:
5455
paths:
5556
- node_modules
56-
key: hooks-dependencies-{{ checksum "package.json" }}
57+
key: hooks-dependencies-{{ checksum "package-lock.json" }}
5758
- extract-versions
5859

5960
create-test-project:
@@ -69,6 +70,7 @@ commands:
6970
command: |
7071
mkdir << parameters.project_name >>
7172
cd << parameters.project_name >> && npm init -y
73+
7274
bundle-test-setup:
7375
steps:
7476
- attach_workspace:
@@ -79,18 +81,6 @@ commands:
7981
working-directory: /tmp/test-app
8082
command: |
8183
npm i -S ~/hooks
82-
package-information:
83-
steps:
84-
- run:
85-
name: install tree
86-
command: sudo apt-get -y install tree
87-
- run:
88-
name: gather bundle information
89-
command: |
90-
npm info @haensl/react-hooks@${VERSION} > ./bundle.info
91-
tree -s node_modules/@haensl/react-hooks >> ./bundle.info
92-
- store_artifacts:
93-
path: bundle.info
9484
9585
workflows:
9686
version: 2
@@ -129,7 +119,7 @@ workflows:
129119
jobs:
130120
lint:
131121
docker:
132-
- image: circleci/node:lts
122+
- image: cimg/node:lts
133123
working_directory: ~/hooks
134124
steps:
135125
- init
@@ -145,7 +135,7 @@ jobs:
145135

146136
test:
147137
docker:
148-
- image: circleci/node:lts
138+
- image: cimg/node:lts
149139
working_directory: ~/hooks
150140
steps:
151141
- init
@@ -158,7 +148,7 @@ jobs:
158148

159149
bundle:
160150
docker:
161-
- image: circleci/node:lts
151+
- image: cimg/node:lts
162152
working_directory: ~/hooks
163153
steps:
164154
- init
@@ -193,7 +183,7 @@ jobs:
193183

194184
bundle-test-cjs-js:
195185
docker:
196-
- image: circleci/node:lts
186+
- image: cimg/node:lts
197187
steps:
198188
- init
199189
- attach_workspace:
@@ -208,7 +198,7 @@ jobs:
208198
- restore_cache:
209199
working_directory: /tmp/test-app
210200
keys:
211-
- hooks-cjs-module-test-dependencies-{{ checksum "package.json" }}
201+
- hooks-cjs-module-test-dependencies-{{ checksum "package-lock.json" }}
212202
- run:
213203
name: install dependencies
214204
working_directory: /tmp/test-app
@@ -222,7 +212,7 @@ jobs:
222212
working_directory: /tmp/test-app
223213
paths:
224214
- node_modules
225-
key: hooks-cjs-module-test-dependencies-{{ checksum "package.json" }}
215+
key: hooks-cjs-module-test-dependencies-{{ checksum "package-lock.json" }}
226216
- run:
227217
name: test cjs.js module
228218
working_directory: /tmp/test-app
@@ -234,7 +224,7 @@ jobs:
234224

235225
bundle-test-esm-js:
236226
docker:
237-
- image: circleci/node:lts
227+
- image: cimg/node:lts
238228
steps:
239229
- init
240230
- attach_workspace:
@@ -268,7 +258,7 @@ jobs:
268258
269259
ensure-versioned-correctly:
270260
docker:
271-
- image: circleci/node:lts
261+
- image: cimg/node:lts
272262
working_directory: ~/hooks
273263
steps:
274264
- init
@@ -299,7 +289,7 @@ jobs:
299289
300290
publish:
301291
docker:
302-
- image: circleci/node:lts
292+
- image: cimg/node:lts
303293
working_directory: ~/hooks
304294
steps:
305295
- init
@@ -314,7 +304,7 @@ jobs:
314304

315305
package-test-esm-js:
316306
docker:
317-
- image: circleci/node:lts
307+
- image: cimg/node:lts
318308
steps:
319309
- init
320310
- attach_workspace:
@@ -347,7 +337,6 @@ jobs:
347337
- store_test_results:
348338
working_directory: /tmp/esm-test
349339
path: test-results
350-
- package-information
351340

352341
publish-github-release:
353342
docker:

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 1.13.1
2+
* [#97: Update dependencies.](https://github.com/haensl/hooks/issues/97)
3+
14
## 1.13.0
25
* [#95: Add `useLang` hook.](https://github.com/haensl/hooks/issues/95)
36
* Update dependencies.

0 commit comments

Comments
 (0)