-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6f2c851
commit 1c22130
Showing
13 changed files
with
8,219 additions
and
4,710 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,3 @@ insert_final_newline = true | |
|
||
[Makefile] | ||
indent_style = tab | ||
indent_size = 2 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/.vscode | ||
/node_modules | ||
/npm-debug.log* | ||
/package-lock.json | ||
/yarn-error.log | ||
/yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
audit=false | ||
fund=false | ||
package-lock=true | ||
save-exact=true | ||
update-notifier=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,41 @@ | ||
node_modules: yarn.lock | ||
@yarn -s --pure-lockfile | ||
node_modules: package-lock.json | ||
npm install --no-save | ||
@touch node_modules | ||
|
||
.PHONY: deps | ||
deps: node_modules | ||
|
||
test: node_modules | ||
yarn -s run eslint --color . | ||
yarn -s run jest --color | ||
|
||
unittest: node_modules | ||
yarn -s run jest --color --watchAll=true | ||
.PHONY: lint | ||
lint: node_modules | ||
npx eslint --color . | ||
|
||
coverage: node_modules | ||
yarn -s run jest --collectCoverage --coverageReporters text | ||
.PHONY: test | ||
test: node_modules | ||
NODE_OPTIONS="--experimental-vm-modules --no-warnings" npx jest --color | ||
|
||
.PHONY: publish | ||
publish: node_modules | ||
git push -u --tags origin master | ||
npm publish | ||
|
||
.PHONY: update | ||
update: node_modules | ||
yarn -s run updates -cu | ||
@rm yarn.lock | ||
@yarn -s | ||
npx updates -cu | ||
rm package-lock.json | ||
npm install | ||
@touch node_modules | ||
|
||
patch: node_modules test | ||
yarn -s run versions -C patch | ||
$(MAKE) --no-print-directory publish | ||
|
||
minor: node_modules test | ||
yarn -s run versions -C minor | ||
$(MAKE) --no-print-directory publish | ||
.PHONY: path | ||
patch: node_modules lint test | ||
npx versions -C patch | ||
@$(MAKE) --no-print-directory publish | ||
|
||
major: node_modules test | ||
yarn -s run versions -C major | ||
$(MAKE) --no-print-directory publish | ||
.PHONY: minor | ||
minor: node_modules lint test | ||
npx versions -C minor | ||
@$(MAKE) --no-print-directory publish | ||
|
||
.PHONY: deps test unittest coverage publish update patch minor major | ||
.PHONY: major | ||
major: node_modules lint test | ||
npx versions -C major | ||
@$(MAKE) --no-print-directory publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.