Skip to content

Commit

Permalink
Version 1.7.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
igoramadas committed May 5, 2023
1 parent a0a653c commit 355856b
Show file tree
Hide file tree
Showing 7 changed files with 538 additions and 3,426 deletions.
6 changes: 6 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog for JAUL

1.7.0
=====
* Fixed bugs with network's getSingleIPv4() and getSingleIPv6().
* Code refactoring.
* Updated dependencies.

1.6.2
=====
* The data.replaceTags() should now accept a direct replacement value as the second argument.
Expand Down
48 changes: 16 additions & 32 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,43 +1,27 @@
COVERALLS :=./node_modules/coveralls/bin/coveralls.js
MOCHA:= ./node_modules/.bin/mocha
MOCHAEXEC:= ./node_modules/.bin/_mocha
ISTANBUL:= ./node_modules/.bin/nyc
TYPEDOC:= ./node_modules/.bin/typedoc
TSC:= ./node_modules/.bin/tsc
# MAKE JAUL

build:
$(TSC)

test:
$(TSC)
@NODE_ENV=test $(MOCHA) --trace-warnings --exit -u tdd -R spec
all: clean update build docs

test-cover:
$(TSC)
echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
@NODE_ENV=test $(ISTANBUL) $(MOCHAEXEC) --exit --report lcovonly -R spec && \
cat ./coverage/lcov.info | $(COVERALLS) || true
build:
npm run build

cover:
$(TSC)
@NODE_ENV=test $(ISTANBUL) $(MOCHAEXEC) --exit -R spec ./test/*.js
clean:
npm run clean

docs:
$(TYPEDOC)
cp CNAME docs/
cp .nojekyll docs/

clean:
rm -rf ./lib
rm -rf ./node_modules
rm -f package-lock.json
npm run docs

publish:
npm publish

test:
npm test

update:
-ncu -u --target minor
-npm install
$(TSC)
-ncu -u -x chalk,get-port
-rm -rf ./node_modules
-rm -f package-lock.json
npm install
npm run build

.PHONY: docs test
.PHONY: docs
Loading

0 comments on commit 355856b

Please sign in to comment.