Skip to content

Commit

Permalink
Prepare 1.0.0-alpha.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Jul 1, 2019
1 parent 4c8e73d commit 5b0a6ef
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 51 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ coverage/
azure-pipelines.yml
.eslintrc.json
.vscode/
.history/
106 changes: 55 additions & 51 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,94 +1,98 @@
# Next

[diff](https://github.com/Shinigami92/prettier-plugin-pug/compare/1.0.0-alpha.5...master)
[diff](https://github.com/Shinigami92/prettier-plugin-pug/compare/1.0.0-alpha.6...master)

- Fix indentation for comments
- Improve indentation for tags
- Support `singleQuote` option
- Setup eslint with TypeScript configuration ([#4])
- Setup [Azure Pipelines](https://dev.azure.com/shinigami92/prettier-plugin-pug/_build?definitionId=1)
# 1.0.0-alpha.6

[diff](https://github.com/Shinigami92/prettier-plugin-pug/compare/1.0.0-alpha.5...1.0.0-alpha.6)

- Fix indentation for comments
- Improve indentation for tags
- Support `singleQuote` option
- Setup eslint with TypeScript configuration ([#4])
- Setup [Azure Pipelines](https://dev.azure.com/shinigami92/prettier-plugin-pug/_build?definitionId=1)

[#4]: https://github.com/Shinigami92/prettier-plugin-pug/pull/4

# 1.0.0-alpha.5

[diff](https://github.com/Shinigami92/prettier-plugin-pug/compare/1.0.0-alpha.4...1.0.0-alpha.5)

- Fix indentation of piped text
- Fix indentation of piped text

# 1.0.0-alpha.4

[diff](https://github.com/Shinigami92/prettier-plugin-pug/compare/1.0.0-alpha.3...1.0.0-alpha.4)

- Fix indentation after `outdent`
- Fix indentation after `outdent`

# 1.0.0-alpha.3

[diff](https://github.com/Shinigami92/prettier-plugin-pug/compare/1.0.0-alpha.2...1.0.0-alpha.3)

- Improvement of indents, empty lines and spaces

- Keep indent for `code` if wanted
- Improvement of indents, empty lines and spaces

```pug
//- Input
block page_meta
- var page_title = "Markdown"
- var page_description = "This is a page description."
- Keep indent for `code` if wanted

//- Output (1.0.0-alpha.2)
block page_meta
```pug
//- Input
block page_meta
- var page_title = "Markdown"
- var page_description = "This is a page description."
//- Output (1.0.0-alpha.3)
block page_meta
- var page_title = "Markdown"
- var page_description = "This is a page description."
```
//- Output (1.0.0-alpha.2)
block page_meta
- var page_title = "Markdown"
- var page_description = "This is a page description."
//- Output (1.0.0-alpha.3)
block page_meta
- var page_title = "Markdown"
- var page_description = "This is a page description."
```

# 1.0.0-alpha.2

[diff](https://github.com/Shinigami92/prettier-plugin-pug/compare/1.0.0-alpha.1...1.0.0-alpha.2)

- Correct some unnecessary blank lines
- Correct some unnecessary blank lines

- Correct a missing whitespace after `interpolated-code` token
- Correct a missing whitespace after `interpolated-code` token

- Handle new Tokens
- Handle new Tokens

- [`block`](https://pugjs.org/language/inheritance.html#block-append-prepend)
- [`extends`](https://pugjs.org/language/inheritance.html)
- [`path`](https://pugjs.org/language/inheritance.html)
- [`start-pug-interpolation`](https://pugjs.org/language/interpolation.html#tag-interpolation)
- [`end-pug-interpolation`](https://pugjs.org/language/interpolation.html#tag-interpolation)
- [`include`](https://pugjs.org/language/includes.html)
- [`filter`](https://pugjs.org/language/filters.html)
- [`block`](https://pugjs.org/language/inheritance.html#block-append-prepend)
- [`extends`](https://pugjs.org/language/inheritance.html)
- [`path`](https://pugjs.org/language/inheritance.html)
- [`start-pug-interpolation`](https://pugjs.org/language/interpolation.html#tag-interpolation)
- [`end-pug-interpolation`](https://pugjs.org/language/interpolation.html#tag-interpolation)
- [`include`](https://pugjs.org/language/includes.html)
- [`filter`](https://pugjs.org/language/filters.html)

- Improve space formatting
- Improve space formatting

Use recommended solutions [link](https://pugjs.org/language/plain-text.html#recommended-solutions)
Use recommended solutions [link](https://pugjs.org/language/plain-text.html#recommended-solutions)

```pug
//- Input
v-btn(color="primary", name="save", @click="save", :disabled="saving", :loading="saving")
v-icon save
| {{ $t('mylangkeys.crud.save') }}
```pug
//- Input
v-btn(color="primary", name="save", @click="save", :disabled="saving", :loading="saving")
v-icon save
| {{ $t('mylangkeys.crud.save') }}
//- Output (1.0.0-alpha.1)
v-btn(color="primary", name="save", @click="save", :disabled="saving", :loading="saving")
v-icon save
| {{ $t('mylangkeys.crud.save') }}
//- Output (1.0.0-alpha.1)
v-btn(color="primary", name="save", @click="save", :disabled="saving", :loading="saving")
v-icon save
| {{ $t('mylangkeys.crud.save') }}
//- Output (1.0.0-alpha.2)
v-btn(color="primary", name="save", @click="save", :disabled="saving", :loading="saving")
v-icon save
|
| {{ $t('mylangkeys.crud.save') }}
```
//- Output (1.0.0-alpha.2)
v-btn(color="primary", name="save", @click="save", :disabled="saving", :loading="saving")
v-icon save
|
| {{ $t('mylangkeys.crud.save') }}
```

# 1.0.0-alpha.1

[diff](https://github.com/Shinigami92/prettier-plugin-pug/compare/5fb671e3fbaa03be554c78f9be1ea53cfdadd78a...1.0.0-alpha.1)

- Initial alpha release
- Initial alpha release

0 comments on commit 5b0a6ef

Please sign in to comment.