Skip to content

Commit

Permalink
use local submodules except for necessary branches
Browse files Browse the repository at this point in the history
The submodules are first and foremost for getting at the documentation
of the various plugins, and for being able to edit that documentation so
as to be able to push changes, but we can also use the code in them for
bit-docs as plugins by use of file: paths, so to avoid remote npm.

For those plugin repos that have necessary branches that have not yet
been merged into master, we pull from GitHub instead of checking out
that branch in the local submodule so as to leave the submodule
available for the explicit purpose of editing documentation.

If the necessary branches were still in development, we could clone them
locally anywhere and point the file: to that location as needed, thus
having one copy of the plugin repo for editing documentation and another
for developing the code of the plugin.
  • Loading branch information
leoj3n committed Apr 10, 2017
1 parent 866aa43 commit 7e93e50
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"bit-docs": "bit-docs/bit-docs",
"bit-docs": "bit-docs/bit-docs#file-pathed-deps",
"gh-pages": "^0.12.0"
},
"bit-docs": {
"dependencies": {
"bit-docs-dev": "bit-docs/bit-docs-dev",
"bit-docs-generate-html": "bit-docs/bit-docs-generate-html",
"bit-docs-glob-finder": "bit-docs/bit-docs-glob-finder",
"bit-docs-html-toc": "bit-docs/bit-docs-html-toc",
"bit-docs-dev": "file:docs/modules/bit-docs-dev",
"bit-docs-generate-html": "bit-docs/bit-docs-generate-html#file-pathed-deps",
"bit-docs-glob-finder": "file:docs/modules/bit-docs-glob-finder",
"bit-docs-html-toc": "file:docs/modules/bit-docs-html-toc",
"bit-docs-js": "bit-docs/bit-docs-js#remove-depend",
"bit-docs-prettify": "bit-docs/bit-docs-prettify",
"bit-docs-html-highlight-line": "bit-docs/bit-docs-html-highlight-line",
"bit-docs-process-mustache": "bit-docs/bit-docs-process-mustache",
"bit-docs-tag-demo": "bit-docs/bit-docs-tag-demo",
"bit-docs-tag-sourceref": "bit-docs/bit-docs-tag-sourceref"
"bit-docs-prettify": "file:docs/modules/bit-docs-prettify",
"bit-docs-html-highlight-line": "file:docs/modules/bit-docs-html-highlight-line",
"bit-docs-process-mustache": "file:docs/modules/bit-docs-process-mustache",
"bit-docs-tag-demo": "file:docs/modules/bit-docs-tag-demo",
"bit-docs-tag-sourceref": "file:docs/modules/bit-docs-tag-sourceref"
},
"glob": {
"pattern": "docs/**/*.{js,md,mustache}",
Expand Down

0 comments on commit 7e93e50

Please sign in to comment.