Skip to content

Commit 5a9d4f0

Browse files
authoredJan 7, 2022
Merge pull request #14 from jashgala/jashgala/remove-gulp-readme-script
Remove script for auto-generating Readme contents
2 parents 6747563 + 80a5a19 commit 5a9d4f0

File tree

6 files changed

+2
-313
lines changed

6 files changed

+2
-313
lines changed
 

‎CONTRIBUTING.md

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ browsers. Keep this in mind, when modifying and/or extending the sources.
1414
## Automation
1515

1616
* The project is being built by [gulp](http://gulpjs.com/) (see [gulpfile](build/gulpfile.js)), destination directory is [build/build](build/build)
17-
* The documentation is auto-generated, based on [build/src](build/src) markdown sources. If you modify the main [Readme.md](Readme.md) file, the Pull Request will be rejected, since it will be overwritten by the upcoming `gulp` execution
1817
* The tests are executing `mocha` against all js contents of [test](test) directory
1918

2019
## Architecture

‎Readme.md

-8
Original file line numberDiff line numberDiff line change
@@ -416,11 +416,3 @@ npm run browser
416416
```shell
417417
npm run jsdoc
418418
```
419-
420-
### Building ReadMe
421-
422-
The `ReadMe.md` file for `faker.js` is automatically generated and should not be modified directly. All updates to `ReadMe.md` should be performed in `./build/src/docs.md` and then the build script should be run.
423-
424-
```shell
425-
npm run readme
426-
```

‎build/gulp-tasks/readme.js

-46
This file was deleted.

‎build/src/docs.md

-253
This file was deleted.

‎gulpfile.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
function defaultTask(cb) {
22
// place code for your default task here
33
console.log('please run gulp --tasks to see available tasks for faker.js')
4-
console.log('you can then try running a command like `gulp readme`')
4+
console.log('you can then try running a command like `gulp jsdoc`')
55
cb();
66
}
77

88
exports.browser = require('./build/gulp-tasks/browser');
99
exports.jsdoc = require('./build/gulp-tasks/jsdoc');
10-
exports.readme = require('./build/gulp-tasks/readme');
1110

1211
exports.default = defaultTask

‎package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"scripts": {
1111
"browser": "./node_modules/.bin/gulp browser",
1212
"jsdoc": "./node_modules/.bin/gulp jsdoc",
13-
"readme": "./node_modules/.bin/gulp readme",
1413
"lint": "node_modules/.bin/jshint ./lib --config ./.jshintrc",
1514
"test": "node_modules/.bin/mocha test/*.*.js",
1615
"coverage": "nyc report --reporter=text-lcov | coveralls"
@@ -65,6 +64,5 @@
6564
},
6665
"license": "MIT",
6766
"main": "index.js",
68-
"types": "index.d.ts",
69-
"dependencies": {}
67+
"types": "index.d.ts"
7068
}

0 commit comments

Comments
 (0)
Please sign in to comment.