diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2021-06-01 18:28:46 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-06-01 20:40:33 +0300 |
commit | fb630b5a9af86c71602803297634ec291eeedee0 (patch) | |
tree | 4d87744623052ef7cb7c8c27b25400be338669c6 /docs | |
parent | 73633e566661f38d78a61faa1ab43919dc5696e6 (diff) |
chore: manage docs as a workspace
- Add `./docs` as a workspace
- Reinstate `./docs/package.json` to manage docs deps
- Ignore `docs/content` markdown source folder from published tarball
- Tweaked `make docs` to use `npm run` to run docs build step
- Tweaked "bundle and gitignore" script to ignore symlinks in nm folder
- Removed outdated `package.json` comment
Relates to: https://github.com/npm/statusboard/issues/362
PR-URL: https://github.com/npm/cli/pull/3342
Credit: @ruyadorno
Close: #3342
Reviewed-by: @wraithgar
Diffstat (limited to 'docs')
-rw-r--r-- | docs/package.json | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/package.json b/docs/package.json new file mode 100644 index 000000000..e48785bdb --- /dev/null +++ b/docs/package.json @@ -0,0 +1,19 @@ +{ + "name": "docs", + "description": "The npm cli documentation", + "version": "1.0.0", + "scripts": { + "build": "node dockhand" + }, + "repository": { + "type": "git", + "url": "https://github.com/npm/cli" + }, + "devDependencies": { + "@mdx-js/mdx": "^1.6.22", + "cmark-gfm": "^0.8.3", + "jsdom": "^16.4.0", + "marked-man": "^0.7.0", + "yaml": "^1.10.0" + } +} |