File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 35
35
test :
36
36
./.ci/run-test.sh
37
37
38
+ # For local dev, setup each logger to use the local helpers, rather than
39
+ # a version published to npm. Need to be careful to not *push* with that
40
+ # tweak to each package.json.
41
+ .PHONY : install-local-helpers undo-install-local-helpers
42
+ install-local-helpers :
43
+ (cd loggers/winston && npm install ../../helpers)
44
+ (cd loggers/morgan && npm install ../../helpers)
45
+ (cd loggers/pino && npm install ../../helpers)
46
+ undo-install-local-helpers :
47
+ export HELPERS_VER =$(shell cd helpers && npm info . version) && \
48
+ (cd loggers/winston && npm install @elastic/ecs-helpers@v$$HELPERS_VER) && \
49
+ (cd loggers/morgan && npm install @elastic/ecs-helpers@v$$HELPERS_VER) && \
50
+ (cd loggers/pino && npm install @elastic/ecs-helpers@v$$HELPERS_VER)
51
+
38
52
# Build and open the rendered docs for testing.
39
53
#
40
54
# Requirements:
You can’t perform that action at this time.
0 commit comments