prettier-plugin-sh
Advanced tools
Comparing version 0.2.4 to 0.2.6
@@ -6,2 +6,21 @@ # Change Log | ||
## 0.2.6 (2020-01-26) | ||
**Note:** Version bump only for package prettier-plugin-sh | ||
## 0.2.5 (2020-01-26) | ||
### Bug Fixes | ||
* **deps:** bump all (dev)Dependencies, migrate Travis CI to GitHub Actions ([a34df06](https://github.com/rx-ts/prettier/commit/a34df06b7701bef92c6c8a0566a2c48bd1d25f20)) | ||
## [0.2.4](https://github.com/rx-ts/prettier/compare/prettier-plugin-sh@0.2.3...prettier-plugin-sh@0.2.4) (2019-12-01) | ||
@@ -8,0 +27,0 @@ |
@@ -186,2 +186,3 @@ 'use strict'; | ||
".cfg", | ||
".dof", | ||
".lektorproject", | ||
@@ -188,0 +189,0 @@ ".prefs", |
@@ -1,1 +0,1 @@ | ||
"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var sh=_interopDefault(require("mvdan-sh")),languages=[{name:"Alpine Abuild",parsers:["sh"],group:"Shell",aliases:["abuild","apkbuild"],filenames:["APKBUILD"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:14,vscodeLanguageIds:["shellscript"]},{name:"Altium Designer",parsers:["sh"],aliases:["altium"],extensions:[".OutJob",".PcbDoc",".PrjPCB",".SchDoc"],tmScope:"source.ini",aceMode:"ini",linguistLanguageId:187772328,vscodeLanguageIds:["ini"]},{name:"Dockerfile",parsers:["sh"],extensions:[".dockerfile"],filenames:["Dockerfile"],tmScope:"source.dockerfile",aceMode:"dockerfile",codemirrorMode:"dockerfile",codemirrorMimeType:"text/x-dockerfile",linguistLanguageId:89,vscodeLanguageIds:["dockerfile"]},{name:"EditorConfig",parsers:["sh"],group:"INI",aliases:["editor-config"],filenames:[".editorconfig"],tmScope:"source.editorconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:96139566,vscodeLanguageIds:["ini"]},{name:"Gentoo Ebuild",parsers:["sh"],group:"Shell",extensions:[".ebuild"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:127,vscodeLanguageIds:["shellscript"]},{name:"Gentoo Eclass",parsers:["sh"],group:"Shell",extensions:[".eclass"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:128,vscodeLanguageIds:["shellscript"]},{name:"Git Attributes",parsers:["sh"],group:"INI",aliases:["gitattributes"],filenames:[".gitattributes"],tmScope:"source.gitattributes",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:956324166,vscodeLanguageIds:["gitignore"]},{name:"Git Config",parsers:["sh"],group:"INI",aliases:["gitconfig","gitmodules"],extensions:[".gitconfig"],filenames:[".gitconfig",".gitmodules"],tmScope:"source.gitconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:807968997,vscodeLanguageIds:["ini"]},{name:"INI",parsers:["sh"],aliases:["dosini"],extensions:[".ini",".cfg",".lektorproject",".prefs",".pro",".properties"],filenames:["buildozer.spec"],tmScope:"source.ini",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:163,vscodeLanguageIds:["ini"]},{name:"Ignore List",parsers:["sh"],group:"INI",aliases:["ignore","gitignore","git-ignore"],extensions:[".gitignore"],filenames:[".atomignore",".babelignore",".bzrignore",".coffeelintignore",".cvsignore",".dockerignore",".eslintignore",".gitignore",".nodemonignore",".npmignore",".prettierignore",".stylelintignore",".vscodeignore","gitignore-global","gitignore_global"],tmScope:"source.gitignore",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:74444240,vscodeLanguageIds:["gitignore"]},{name:"Java Properties",parsers:["sh"],extensions:[".properties"],tmScope:"source.java-properties",aceMode:"properties",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:519377561,vscodeLanguageIds:["properties"]},{name:"OpenRC runscript",parsers:["sh"],group:"Shell",aliases:["openrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:265,vscodeLanguageIds:["shellscript"]},{name:"Shell",parsers:["sh"],aliases:["sh","shell-script","bash","zsh"],extensions:[".sh",".bash",".bats",".cgi",".command",".fcgi",".ksh",".sh.in",".tmux",".tool",".zsh"],filenames:[".bash_aliases",".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_aliases","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:346,vscodeLanguageIds:["shellscript"]},{name:"ShellSession",parsers:["sh"],aliases:["bash session","console"],extensions:[".sh-session"],tmScope:"text.shell-session",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:347,vscodeLanguageIds:["shellscript"]},{name:"Tcsh",parsers:["sh"],group:"Shell",extensions:[".tcsh",".csh"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:368,vscodeLanguageIds:["shellscript"]},{name:"Windows Registry Entries",parsers:["sh"],extensions:[".reg"],tmScope:"source.reg",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:969674868,vscodeLanguageIds:["ini"]},{name:"JvmOptions",parsers:["sh"],extensions:[".vmoptions"],filenames:["jvm.options"],vscodeLanguageIds:["jvmoptions"]},{name:"hosts",parsers:["sh"],filenames:["hosts"],vscodeLanguageIds:["hosts"]},{name:"dotenv",parsers:["sh"],extensions:[".env"],filenames:[".env.*"],vscodeLanguageIds:["dotenv"]}],syntax=sh.syntax,parser=syntax.NewParser(syntax.KeepComments),printer=syntax.NewPrinter(),index={name:"prettier-plugin-sh",languages:languages,parsers:{sh:{parse:function(e,s,r){var o=r.filepath;return parser.Parse(e,o)},astFormat:"sh",locStart:function(e){return e.Pos().Offset()},locEnd:function(e){return e.End().Offset()}}},printers:{sh:{print:function(e){return printer.Print(e.getValue())}}}};module.exports=index; | ||
"use strict";var e,s=((e=require("mvdan-sh"))&&"object"==typeof e&&"default"in e?e.default:e).syntax,o=s.NewParser(s.KeepComments),r=s.NewPrinter(),i={name:"prettier-plugin-sh",languages:[{name:"Alpine Abuild",parsers:["sh"],group:"Shell",aliases:["abuild","apkbuild"],filenames:["APKBUILD"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:14,vscodeLanguageIds:["shellscript"]},{name:"Altium Designer",parsers:["sh"],aliases:["altium"],extensions:[".OutJob",".PcbDoc",".PrjPCB",".SchDoc"],tmScope:"source.ini",aceMode:"ini",linguistLanguageId:187772328,vscodeLanguageIds:["ini"]},{name:"Dockerfile",parsers:["sh"],extensions:[".dockerfile"],filenames:["Dockerfile"],tmScope:"source.dockerfile",aceMode:"dockerfile",codemirrorMode:"dockerfile",codemirrorMimeType:"text/x-dockerfile",linguistLanguageId:89,vscodeLanguageIds:["dockerfile"]},{name:"EditorConfig",parsers:["sh"],group:"INI",aliases:["editor-config"],filenames:[".editorconfig"],tmScope:"source.editorconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:96139566,vscodeLanguageIds:["ini"]},{name:"Gentoo Ebuild",parsers:["sh"],group:"Shell",extensions:[".ebuild"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:127,vscodeLanguageIds:["shellscript"]},{name:"Gentoo Eclass",parsers:["sh"],group:"Shell",extensions:[".eclass"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:128,vscodeLanguageIds:["shellscript"]},{name:"Git Attributes",parsers:["sh"],group:"INI",aliases:["gitattributes"],filenames:[".gitattributes"],tmScope:"source.gitattributes",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:956324166,vscodeLanguageIds:["gitignore"]},{name:"Git Config",parsers:["sh"],group:"INI",aliases:["gitconfig","gitmodules"],extensions:[".gitconfig"],filenames:[".gitconfig",".gitmodules"],tmScope:"source.gitconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:807968997,vscodeLanguageIds:["ini"]},{name:"INI",parsers:["sh"],aliases:["dosini"],extensions:[".ini",".cfg",".dof",".lektorproject",".prefs",".pro",".properties"],filenames:["buildozer.spec"],tmScope:"source.ini",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:163,vscodeLanguageIds:["ini"]},{name:"Ignore List",parsers:["sh"],group:"INI",aliases:["ignore","gitignore","git-ignore"],extensions:[".gitignore"],filenames:[".atomignore",".babelignore",".bzrignore",".coffeelintignore",".cvsignore",".dockerignore",".eslintignore",".gitignore",".nodemonignore",".npmignore",".prettierignore",".stylelintignore",".vscodeignore","gitignore-global","gitignore_global"],tmScope:"source.gitignore",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:74444240,vscodeLanguageIds:["gitignore"]},{name:"Java Properties",parsers:["sh"],extensions:[".properties"],tmScope:"source.java-properties",aceMode:"properties",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:519377561,vscodeLanguageIds:["properties"]},{name:"OpenRC runscript",parsers:["sh"],group:"Shell",aliases:["openrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:265,vscodeLanguageIds:["shellscript"]},{name:"Shell",parsers:["sh"],aliases:["sh","shell-script","bash","zsh"],extensions:[".sh",".bash",".bats",".cgi",".command",".fcgi",".ksh",".sh.in",".tmux",".tool",".zsh"],filenames:[".bash_aliases",".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_aliases","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:346,vscodeLanguageIds:["shellscript"]},{name:"ShellSession",parsers:["sh"],aliases:["bash session","console"],extensions:[".sh-session"],tmScope:"text.shell-session",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:347,vscodeLanguageIds:["shellscript"]},{name:"Tcsh",parsers:["sh"],group:"Shell",extensions:[".tcsh",".csh"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:368,vscodeLanguageIds:["shellscript"]},{name:"Windows Registry Entries",parsers:["sh"],extensions:[".reg"],tmScope:"source.reg",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:969674868,vscodeLanguageIds:["ini"]},{name:"JvmOptions",parsers:["sh"],extensions:[".vmoptions"],filenames:["jvm.options"],vscodeLanguageIds:["jvmoptions"]},{name:"hosts",parsers:["sh"],filenames:["hosts"],vscodeLanguageIds:["hosts"]},{name:"dotenv",parsers:["sh"],extensions:[".env"],filenames:[".env.*"],vscodeLanguageIds:["dotenv"]}],parsers:{sh:{parse:function(e,s,r){var i=r.filepath;return o.Parse(e,i)},astFormat:"sh",locStart:function(e){return e.Pos().Offset()},locEnd:function(e){return e.End().Offset()}}},printers:{sh:{print:function(e){return r.Print(e.getValue())}}}};module.exports=i; |
@@ -182,2 +182,3 @@ import sh from 'mvdan-sh'; | ||
".cfg", | ||
".dof", | ||
".lektorproject", | ||
@@ -184,0 +185,0 @@ ".prefs", |
@@ -1,1 +0,1 @@ | ||
import e from"mvdan-sh";const{syntax:s}=e,o=s.NewParser(s.KeepComments),i=s.NewPrinter();var r={name:"prettier-plugin-sh",languages:[{name:"Alpine Abuild",parsers:["sh"],group:"Shell",aliases:["abuild","apkbuild"],filenames:["APKBUILD"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:14,vscodeLanguageIds:["shellscript"]},{name:"Altium Designer",parsers:["sh"],aliases:["altium"],extensions:[".OutJob",".PcbDoc",".PrjPCB",".SchDoc"],tmScope:"source.ini",aceMode:"ini",linguistLanguageId:187772328,vscodeLanguageIds:["ini"]},{name:"Dockerfile",parsers:["sh"],extensions:[".dockerfile"],filenames:["Dockerfile"],tmScope:"source.dockerfile",aceMode:"dockerfile",codemirrorMode:"dockerfile",codemirrorMimeType:"text/x-dockerfile",linguistLanguageId:89,vscodeLanguageIds:["dockerfile"]},{name:"EditorConfig",parsers:["sh"],group:"INI",aliases:["editor-config"],filenames:[".editorconfig"],tmScope:"source.editorconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:96139566,vscodeLanguageIds:["ini"]},{name:"Gentoo Ebuild",parsers:["sh"],group:"Shell",extensions:[".ebuild"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:127,vscodeLanguageIds:["shellscript"]},{name:"Gentoo Eclass",parsers:["sh"],group:"Shell",extensions:[".eclass"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:128,vscodeLanguageIds:["shellscript"]},{name:"Git Attributes",parsers:["sh"],group:"INI",aliases:["gitattributes"],filenames:[".gitattributes"],tmScope:"source.gitattributes",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:956324166,vscodeLanguageIds:["gitignore"]},{name:"Git Config",parsers:["sh"],group:"INI",aliases:["gitconfig","gitmodules"],extensions:[".gitconfig"],filenames:[".gitconfig",".gitmodules"],tmScope:"source.gitconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:807968997,vscodeLanguageIds:["ini"]},{name:"INI",parsers:["sh"],aliases:["dosini"],extensions:[".ini",".cfg",".lektorproject",".prefs",".pro",".properties"],filenames:["buildozer.spec"],tmScope:"source.ini",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:163,vscodeLanguageIds:["ini"]},{name:"Ignore List",parsers:["sh"],group:"INI",aliases:["ignore","gitignore","git-ignore"],extensions:[".gitignore"],filenames:[".atomignore",".babelignore",".bzrignore",".coffeelintignore",".cvsignore",".dockerignore",".eslintignore",".gitignore",".nodemonignore",".npmignore",".prettierignore",".stylelintignore",".vscodeignore","gitignore-global","gitignore_global"],tmScope:"source.gitignore",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:74444240,vscodeLanguageIds:["gitignore"]},{name:"Java Properties",parsers:["sh"],extensions:[".properties"],tmScope:"source.java-properties",aceMode:"properties",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:519377561,vscodeLanguageIds:["properties"]},{name:"OpenRC runscript",parsers:["sh"],group:"Shell",aliases:["openrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:265,vscodeLanguageIds:["shellscript"]},{name:"Shell",parsers:["sh"],aliases:["sh","shell-script","bash","zsh"],extensions:[".sh",".bash",".bats",".cgi",".command",".fcgi",".ksh",".sh.in",".tmux",".tool",".zsh"],filenames:[".bash_aliases",".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_aliases","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:346,vscodeLanguageIds:["shellscript"]},{name:"ShellSession",parsers:["sh"],aliases:["bash session","console"],extensions:[".sh-session"],tmScope:"text.shell-session",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:347,vscodeLanguageIds:["shellscript"]},{name:"Tcsh",parsers:["sh"],group:"Shell",extensions:[".tcsh",".csh"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:368,vscodeLanguageIds:["shellscript"]},{name:"Windows Registry Entries",parsers:["sh"],extensions:[".reg"],tmScope:"source.reg",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:969674868,vscodeLanguageIds:["ini"]},{name:"JvmOptions",parsers:["sh"],extensions:[".vmoptions"],filenames:["jvm.options"],vscodeLanguageIds:["jvmoptions"]},{name:"hosts",parsers:["sh"],filenames:["hosts"],vscodeLanguageIds:["hosts"]},{name:"dotenv",parsers:["sh"],extensions:[".env"],filenames:[".env.*"],vscodeLanguageIds:["dotenv"]}],parsers:{sh:{parse:(e,s,{filepath:i})=>o.Parse(e,i),astFormat:"sh",locStart:e=>e.Pos().Offset(),locEnd:e=>e.End().Offset()}},printers:{sh:{print:e=>i.Print(e.getValue())}}};export default r; | ||
import e from"mvdan-sh";const{syntax:s}=e,o=s.NewParser(s.KeepComments),i=s.NewPrinter();var r={name:"prettier-plugin-sh",languages:[{name:"Alpine Abuild",parsers:["sh"],group:"Shell",aliases:["abuild","apkbuild"],filenames:["APKBUILD"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:14,vscodeLanguageIds:["shellscript"]},{name:"Altium Designer",parsers:["sh"],aliases:["altium"],extensions:[".OutJob",".PcbDoc",".PrjPCB",".SchDoc"],tmScope:"source.ini",aceMode:"ini",linguistLanguageId:187772328,vscodeLanguageIds:["ini"]},{name:"Dockerfile",parsers:["sh"],extensions:[".dockerfile"],filenames:["Dockerfile"],tmScope:"source.dockerfile",aceMode:"dockerfile",codemirrorMode:"dockerfile",codemirrorMimeType:"text/x-dockerfile",linguistLanguageId:89,vscodeLanguageIds:["dockerfile"]},{name:"EditorConfig",parsers:["sh"],group:"INI",aliases:["editor-config"],filenames:[".editorconfig"],tmScope:"source.editorconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:96139566,vscodeLanguageIds:["ini"]},{name:"Gentoo Ebuild",parsers:["sh"],group:"Shell",extensions:[".ebuild"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:127,vscodeLanguageIds:["shellscript"]},{name:"Gentoo Eclass",parsers:["sh"],group:"Shell",extensions:[".eclass"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:128,vscodeLanguageIds:["shellscript"]},{name:"Git Attributes",parsers:["sh"],group:"INI",aliases:["gitattributes"],filenames:[".gitattributes"],tmScope:"source.gitattributes",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:956324166,vscodeLanguageIds:["gitignore"]},{name:"Git Config",parsers:["sh"],group:"INI",aliases:["gitconfig","gitmodules"],extensions:[".gitconfig"],filenames:[".gitconfig",".gitmodules"],tmScope:"source.gitconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:807968997,vscodeLanguageIds:["ini"]},{name:"INI",parsers:["sh"],aliases:["dosini"],extensions:[".ini",".cfg",".dof",".lektorproject",".prefs",".pro",".properties"],filenames:["buildozer.spec"],tmScope:"source.ini",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:163,vscodeLanguageIds:["ini"]},{name:"Ignore List",parsers:["sh"],group:"INI",aliases:["ignore","gitignore","git-ignore"],extensions:[".gitignore"],filenames:[".atomignore",".babelignore",".bzrignore",".coffeelintignore",".cvsignore",".dockerignore",".eslintignore",".gitignore",".nodemonignore",".npmignore",".prettierignore",".stylelintignore",".vscodeignore","gitignore-global","gitignore_global"],tmScope:"source.gitignore",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:74444240,vscodeLanguageIds:["gitignore"]},{name:"Java Properties",parsers:["sh"],extensions:[".properties"],tmScope:"source.java-properties",aceMode:"properties",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:519377561,vscodeLanguageIds:["properties"]},{name:"OpenRC runscript",parsers:["sh"],group:"Shell",aliases:["openrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:265,vscodeLanguageIds:["shellscript"]},{name:"Shell",parsers:["sh"],aliases:["sh","shell-script","bash","zsh"],extensions:[".sh",".bash",".bats",".cgi",".command",".fcgi",".ksh",".sh.in",".tmux",".tool",".zsh"],filenames:[".bash_aliases",".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_aliases","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:346,vscodeLanguageIds:["shellscript"]},{name:"ShellSession",parsers:["sh"],aliases:["bash session","console"],extensions:[".sh-session"],tmScope:"text.shell-session",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:347,vscodeLanguageIds:["shellscript"]},{name:"Tcsh",parsers:["sh"],group:"Shell",extensions:[".tcsh",".csh"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:368,vscodeLanguageIds:["shellscript"]},{name:"Windows Registry Entries",parsers:["sh"],extensions:[".reg"],tmScope:"source.reg",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:969674868,vscodeLanguageIds:["ini"]},{name:"JvmOptions",parsers:["sh"],extensions:[".vmoptions"],filenames:["jvm.options"],vscodeLanguageIds:["jvmoptions"]},{name:"hosts",parsers:["sh"],filenames:["hosts"],vscodeLanguageIds:["hosts"]},{name:"dotenv",parsers:["sh"],extensions:[".env"],filenames:[".env.*"],vscodeLanguageIds:["dotenv"]}],parsers:{sh:{parse:(e,s,{filepath:i})=>o.Parse(e,i),astFormat:"sh",locStart:e=>e.Pos().Offset(),locEnd:e=>e.End().Offset()}},printers:{sh:{print:e=>i.Print(e.getValue())}}};export default r; |
@@ -182,2 +182,3 @@ import sh from 'mvdan-sh'; | ||
".cfg", | ||
".dof", | ||
".lektorproject", | ||
@@ -184,0 +185,0 @@ ".prefs", |
@@ -1,1 +0,1 @@ | ||
import e from"mvdan-sh";var s=e.syntax,o=s.NewParser(s.KeepComments),r=s.NewPrinter(),i={name:"prettier-plugin-sh",languages:[{name:"Alpine Abuild",parsers:["sh"],group:"Shell",aliases:["abuild","apkbuild"],filenames:["APKBUILD"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:14,vscodeLanguageIds:["shellscript"]},{name:"Altium Designer",parsers:["sh"],aliases:["altium"],extensions:[".OutJob",".PcbDoc",".PrjPCB",".SchDoc"],tmScope:"source.ini",aceMode:"ini",linguistLanguageId:187772328,vscodeLanguageIds:["ini"]},{name:"Dockerfile",parsers:["sh"],extensions:[".dockerfile"],filenames:["Dockerfile"],tmScope:"source.dockerfile",aceMode:"dockerfile",codemirrorMode:"dockerfile",codemirrorMimeType:"text/x-dockerfile",linguistLanguageId:89,vscodeLanguageIds:["dockerfile"]},{name:"EditorConfig",parsers:["sh"],group:"INI",aliases:["editor-config"],filenames:[".editorconfig"],tmScope:"source.editorconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:96139566,vscodeLanguageIds:["ini"]},{name:"Gentoo Ebuild",parsers:["sh"],group:"Shell",extensions:[".ebuild"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:127,vscodeLanguageIds:["shellscript"]},{name:"Gentoo Eclass",parsers:["sh"],group:"Shell",extensions:[".eclass"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:128,vscodeLanguageIds:["shellscript"]},{name:"Git Attributes",parsers:["sh"],group:"INI",aliases:["gitattributes"],filenames:[".gitattributes"],tmScope:"source.gitattributes",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:956324166,vscodeLanguageIds:["gitignore"]},{name:"Git Config",parsers:["sh"],group:"INI",aliases:["gitconfig","gitmodules"],extensions:[".gitconfig"],filenames:[".gitconfig",".gitmodules"],tmScope:"source.gitconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:807968997,vscodeLanguageIds:["ini"]},{name:"INI",parsers:["sh"],aliases:["dosini"],extensions:[".ini",".cfg",".lektorproject",".prefs",".pro",".properties"],filenames:["buildozer.spec"],tmScope:"source.ini",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:163,vscodeLanguageIds:["ini"]},{name:"Ignore List",parsers:["sh"],group:"INI",aliases:["ignore","gitignore","git-ignore"],extensions:[".gitignore"],filenames:[".atomignore",".babelignore",".bzrignore",".coffeelintignore",".cvsignore",".dockerignore",".eslintignore",".gitignore",".nodemonignore",".npmignore",".prettierignore",".stylelintignore",".vscodeignore","gitignore-global","gitignore_global"],tmScope:"source.gitignore",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:74444240,vscodeLanguageIds:["gitignore"]},{name:"Java Properties",parsers:["sh"],extensions:[".properties"],tmScope:"source.java-properties",aceMode:"properties",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:519377561,vscodeLanguageIds:["properties"]},{name:"OpenRC runscript",parsers:["sh"],group:"Shell",aliases:["openrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:265,vscodeLanguageIds:["shellscript"]},{name:"Shell",parsers:["sh"],aliases:["sh","shell-script","bash","zsh"],extensions:[".sh",".bash",".bats",".cgi",".command",".fcgi",".ksh",".sh.in",".tmux",".tool",".zsh"],filenames:[".bash_aliases",".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_aliases","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:346,vscodeLanguageIds:["shellscript"]},{name:"ShellSession",parsers:["sh"],aliases:["bash session","console"],extensions:[".sh-session"],tmScope:"text.shell-session",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:347,vscodeLanguageIds:["shellscript"]},{name:"Tcsh",parsers:["sh"],group:"Shell",extensions:[".tcsh",".csh"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:368,vscodeLanguageIds:["shellscript"]},{name:"Windows Registry Entries",parsers:["sh"],extensions:[".reg"],tmScope:"source.reg",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:969674868,vscodeLanguageIds:["ini"]},{name:"JvmOptions",parsers:["sh"],extensions:[".vmoptions"],filenames:["jvm.options"],vscodeLanguageIds:["jvmoptions"]},{name:"hosts",parsers:["sh"],filenames:["hosts"],vscodeLanguageIds:["hosts"]},{name:"dotenv",parsers:["sh"],extensions:[".env"],filenames:[".env.*"],vscodeLanguageIds:["dotenv"]}],parsers:{sh:{parse:function(e,s,r){var i=r.filepath;return o.Parse(e,i)},astFormat:"sh",locStart:function(e){return e.Pos().Offset()},locEnd:function(e){return e.End().Offset()}}},printers:{sh:{print:function(e){return r.Print(e.getValue())}}}};export default i; | ||
import e from"mvdan-sh";var s=e.syntax,o=s.NewParser(s.KeepComments),r=s.NewPrinter(),i={name:"prettier-plugin-sh",languages:[{name:"Alpine Abuild",parsers:["sh"],group:"Shell",aliases:["abuild","apkbuild"],filenames:["APKBUILD"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:14,vscodeLanguageIds:["shellscript"]},{name:"Altium Designer",parsers:["sh"],aliases:["altium"],extensions:[".OutJob",".PcbDoc",".PrjPCB",".SchDoc"],tmScope:"source.ini",aceMode:"ini",linguistLanguageId:187772328,vscodeLanguageIds:["ini"]},{name:"Dockerfile",parsers:["sh"],extensions:[".dockerfile"],filenames:["Dockerfile"],tmScope:"source.dockerfile",aceMode:"dockerfile",codemirrorMode:"dockerfile",codemirrorMimeType:"text/x-dockerfile",linguistLanguageId:89,vscodeLanguageIds:["dockerfile"]},{name:"EditorConfig",parsers:["sh"],group:"INI",aliases:["editor-config"],filenames:[".editorconfig"],tmScope:"source.editorconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:96139566,vscodeLanguageIds:["ini"]},{name:"Gentoo Ebuild",parsers:["sh"],group:"Shell",extensions:[".ebuild"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:127,vscodeLanguageIds:["shellscript"]},{name:"Gentoo Eclass",parsers:["sh"],group:"Shell",extensions:[".eclass"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:128,vscodeLanguageIds:["shellscript"]},{name:"Git Attributes",parsers:["sh"],group:"INI",aliases:["gitattributes"],filenames:[".gitattributes"],tmScope:"source.gitattributes",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:956324166,vscodeLanguageIds:["gitignore"]},{name:"Git Config",parsers:["sh"],group:"INI",aliases:["gitconfig","gitmodules"],extensions:[".gitconfig"],filenames:[".gitconfig",".gitmodules"],tmScope:"source.gitconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:807968997,vscodeLanguageIds:["ini"]},{name:"INI",parsers:["sh"],aliases:["dosini"],extensions:[".ini",".cfg",".dof",".lektorproject",".prefs",".pro",".properties"],filenames:["buildozer.spec"],tmScope:"source.ini",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:163,vscodeLanguageIds:["ini"]},{name:"Ignore List",parsers:["sh"],group:"INI",aliases:["ignore","gitignore","git-ignore"],extensions:[".gitignore"],filenames:[".atomignore",".babelignore",".bzrignore",".coffeelintignore",".cvsignore",".dockerignore",".eslintignore",".gitignore",".nodemonignore",".npmignore",".prettierignore",".stylelintignore",".vscodeignore","gitignore-global","gitignore_global"],tmScope:"source.gitignore",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:74444240,vscodeLanguageIds:["gitignore"]},{name:"Java Properties",parsers:["sh"],extensions:[".properties"],tmScope:"source.java-properties",aceMode:"properties",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:519377561,vscodeLanguageIds:["properties"]},{name:"OpenRC runscript",parsers:["sh"],group:"Shell",aliases:["openrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:265,vscodeLanguageIds:["shellscript"]},{name:"Shell",parsers:["sh"],aliases:["sh","shell-script","bash","zsh"],extensions:[".sh",".bash",".bats",".cgi",".command",".fcgi",".ksh",".sh.in",".tmux",".tool",".zsh"],filenames:[".bash_aliases",".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_aliases","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:346,vscodeLanguageIds:["shellscript"]},{name:"ShellSession",parsers:["sh"],aliases:["bash session","console"],extensions:[".sh-session"],tmScope:"text.shell-session",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:347,vscodeLanguageIds:["shellscript"]},{name:"Tcsh",parsers:["sh"],group:"Shell",extensions:[".tcsh",".csh"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:368,vscodeLanguageIds:["shellscript"]},{name:"Windows Registry Entries",parsers:["sh"],extensions:[".reg"],tmScope:"source.reg",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:969674868,vscodeLanguageIds:["ini"]},{name:"JvmOptions",parsers:["sh"],extensions:[".vmoptions"],filenames:["jvm.options"],vscodeLanguageIds:["jvmoptions"]},{name:"hosts",parsers:["sh"],filenames:["hosts"],vscodeLanguageIds:["hosts"]},{name:"dotenv",parsers:["sh"],extensions:[".env"],filenames:[".env.*"],vscodeLanguageIds:["dotenv"]}],parsers:{sh:{parse:function(e,s,r){var i=r.filepath;return o.Parse(e,i)},astFormat:"sh",locStart:function(e){return e.Pos().Offset()},locEnd:function(e){return e.End().Offset()}}},printers:{sh:{print:function(e){return r.Print(e.getValue())}}}};export default i; |
@@ -180,2 +180,3 @@ export var languages = [ | ||
".cfg", | ||
".dof", | ||
".lektorproject", | ||
@@ -182,0 +183,0 @@ ".prefs", |
@@ -188,2 +188,3 @@ (function (global, factory) { | ||
".cfg", | ||
".dof", | ||
".lektorproject", | ||
@@ -190,0 +191,0 @@ ".prefs", |
@@ -1,1 +0,1 @@ | ||
!function(e,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("mvdan-sh")):"function"==typeof define&&define.amd?define(["mvdan-sh"],s):((e=e||self).prettierPlugins=e.prettierPlugins||{},e.prettierPlugins.sh=s(e.MvdanSh))}(this,(function(e){"use strict";var s=(e=e&&e.hasOwnProperty("default")?e.default:e).syntax,o=s.NewParser(s.KeepComments),r=s.NewPrinter();return{name:"prettier-plugin-sh",languages:[{name:"Alpine Abuild",parsers:["sh"],group:"Shell",aliases:["abuild","apkbuild"],filenames:["APKBUILD"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:14,vscodeLanguageIds:["shellscript"]},{name:"Altium Designer",parsers:["sh"],aliases:["altium"],extensions:[".OutJob",".PcbDoc",".PrjPCB",".SchDoc"],tmScope:"source.ini",aceMode:"ini",linguistLanguageId:187772328,vscodeLanguageIds:["ini"]},{name:"Dockerfile",parsers:["sh"],extensions:[".dockerfile"],filenames:["Dockerfile"],tmScope:"source.dockerfile",aceMode:"dockerfile",codemirrorMode:"dockerfile",codemirrorMimeType:"text/x-dockerfile",linguistLanguageId:89,vscodeLanguageIds:["dockerfile"]},{name:"EditorConfig",parsers:["sh"],group:"INI",aliases:["editor-config"],filenames:[".editorconfig"],tmScope:"source.editorconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:96139566,vscodeLanguageIds:["ini"]},{name:"Gentoo Ebuild",parsers:["sh"],group:"Shell",extensions:[".ebuild"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:127,vscodeLanguageIds:["shellscript"]},{name:"Gentoo Eclass",parsers:["sh"],group:"Shell",extensions:[".eclass"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:128,vscodeLanguageIds:["shellscript"]},{name:"Git Attributes",parsers:["sh"],group:"INI",aliases:["gitattributes"],filenames:[".gitattributes"],tmScope:"source.gitattributes",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:956324166,vscodeLanguageIds:["gitignore"]},{name:"Git Config",parsers:["sh"],group:"INI",aliases:["gitconfig","gitmodules"],extensions:[".gitconfig"],filenames:[".gitconfig",".gitmodules"],tmScope:"source.gitconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:807968997,vscodeLanguageIds:["ini"]},{name:"INI",parsers:["sh"],aliases:["dosini"],extensions:[".ini",".cfg",".lektorproject",".prefs",".pro",".properties"],filenames:["buildozer.spec"],tmScope:"source.ini",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:163,vscodeLanguageIds:["ini"]},{name:"Ignore List",parsers:["sh"],group:"INI",aliases:["ignore","gitignore","git-ignore"],extensions:[".gitignore"],filenames:[".atomignore",".babelignore",".bzrignore",".coffeelintignore",".cvsignore",".dockerignore",".eslintignore",".gitignore",".nodemonignore",".npmignore",".prettierignore",".stylelintignore",".vscodeignore","gitignore-global","gitignore_global"],tmScope:"source.gitignore",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:74444240,vscodeLanguageIds:["gitignore"]},{name:"Java Properties",parsers:["sh"],extensions:[".properties"],tmScope:"source.java-properties",aceMode:"properties",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:519377561,vscodeLanguageIds:["properties"]},{name:"OpenRC runscript",parsers:["sh"],group:"Shell",aliases:["openrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:265,vscodeLanguageIds:["shellscript"]},{name:"Shell",parsers:["sh"],aliases:["sh","shell-script","bash","zsh"],extensions:[".sh",".bash",".bats",".cgi",".command",".fcgi",".ksh",".sh.in",".tmux",".tool",".zsh"],filenames:[".bash_aliases",".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_aliases","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:346,vscodeLanguageIds:["shellscript"]},{name:"ShellSession",parsers:["sh"],aliases:["bash session","console"],extensions:[".sh-session"],tmScope:"text.shell-session",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:347,vscodeLanguageIds:["shellscript"]},{name:"Tcsh",parsers:["sh"],group:"Shell",extensions:[".tcsh",".csh"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:368,vscodeLanguageIds:["shellscript"]},{name:"Windows Registry Entries",parsers:["sh"],extensions:[".reg"],tmScope:"source.reg",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:969674868,vscodeLanguageIds:["ini"]},{name:"JvmOptions",parsers:["sh"],extensions:[".vmoptions"],filenames:["jvm.options"],vscodeLanguageIds:["jvmoptions"]},{name:"hosts",parsers:["sh"],filenames:["hosts"],vscodeLanguageIds:["hosts"]},{name:"dotenv",parsers:["sh"],extensions:[".env"],filenames:[".env.*"],vscodeLanguageIds:["dotenv"]}],parsers:{sh:{parse:function(e,s,r){var i=r.filepath;return o.Parse(e,i)},astFormat:"sh",locStart:function(e){return e.Pos().Offset()},locEnd:function(e){return e.End().Offset()}}},printers:{sh:{print:function(e){return r.Print(e.getValue())}}}}})); | ||
!function(e,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("mvdan-sh")):"function"==typeof define&&define.amd?define(["mvdan-sh"],s):((e=e||self).prettierPlugins=e.prettierPlugins||{},e.prettierPlugins.sh=s(e.MvdanSh))}(this,(function(e){"use strict";var s=(e=e&&e.hasOwnProperty("default")?e.default:e).syntax,o=s.NewParser(s.KeepComments),r=s.NewPrinter();return{name:"prettier-plugin-sh",languages:[{name:"Alpine Abuild",parsers:["sh"],group:"Shell",aliases:["abuild","apkbuild"],filenames:["APKBUILD"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:14,vscodeLanguageIds:["shellscript"]},{name:"Altium Designer",parsers:["sh"],aliases:["altium"],extensions:[".OutJob",".PcbDoc",".PrjPCB",".SchDoc"],tmScope:"source.ini",aceMode:"ini",linguistLanguageId:187772328,vscodeLanguageIds:["ini"]},{name:"Dockerfile",parsers:["sh"],extensions:[".dockerfile"],filenames:["Dockerfile"],tmScope:"source.dockerfile",aceMode:"dockerfile",codemirrorMode:"dockerfile",codemirrorMimeType:"text/x-dockerfile",linguistLanguageId:89,vscodeLanguageIds:["dockerfile"]},{name:"EditorConfig",parsers:["sh"],group:"INI",aliases:["editor-config"],filenames:[".editorconfig"],tmScope:"source.editorconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:96139566,vscodeLanguageIds:["ini"]},{name:"Gentoo Ebuild",parsers:["sh"],group:"Shell",extensions:[".ebuild"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:127,vscodeLanguageIds:["shellscript"]},{name:"Gentoo Eclass",parsers:["sh"],group:"Shell",extensions:[".eclass"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:128,vscodeLanguageIds:["shellscript"]},{name:"Git Attributes",parsers:["sh"],group:"INI",aliases:["gitattributes"],filenames:[".gitattributes"],tmScope:"source.gitattributes",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:956324166,vscodeLanguageIds:["gitignore"]},{name:"Git Config",parsers:["sh"],group:"INI",aliases:["gitconfig","gitmodules"],extensions:[".gitconfig"],filenames:[".gitconfig",".gitmodules"],tmScope:"source.gitconfig",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:807968997,vscodeLanguageIds:["ini"]},{name:"INI",parsers:["sh"],aliases:["dosini"],extensions:[".ini",".cfg",".dof",".lektorproject",".prefs",".pro",".properties"],filenames:["buildozer.spec"],tmScope:"source.ini",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:163,vscodeLanguageIds:["ini"]},{name:"Ignore List",parsers:["sh"],group:"INI",aliases:["ignore","gitignore","git-ignore"],extensions:[".gitignore"],filenames:[".atomignore",".babelignore",".bzrignore",".coffeelintignore",".cvsignore",".dockerignore",".eslintignore",".gitignore",".nodemonignore",".npmignore",".prettierignore",".stylelintignore",".vscodeignore","gitignore-global","gitignore_global"],tmScope:"source.gitignore",aceMode:"gitignore",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:74444240,vscodeLanguageIds:["gitignore"]},{name:"Java Properties",parsers:["sh"],extensions:[".properties"],tmScope:"source.java-properties",aceMode:"properties",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:519377561,vscodeLanguageIds:["properties"]},{name:"OpenRC runscript",parsers:["sh"],group:"Shell",aliases:["openrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:265,vscodeLanguageIds:["shellscript"]},{name:"Shell",parsers:["sh"],aliases:["sh","shell-script","bash","zsh"],extensions:[".sh",".bash",".bats",".cgi",".command",".fcgi",".ksh",".sh.in",".tmux",".tool",".zsh"],filenames:[".bash_aliases",".bash_history",".bash_logout",".bash_profile",".bashrc",".cshrc",".login",".profile",".zlogin",".zlogout",".zprofile",".zshenv",".zshrc","9fs","PKGBUILD","bash_aliases","bash_logout","bash_profile","bashrc","cshrc","gradlew","login","man","profile","zlogin","zlogout","zprofile","zshenv","zshrc"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:346,vscodeLanguageIds:["shellscript"]},{name:"ShellSession",parsers:["sh"],aliases:["bash session","console"],extensions:[".sh-session"],tmScope:"text.shell-session",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:347,vscodeLanguageIds:["shellscript"]},{name:"Tcsh",parsers:["sh"],group:"Shell",extensions:[".tcsh",".csh"],tmScope:"source.shell",aceMode:"sh",codemirrorMode:"shell",codemirrorMimeType:"text/x-sh",linguistLanguageId:368,vscodeLanguageIds:["shellscript"]},{name:"Windows Registry Entries",parsers:["sh"],extensions:[".reg"],tmScope:"source.reg",aceMode:"ini",codemirrorMode:"properties",codemirrorMimeType:"text/x-properties",linguistLanguageId:969674868,vscodeLanguageIds:["ini"]},{name:"JvmOptions",parsers:["sh"],extensions:[".vmoptions"],filenames:["jvm.options"],vscodeLanguageIds:["jvmoptions"]},{name:"hosts",parsers:["sh"],filenames:["hosts"],vscodeLanguageIds:["hosts"]},{name:"dotenv",parsers:["sh"],extensions:[".env"],filenames:[".env.*"],vscodeLanguageIds:["dotenv"]}],parsers:{sh:{parse:function(e,s,r){var i=r.filepath;return o.Parse(e,i)},astFormat:"sh",locStart:function(e){return e.Pos().Offset()},locEnd:function(e){return e.End().Offset()}}},printers:{sh:{print:function(e){return r.Print(e.getValue())}}}}})); |
{ | ||
"name": "prettier-plugin-sh", | ||
"version": "0.2.4", | ||
"version": "0.2.6", | ||
"description": "An opinionated `shellscript、Dockerfile、properties、gitignore、dotenv、hosts、jvmoptions...` formatter plugin for Prettier", | ||
@@ -38,4 +38,3 @@ "repository": "git@github.com/rx-ts/prettier.git", | ||
"mvdan-sh": "^0.4.0" | ||
}, | ||
"gitHead": "d118d6c6a27597f52d681e5a129d8fcc0bf94ded" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89180
2401