Closed mozfreddyb closed 2 years ago
:+1:
so after some reading and testing with npm, dependencies, git, github and submodules, i have a slightly different proposal, based on these ideas:
so my suggestion is to split into just two modules, one for just the basic lib and rules (basically what's in "common" today) and then everything else. modules should be named either:
scanjs-core
and scanjs
, orscanjs
and scanjs-tools
the basic lib part (i vote this to be named scanjs-core) should be included as a git submodule in the bigger one. both should be independently available for getting/using either from github or npm.
still open questions:
but i think the benefits outweigh the potential problems, of requiring users to independently track/download/maintain dependencies and possible confusion if we ever have dev and release channels..
what do you think @mozfreddyb and @pauljt ?
also, do we want to take that opportunity to transfer the official repo?
mozilla github policy states official repos should not be forks of personal repos.
This repo will remain the main repo for just the scanning, but we should move the web (
server.js
,client/
) and nodejs-specific bits (scanner.js
) to these repos:@zombie agreed to work on this as a first step to familiarize himself with the existing code.
This has been a concern for a while, but not a filed issue. Thanks to @sole, who suggested that :)