Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
007bde7
update metalsmith sass
ayushmanchhabra Jan 14, 2023
35ebf86
update babel preset react, metalsmith-babel
ayushmanchhabra Jan 14, 2023
23602a2
update bower
ayushmanchhabra Jan 14, 2023
01bf0dd
update gulp
ayushmanchhabra Jan 14, 2023
537c527
remove gulp run
ayushmanchhabra Jan 14, 2023
6abc110
update handlebars
ayushmanchhabra Jan 14, 2023
909584e
remove redundant archived dir
ayushmanchhabra Jan 14, 2023
7415cca
remove redundant marked
ayushmanchhabra Jan 14, 2023
80a4b97
update metalsmith
ayushmanchhabra Jan 14, 2023
42e22d7
update metalsmith collections
ayushmanchhabra Jan 14, 2023
f91d296
update metalsmith feed
ayushmanchhabra Jan 14, 2023
7bc4289
pin metalsmith-in-place
ayushmanchhabra Jan 14, 2023
d7ea489
pin metalsmith layouts
ayushmanchhabra Jan 14, 2023
1614641
update metalsmith markdown
ayushmanchhabra Jan 14, 2023
4ce89e2
update metalsmith metadata
ayushmanchhabra Jan 14, 2023
9fa4a3d
update metalsmith permalinks
ayushmanchhabra Jan 14, 2023
e1dacd5
update metalsmith prism
ayushmanchhabra Jan 14, 2023
033ac0e
update st
ayushmanchhabra Jan 14, 2023
4e41fdd
Merge branch 'nwjs:master' into deps
ayushmanchhabra Jan 14, 2023
c86abd2
add dependabot
ayushmanchhabra Jan 14, 2023
6f15ff3
update node version in readme
ayushmanchhabra Jan 14, 2023
7238c67
Revert "remove redundant archived dir"
ayushmanchhabra Jan 18, 2023
5532c2d
consistent coding standard
ayushmanchhabra Jan 18, 2023
7ff939e
enforce minimum suppported Node version in `package.json`
ayushmanchhabra Jan 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

### Prerequisties:

* [Node.js 5 or above](http://nodejs.org) (with npm)
* [Node.js 18 or above](http://nodejs.org) (with npm)

### Instructions

Expand Down
16 changes: 8 additions & 8 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@

var path = require('path');
var gulp = require('gulp');
var run = require('gulp-run');
var st = require('st');
var http = require('http');
var child_process = require('child_process');

gulp.task('build', function(cb) {
run(__dirname + '/node_modules/.bin/metalsmith')
.exec(cb);
gulp.task('build', async function(cb) {
child_process.exec(__dirname + '/node_modules/.bin/metalsmith');
cb();
});

gulp.task('watch', function() {
gulp.watch(['metalsmith.json', 'src/**/*', 'public/**/*', 'templates/**/*'], ['build']);
gulp.watch(['metalsmith.json', 'src/**/*', 'public/**/*', 'templates/**/*'], gulp.parallel('build'));
});

gulp.task('serve', ['build', 'watch'], function() {
gulp.task('serve', gulp.series('build', gulp.parallel('watch', function() {
http.createServer(st({
path: path.join(__dirname, 'build'),
index: 'index.html',
cache: false
})).listen(3000);
});
})));

gulp.task('default', ['serve']);
gulp.task('default', gulp.series('serve'));
12 changes: 6 additions & 6 deletions metalsmith.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,28 @@
"src" : "public",
"dest": "."
},
"metalsmith-metadata": {
"config": "config.json"
"@metalsmith/metadata": {
"config": "src/config.json"
},
"metalsmith-collections": {
"@metalsmith/collections": {
"blogs": {
"pattern": "blog/**/*.md",
"sortBy": "date",
"reverse": true,
"refer": false
}
},
"metalsmith-markdown": true,
"@metalsmith/markdown": true,
"metalsmith-babel": {
"presets": [
"react"
"@babel/preset-react"
],
"comments": true
},
"metalsmith-sass": {
"outputStyle": "expanded"
},
"metalsmith-permalinks": {
"@metalsmith/permalinks": {
"relative": false
},
"metalsmith-prism": true,
Expand Down
Loading