Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion .c8rc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"reporter": ["lcov", "text"]
"reporter": ["lcov", "text"],
"extension": [".js"]
}
11 changes: 2 additions & 9 deletions .clintonrc.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
{
"ignores": [
"test/**",
"tmp/**",
"lib/**",
".idea/**",
"*.{html,jpg}"
],
"ignores": [],
"rules": {
"pkg-main": "off",
"cli": "off",
"xo": "off",
"ava": "off",
"xo": "off",
"use-travis": "off"
}
}
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ quote_type = single
trim_trailing_whitespace = true
insert_final_newline = true

[{package.json,*.yml,*.jade,*.pss,*.css,*.js,*.md,.*,*.ts}]
[{*.json,*.yaml,*.yml,*.jade,*.pss,*.css,*.js,*.md,.*,*.ts}]
indent_size = 2

[{render.md,changelog.md,.*}]
[{changelog.md,.*}]
insert_final_newline = false

[*.md]
Expand Down
14 changes: 3 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# OS

._*
.DS_Store

# NODEJS

npm-debug.log
node_modules
npm-debug.log

.nyc_output
coverage
.nyc_output
npm-debug.log
dist
1 change: 0 additions & 1 deletion .huskyrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"hooks": {
"pre-push": "npm t",
"pre-commit": "clinton && lint-staged",
"commit-msg": "commitlint --extends=@commitlint/config-angular -e"
}
}
2 changes: 1 addition & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"*.js": "xo"
}
}
11 changes: 5 additions & 6 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.editorconfig
npm-debug.log

node_modules
.gitignore
.travis.yml
coverage
.nyc_output
test/
coverage/
node_modules/
src
8 changes: 8 additions & 0 deletions ava.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const config = {
verbose: true,
files: ['test/test-*'],
extensions: ['ts'],
require: ['esm', 'esbuild-register']
};

export default config;
14 changes: 14 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## 2.0.0 (2021-05-07)

* docs: add quoteStyle option ([38b2b04](https://github.com/posthtml/posthtml-render/commit/38b2b04))
* docs: description node property closeAs, issue #48 ([5979fc9](https://github.com/posthtml/posthtml-render/commit/5979fc9)), closes [#48](https://github.com/posthtml/posthtml-render/issues/48)
* type: add node property closeAs, issue #48 ([00ec9b0](https://github.com/posthtml/posthtml-render/commit/00ec9b0)), closes [#48](https://github.com/posthtml/posthtml-render/issues/48)
* test: JSON strings in data attributes, #46 ([d0508e2](https://github.com/posthtml/posthtml-render/commit/d0508e2)), closes [#46](https://github.com/posthtml/posthtml-render/issues/46)
* test: node property closeAs, issue #48 ([f561e6b](https://github.com/posthtml/posthtml-render/commit/f561e6b)), closes [#48](https://github.com/posthtml/posthtml-render/issues/48)
* test: quoteStyle option ([18d31c0](https://github.com/posthtml/posthtml-render/commit/18d31c0))
* feat: add node property closeAs, close #48 ([6892ede](https://github.com/posthtml/posthtml-render/commit/6892ede)), closes [#48](https://github.com/posthtml/posthtml-render/issues/48)
* feat: add type definition for quoteStyle ([3ee8d58](https://github.com/posthtml/posthtml-render/commit/3ee8d58))
* feat: implement quoteStyle option ([903300f](https://github.com/posthtml/posthtml-render/commit/903300f))
* feat: JSON strings in data attributes, close #46 ([5539187](https://github.com/posthtml/posthtml-render/commit/5539187)), closes [#46](https://github.com/posthtml/posthtml-render/issues/46)
* merge: from master ([3ab5e82](https://github.com/posthtml/posthtml-render/commit/3ab5e82))
* refactor: migrate to typescript ([9eaaca4](https://github.com/posthtml/posthtml-render/commit/9eaaca4))
## <small>1.3.1 (2021-03-12)</small>

* build: update dep dev ([acf654b](https://github.com/posthtml/posthtml-render/commit/acf654b))
Expand Down
67 changes: 0 additions & 67 deletions lib/index.d.ts

This file was deleted.

Loading