forked from tj/consolidate.js
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: modernize, bump deps, removed support for squirrelly due to maj…
…or API changes in v8, removed support for razor-tmpl removed marko support (per <fastify/point-of-view#218>), fixed try/catch issues (per <tj#341>)
- Loading branch information
Showing
34 changed files
with
1,669 additions
and
1,463 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
extends: ['@commitlint/config-conventional'] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
!.*.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: CI | ||
on: | ||
- push | ||
- pull_request | ||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
node_version: | ||
- 16 | ||
- 18 | ||
name: Node ${{ matrix.node_version }} on ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Run tests | ||
run: npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,15 @@ | ||
# always ignore files | ||
*.DS_Store | ||
*.sublime-* | ||
|
||
# test related, or directories generated by tests | ||
test/actual | ||
actual | ||
coverage | ||
.nyc* | ||
|
||
# npm | ||
.DS_Store | ||
*.log | ||
.idea | ||
node_modules | ||
npm-debug.log | ||
|
||
# yarn | ||
coverage | ||
.nyc_output | ||
locales/ | ||
package-lock.json | ||
yarn.lock | ||
yarn-error.log | ||
|
||
# misc | ||
_gh_pages | ||
_draft | ||
_drafts | ||
bower_components | ||
vendor | ||
temp | ||
tmp | ||
TODO.md | ||
package-lock.json | ||
Thumbs.db | ||
tmp/ | ||
temp/ | ||
*.lcov | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
"*.md": filenames => filenames.map(filename => `remark ${filename} -qfo`), | ||
'package.json': 'fixpack', | ||
'*.js': 'xo --fix' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package-lock=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
singleQuote: true, | ||
bracketSpacing: true, | ||
trailingComma: 'none' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
plugins: ['preset-github'] | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module.exports = { | ||
prettier: true, | ||
space: true, | ||
extends: ['xo-lass'], | ||
rules: { | ||
'guard-for-in': 'off', | ||
'no-multi-assign': 'off', | ||
'prefer-spread': 'off', | ||
'no-prototype-builtins': 'off', | ||
'n/no-deprecated-api': 'off', | ||
'ava/no-ignored-test-files': 'off' | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
# History | ||
|
||
**This has moved to the [Releases](https://github.com/ladjs/consolidate.js/releases) page on GitHub for all new releases.** | ||
|
||
|
||
## 0.15.1 / 2018-03-19 | ||
|
||
* add support for underscore partials | ||
* updating metadata and configurations | ||
* lint and cleanup code and tests | ||
|
||
|
||
## 0.15.0 / 2017-11-01 | ||
|
||
* add plates support | ||
* add teacup support | ||
* add liquid-node support | ||
* add velocityjs support | ||
* allow absolute and relative partial paths | ||
* extend dot options | ||
* support layouts in vash | ||
|
||
|
||
## 0.14.0 / 2016-01-24 | ||
|
||
* add slm support | ||
* add vash support | ||
* add twig support | ||
* fixes lodash 4 options | ||
* fixes liquid file extensions and path resolving | ||
|
||
|
||
## 0.13.0 / 2015-05-26 | ||
|
||
* fixes react template error | ||
* adds promises when a callback function is not passed to `render` | ||
* documentation updates | ||
|
||
|
||
## 0.11.0 / 2015-02-07 | ||
|
||
* fix aptl tests | ||
* update jade caching | ||
* add HTMLing support | ||
* add hamlet support | ||
* readme updates | ||
* add tinyliquid support | ||
* pass `options` to ECT.js | ||
* update ractive | ||
* update travis-ci to test 0.10, 0.12, and iojs | ||
|
||
|
||
## 0.10.0 / 2013-11-23 | ||
|
||
* add lodash support | ||
* add nunjucks support | ||
|
||
|
||
## 0.9.1 / 2013-04-29 | ||
|
||
* Update ECT version | ||
* Added support for Handlebars helpers with test. | ||
* Invalidates built-in dust cache if caching disabled | ||
|
||
|
||
## 0.9.0 / 2013-03-28 | ||
|
||
* dust-helpers support, latest version of dust | ||
* Re-add doT - global leaks fixed | ||
* improving templayed support | ||
|
||
|
||
## 0.8.0 / 2013-01-23 | ||
|
||
* add templayed support | ||
* add `then-jade` as an alternative to `jade` | ||
|
||
|
||
## 0.7.0 / 2012-12-28 | ||
|
||
* add atpl support | ||
|
||
|
||
## 0.6.0 2012-12-22 | ||
|
||
* add partials support | ||
* add support for toffee templates | ||
* remove dot it still leaks and the author has not fixed it | ||
|
||
|
||
## 0.5.0 / 2012-10-29 | ||
|
||
* add `mote` support | ||
* add support to `dust` partials | ||
* add support for `ECT` | ||
* add support for rendering without file | ||
* add support for `JUST` | ||
* improve Haml-Coffee caching. | ||
|
||
|
||
## 0.4.0 / 2012-07-30 | ||
|
||
* add doT support \[sannis] | ||
* add mustache support \[ForbesLindesay] | ||
* add walrus support \[kagd] | ||
|
||
|
||
## 0.3.1 / 2012-06-28 | ||
|
||
* add QEJS support | ||
* add underscore support | ||
* change whiskers to use pre-defined `.__express` | ||
* remove engines. Closes #37 | ||
* remove kernel, cannot comply with our caching | ||
|
||
|
||
## 0.3.0 / 2012-04-18 | ||
|
||
* Added partials loading for whiskers \[gsf] | ||
* Added dustjs-linkedin support | ||
|
||
|
||
## 0.2.0 / 2012-04-04 | ||
|
||
* Added support for dust \[fatjonny] | ||
* Added handlebars support \[jstewmon] | ||
|
||
|
||
## 0.1.0 / 2012-01-03 | ||
|
||
* Added support for several more engines | ||
|
||
|
||
## 0.0.1 / 2010-01-03 | ||
|
||
* Initial release |
Oops, something went wrong.