Skip to content

Commit

Permalink
Update package.json from upstream
Browse files Browse the repository at this point in the history
Bump path-parse from 1.0.6 to 1.0.7 (sveltejs#243)

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

(fix) adjust wrong "is inside other tag" check (sveltejs#247)

Fixes sveltejs#244

(feat) format pug (sveltejs#248)

If the pug plugin is available, format template tags with that

update unreleased

Integrate with `tailwind-utils`

Make it work by `eval`ing TW config

Install TW plugins here, otherwise they won't be found when we require things in the Tailwind config

Include built plugin so we can use it without publishing to npm

Remove files from package.json
  • Loading branch information
zakkor committed Aug 27, 2021
1 parent 67f4a89 commit 575597e
Show file tree
Hide file tree
Showing 15 changed files with 58,771 additions and 156 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
node_modules
.vscode
.history
plugin.js
plugin.js.map
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# prettier-plugin-svelte changelog

## 2.4.0 (Unreleased)

* (feat) add support for formatting pug inside `<template>` tags, if the corresponding plugin is available ([#248](https://github.com/sveltejs/prettier-plugin-svelte/pull/248))
* (fix) Adjust "is inside other tag"-checks when snipping tags ([#244](https://github.com/sveltejs/prettier-plugin-svelte/issues/244), [#246](https://github.com/sveltejs/prettier-plugin-svelte/issues/246))

## 2.3.1

* (fix) More robust check for `hardline` to prevent trailing empty lines in `<style>`/`<script>` tags ([#222](https://github.com/sveltejs/prettier-plugin-svelte/issues/222))
Expand Down
5,188 changes: 5,125 additions & 63 deletions package-lock.json

Large diffs are not rendered by default.

17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
"version": "2.3.1",
"description": "Svelte plugin for prettier",
"main": "plugin.js",
"files": [
"plugin.js",
"plugin.js.map"
],
"scripts": {
"build": "rollup -c",
"test": "ava",
Expand All @@ -28,24 +24,27 @@
},
"homepage": "https://github.com/sveltejs/prettier-plugin-svelte#readme",
"devDependencies": {
"@prettier/plugin-pug": "^1.16.0",
"@rollup/plugin-commonjs": "14.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "11.0.1",
"@tailwindcss/forms": "^0.3.3",
"@tailwindcss/line-clamp": "^0.2.1",
"@types/node": "^10.12.18",
"@types/prettier": "^2.1.6",
"ava": "3.15.0",
"prettier": "^2.3.0",
"rollup": "2.36.0",
"rollup-plugin-typescript": "1.0.1",
"svelte": "^3.35.0",
"svelte": "^3.38.2",
"tailwind-utils": "github:metafy-gg/tailwind-utils",
"tailwindcss": "2.2.4",
"ts-node": "^9.1.1",
"tslib": "^2.0.3",
"typescript": "4.1.3"
},
"peerDependencies": {
"prettier": "^1.16.4 || ^2.0.0",
"svelte": "^3.2.0"
},
"dependencies": {
"tailwind-sort": "github:metafy-gg/tailwind-sort"
}
}
}
Loading

0 comments on commit 575597e

Please sign in to comment.