Skip to content

Commit 2b3e49c

Browse files
authored
Merge pull request #51 from posthtml/milestone-2.0.0
Milestone 2.0.0
2 parents fae9dad + 3c894d6 commit 2b3e49c

25 files changed

+6359
-6324
lines changed

.c8rc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"reporter": ["lcov", "text"]
2+
"reporter": ["lcov", "text"],
3+
"extension": [".js"]
34
}

.clintonrc.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
{
2-
"ignores": [
3-
"test/**",
4-
"tmp/**",
5-
"lib/**",
6-
".idea/**",
7-
"*.{html,jpg}"
8-
],
2+
"ignores": [],
93
"rules": {
104
"pkg-main": "off",
11-
"cli": "off",
12-
"xo": "off",
135
"ava": "off",
6+
"xo": "off",
147
"use-travis": "off"
158
}
169
}

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ quote_type = single
99
trim_trailing_whitespace = true
1010
insert_final_newline = true
1111

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

15-
[{render.md,changelog.md,.*}]
15+
[{changelog.md,.*}]
1616
insert_final_newline = false
1717

1818
[*.md]

.gitignore

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
# OS
2-
3-
._*
4-
.DS_Store
5-
6-
# NODEJS
7-
8-
npm-debug.log
91
node_modules
10-
npm-debug.log
11-
12-
.nyc_output
132
coverage
3+
.nyc_output
4+
npm-debug.log
5+
dist

.huskyrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"hooks": {
33
"pre-push": "npm t",
4-
"pre-commit": "clinton && lint-staged",
54
"commit-msg": "commitlint --extends=@commitlint/config-angular -e"
65
}
76
}

.lintstagedrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"*.js": "xo"
3-
}
3+
}

.npmignore

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
.editorconfig
2-
npm-debug.log
3-
1+
node_modules
2+
.gitignore
3+
.travis.yml
4+
coverage
45
.nyc_output
5-
test/
6-
coverage/
7-
node_modules/
6+
src

ava.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
const config = {
2+
verbose: true,
3+
files: ['test/test-*'],
4+
extensions: ['ts'],
5+
require: ['esm', 'esbuild-register']
6+
};
7+
8+
export default config;

changelog.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## 2.0.0 (2021-05-07)
2+
3+
* docs: add quoteStyle option ([38b2b04](https://github.com/posthtml/posthtml-render/commit/38b2b04))
4+
* 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)
5+
* 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)
6+
* 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)
7+
* 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)
8+
* test: quoteStyle option ([18d31c0](https://github.com/posthtml/posthtml-render/commit/18d31c0))
9+
* 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)
10+
* feat: add type definition for quoteStyle ([3ee8d58](https://github.com/posthtml/posthtml-render/commit/3ee8d58))
11+
* feat: implement quoteStyle option ([903300f](https://github.com/posthtml/posthtml-render/commit/903300f))
12+
* 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)
13+
* merge: from master ([3ab5e82](https://github.com/posthtml/posthtml-render/commit/3ab5e82))
14+
* refactor: migrate to typescript ([9eaaca4](https://github.com/posthtml/posthtml-render/commit/9eaaca4))
115
## <small>1.3.1 (2021-03-12)</small>
216

317
* build: update dep dev ([acf654b](https://github.com/posthtml/posthtml-render/commit/acf654b))

lib/index.d.ts

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)