;; Copyright 2018 swedebugia (define-module (guix import npm-blacklist) #:export (blacklist)) ;; Many of these are already in debian. (define blacklist-benchmark '( "matcha" )) (define blacklist-ci '( ;; From underscore: "coveralls" ;is in debian )) (define blacklist-complex ;; Complex packages we should not begin with '( ;; From debian wiki /Javascript: ;; Packages used to transform code written for nodejs to run in ;; the browser: "webpack" "rollup" "browserify" ;This can be replaced by one ;of the above. ;; Other complex packages not yet in debian: "electron" "statsd" "vega" "grunt-release" "lineman" "lineman-angular" "lerna" "openlayers" "openpgp" "yarnpkg" "wekan" "etherpad-lite" "meteor" )) (define blacklist-deprecated '( ;; From debian wiki: "keybase" )) (define blacklist-doc '( ;; From underscore: "docco" ;; From mocha: "jsdoc" "markdown-toc")) (define blacklist-lint '( ;; From underscore: "eslint" ;; From mocha: "eslint-config-prettier" "eslint-config-semistandard" "eslint-config-standard" "eslint-plugin-import" "eslint-plugin-node" "eslint-plugin-prettier" "eslint-plugin-promise" "eslint-plugin-standard" "lint-staged" "markdownlint-cli" "prettier-eslint-cli" ;;From yargs "standard" ;linter & automatic code fixer "standard-version" ;Automate versioning and CHANGELOG generation ;;From tap "jscs" ;JavaScript Code Style checker ;; From nsp "eslint-config-nodesecurity" ;; From "@ljharb/eslint-config" ;; From eslint-config "editorconfig-tools" ;A tool to verify ;; From requirejs "jshint" ;; from path-is-absolute "xo" ;; from glob "tick" ;; from parser5 "husky" ;; video.js "tsml" ;; callsites "tsd-check" )) (define blacklist-grunt '( ;; From tap: "grunt" ;The JavaScript Task Runner - is in ;debian "grunt-contrib-concat" "grunt-contrib-uglify" ;; From jquery "grunt-compare-size" )) (define blacklist-management '( ;; From parser5: "lerna")) (define blacklist-test '( ;; From underscore: "karma" "karma-qunit" "karma-sauce-launcher" "nyc" "qunit-cli" "qunit" ;; From yargs "mocha" ;is in debian "yargs-test-extends" "chai" ;Chai is an assertion library. ;; From commander "sinon" ;Test spies, stubs and mocks ;; From nsp "code" ;assertion, fork of chai ;; From minimist "covert" ;code coverage command "tape" ;tap-producing test harness "tap" ;Test-Anything-Protocol ;library "lab" ;Node.js test framework ;; From nsp "mock-fs" ;; From many :) "nyc" ;istanbul coverage, testing ;; from is-wsl "proxyquire" ;; From github search "test" javascript, sort by stars "forking-tap" "bogota" "faucet" "gremlins" "jest" "redux-mock-store" "webdriverio" "ava" "enzyme" "testem" "protractor" "testcafe" "test262" "storybook" "jasmine" "volkswagen" "nightwatch" "supertest" "istanbul" "sizzy" "zombie" "PhantomCSS" )) (define blacklist ;; Combine blacklists into one. (append blacklist-benchmark blacklist-ci blacklist-complex blacklist-deprecated blacklist-doc blacklist-lint blacklist-management blacklist-grunt blacklist-test)) (define keyword-blacklist ;; Blacklist based on description or keywords '("assert" "assertion" "check" "test" "testing" "mock" "coverage" "lint" "linter" "security")) ;; Debugging ;; (format (current-error-port) "Blacklisted: ~a \n" blacklist) ;; (force-output) ;; (format (current-error-port) "Total: ~a packages blacklisted \n" (length blacklist))