Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove lib-cov and outdated deps #2659

Merged
merged 1 commit into from Feb 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
@@ -1,8 +1,6 @@
css
lib-cov
testing
.DS_Store
/node_modules
coverage.html
lib-cov
.idea
1 change: 0 additions & 1 deletion .npmignore
Expand Up @@ -21,4 +21,3 @@ test/
graphics/

coverage.html
lib-cov
8 changes: 1 addition & 7 deletions Makefile
Expand Up @@ -19,12 +19,6 @@ TM_BUNDLE_DEST = $(shell $(DETERMINE_TEXTMATE_BUNDLE_PATH))
test:
@npm test

test-cov: lib-cov
@STYLUS_COV=1 npm run-script test-cov

lib-cov: lib
./node_modules/.bin/jscoverage $< $@

install-bundle:
mkdir -p "$(TM_BUNDLE_DEST)"
cp -fr "$(TM_BUNDLE)" "$(TM_BUNDLE_DEST)"
Expand All @@ -35,4 +29,4 @@ update-bundle:
benchmark:
@node bm.js

.PHONY: test install-bundle update-bundle benchmark test-cov
.PHONY: test install-bundle update-bundle benchmark
5 changes: 1 addition & 4 deletions index.js
@@ -1,4 +1 @@

module.exports = process.env.STYLUS_COV
? require('./lib-cov/stylus')
: require('./lib/stylus');
module.exports = require('./lib/stylus');
157 changes: 0 additions & 157 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Expand Up @@ -38,7 +38,6 @@
},
"devDependencies": {
"chai": "^4.3.6",
"jscoverage": "~0.6.0",
"mocha": "^9.2.0"
},
"bugs": {
Expand Down