Browse Source

Updated the dependencies

tags/v14.0.0
Cédric Belin 7 months ago
parent
commit
6d07643fd1
11 changed files with 94 additions and 61 deletions
  1. +5
    -6
      README.md
  2. +20
    -0
      doc/about/license.md
  3. +2
    -3
      doc/about/see_also.md
  4. +0
    -42
      doc/mkdocs.yaml
  5. +2
    -2
      doc/usage.md
  6. +50
    -0
      etc/mkdocs.yaml
  7. +1
    -0
      etc/requirements.txt
  8. +0
    -1
      etc/typedoc.json
  9. +2
    -4
      gulpfile.cjs
  10. +6
    -3
      package.json
  11. +6
    -0
      readthedocs.yaml

+ 5
- 6
README.md View File

@@ -6,14 +6,13 @@ Check your [npm](https://www.npmjs.com) dependencies with the [David](https://da
> This library is packaged as [ECMAScript modules](https://nodejs.org/api/esm.html).

## Documentation
- [User guide](https://dev.belin.io/gulp-david)
- [API reference](https://dev.belin.io/gulp-david/api)
- [User guide](https://docs.belin.io/gulp-david)
- [API reference](https://api.belin.io/gulp-david)

## Development
- [Git repository](https://github.com/cedx/gulp-david)
- [GitHub package](https://github.com/cedx/gulp-david/packages)
- [Git repository](https://git.belin.io/cedx/gulp-david)
- [npm package](https://www.npmjs.com/package/@cedx/gulp-david)
- [Submit an issue](https://github.com/cedx/gulp-david/issues)
- [Submit an issue](https://git.belin.io/cedx/gulp-david/issues)

## License
[Gulp-David](https://dev.belin.io/gulp-david) is distributed under the MIT License.
[Gulp-David](https://docs.belin.io/gulp-david) is distributed under the MIT License.

+ 20
- 0
doc/about/license.md View File

@@ -0,0 +1,20 @@
# MIT License
Copyright © 2014 - 2020 Cédric Belin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

+ 2
- 3
doc/about/see_also.md View File

@@ -1,10 +1,9 @@
# See also

## Development
- [API reference](https://dev.belin.io/gulp-david/api)
- [GitHub package](https://github.com/cedx/gulp-david/packages)
- [API reference](https://api.belin.io/gulp-david)
- [npm package](https://www.npmjs.com/package/@cedx/gulp-david)
- [Submit an issue](https://github.com/cedx/gulp-david/issues)
- [Submit an issue](https://git.belin.io/cedx/gulp-david/issues)
- [Gulp API docs](https://gulpjs.com/docs/en/api/concepts)

## Testing


+ 0
- 42
doc/mkdocs.yaml View File

@@ -1,42 +0,0 @@
site_name: Gulp-David
site_description: Check your npm dependencies with the David plug-in for Gulp, the streaming build system.
site_author: Cédric Belin - cedric@belin.io
site_url: https://dev.belin.io/gulp-david

docs_dir: .
site_dir: ../www

repo_name: GitHub
repo_url: https://github.com/cedx/gulp-david
edit_uri: ''

copyright: Copyright © 2014 - 2020 Cédric Belin
google_analytics:
- !!python/object/apply:os.getenv [GOOGLE_ANALYTICS_ID]
- auto

extra:
social:
- {type: globe, link: 'https://belin.io'}
- {type: github, link: 'https://github.com/cedx'}
- {type: twitter, link: 'https://twitter.com/cedxbelin'}
- {type: linkedin, link: 'https://linkedin.com/in/cedxbelin'}

markdown_extensions:
- admonition
- codehilite
- meta

nav:
- Overview: index.md
- Installation: installation.md
- Usage: usage.md
- About:
- Changelog: about/changelog.md
- License: about/license.md
- See also: about/see_also.md

theme:
name: material
favicon: img/favicon.ico
palette: {primary: red, accent: red}

+ 2
- 2
doc/usage.md View File

@@ -82,7 +82,7 @@ gulp.task('checkDependencies', () =>
```

You can also replace this reporter by your own implementation.
Look at the source of the [built-in reporter](https://github.com/cedx/gulp-david/blob/master/src/reporter.ts) for a code sample.
Look at the source of the [built-in reporter](https://git.belin.io/cedx/gulp-david/src/branch/master/src/reporter.ts) for a code sample.

```js
import {david} from '@cedx/gulp-david';
@@ -127,4 +127,4 @@ gulp.task('updateDependencies', () =>

## Examples
You can find a more detailled sample in the `example` folder:
[Sample Gulp tasks](https://github.com/cedx/gulp-david/blob/master/example/gulpfile.js)
[Sample Gulp tasks](https://git.belin.io/cedx/gulp-david/src/branch/master/example/gulpfile.js)

+ 50
- 0
etc/mkdocs.yaml View File

@@ -0,0 +1,50 @@
site_name: Gulp-David
site_description: Check your npm dependencies with the David plug-in for Gulp, the streaming build system.
site_author: Cédric Belin - cedric@belin.io
site_url: https://docs.belin.io/gulp-david

docs_dir: ../doc
site_dir: ../www

repo_name: git.belin.io
repo_url: https://git.belin.io/cedx/gulp-david
edit_uri: ''

copyright: Copyright © 2014 - 2020 Cédric Belin
extra:
social:
- icon: fontawesome/solid/globe
link: 'https://belin.io'
- icon: fontawesome/brands/github
link: 'https://github.com/cedx'
- icon: fontawesome/brands/twitter
link: 'https://twitter.com/cedxbelin'
- icon: fontawesome/brands/linkedin
link: 'https://linkedin.com/in/cedxbelin'

markdown_extensions:
- admonition
- codehilite
- meta
- toc:
permalink: true

nav:
- Overview: index.md
- Installation: installation.md
- Usage: usage.md
- About:
- License: about/license.md
- See also: about/see_also.md

theme:
favicon: img/favicon.ico
features:
- instant
icon:
logo: fontawesome/solid/book-reader
repo: fontawesome/brands/git-alt
name: material
palette:
accent: red
primary: red

+ 1
- 0
etc/requirements.txt View File

@@ -0,0 +1 @@
mkdocs-material

+ 0
- 1
etc/typedoc.json View File

@@ -1,6 +1,5 @@
{
"excludePrivate": true,
"gaSite": "auto",
"gitRevision": "master",
"hideGenerator": true,
"mode": "file",


+ 2
- 4
gulpfile.cjs View File

@@ -30,10 +30,8 @@ task('deps', series('build', 'deps:import', 'deps:check'));

/** Builds the documentation. */
task('doc', async () => {
for (const path of ['CHANGELOG.md', 'LICENSE.md']) await promises.copyFile(path, `doc/about/${path.toLowerCase()}`);
await _exec('typedoc', ['--gaID', process.env.GOOGLE_ANALYTICS_ID, '--options', 'etc/typedoc.json']);
await _exec('mkdocs', ['build', '--config-file=doc/mkdocs.yaml']);
return del(['doc/about/changelog.md', 'doc/about/license.md', 'www/mkdocs.yaml']);
await _exec('typedoc', ['--options', 'etc/typedoc.json']);
return _exec('mkdocs', ['build', '--config-file=etc/mkdocs.yaml']);
});

/** Fixes the coding standards issues. */


+ 6
- 3
package.json View File

@@ -1,11 +1,10 @@
{
"bugs": "https://github.com/cedx/gulp-david/issues",
"bugs": "https://git.belin.io/cedx/gulp-david/issues",
"description": "David plug-in for Gulp, the streaming build system. Tells you when your npm dependencies are out of date.",
"homepage": "https://dev.belin.io/gulp-david",
"homepage": "https://docs.belin.io/gulp-david",
"license": "MIT",
"main": "lib/index.js",
"name": "@cedx/gulp-david",
"repository": "github:cedx/gulp-david",
"type": "module",
"types": "lib/index.d.ts",
"version": "13.2.0",
@@ -55,6 +54,10 @@
"peerDependencies": {
"gulp": ">=4.0.0"
},
"repository": {
"type": "git",
"url": "https://git.belin.io/cedx/gulp-david.git"
},
"scripts": {
"coverage": "gulp coverage",
"prepack": "gulp",


+ 6
- 0
readthedocs.yaml View File

@@ -0,0 +1,6 @@
version: 2
mkdocs:
configuration: etc/mkdocs.yaml
python:
install:
- requirements: etc/requirements.txt

Loading…
Cancel
Save