Skip to content

Commit

Permalink
Merge pull request #482 from kethinov/various-maintenance
Browse files Browse the repository at this point in the history
various maintenance
  • Loading branch information
kethinov authored Oct 3, 2023
2 parents 6667a3a + f5f4273 commit 759a7ec
Show file tree
Hide file tree
Showing 6 changed files with 1,401 additions and 1,406 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- Put your changes here...

## 0.21.8

- Various dependencies updated.

## 0.21.7

- Fixed issue that would cause `npx mkroosevelt` to return an undefined variable in its output.
Expand Down
4 changes: 2 additions & 2 deletions generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const Generator = require('yeoman-generator')
const helper = require('./promptingHelpers')
const defaults = require('./templates/defaults.json')
const beautify = require('gulp-beautify')
const filter = require('gulp-filter')
const selfsigned = require('selfsigned')

const cache = {}
Expand Down Expand Up @@ -424,7 +423,8 @@ module.exports = class extends Generator {
}
}

writing () {
async writing () {
const filter = (await import('gulp-filter')).default
const jsonFilter = filter(['**/*.json'], { restore: true, dot: true })

this.log('Generating SSL certs...')
Expand Down
8 changes: 4 additions & 4 deletions generators/app/templates/defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"defaultCSSCompiler": "Less",
"Less": {
"dependencies": {
"less": "~4.1.0"
"less": "~4.2.0"
},
"config": {
"enable": true,
Expand All @@ -20,15 +20,15 @@
},
"scripts": {
"cssExt": "less",
"stylelintConfigModule": "\"stylelint-config-standard\": \"~33.0.0\"",
"stylelintConfigModule": "\"stylelint-config-standard\": \"~34.0.0\"",
"stylelintConfigName": "stylelint-config-standard",
"stylelintPostCssModule": "\"postcss-less\": \"~6.0.0\",",
"stylelintSyntax": "\"customSyntax\": \"postcss-less\","
}
},
"Sass": {
"dependencies": {
"sass": "~1.53.0"
"sass": "~1.68.0"
},
"config": {
"enable": true,
Expand All @@ -38,7 +38,7 @@
"scripts": {
"cssExt": "scss",
"stylelintPostCssModule": null,
"stylelintConfigModule": "\"stylelint-config-standard-scss\": \"~9.0.0\"",
"stylelintConfigModule": "\"stylelint-config-standard-scss\": \"~11.0.0\"",
"stylelintConfigName": "stylelint-config-standard-scss"
}
},
Expand Down
4 changes: 2 additions & 2 deletions generators/app/templates/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
},
"dependencies": <%- JSON.stringify(dependencies) %>,
"devDependencies": {
"nodemon": "~2.0.0",
"nodemon": "~3.0.0",
"standard": "~17.1.0",
"stylelint": "~15.6.0",
"stylelint": "~15.10.0",
<%- stylelintPostCssModule -%>
<%- stylelintConfigModule %>
},
Expand Down
Loading

0 comments on commit 759a7ec

Please sign in to comment.