@bud.sh/app 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{index-sj6mWw9-.js → index-GPPa1XPO.js} +2 -2
- package/dist/client/assets/workspace-CznMN7F6.js +2 -0
- package/dist/client/index.html +1 -1
- package/dist/hosted/hosted.js +233 -38
- package/dist/node/index.js +95 -0
- package/dist/node-host/assets/abap-LtYK6g-v.js +3 -0
- package/dist/node-host/assets/actionscript-3-CfsDl31I.js +3 -0
- package/dist/node-host/assets/ada-CvTdxb4T.js +3 -0
- package/dist/node-host/assets/ahk-HN_I_y_3.js +3 -0
- package/dist/node-host/assets/ahk2-bJ5Wm9-K.js +3 -0
- package/dist/node-host/assets/andromeeda-BASpqCeJ.js +4 -0
- package/dist/node-host/assets/angular-html-C4SmZqv0.js +33 -0
- package/dist/node-host/assets/angular-ts-X1i_WOxI.js +27 -0
- package/dist/node-host/assets/apache-BIl2qPOf.js +3 -0
- package/dist/node-host/assets/apex-CybrBQ0z.js +3 -0
- package/dist/node-host/assets/api_vite-DSBC5Nzy.js +5 -0
- package/dist/node-host/assets/apl-CDTyNgE2.js +17 -0
- package/dist/node-host/assets/applescript-CJ80B5XJ.js +3 -0
- package/dist/node-host/assets/ara-IxnQjO6j.js +3 -0
- package/dist/node-host/assets/asciidoc-xKuVlNk6.js +3 -0
- package/dist/node-host/assets/asm-wBDSgBbA.js +3 -0
- package/dist/node-host/assets/astro-BiZFCPSt.js +19 -0
- package/dist/node-host/assets/aurora-x-DugsLcii.js +4 -0
- package/dist/node-host/assets/awk-D6dA05Ye.js +3 -0
- package/dist/node-host/assets/ayu-dark-BT3qdi3o.js +4 -0
- package/dist/node-host/assets/ayu-light-BVZyHoh9.js +4 -0
- package/dist/node-host/assets/ayu-mirage-XFwUVZQZ.js +4 -0
- package/dist/node-host/assets/ballerina-DIdXD2KH.js +3 -0
- package/dist/node-host/assets/bat-Dx8nnxXE.js +3 -0
- package/dist/node-host/assets/beancount-BG2UQN2D.js +3 -0
- package/dist/node-host/assets/berry-CgA2ea0_.js +3 -0
- package/dist/node-host/assets/bibtex-BzgdqG3s.js +3 -0
- package/dist/node-host/assets/bicep-CZ338dSk.js +3 -0
- package/dist/node-host/assets/bird2-BMprQDNV.js +3 -0
- package/dist/node-host/assets/blade-cZjv4Qad.js +21 -0
- package/dist/node-host/assets/bsl-Bh8bzcoy.js +6 -0
- package/dist/node-host/assets/build-Dn-L17Oj.js +5372 -0
- package/dist/node-host/assets/c-BXsbGxlp.js +6 -0
- package/dist/node-host/assets/c3-u0qNrniV.js +3 -0
- package/dist/node-host/assets/cadence-B1ELWULD.js +3 -0
- package/dist/node-host/assets/cairo-BsQhEq3R.js +6 -0
- package/dist/node-host/assets/canvas-BZhzizzt.js +1066 -0
- package/dist/node-host/assets/catppuccin-frappe-D20KODDN.js +4 -0
- package/dist/node-host/assets/catppuccin-latte-eGLVHIUJ.js +4 -0
- package/dist/node-host/assets/catppuccin-macchiato-bQGch4PY.js +4 -0
- package/dist/node-host/assets/catppuccin-mocha-Bes8-0Mr.js +4 -0
- package/dist/node-host/assets/chapel-cEZNBFmv.js +6 -0
- package/dist/node-host/assets/clarity-BkOxTQMf.js +3 -0
- package/dist/node-host/assets/clojure-DDsQ0FaV.js +3 -0
- package/dist/node-host/assets/cloneFileDiffMetadata-C1BcNpxN.js +3075 -0
- package/dist/node-host/assets/cmake-DPsCB_V6.js +3 -0
- package/dist/node-host/assets/cobol-BpMD18Rr.js +11 -0
- package/dist/node-host/assets/codeowners-CxEKPWu0.js +3 -0
- package/dist/node-host/assets/codeql-BwdvwJnv.js +3 -0
- package/dist/node-host/assets/coffee-BX_u-2R1.js +6 -0
- package/dist/node-host/assets/comment-data-nUlI0szN.js +92501 -0
- package/dist/node-host/assets/common-lisp-DJtwvW4V.js +3 -0
- package/dist/node-host/assets/coq-Byd42hNw.js +3 -0
- package/dist/node-host/assets/cpp-DjJRL98I.js +22 -0
- package/dist/node-host/assets/crystal-Cz-dKioR.js +19 -0
- package/dist/node-host/assets/csharp-Cx443ZdC.js +3 -0
- package/dist/node-host/assets/css-CWNyyZRg.js +6 -0
- package/dist/node-host/assets/csv-DqIVFkK7.js +3 -0
- package/dist/node-host/assets/cue-B5KneM5p.js +3 -0
- package/dist/node-host/assets/cypher-D8Bb8Cq2.js +3 -0
- package/dist/node-host/assets/d-BQY8TDgQ.js +3 -0
- package/dist/node-host/assets/dark-plus-BGuiqa1B.js +4 -0
- package/dist/node-host/assets/dart-BZ3YsgDB.js +3 -0
- package/dist/node-host/assets/dax-S-Noo-ku.js +3 -0
- package/dist/node-host/assets/desktop-BgOb7Aj4.js +3 -0
- package/dist/node-host/assets/diff-Blb4MjsC.js +3 -0
- package/dist/node-host/assets/dist-CVXhIZqO.js +6659 -0
- package/dist/node-host/assets/docker-PC1tuYpa.js +3 -0
- package/dist/node-host/assets/dotenv-BNWDqzYB.js +3 -0
- package/dist/node-host/assets/dracula-0CVA2XY5.js +4 -0
- package/dist/node-host/assets/dracula-soft-Dk9bpbVU.js +4 -0
- package/dist/node-host/assets/dream-maker-CngiPd8U.js +3 -0
- package/dist/node-host/assets/edge-D1_nghia.js +13 -0
- package/dist/node-host/assets/edit-DjpTbnEc.js +9788 -0
- package/dist/node-host/assets/elixir-x6BMZ6zW.js +6 -0
- package/dist/node-host/assets/elm-CiAjb3qf.js +6 -0
- package/dist/node-host/assets/emacs-lisp-DPCJASlD.js +3 -0
- package/dist/node-host/assets/erb-DzXTnEFa.js +11 -0
- package/dist/node-host/assets/erlang-DALBVNgL.js +6 -0
- package/dist/node-host/assets/everforest-dark-CRjTbhh5.js +4 -0
- package/dist/node-host/assets/everforest-light-CEeYFLn8.js +4 -0
- package/dist/node-host/assets/fennel-B3wtZRne.js +3 -0
- package/dist/node-host/assets/files-CTzcWGjb.js +3771 -0
- package/dist/node-host/assets/fish-D7qAeWQz.js +3 -0
- package/dist/node-host/assets/fluent-BjfpB34g.js +3 -0
- package/dist/node-host/assets/fortran-fixed-form-BbzsUHx4.js +6 -0
- package/dist/node-host/assets/fortran-free-form-yxJ7igsv.js +3 -0
- package/dist/node-host/assets/fsharp-D2o1Vyx0.js +6 -0
- package/dist/node-host/assets/gdresource-aTcOcjSd.js +11 -0
- package/dist/node-host/assets/gdscript-CSSSWtkL.js +3 -0
- package/dist/node-host/assets/gdshader-D7JfdFV3.js +3 -0
- package/dist/node-host/assets/genie-DnK2KWIP.js +3 -0
- package/dist/node-host/assets/gherkin-D6Lr12YQ.js +3 -0
- package/dist/node-host/assets/git-commit-BU1ZeqU-.js +6 -0
- package/dist/node-host/assets/git-rebase-BBwLmuqc.js +6 -0
- package/dist/node-host/assets/github-dark-BXgKmOw_.js +4 -0
- package/dist/node-host/assets/github-dark-default-DzJQXksd.js +4 -0
- package/dist/node-host/assets/github-dark-dimmed-B1pEmGtS.js +4 -0
- package/dist/node-host/assets/github-dark-high-contrast-BkHIa6jc.js +4 -0
- package/dist/node-host/assets/github-light-BKRlUbaB.js +4 -0
- package/dist/node-host/assets/github-light-default-BU3eYkzs.js +4 -0
- package/dist/node-host/assets/github-light-high-contrast-B3MumDcI.js +4 -0
- package/dist/node-host/assets/gleam-CTllUdfC.js +3 -0
- package/dist/node-host/assets/glimmer-js-Cr4KUylv.js +15 -0
- package/dist/node-host/assets/glimmer-ts-W_3bhuUU.js +15 -0
- package/dist/node-host/assets/glsl-CV8OarLe.js +8 -0
- package/dist/node-host/assets/gn-CpIn4Dcw.js +3 -0
- package/dist/node-host/assets/gnuplot-DgWvVXI8.js +3 -0
- package/dist/node-host/assets/go-aXtTCanQ.js +3 -0
- package/dist/node-host/assets/graphql-BzQEBhBd.js +17 -0
- package/dist/node-host/assets/groovy-Bw2Ku4bU.js +3 -0
- package/dist/node-host/assets/gruvbox-dark-hard-B0ecF443.js +4 -0
- package/dist/node-host/assets/gruvbox-dark-medium-BQnpC39k.js +4 -0
- package/dist/node-host/assets/gruvbox-dark-soft-DFZUgESr.js +4 -0
- package/dist/node-host/assets/gruvbox-light-hard-CuB_LOJr.js +4 -0
- package/dist/node-host/assets/gruvbox-light-medium-idDHgxjs.js +4 -0
- package/dist/node-host/assets/gruvbox-light-soft-CfWH49MY.js +4 -0
- package/dist/node-host/assets/hack-DhYZEMlu.js +11 -0
- package/dist/node-host/assets/haml-CRid5kR3.js +13 -0
- package/dist/node-host/assets/handlebars-Sm6kCGmL.js +15 -0
- package/dist/node-host/assets/haskell-CfGsE1Cf.js +3 -0
- package/dist/node-host/assets/haxe-QaqXWmIB.js +3 -0
- package/dist/node-host/assets/hcl-DHg_Osgo.js +3 -0
- package/dist/node-host/assets/hjson-Cuaphql8.js +3 -0
- package/dist/node-host/assets/hlsl-BJLUNfne.js +3 -0
- package/dist/node-host/assets/horizon-bright-Ba6M8QSV.js +4 -0
- package/dist/node-host/assets/horizon-h92C5OlZ.js +4 -0
- package/dist/node-host/assets/houston-EQnPegWq.js +4 -0
- package/dist/node-host/assets/html-derivative-Cm8plTfc.js +6 -0
- package/dist/node-host/assets/html-j1vihRKA.js +13 -0
- package/dist/node-host/assets/http-BZNc4yhO.js +15 -0
- package/dist/node-host/assets/hurl-O8ckTHPH.js +13 -0
- package/dist/node-host/assets/hxml-9hvSHCPQ.js +6 -0
- package/dist/node-host/assets/hy-CJKxDzbh.js +3 -0
- package/dist/node-host/assets/imba-96qKoJCa.js +3 -0
- package/dist/node-host/assets/ini-C24lZfdM.js +3 -0
- package/dist/node-host/assets/java-CFxSaKyu.js +6 -0
- package/dist/node-host/assets/javascript-D44WgUBn.js +6 -0
- package/dist/node-host/assets/jinja-BkVH86If.js +10 -0
- package/dist/node-host/assets/jison-DOInKsmT.js +6 -0
- package/dist/node-host/assets/jiti-CjBwKumX.js +5461 -0
- package/dist/node-host/assets/json-CnGl9idC.js +6 -0
- package/dist/node-host/assets/json5-xULSgPQI.js +3 -0
- package/dist/node-host/assets/jsonc-Cu6rqcrJ.js +3 -0
- package/dist/node-host/assets/jsonl-Bp0qqr10.js +3 -0
- package/dist/node-host/assets/jsonnet-BafgE6cE.js +3 -0
- package/dist/node-host/assets/jssm-Dx5A5sBR.js +3 -0
- package/dist/node-host/assets/jsx-Dv6553c2.js +6 -0
- package/dist/node-host/assets/julia-CnoY-eZu.js +17 -0
- package/dist/node-host/assets/just-rCgUmVkD.js +19 -0
- package/dist/node-host/assets/kanagawa-dragon-DgDvwi3B.js +4 -0
- package/dist/node-host/assets/kanagawa-lotus-BgoQro20.js +4 -0
- package/dist/node-host/assets/kanagawa-wave-DgXEowHs.js +4 -0
- package/dist/node-host/assets/kdl-DkTyxPcj.js +3 -0
- package/dist/node-host/assets/kotlin-BHE8CoV9.js +3 -0
- package/dist/node-host/assets/kusto-6FdaWTzR.js +3 -0
- package/dist/node-host/assets/laserwave-IxBH_3yW.js +4 -0
- package/dist/node-host/assets/latex-DTvJHHg_.js +6 -0
- package/dist/node-host/assets/lean-BwOKScIt.js +3 -0
- package/dist/node-host/assets/less-BzbdhFUi.js +3 -0
- package/dist/node-host/assets/lib-BzDu3tbz.js +17484 -0
- package/dist/node-host/assets/light-plus-S8JBx6is.js +4 -0
- package/dist/node-host/assets/liquid-praBF2DO.js +15 -0
- package/dist/node-host/assets/llvm-ZNG_yAr9.js +3 -0
- package/dist/node-host/assets/log-Dad54gsi.js +3 -0
- package/dist/node-host/assets/logo-DTXV8SKw.js +3 -0
- package/dist/node-host/assets/lru-C0_oUet4.js +134 -0
- package/dist/node-host/assets/lua-CiYoSQn2.js +8 -0
- package/dist/node-host/assets/luau-DlImmvOM.js +3 -0
- package/dist/node-host/assets/main-D0ab5M4V.js +2353 -0
- package/dist/node-host/assets/make-B2ukzWs3.js +3 -0
- package/dist/node-host/assets/markdown-CkmxmzqY.js +3 -0
- package/dist/node-host/assets/marko-Din1W3ot.js +15 -0
- package/dist/node-host/assets/material-theme-D1f3HBq-.js +4 -0
- package/dist/node-host/assets/material-theme-darker-ExzYhT0j.js +4 -0
- package/dist/node-host/assets/material-theme-lighter-D6gH9nnA.js +4 -0
- package/dist/node-host/assets/material-theme-ocean-D1w5BPAa.js +4 -0
- package/dist/node-host/assets/material-theme-palenight-CkqWmVpF.js +4 -0
- package/dist/node-host/assets/matlab-CfRK6IMC.js +3 -0
- package/dist/node-host/assets/mdc-DrUS0kOP.js +13 -0
- package/dist/node-host/assets/mdx-BK9ZufRc.js +3 -0
- package/dist/node-host/assets/mermaid-ItFqCK9s.js +3 -0
- package/dist/node-host/assets/min-dark-npsJH98j.js +4 -0
- package/dist/node-host/assets/min-light-DUk1XsVt.js +4 -0
- package/dist/node-host/assets/mipsasm-EL46Y4Xg.js +3 -0
- package/dist/node-host/assets/mojo-CsUSYzsu.js +3 -0
- package/dist/node-host/assets/monokai-CfFRWUNl.js +4 -0
- package/dist/node-host/assets/moonbit-BuY4M1CG.js +3 -0
- package/dist/node-host/assets/move-B-o8dn0N.js +3 -0
- package/dist/node-host/assets/narrat-D9rrR0H5.js +3 -0
- package/dist/node-host/assets/nextflow-ByPelpfh.js +6 -0
- package/dist/node-host/assets/nextflow-groovy-kiH-pxwE.js +3 -0
- package/dist/node-host/assets/nginx-CqxQjy7t.js +6 -0
- package/dist/node-host/assets/night-owl-BS7V-av_.js +4 -0
- package/dist/node-host/assets/night-owl-light-CZtRawYE.js +4 -0
- package/dist/node-host/assets/nim-BJfyW_Eo.js +21 -0
- package/dist/node-host/assets/nix-NHxlegoK.js +7 -0
- package/dist/node-host/assets/node-CaLaDAar.js +783 -0
- package/dist/node-host/assets/nord-BFh54Nqz.js +4 -0
- package/dist/node-host/assets/nsis-C3tUpeAt.js +3 -0
- package/dist/node-host/assets/nushell-Dx3871HW.js +3 -0
- package/dist/node-host/assets/objective-c-6dJF64Dt.js +3 -0
- package/dist/node-host/assets/objective-cpp-_ooRQ-PY.js +3 -0
- package/dist/node-host/assets/ocaml-vm1Y8An6.js +3 -0
- package/dist/node-host/assets/odin-vjOJSyfV.js +3 -0
- package/dist/node-host/assets/one-dark-pro-zDovGosB.js +4 -0
- package/dist/node-host/assets/one-light-gmHK3iK6.js +4 -0
- package/dist/node-host/assets/openscad-jn-f1Ocl.js +3 -0
- package/dist/node-host/assets/org-kbyZnkNe.js +101 -0
- package/dist/node-host/assets/pages-0aWH7z1j.js +578 -0
- package/dist/node-host/assets/pascal-D8-gNZ2I.js +3 -0
- package/dist/node-host/assets/perl-Ck21ZEIA.js +17 -0
- package/dist/node-host/assets/php-BI2xxNig.js +19 -0
- package/dist/node-host/assets/pierre-dark-DDWDl8g6.js +4 -0
- package/dist/node-host/assets/pierre-dark-protanopia-deuteranopia-C35UMuvO.js +4 -0
- package/dist/node-host/assets/pierre-dark-soft-Bb-4-biO.js +4 -0
- package/dist/node-host/assets/pierre-dark-tritanopia-CIJISGWF.js +4 -0
- package/dist/node-host/assets/pierre-dark-vibrant-8oZzB3gw.js +4 -0
- package/dist/node-host/assets/pierre-light-CWhW4NrH.js +4 -0
- package/dist/node-host/assets/pierre-light-protanopia-deuteranopia-u0U7N4Hn.js +4 -0
- package/dist/node-host/assets/pierre-light-soft-BCU6fuhO.js +4 -0
- package/dist/node-host/assets/pierre-light-tritanopia-3c8Yx3co.js +4 -0
- package/dist/node-host/assets/pierre-light-vibrant-Cwh332o_.js +4 -0
- package/dist/node-host/assets/pkl-C7lWzykI.js +3 -0
- package/dist/node-host/assets/plastic-DtdaCjub.js +4 -0
- package/dist/node-host/assets/plsql-DCNXypXO.js +3 -0
- package/dist/node-host/assets/po-IjpR1yHO.js +3 -0
- package/dist/node-host/assets/poimandres-Hdda6aHK.js +4 -0
- package/dist/node-host/assets/polar-4pN1JrJ8.js +3 -0
- package/dist/node-host/assets/postcss-0FnF2XR3.js +5833 -0
- package/dist/node-host/assets/postcss-D1gKt4z_.js +3 -0
- package/dist/node-host/assets/postcss-import-D5DErX4i.js +445 -0
- package/dist/node-host/assets/powerquery-SrvS_NBM.js +3 -0
- package/dist/node-host/assets/powershell-DvPkO2jl.js +3 -0
- package/dist/node-host/assets/prisma-4G_BaF_i.js +3 -0
- package/dist/node-host/assets/project-branches-1zs_0J_y.js +600 -0
- package/dist/node-host/assets/project-thread-links-LpUAGcDr.js +241 -0
- package/dist/node-host/assets/prolog-Bacii3Ue.js +3 -0
- package/dist/node-host/assets/prompt-CH6TK0bC-ZEO69UbU.js +885 -0
- package/dist/node-host/assets/proto-ClkOcAW0.js +3 -0
- package/dist/node-host/assets/pug-Du-dOfS3.js +13 -0
- package/dist/node-host/assets/puppet-CQlPp728.js +3 -0
- package/dist/node-host/assets/purescript-CLpaGMbw.js +3 -0
- package/dist/node-host/assets/python-BjnOIxPe.js +3 -0
- package/dist/node-host/assets/qml-BcFatdsQ.js +6 -0
- package/dist/node-host/assets/qmldir-Dz8ttxjf.js +3 -0
- package/dist/node-host/assets/qss-Iltvkn1C.js +3 -0
- package/dist/node-host/assets/r-DvDYa_8Q.js +6 -0
- package/dist/node-host/assets/racket-DRv7j6nv.js +3 -0
- package/dist/node-host/assets/raku-DI9yGpeW.js +3 -0
- package/dist/node-host/assets/razor-vGjCiVYw.js +11 -0
- package/dist/node-host/assets/rbs-D_4FkXDS.js +3 -0
- package/dist/node-host/assets/red-VqZFRByZ.js +4 -0
- package/dist/node-host/assets/reg-DpJf71oO.js +3 -0
- package/dist/node-host/assets/regexp-CE_3vZDh.js +6 -0
- package/dist/node-host/assets/rel-BT0iIKKw.js +3 -0
- package/dist/node-host/assets/riscv-CvzikGLb.js +3 -0
- package/dist/node-host/assets/rolldown-runtime-DktXgydw.js +35 -0
- package/dist/node-host/assets/ron-DzAo6FTJ.js +3 -0
- package/dist/node-host/assets/rose-pine-DiTkEueR.js +4 -0
- package/dist/node-host/assets/rose-pine-dawn-tfo5y2X0.js +4 -0
- package/dist/node-host/assets/rose-pine-moon-C0gON9XN.js +4 -0
- package/dist/node-host/assets/rosmsg-CyYq6XdT.js +3 -0
- package/dist/node-host/assets/rst-BqrTc4by.js +23 -0
- package/dist/node-host/assets/ruby-DLXfYriJ.js +31 -0
- package/dist/node-host/assets/rust-CaJo2YYS.js +3 -0
- package/dist/node-host/assets/sas-DJAJgMrq.js +6 -0
- package/dist/node-host/assets/sass-DI2zJwx7.js +3 -0
- package/dist/node-host/assets/scala-pMGZAs9j.js +3 -0
- package/dist/node-host/assets/scheme-D3A2QBtM.js +3 -0
- package/dist/node-host/assets/screen-DQoTOWYR.js +494 -0
- package/dist/node-host/assets/scss-n4nz8dJI.js +8 -0
- package/dist/node-host/assets/sdbl-CdQg5gu1.js +3 -0
- package/dist/node-host/assets/shaderlab-5KHT7nQ3.js +6 -0
- package/dist/node-host/assets/shellscript-BfuVOb-a.js +6 -0
- package/dist/node-host/assets/shellsession-hT9eQUDu.js +6 -0
- package/dist/node-host/assets/slack-dark-v8P_eXr6.js +4 -0
- package/dist/node-host/assets/slack-ochin-D8SyEdKz.js +4 -0
- package/dist/node-host/assets/smalltalk-D4IpSogw.js +3 -0
- package/dist/node-host/assets/smithy-BRyN83Yn.js +3 -0
- package/dist/node-host/assets/snazzy-light-BtkQkvXb.js +4 -0
- package/dist/node-host/assets/solarized-dark-B8nAdMfM.js +4 -0
- package/dist/node-host/assets/solarized-light-B-3F1INj.js +4 -0
- package/dist/node-host/assets/solidity-DPVu0wkJ.js +3 -0
- package/dist/node-host/assets/soy-Cbnz3v4z.js +6 -0
- package/dist/node-host/assets/sparql-cTZV4yOr.js +6 -0
- package/dist/node-host/assets/splunk-xP_ZjUH2.js +3 -0
- package/dist/node-host/assets/sql-DEvbt_rU.js +6 -0
- package/dist/node-host/assets/ssh-config-DXFPABYp.js +3 -0
- package/dist/node-host/assets/stata-0wnAnxv2.js +6 -0
- package/dist/node-host/assets/stylus-ZZDn1yUO.js +3 -0
- package/dist/node-host/assets/surrealql-70--UPGf.js +6 -0
- package/dist/node-host/assets/svelte-COI8WXVC.js +15 -0
- package/dist/node-host/assets/swift-DWmMn3lF.js +3 -0
- package/dist/node-host/assets/synthwave-84-DcsXCF_c.js +4 -0
- package/dist/node-host/assets/system-verilog-DW0KSMVO.js +3 -0
- package/dist/node-host/assets/systemd-DFbUltlW.js +3 -0
- package/dist/node-host/assets/talonscript-CLxaFu-b.js +3 -0
- package/dist/node-host/assets/tasks-C0WqnM7Q.js +644 -0
- package/dist/node-host/assets/tasks-request-Bwky5ORf.js +114 -0
- package/dist/node-host/assets/tasl-_AAbKiWM.js +3 -0
- package/dist/node-host/assets/tcl-DLe0Tsfm.js +3 -0
- package/dist/node-host/assets/templ-Bd0jzThC.js +13 -0
- package/dist/node-host/assets/terraform-v0KN9QQh.js +3 -0
- package/dist/node-host/assets/tex-C1Wtngrr.js +8 -0
- package/dist/node-host/assets/tokyo-night-Bvpqduda.js +4 -0
- package/dist/node-host/assets/toml-B7BHZIqX.js +3 -0
- package/dist/node-host/assets/ts-tags-BSGaPI18.js +59 -0
- package/dist/node-host/assets/tsv-BorGVq2Z.js +3 -0
- package/dist/node-host/assets/tsx-BxnCmyTp.js +6 -0
- package/dist/node-host/assets/turtle-BEG5g_eT.js +3 -0
- package/dist/node-host/assets/twig-BJG2k0MA.js +19 -0
- package/dist/node-host/assets/typescript-Cr5OHcug.js +6 -0
- package/dist/node-host/assets/typespec--jp0a8Qj.js +3 -0
- package/dist/node-host/assets/typst-BAvHLpwp.js +121 -0
- package/dist/node-host/assets/v-DBTjbKF9.js +3 -0
- package/dist/node-host/assets/vala-BnnASFsX.js +3 -0
- package/dist/node-host/assets/vb-eGVhCUXq.js +3 -0
- package/dist/node-host/assets/verilog-Ma7yBE30.js +3 -0
- package/dist/node-host/assets/vesper-CfxmMOy3.js +4 -0
- package/dist/node-host/assets/vhdl-Co2XFKY7.js +3 -0
- package/dist/node-host/assets/viml-BReTXeDA.js +3 -0
- package/dist/node-host/assets/vitesse-black-D9-_1mjV.js +4 -0
- package/dist/node-host/assets/vitesse-dark-DlSMLlr9.js +4 -0
- package/dist/node-host/assets/vitesse-light-KRWWWztf.js +4 -0
- package/dist/node-host/assets/vue-C3fWU2fi.js +31 -0
- package/dist/node-host/assets/vue-html-DxOM9wex.js +6 -0
- package/dist/node-host/assets/vue-vine-OKzSGBlX.js +19 -0
- package/dist/node-host/assets/vyper-C6KGx0YU.js +3 -0
- package/dist/node-host/assets/wasm-CvHAs-FG.js +7 -0
- package/dist/node-host/assets/wasm-gNIKwGlD.js +3 -0
- package/dist/node-host/assets/wenyan-BeysbCrW.js +3 -0
- package/dist/node-host/assets/wgsl-1s5rV5xS.js +3 -0
- package/dist/node-host/assets/wikitext-wjhjmmzD.js +3 -0
- package/dist/node-host/assets/wit-CeQiCbz_.js +3 -0
- package/dist/node-host/assets/wolfram-CcZPfnLd.js +3 -0
- package/dist/node-host/assets/worker-factory-C80HGMWf.js +14 -0
- package/dist/node-host/assets/xml-BsBjJrlv.js +8 -0
- package/dist/node-host/assets/xsl-BYwWzvT_.js +6 -0
- package/dist/node-host/assets/yaml-BRgACZP0.js +6 -0
- package/dist/node-host/assets/zenscript-BoijL7rl.js +3 -0
- package/dist/node-host/assets/zig-lTQvxhLD.js +3 -0
- package/dist/node-host/node-host.js +41511 -0
- package/dist/server/assets/{branch-previews-C_TVt_HQ.js → branch-previews-BryeA_kA.js} +112 -3
- package/dist/server/assets/{listener-BVbFsnmX.js → listener-oKd5ETMj.js} +3 -3
- package/dist/server/assets/{server-DUBjmaBw.js → server-DN5uwE4k.js} +1 -1
- package/dist/server/assets/{services-Og5rcF50.js → services-Ber8opFE.js} +2 -2
- package/dist/server/capture.js +1 -1
- package/dist/server/migration.js +3 -3
- package/dist/server/runtime.js +4 -4
- package/dist/server/server.js +3 -3
- package/dist/types/assets/{config-BzzRLcL-.d.ts → config-Cuauq8xY.d.ts} +24 -1
- package/dist/types/assets/contract-BsCQbbxD.d.ts +111 -0
- package/dist/types/companion.d.ts +1 -1
- package/dist/types/hosted.d.ts +3 -99
- package/dist/types/index.d.ts +1 -1
- package/dist/types/node-host.d.ts +46 -0
- package/dist/types/screen.d.ts +1 -1
- package/package.json +6 -2
- package/dist/client/assets/workspace-9KxFcfyV.js +0 -2
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var postcss_default = [Object.freeze(JSON.parse("{\"displayName\":\"PostCSS\",\"fileTypes\":[\"pcss\",\"postcss\"],\"foldingStartMarker\":\"/\\\\*|^#|^\\\\*|^\\\\b|^\\\\.\",\"foldingStopMarker\":\"\\\\*/|^\\\\s*$\",\"name\":\"postcss\",\"patterns\":[{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.postcss\",\"patterns\":[{\"include\":\"#comment-tag\"}]},{\"include\":\"#double-slash\"},{\"include\":\"#double-quoted\"},{\"include\":\"#single-quoted\"},{\"include\":\"#interpolation\"},{\"include\":\"#placeholder-selector\"},{\"include\":\"#variable\"},{\"include\":\"#variable-root-css\"},{\"include\":\"#numeric\"},{\"include\":\"#unit\"},{\"include\":\"#flag\"},{\"include\":\"#dotdotdot\"},{\"begin\":\"@include\",\"captures\":{\"0\":{\"name\":\"keyword.control.at-rule.css.postcss\"}},\"end\":\"(?=[\\\\n(;{])\",\"name\":\"support.function.name.postcss.library\"},{\"begin\":\"@(?:mixin|function)\",\"captures\":{\"0\":{\"name\":\"keyword.control.at-rule.css.postcss\"}},\"end\":\"$\\\\n?|(?=[({])\",\"name\":\"support.function.name.postcss.no-completions\",\"patterns\":[{\"match\":\"[-\\\\w]+\",\"name\":\"entity.name.function\"}]},{\"match\":\"(?<=@import)\\\\s[-*./\\\\w]+\",\"name\":\"string.quoted.double.css.postcss\"},{\"begin\":\"@\",\"end\":\"$\\\\n?|\\\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)([,\\\\s]))|(?=;)\",\"name\":\"keyword.control.at-rule.css.postcss\"},{\"begin\":\"#\",\"end\":\"$\\\\n?|(?=[(),.;>\\\\[{\\\\s])\",\"name\":\"entity.other.attribute-name.id.css.postcss\",\"patterns\":[{\"include\":\"#interpolation\"},{\"include\":\"#pseudo-class\"}]},{\"begin\":\"\\\\.|(?<=&)([-_])\",\"end\":\"$\\\\n?|(?=[(),;>\\\\[{\\\\s])\",\"name\":\"entity.other.attribute-name.class.css.postcss\",\"patterns\":[{\"include\":\"#interpolation\"},{\"include\":\"#pseudo-class\"}]},{\"begin\":\"\\\\[\",\"end\":\"]\",\"name\":\"entity.other.attribute-selector.postcss\",\"patterns\":[{\"include\":\"#double-quoted\"},{\"include\":\"#single-quoted\"},{\"match\":\"[$*^~]\",\"name\":\"keyword.other.regex.postcss\"}]},{\"match\":\"(?<=[])]|not\\\\(|[*>]|>\\\\s):[-:a-z]+|(:[-:])[-:a-z]+\",\"name\":\"entity.other.attribute-name.pseudo-class.css.postcss\"},{\"begin\":\":\",\"end\":\"$\\\\n?|(?=;|\\\\s\\\\(|and\\\\(|[{}]|\\\\),)\",\"name\":\"meta.property-list.css.postcss\",\"patterns\":[{\"include\":\"#double-slash\"},{\"include\":\"#double-quoted\"},{\"include\":\"#single-quoted\"},{\"include\":\"#interpolation\"},{\"include\":\"#variable\"},{\"include\":\"#rgb-value\"},{\"include\":\"#numeric\"},{\"include\":\"#unit\"},{\"include\":\"#flag\"},{\"include\":\"#function\"},{\"include\":\"#function-content\"},{\"include\":\"#function-content-var\"},{\"include\":\"#operator\"},{\"include\":\"#parent-selector\"},{\"include\":\"#property-value\"}]},{\"include\":\"#rgb-value\"},{\"include\":\"#function\"},{\"include\":\"#function-content\"},{\"begin\":\"(?<![-(])\\\\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video|main|svg|rect|ruby|center|circle|ellipse|line|polyline|polygon|path|text|[ux])\\\\b(?![-)]|:\\\\s)|&\",\"end\":\"(?=[-(),.;>\\\\[_{\\\\s])\",\"name\":\"entity.name.tag.css.postcss.symbol\",\"patterns\":[{\"include\":\"#interpolation\"},{\"include\":\"#pseudo-class\"}]},{\"include\":\"#operator\"},{\"match\":\"[-a-z]+((?=:|#\\\\{))\",\"name\":\"support.type.property-name.css.postcss\"},{\"include\":\"#reserved-words\"},{\"include\":\"#property-value\"}],\"repository\":{\"comment-tag\":{\"begin\":\"\\\\{\\\\{\",\"end\":\"}}\",\"name\":\"comment.tags.postcss\",\"patterns\":[{\"match\":\"[-\\\\w]+\",\"name\":\"comment.tag.postcss\"}]},\"dotdotdot\":{\"match\":\"\\\\.{3}\",\"name\":\"variable.other\"},\"double-quoted\":{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.css.postcss\",\"patterns\":[{\"include\":\"#quoted-interpolation\"}]},\"double-slash\":{\"begin\":\"//\",\"end\":\"$\",\"name\":\"comment.line.postcss\",\"patterns\":[{\"include\":\"#comment-tag\"}]},\"flag\":{\"match\":\"!(important|default|optional|global)\",\"name\":\"keyword.other.important.css.postcss\"},\"function\":{\"match\":\"(?<=[(,:|\\\\s])(?!url|format|attr)[-\\\\w][-\\\\w]*(?=\\\\()\",\"name\":\"support.function.name.postcss\"},\"function-content\":{\"match\":\"(?<=url\\\\(|format\\\\(|attr\\\\().+?(?=\\\\))\",\"name\":\"string.quoted.double.css.postcss\"},\"function-content-var\":{\"match\":\"(?<=var\\\\()[-\\\\w]+(?=\\\\))\",\"name\":\"variable.parameter.postcss\"},\"interpolation\":{\"begin\":\"#\\\\{\",\"end\":\"}\",\"name\":\"support.function.interpolation.postcss\",\"patterns\":[{\"include\":\"#variable\"},{\"include\":\"#numeric\"},{\"include\":\"#operator\"},{\"include\":\"#unit\"},{\"include\":\"#double-quoted\"},{\"include\":\"#single-quoted\"}]},\"numeric\":{\"match\":\"([-.])?[0-9]+(\\\\.[0-9]+)?\",\"name\":\"constant.numeric.css.postcss\"},\"operator\":{\"match\":\"\\\\+|\\\\s-\\\\s|\\\\s-(?=\\\\$)|(?<=\\\\()-(?=\\\\$)|\\\\s-(?=\\\\()|[!%*/<=>~]\",\"name\":\"keyword.operator.postcss\"},\"parent-selector\":{\"match\":\"&\",\"name\":\"entity.name.tag.css.postcss\"},\"placeholder-selector\":{\"begin\":\"(?<!\\\\d)%(?!\\\\d)\",\"end\":\"$\\\\n?|\\\\s|(?=[;{])\",\"name\":\"entity.other.attribute-name.placeholder-selector.postcss\"},\"property-value\":{\"match\":\"[-\\\\w]+\",\"name\":\"meta.property-value.css.postcss, support.constant.property-value.css.postcss\"},\"pseudo-class\":{\"match\":\":[-:a-z]+\",\"name\":\"entity.other.attribute-name.pseudo-class.css.postcss\"},\"quoted-interpolation\":{\"begin\":\"#\\\\{\",\"end\":\"}\",\"name\":\"support.function.interpolation.postcss\",\"patterns\":[{\"include\":\"#variable\"},{\"include\":\"#numeric\"},{\"include\":\"#operator\"},{\"include\":\"#unit\"}]},\"reserved-words\":{\"match\":\"\\\\b(false|from|in|not|null|through|to|true)\\\\b\",\"name\":\"support.type.property-name.css.postcss\"},\"rgb-value\":{\"match\":\"(#)(\\\\h{3}|\\\\h{6})\\\\b\",\"name\":\"constant.other.color.rgb-value.css.postcss\"},\"single-quoted\":{\"begin\":\"'\",\"end\":\"'\",\"name\":\"string.quoted.single.css.postcss\",\"patterns\":[{\"include\":\"#quoted-interpolation\"}]},\"unit\":{\"match\":\"(?<=[}\\\\d])(ch|cm|deg|dpcm|dpi|dppx|em|ex|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vw|%)\",\"name\":\"keyword.other.unit.css.postcss\"},\"variable\":{\"match\":\"\\\\$[-\\\\w]+\",\"name\":\"variable.parameter.postcss\"},\"variable-root-css\":{\"match\":\"(?<!&)--[-\\\\w]+\",\"name\":\"variable.parameter.postcss\"}},\"scopeName\":\"source.css.postcss\"}"))];
|
|
2
|
+
//#endregion
|
|
3
|
+
export { postcss_default as default };
|
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
import { n as __commonJSMin, r as __require, t as require_lib } from "./lib-BzDu3tbz.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/vite@8.3.4_@types+node@26.6.5_esbuild@0.27.7_jiti@2.7.0_yaml@2.9.1/node_modules/vite/dist/node/chunks/postcss-import.js
|
|
3
|
+
var require_format_import_prelude = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4
|
+
module.exports = function formatImportPrelude(layer, media, supports) {
|
|
5
|
+
const parts = [];
|
|
6
|
+
if (typeof layer !== "undefined") {
|
|
7
|
+
let layerParams = "layer";
|
|
8
|
+
if (layer) layerParams = `layer(${layer})`;
|
|
9
|
+
parts.push(layerParams);
|
|
10
|
+
}
|
|
11
|
+
if (typeof supports !== "undefined") parts.push(`supports(${supports})`);
|
|
12
|
+
if (typeof media !== "undefined") parts.push(media);
|
|
13
|
+
return parts.join(" ");
|
|
14
|
+
};
|
|
15
|
+
}));
|
|
16
|
+
var require_base64_encoded_import = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
17
|
+
const formatImportPrelude = require_format_import_prelude();
|
|
18
|
+
module.exports = function base64EncodedConditionalImport(prelude, conditions) {
|
|
19
|
+
if (!conditions?.length) return prelude;
|
|
20
|
+
conditions.reverse();
|
|
21
|
+
const first = conditions.pop();
|
|
22
|
+
let params = `${prelude} ${formatImportPrelude(first.layer, first.media, first.supports)}`;
|
|
23
|
+
for (const condition of conditions) params = `'data:text/css;base64,${Buffer.from(`@import ${params}`).toString("base64")}' ${formatImportPrelude(condition.layer, condition.media, condition.supports)}`;
|
|
24
|
+
return params;
|
|
25
|
+
};
|
|
26
|
+
}));
|
|
27
|
+
var require_apply_conditions = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
28
|
+
const base64EncodedConditionalImport = require_base64_encoded_import();
|
|
29
|
+
module.exports = function applyConditions(bundle, atRule) {
|
|
30
|
+
const firstImportStatementIndex = bundle.findIndex((stmt) => stmt.type === "import");
|
|
31
|
+
const lastImportStatementIndex = bundle.findLastIndex((stmt) => stmt.type === "import");
|
|
32
|
+
bundle.forEach((stmt, index) => {
|
|
33
|
+
if (stmt.type === "charset" || stmt.type === "warning") return;
|
|
34
|
+
if (stmt.type === "layer" && (index < lastImportStatementIndex && stmt.conditions?.length || index > firstImportStatementIndex && index < lastImportStatementIndex)) {
|
|
35
|
+
stmt.type = "import";
|
|
36
|
+
stmt.node = stmt.node.clone({
|
|
37
|
+
name: "import",
|
|
38
|
+
params: base64EncodedConditionalImport(`'data:text/css;base64,${Buffer.from(stmt.node.toString()).toString("base64")}'`, stmt.conditions)
|
|
39
|
+
});
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
if (!stmt.conditions?.length) return;
|
|
43
|
+
if (stmt.type === "import") {
|
|
44
|
+
stmt.node.params = base64EncodedConditionalImport(stmt.fullUri, stmt.conditions);
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
let nodes;
|
|
48
|
+
let parent;
|
|
49
|
+
if (stmt.type === "layer") {
|
|
50
|
+
nodes = [stmt.node];
|
|
51
|
+
parent = stmt.node.parent;
|
|
52
|
+
} else {
|
|
53
|
+
nodes = stmt.nodes;
|
|
54
|
+
parent = nodes[0].parent;
|
|
55
|
+
}
|
|
56
|
+
const atRules = [];
|
|
57
|
+
for (const condition of stmt.conditions) {
|
|
58
|
+
if (typeof condition.media !== "undefined") {
|
|
59
|
+
const mediaNode = atRule({
|
|
60
|
+
name: "media",
|
|
61
|
+
params: condition.media,
|
|
62
|
+
source: parent.source
|
|
63
|
+
});
|
|
64
|
+
atRules.push(mediaNode);
|
|
65
|
+
}
|
|
66
|
+
if (typeof condition.supports !== "undefined") {
|
|
67
|
+
const supportsNode = atRule({
|
|
68
|
+
name: "supports",
|
|
69
|
+
params: `(${condition.supports})`,
|
|
70
|
+
source: parent.source
|
|
71
|
+
});
|
|
72
|
+
atRules.push(supportsNode);
|
|
73
|
+
}
|
|
74
|
+
if (typeof condition.layer !== "undefined") {
|
|
75
|
+
const layerNode = atRule({
|
|
76
|
+
name: "layer",
|
|
77
|
+
params: condition.layer,
|
|
78
|
+
source: parent.source
|
|
79
|
+
});
|
|
80
|
+
atRules.push(layerNode);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
const outerAtRule = atRules.shift();
|
|
84
|
+
const innerAtRule = atRules.reduce((previous, next) => {
|
|
85
|
+
previous.append(next);
|
|
86
|
+
return next;
|
|
87
|
+
}, outerAtRule);
|
|
88
|
+
parent.insertBefore(nodes[0], outerAtRule);
|
|
89
|
+
nodes.forEach((node) => {
|
|
90
|
+
node.parent = void 0;
|
|
91
|
+
});
|
|
92
|
+
nodes[0].raws.before = nodes[0].raws.before || "\n";
|
|
93
|
+
innerAtRule.append(nodes);
|
|
94
|
+
stmt.type = "nodes";
|
|
95
|
+
stmt.nodes = [outerAtRule];
|
|
96
|
+
delete stmt.node;
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
}));
|
|
100
|
+
var require_apply_raws = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
101
|
+
module.exports = function applyRaws(bundle) {
|
|
102
|
+
bundle.forEach((stmt, index) => {
|
|
103
|
+
if (index === 0) return;
|
|
104
|
+
if (stmt.type === "nodes") delete stmt.nodes[0].raws.before;
|
|
105
|
+
else if (stmt.parent) delete stmt.node.raws.before;
|
|
106
|
+
});
|
|
107
|
+
};
|
|
108
|
+
}));
|
|
109
|
+
var require_apply_styles = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
110
|
+
module.exports = function applyStyles(bundle, styles) {
|
|
111
|
+
styles.nodes = [];
|
|
112
|
+
bundle.forEach((stmt) => {
|
|
113
|
+
if ([
|
|
114
|
+
"charset",
|
|
115
|
+
"import",
|
|
116
|
+
"layer"
|
|
117
|
+
].includes(stmt.type)) {
|
|
118
|
+
stmt.node.parent = void 0;
|
|
119
|
+
styles.append(stmt.node);
|
|
120
|
+
} else if (stmt.type === "nodes") stmt.nodes.forEach((node) => {
|
|
121
|
+
node.parent = void 0;
|
|
122
|
+
styles.append(node);
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
}));
|
|
127
|
+
var require_data_url = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
128
|
+
const anyDataURLRegexp = /^data:text\/css(?:;(base64|plain))?,/i;
|
|
129
|
+
const base64DataURLRegexp = /^data:text\/css;base64,/i;
|
|
130
|
+
const plainDataURLRegexp = /^data:text\/css;plain,/i;
|
|
131
|
+
function isValid(url) {
|
|
132
|
+
return anyDataURLRegexp.test(url);
|
|
133
|
+
}
|
|
134
|
+
function contents(url) {
|
|
135
|
+
if (base64DataURLRegexp.test(url)) return Buffer.from(url.slice(21), "base64").toString();
|
|
136
|
+
if (plainDataURLRegexp.test(url)) return decodeURIComponent(url.slice(20));
|
|
137
|
+
return decodeURIComponent(url.slice(14));
|
|
138
|
+
}
|
|
139
|
+
module.exports = {
|
|
140
|
+
isValid,
|
|
141
|
+
contents
|
|
142
|
+
};
|
|
143
|
+
}));
|
|
144
|
+
var require_parse_statements = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
145
|
+
const valueParser = require_lib();
|
|
146
|
+
const { stringify } = valueParser;
|
|
147
|
+
module.exports = function parseStatements(result, styles, conditions, from) {
|
|
148
|
+
const statements = [];
|
|
149
|
+
let nodes = [];
|
|
150
|
+
let encounteredNonImportNodes = false;
|
|
151
|
+
styles.each((node) => {
|
|
152
|
+
let stmt;
|
|
153
|
+
if (node.type === "atrule") {
|
|
154
|
+
if (node.name === "import") stmt = parseImport(result, node, conditions, from);
|
|
155
|
+
else if (node.name === "charset") stmt = parseCharset(result, node, conditions, from);
|
|
156
|
+
else if (node.name === "layer" && !encounteredNonImportNodes && !node.nodes) stmt = parseLayer(result, node, conditions, from);
|
|
157
|
+
} else if (node.type !== "comment") encounteredNonImportNodes = true;
|
|
158
|
+
if (stmt) {
|
|
159
|
+
if (nodes.length) {
|
|
160
|
+
statements.push({
|
|
161
|
+
type: "nodes",
|
|
162
|
+
nodes,
|
|
163
|
+
conditions: [...conditions],
|
|
164
|
+
from
|
|
165
|
+
});
|
|
166
|
+
nodes = [];
|
|
167
|
+
}
|
|
168
|
+
statements.push(stmt);
|
|
169
|
+
} else nodes.push(node);
|
|
170
|
+
});
|
|
171
|
+
if (nodes.length) statements.push({
|
|
172
|
+
type: "nodes",
|
|
173
|
+
nodes,
|
|
174
|
+
conditions: [...conditions],
|
|
175
|
+
from
|
|
176
|
+
});
|
|
177
|
+
return statements;
|
|
178
|
+
};
|
|
179
|
+
function parseCharset(result, atRule, conditions, from) {
|
|
180
|
+
if (atRule.prev()) return result.warn("@charset must precede all other statements", { node: atRule });
|
|
181
|
+
return {
|
|
182
|
+
type: "charset",
|
|
183
|
+
node: atRule,
|
|
184
|
+
conditions: [...conditions],
|
|
185
|
+
from
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
function parseImport(result, atRule, conditions, from) {
|
|
189
|
+
let prev = atRule.prev();
|
|
190
|
+
if (prev) do {
|
|
191
|
+
if (prev.type === "comment" || prev.type === "atrule" && prev.name === "import") {
|
|
192
|
+
prev = prev.prev();
|
|
193
|
+
continue;
|
|
194
|
+
}
|
|
195
|
+
break;
|
|
196
|
+
} while (prev);
|
|
197
|
+
if (prev) do {
|
|
198
|
+
if (prev.type === "comment" || prev.type === "atrule" && (prev.name === "charset" || prev.name === "layer" && !prev.nodes)) {
|
|
199
|
+
prev = prev.prev();
|
|
200
|
+
continue;
|
|
201
|
+
}
|
|
202
|
+
return result.warn("@import statements must precede all other statements (besides @charset or empty @layer) and be consecutive", { node: atRule });
|
|
203
|
+
} while (prev);
|
|
204
|
+
if (atRule.nodes) return result.warn("It looks like you didn't end your @import statement correctly. Child nodes are attached to it.", { node: atRule });
|
|
205
|
+
const params = valueParser(atRule.params).nodes;
|
|
206
|
+
const stmt = {
|
|
207
|
+
type: "import",
|
|
208
|
+
uri: "",
|
|
209
|
+
fullUri: "",
|
|
210
|
+
node: atRule,
|
|
211
|
+
conditions: [...conditions],
|
|
212
|
+
from
|
|
213
|
+
};
|
|
214
|
+
let layer;
|
|
215
|
+
let media;
|
|
216
|
+
let supports;
|
|
217
|
+
for (let i = 0; i < params.length; i++) {
|
|
218
|
+
const node = params[i];
|
|
219
|
+
if (node.type === "space" || node.type === "comment") continue;
|
|
220
|
+
if (node.type === "string") {
|
|
221
|
+
if (stmt.uri) return result.warn(`Multiple url's in '${atRule.toString()}'`, { node: atRule });
|
|
222
|
+
if (!node.value) return result.warn(`Unable to find uri in '${atRule.toString()}'`, { node: atRule });
|
|
223
|
+
stmt.uri = node.value;
|
|
224
|
+
stmt.fullUri = stringify(node);
|
|
225
|
+
continue;
|
|
226
|
+
}
|
|
227
|
+
if (node.type === "function" && /^url$/i.test(node.value)) {
|
|
228
|
+
if (stmt.uri) return result.warn(`Multiple url's in '${atRule.toString()}'`, { node: atRule });
|
|
229
|
+
if (!node.nodes?.[0]?.value) return result.warn(`Unable to find uri in '${atRule.toString()}'`, { node: atRule });
|
|
230
|
+
stmt.uri = node.nodes[0].value;
|
|
231
|
+
stmt.fullUri = stringify(node);
|
|
232
|
+
continue;
|
|
233
|
+
}
|
|
234
|
+
if (!stmt.uri) return result.warn(`Unable to find uri in '${atRule.toString()}'`, { node: atRule });
|
|
235
|
+
if ((node.type === "word" || node.type === "function") && /^layer$/i.test(node.value)) {
|
|
236
|
+
if (typeof layer !== "undefined") return result.warn(`Multiple layers in '${atRule.toString()}'`, { node: atRule });
|
|
237
|
+
if (typeof supports !== "undefined") return result.warn(`layers must be defined before support conditions in '${atRule.toString()}'`, { node: atRule });
|
|
238
|
+
if (node.nodes) layer = stringify(node.nodes);
|
|
239
|
+
else layer = "";
|
|
240
|
+
continue;
|
|
241
|
+
}
|
|
242
|
+
if (node.type === "function" && /^supports$/i.test(node.value)) {
|
|
243
|
+
if (typeof supports !== "undefined") return result.warn(`Multiple support conditions in '${atRule.toString()}'`, { node: atRule });
|
|
244
|
+
supports = stringify(node.nodes);
|
|
245
|
+
continue;
|
|
246
|
+
}
|
|
247
|
+
media = stringify(params.slice(i));
|
|
248
|
+
break;
|
|
249
|
+
}
|
|
250
|
+
if (!stmt.uri) return result.warn(`Unable to find uri in '${atRule.toString()}'`, { node: atRule });
|
|
251
|
+
if (typeof media !== "undefined" || typeof layer !== "undefined" || typeof supports !== "undefined") stmt.conditions.push({
|
|
252
|
+
layer,
|
|
253
|
+
media,
|
|
254
|
+
supports
|
|
255
|
+
});
|
|
256
|
+
return stmt;
|
|
257
|
+
}
|
|
258
|
+
function parseLayer(result, atRule, conditions, from) {
|
|
259
|
+
return {
|
|
260
|
+
type: "layer",
|
|
261
|
+
node: atRule,
|
|
262
|
+
conditions: [...conditions],
|
|
263
|
+
from
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
}));
|
|
267
|
+
var require_process_content = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
268
|
+
const path$2 = __require("path");
|
|
269
|
+
let sugarss;
|
|
270
|
+
module.exports = function processContent(result, content, filename, options, postcss) {
|
|
271
|
+
const { plugins } = options;
|
|
272
|
+
const ext = path$2.extname(filename);
|
|
273
|
+
const parserList = [];
|
|
274
|
+
if (ext === ".sss") {
|
|
275
|
+
if (!sugarss)
|
|
276
|
+
/* c8 ignore next 3 */
|
|
277
|
+
try {
|
|
278
|
+
sugarss = __require("sugarss");
|
|
279
|
+
} catch {}
|
|
280
|
+
if (sugarss) return runPostcss(postcss, content, filename, plugins, [sugarss]);
|
|
281
|
+
}
|
|
282
|
+
if (result.opts.syntax?.parse) parserList.push(result.opts.syntax.parse);
|
|
283
|
+
if (result.opts.parser) parserList.push(result.opts.parser);
|
|
284
|
+
parserList.push(null);
|
|
285
|
+
return runPostcss(postcss, content, filename, plugins, parserList);
|
|
286
|
+
};
|
|
287
|
+
function runPostcss(postcss, content, filename, plugins, parsers, index) {
|
|
288
|
+
if (!index) index = 0;
|
|
289
|
+
return postcss(plugins).process(content, {
|
|
290
|
+
from: filename,
|
|
291
|
+
parser: parsers[index]
|
|
292
|
+
}).catch((err) => {
|
|
293
|
+
index++;
|
|
294
|
+
if (index === parsers.length) throw err;
|
|
295
|
+
return runPostcss(postcss, content, filename, plugins, parsers, index);
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
}));
|
|
299
|
+
var require_parse_styles = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
300
|
+
const path$1 = __require("path");
|
|
301
|
+
const dataURL = require_data_url();
|
|
302
|
+
const parseStatements = require_parse_statements();
|
|
303
|
+
const processContent = require_process_content();
|
|
304
|
+
const resolveId = (id) => id;
|
|
305
|
+
const formatImportPrelude = require_format_import_prelude();
|
|
306
|
+
async function parseStyles(result, styles, options, state, conditions, from, postcss) {
|
|
307
|
+
const statements = parseStatements(result, styles, conditions, from);
|
|
308
|
+
for (const stmt of statements) {
|
|
309
|
+
if (stmt.type !== "import" || !isProcessableURL(stmt.uri)) continue;
|
|
310
|
+
if (options.filter && !options.filter(stmt.uri)) continue;
|
|
311
|
+
await resolveImportId(result, stmt, options, state, postcss);
|
|
312
|
+
}
|
|
313
|
+
let charset;
|
|
314
|
+
const beforeBundle = [];
|
|
315
|
+
const bundle = [];
|
|
316
|
+
function handleCharset(stmt) {
|
|
317
|
+
if (!charset) charset = stmt;
|
|
318
|
+
else if (stmt.node.params.toLowerCase() !== charset.node.params.toLowerCase()) throw stmt.node.error(`Incompatible @charset statements:
|
|
319
|
+
${stmt.node.params} specified in ${stmt.node.source.input.file}
|
|
320
|
+
${charset.node.params} specified in ${charset.node.source.input.file}`);
|
|
321
|
+
}
|
|
322
|
+
statements.forEach((stmt) => {
|
|
323
|
+
if (stmt.type === "charset") handleCharset(stmt);
|
|
324
|
+
else if (stmt.type === "import") {
|
|
325
|
+
if (stmt.children) stmt.children.forEach((child, index) => {
|
|
326
|
+
if (child.type === "import") beforeBundle.push(child);
|
|
327
|
+
else if (child.type === "layer") beforeBundle.push(child);
|
|
328
|
+
else if (child.type === "charset") handleCharset(child);
|
|
329
|
+
else bundle.push(child);
|
|
330
|
+
if (index === 0) child.parent = stmt;
|
|
331
|
+
});
|
|
332
|
+
else beforeBundle.push(stmt);
|
|
333
|
+
} else if (stmt.type === "layer") beforeBundle.push(stmt);
|
|
334
|
+
else if (stmt.type === "nodes") bundle.push(stmt);
|
|
335
|
+
});
|
|
336
|
+
return charset ? [charset, ...beforeBundle.concat(bundle)] : beforeBundle.concat(bundle);
|
|
337
|
+
}
|
|
338
|
+
async function resolveImportId(result, stmt, options, state, postcss) {
|
|
339
|
+
if (dataURL.isValid(stmt.uri)) {
|
|
340
|
+
stmt.children = await loadImportContent(result, stmt, stmt.uri, options, state, postcss);
|
|
341
|
+
return;
|
|
342
|
+
} else if (dataURL.isValid(stmt.from.slice(-1))) throw stmt.node.error(`Unable to import '${stmt.uri}' from a stylesheet that is embedded in a data url`);
|
|
343
|
+
const atRule = stmt.node;
|
|
344
|
+
let sourceFile;
|
|
345
|
+
if (atRule.source?.input?.file) sourceFile = atRule.source.input.file;
|
|
346
|
+
const base = sourceFile ? path$1.dirname(atRule.source.input.file) : options.root;
|
|
347
|
+
const paths = [await options.resolve(stmt.uri, base, options, atRule)].flat();
|
|
348
|
+
const resolved = await Promise.all(paths.map((file) => {
|
|
349
|
+
return !path$1.isAbsolute(file) ? resolveId(file, base, options, atRule) : file;
|
|
350
|
+
}));
|
|
351
|
+
resolved.forEach((file) => {
|
|
352
|
+
result.messages.push({
|
|
353
|
+
type: "dependency",
|
|
354
|
+
plugin: "postcss-import",
|
|
355
|
+
file,
|
|
356
|
+
parent: sourceFile
|
|
357
|
+
});
|
|
358
|
+
});
|
|
359
|
+
stmt.children = (await Promise.all(resolved.map((file) => {
|
|
360
|
+
return loadImportContent(result, stmt, file, options, state, postcss);
|
|
361
|
+
}))).flat().filter((x) => !!x);
|
|
362
|
+
}
|
|
363
|
+
async function loadImportContent(result, stmt, filename, options, state, postcss) {
|
|
364
|
+
const atRule = stmt.node;
|
|
365
|
+
const { conditions, from } = stmt;
|
|
366
|
+
const stmtDuplicateCheckKey = conditions.map((condition) => formatImportPrelude(condition.layer, condition.media, condition.supports)).join(":");
|
|
367
|
+
if (options.skipDuplicates) {
|
|
368
|
+
if (state.importedFiles[filename]?.[stmtDuplicateCheckKey]) return;
|
|
369
|
+
if (!state.importedFiles[filename]) state.importedFiles[filename] = {};
|
|
370
|
+
state.importedFiles[filename][stmtDuplicateCheckKey] = true;
|
|
371
|
+
}
|
|
372
|
+
if (from.includes(filename)) return;
|
|
373
|
+
const content = await options.load(filename, options);
|
|
374
|
+
if (content.trim() === "" && options.warnOnEmpty) {
|
|
375
|
+
result.warn(`${filename} is empty`, { node: atRule });
|
|
376
|
+
return;
|
|
377
|
+
}
|
|
378
|
+
if (options.skipDuplicates && state.hashFiles[content]?.[stmtDuplicateCheckKey]) return;
|
|
379
|
+
const importedResult = await processContent(result, content, filename, options, postcss);
|
|
380
|
+
const styles = importedResult.root;
|
|
381
|
+
result.messages = result.messages.concat(importedResult.messages);
|
|
382
|
+
if (options.skipDuplicates) {
|
|
383
|
+
if (!styles.some((child) => {
|
|
384
|
+
return child.type === "atrule" && child.name === "import";
|
|
385
|
+
})) {
|
|
386
|
+
if (!state.hashFiles[content]) state.hashFiles[content] = {};
|
|
387
|
+
state.hashFiles[content][stmtDuplicateCheckKey] = true;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
return parseStyles(result, styles, options, state, conditions, [...from, filename], postcss);
|
|
391
|
+
}
|
|
392
|
+
function isProcessableURL(uri) {
|
|
393
|
+
if (/^(?:[a-z]+:)?\/\//i.test(uri)) return false;
|
|
394
|
+
try {
|
|
395
|
+
if (new URL(uri, "https://example.com").search) return false;
|
|
396
|
+
} catch {}
|
|
397
|
+
return true;
|
|
398
|
+
}
|
|
399
|
+
module.exports = parseStyles;
|
|
400
|
+
}));
|
|
401
|
+
var postcss_import_default = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
402
|
+
const path = __require("path");
|
|
403
|
+
const applyConditions = require_apply_conditions();
|
|
404
|
+
const applyRaws = require_apply_raws();
|
|
405
|
+
const applyStyles = require_apply_styles();
|
|
406
|
+
const loadContent = () => "";
|
|
407
|
+
const parseStyles = require_parse_styles();
|
|
408
|
+
const resolveId = (id) => id;
|
|
409
|
+
function AtImport(options) {
|
|
410
|
+
options = {
|
|
411
|
+
root: process.cwd(),
|
|
412
|
+
path: [],
|
|
413
|
+
skipDuplicates: true,
|
|
414
|
+
resolve: resolveId,
|
|
415
|
+
load: loadContent,
|
|
416
|
+
plugins: [],
|
|
417
|
+
addModulesDirectories: [],
|
|
418
|
+
warnOnEmpty: true,
|
|
419
|
+
...options
|
|
420
|
+
};
|
|
421
|
+
options.root = path.resolve(options.root);
|
|
422
|
+
if (typeof options.path === "string") options.path = [options.path];
|
|
423
|
+
if (!Array.isArray(options.path)) options.path = [];
|
|
424
|
+
options.path = options.path.map((p) => path.resolve(options.root, p));
|
|
425
|
+
return {
|
|
426
|
+
postcssPlugin: "postcss-import",
|
|
427
|
+
async Once(styles, { result, atRule, postcss }) {
|
|
428
|
+
const state = {
|
|
429
|
+
importedFiles: {},
|
|
430
|
+
hashFiles: {}
|
|
431
|
+
};
|
|
432
|
+
if (styles.source?.input?.file) state.importedFiles[styles.source.input.file] = {};
|
|
433
|
+
if (options.plugins && !Array.isArray(options.plugins)) throw new Error("plugins option must be an array");
|
|
434
|
+
const bundle = await parseStyles(result, styles, options, state, [], [], postcss);
|
|
435
|
+
applyRaws(bundle);
|
|
436
|
+
applyConditions(bundle, atRule);
|
|
437
|
+
applyStyles(bundle, styles);
|
|
438
|
+
}
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
AtImport.postcss = true;
|
|
442
|
+
module.exports = AtImport;
|
|
443
|
+
})))();
|
|
444
|
+
//#endregion
|
|
445
|
+
export { postcss_import_default as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var powerquery_default = [Object.freeze(JSON.parse("{\"displayName\":\"PowerQuery\",\"fileTypes\":[\"pq\",\"pqm\"],\"name\":\"powerquery\",\"patterns\":[{\"include\":\"#Noise\"},{\"include\":\"#LiteralExpression\"},{\"include\":\"#Keywords\"},{\"include\":\"#ImplicitVariable\"},{\"include\":\"#IntrinsicVariable\"},{\"include\":\"#Operators\"},{\"include\":\"#DotOperators\"},{\"include\":\"#TypeName\"},{\"include\":\"#RecordExpression\"},{\"include\":\"#Punctuation\"},{\"include\":\"#QuotedIdentifier\"},{\"include\":\"#Identifier\"}],\"repository\":{\"BlockComment\":{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.powerquery\"},\"DecimalNumber\":{\"match\":\"(?<![\\\\d\\\\w])(\\\\d*\\\\.\\\\d+)\\\\b\",\"name\":\"constant.numeric.decimal.powerquery\"},\"DotOperators\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.ellipsis.powerquery\"},\"2\":{\"name\":\"keyword.operator.list.powerquery\"}},\"match\":\"(?<!\\\\.)(?:(\\\\.\\\\.\\\\.)|(\\\\.\\\\.))(?!\\\\.)\"},\"EscapeSequence\":{\"begin\":\"#\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.escapesequence.begin.powerquery\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.escapesequence.end.powerquery\"}},\"name\":\"constant.character.escapesequence.powerquery\",\"patterns\":[{\"match\":\"(#|\\\\h{4}|\\\\h{8}|cr|lf|tab)(?:,(#|\\\\h{4}|\\\\h{8}|cr|lf|tab))*\"},{\"match\":\"[^)]\",\"name\":\"invalid.illegal.escapesequence.powerquery\"}]},\"FloatNumber\":{\"match\":\"(\\\\d*\\\\.)?\\\\d+([Ee])([-+])?\\\\d+\",\"name\":\"constant.numeric.float.powerquery\"},\"HexNumber\":{\"match\":\"0([Xx])\\\\h+\",\"name\":\"constant.numeric.integer.hexadecimal.powerquery\"},\"Identifier\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.inclusiveidentifier.powerquery\"},\"2\":{\"name\":\"entity.name.powerquery\"}},\"match\":\"(?<![._\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\d\\\\p{Pc}\\\\p{Mn}\\\\p{Mc}\\\\p{Cf}])(@?)([_\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}][_\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\d\\\\p{Pc}\\\\p{Mn}\\\\p{Mc}\\\\p{Cf}]*(?:\\\\.[_\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}][_\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\d\\\\p{Pc}\\\\p{Mn}\\\\p{Mc}\\\\p{Cf}])*)\\\\b\"},\"ImplicitVariable\":{\"match\":\"\\\\b_\\\\b\",\"name\":\"keyword.operator.implicitvariable.powerquery\"},\"InclusiveIdentifier\":{\"captures\":{\"0\":{\"name\":\"inclusiveidentifier.powerquery\"}},\"match\":\"@\"},\"IntNumber\":{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powerquery\"}},\"match\":\"\\\\b(\\\\d+)\\\\b\"},\"IntrinsicVariable\":{\"captures\":{\"1\":{\"name\":\"constant.language.intrinsicvariable.powerquery\"}},\"match\":\"(?<![\\\\d\\\\w])(#s(?:ections|hared))\\\\b\"},\"Keywords\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.word.logical.powerquery\"},\"2\":{\"name\":\"keyword.control.conditional.powerquery\"},\"3\":{\"name\":\"keyword.control.exception.powerquery\"},\"4\":{\"name\":\"keyword.other.powerquery\"},\"5\":{\"name\":\"keyword.powerquery\"}},\"match\":\"\\\\b(?:(and|or|not)|(if|then|else)|(try|otherwise)|(as|each|in|is|let|meta|type|error)|(s(?:ection|hared)))\\\\b\"},\"LineComment\":{\"match\":\"//.*\",\"name\":\"comment.line.double-slash.powerquery\"},\"LiteralExpression\":{\"patterns\":[{\"include\":\"#String\"},{\"include\":\"#NumericConstant\"},{\"include\":\"#LogicalConstant\"},{\"include\":\"#NullConstant\"},{\"include\":\"#FloatNumber\"},{\"include\":\"#DecimalNumber\"},{\"include\":\"#HexNumber\"},{\"include\":\"#IntNumber\"}]},\"LogicalConstant\":{\"match\":\"\\\\b(true|false)\\\\b\",\"name\":\"constant.language.logical.powerquery\"},\"Noise\":{\"patterns\":[{\"include\":\"#BlockComment\"},{\"include\":\"#LineComment\"},{\"include\":\"#Whitespace\"}]},\"NullConstant\":{\"match\":\"\\\\b(null)\\\\b\",\"name\":\"constant.language.null.powerquery\"},\"NumericConstant\":{\"captures\":{\"1\":{\"name\":\"constant.language.numeric.float.powerquery\"}},\"match\":\"(?<![\\\\d\\\\w])(#(?:infinity|nan))\\\\b\"},\"Operators\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.function.powerquery\"},\"2\":{\"name\":\"keyword.operator.assignment-or-comparison.powerquery\"},\"3\":{\"name\":\"keyword.operator.comparison.powerquery\"},\"4\":{\"name\":\"keyword.operator.combination.powerquery\"},\"5\":{\"name\":\"keyword.operator.arithmetic.powerquery\"},\"6\":{\"name\":\"keyword.operator.sectionaccess.powerquery\"},\"7\":{\"name\":\"keyword.operator.optional.powerquery\"}},\"match\":\"(=>)|(=)|(<>|[<>]|<=|>=)|(&)|([-*+/])|(!)|(\\\\?)\"},\"Punctuation\":{\"captures\":{\"1\":{\"name\":\"punctuation.separator.powerquery\"},\"2\":{\"name\":\"punctuation.section.parens.begin.powerquery\"},\"3\":{\"name\":\"punctuation.section.parens.end.powerquery\"},\"4\":{\"name\":\"punctuation.section.braces.begin.powerquery\"},\"5\":{\"name\":\"punctuation.section.braces.end.powerquery\"}},\"match\":\"(,)|(\\\\()|(\\\\))|(\\\\{)|(})\"},\"QuotedIdentifier\":{\"begin\":\"#\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.quotedidentifier.begin.powerquery\"}},\"end\":\"\\\"(?!\\\")\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.quotedidentifier.end.powerquery\"}},\"name\":\"entity.name.powerquery\",\"patterns\":[{\"match\":\"\\\"\\\"\",\"name\":\"constant.character.escape.quote.powerquery\"},{\"include\":\"#EscapeSequence\"}]},\"RecordExpression\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.brackets.begin.powerquery\"}},\"contentName\":\"meta.recordexpression.powerquery\",\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.brackets.end.powerquery\"}},\"patterns\":[{\"include\":\"$self\"}]},\"String\":{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.powerquery\"}},\"end\":\"\\\"(?!\\\")\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.powerquery\"}},\"name\":\"string.quoted.double.powerquery\",\"patterns\":[{\"match\":\"\\\"\\\"\",\"name\":\"constant.character.escape.quote.powerquery\"},{\"include\":\"#EscapeSequence\"}]},\"TypeName\":{\"captures\":{\"1\":{\"name\":\"storage.modifier.powerquery\"},\"2\":{\"name\":\"storage.type.powerquery\"}},\"match\":\"\\\\b(?:(optional|nullable)|(action|any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|null|number|record|table|text|type))\\\\b\"},\"Whitespace\":{\"match\":\"\\\\s+\"}},\"scopeName\":\"source.powerquery\"}"))];
|
|
2
|
+
//#endregion
|
|
3
|
+
export { powerquery_default as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var powershell_default = [Object.freeze(JSON.parse("{\"displayName\":\"PowerShell\",\"name\":\"powershell\",\"patterns\":[{\"begin\":\"<#\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.block.begin.powershell\"}},\"end\":\"#>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.block.end.powershell\"}},\"name\":\"comment.block.powershell\",\"patterns\":[{\"include\":\"#commentEmbeddedDocs\"}]},{\"match\":\"[2-6]>&1|>>?|<<|[<>]|>\\\\||[1-6]>|[1-6]>>\",\"name\":\"keyword.operator.redirection.powershell\"},{\"include\":\"#commands\"},{\"include\":\"#commentLine\"},{\"include\":\"#variable\"},{\"include\":\"#subexpression\"},{\"include\":\"#function\"},{\"include\":\"#attribute\"},{\"include\":\"#UsingDirective\"},{\"include\":\"#type\"},{\"include\":\"#hashtable\"},{\"include\":\"#doubleQuotedString\"},{\"include\":\"#scriptblock\"},{\"include\":\"#doubleQuotedStringEscapes\"},{\"applyEndPatternLast\":true,\"begin\":\"['‘-‛]\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.powershell\"}},\"end\":\"['‘-‛]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.powershell\"}},\"name\":\"string.quoted.single.powershell\",\"patterns\":[{\"match\":\"['‘-‛]{2}\",\"name\":\"constant.character.escape.powershell\"}]},{\"begin\":\"(@[\\\"“”„])\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.powershell\"}},\"end\":\"^[\\\"“”„]@\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.powershell\"}},\"name\":\"string.quoted.double.heredoc.powershell\",\"patterns\":[{\"include\":\"#variableNoProperty\"},{\"include\":\"#doubleQuotedStringEscapes\"},{\"include\":\"#interpolation\"}]},{\"begin\":\"(@['‘-‛])\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.powershell\"}},\"end\":\"^['‘-‛]@\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.powershell\"}},\"name\":\"string.quoted.single.heredoc.powershell\"},{\"include\":\"#numericConstant\"},{\"begin\":\"(@)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.array.begin.powershell\"},\"2\":{\"name\":\"punctuation.section.group.begin.powershell\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"}},\"name\":\"meta.group.array-expression.powershell\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"((\\\\$))(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.substatement.powershell\"},\"2\":{\"name\":\"punctuation.definition.subexpression.powershell\"},\"3\":{\"name\":\"punctuation.section.group.begin.powershell\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"}},\"name\":\"meta.group.complex.subexpression.powershell\",\"patterns\":[{\"include\":\"$self\"}]},{\"match\":\"\\\\b((([-.0-9A-Z_a-z]+)\\\\.(?i:exe|com|cmd|bat)))\\\\b\",\"name\":\"support.function.powershell\"},{\"match\":\"(?<![-.\\\\w])((?i:begin|break|catch|clean|continue|data|default|define|do|dynamicparam|else|elseif|end|exit|finally|for|from|if|in|inlinescript|parallel|param|process|return|sequence|switch|throw|trap|try|until|var|while)|[%?])(?!\\\\w)\",\"name\":\"keyword.control.powershell\"},{\"match\":\"(?<![-\\\\w]|[^)]\\\\.)((?i:(foreach|where)(?!-object))|[%?])(?!\\\\w)\",\"name\":\"keyword.control.powershell\"},{\"begin\":\"(?<!\\\\w)(--%)(?!\\\\w)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.powershell\"}},\"end\":\"$\",\"patterns\":[{\"match\":\".+\",\"name\":\"string.unquoted.powershell\"}]},{\"match\":\"(?<!\\\\w)((?i:hidden|static))(?!\\\\w)\",\"name\":\"storage.modifier.powershell\"},{\"captures\":{\"1\":{\"name\":\"storage.type.powershell\"},\"2\":{\"name\":\"entity.name.function\"}},\"match\":\"(?<![-\\\\w])((?i:class)|[%?])\\\\s+([-_\\\\p{L}\\\\d]?{1,})\\\\b\"},{\"match\":\"(?<!\\\\w)-(?i:is(?:not)?|as)\\\\b\",\"name\":\"keyword.operator.comparison.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:[ci]?(?:eq|ne|[gl][et]|(?:not)?(?:like|match|contains|in)|replace))(?!\\\\p{L})\",\"name\":\"keyword.operator.comparison.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:join|split)(?!\\\\p{L})|!\",\"name\":\"keyword.operator.unary.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:and|or|not|xor)(?!\\\\p{L})|!\",\"name\":\"keyword.operator.logical.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:band|bor|bnot|bxor|shl|shr)(?!\\\\p{L})\",\"name\":\"keyword.operator.bitwise.powershell\"},{\"match\":\"(?<!\\\\w)-(?i:f)(?!\\\\p{L})\",\"name\":\"keyword.operator.string-format.powershell\"},{\"match\":\"[-%*+/]?=|[-%*+/]\",\"name\":\"keyword.operator.assignment.powershell\"},{\"match\":\"\\\\|{2}|&{2}|;\",\"name\":\"punctuation.terminator.statement.powershell\"},{\"match\":\"&|(?<!\\\\w)\\\\.(?= )|[,`|]\",\"name\":\"keyword.operator.other.powershell\"},{\"match\":\"(?<!\\\\s|^)\\\\.\\\\.(?=-?\\\\d|[$(])\",\"name\":\"keyword.operator.range.powershell\"}],\"repository\":{\"RequiresDirective\":{\"begin\":\"(?<=#)(?i:(requires))\\\\s\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.requires.powershell\"}},\"end\":\"$\",\"name\":\"meta.requires.powershell\",\"patterns\":[{\"match\":\"-(?i:Modules|PSSnapin|RunAsAdministrator|ShellId|Version|Assembly|PSEdition)\",\"name\":\"keyword.other.powershell\"},{\"match\":\"(?<!-)\\\\b\\\\p{L}+|\\\\d+(?:\\\\.\\\\d+)*\",\"name\":\"variable.parameter.powershell\"},{\"include\":\"#hashtable\"}]},\"UsingDirective\":{\"captures\":{\"1\":{\"name\":\"keyword.control.using.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"},\"3\":{\"name\":\"variable.parameter.powershell\"}},\"match\":\"(?<!\\\\w)(?i:(using))\\\\s+(?i:(namespace|module))\\\\s+(?i:((?:\\\\w+\\\\.?)+))\"},\"attribute\":{\"begin\":\"(\\\\[)\\\\s*\\\\b(?i)(cmdletbinding|alias|outputtype|parameter|validatenotnull|validatenotnullorempty|validatecount|validateset|allownull|allowemptycollection|allowemptystring|validatescript|validaterange|validatepattern|validatelength|supportswildcards)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.bracket.begin.powershell\"},\"2\":{\"name\":\"support.function.attribute.powershell\"}},\"end\":\"(])\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.bracket.end.powershell\"}},\"name\":\"meta.attribute.powershell\",\"patterns\":[{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.group.begin.powershell\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"}},\"patterns\":[{\"include\":\"$self\"},{\"captures\":{\"1\":{\"name\":\"variable.parameter.attribute.powershell\"},\"2\":{\"name\":\"keyword.operator.assignment.powershell\"}},\"match\":\"(?i)\\\\b(mandatory|valuefrompipeline|valuefrompipelinebypropertyname|valuefromremainingarguments|position|parametersetname|defaultparametersetname|supportsshouldprocess|supportspaging|positionalbinding|helpuri|confirmimpact|helpmessage)\\\\b\\\\s+{0,1}(=)?\"}]}]},\"commands\":{\"patterns\":[{\"match\":\"(?:([-:\\\\\\\\_\\\\p{L}\\\\d])*\\\\\\\\)?\\\\b(?i:Add|Approve|Assert|Backup|Block|Build|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Deploy|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Mount|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Write)-.+?(?:\\\\.(?i:exe|cmd|bat|ps1))?\\\\b\",\"name\":\"support.function.powershell\"},{\"match\":\"(?<!\\\\w)(?i:foreach-object)(?!\\\\w)\",\"name\":\"support.function.powershell\"},{\"match\":\"(?<!\\\\w)(?i:where-object)(?!\\\\w)\",\"name\":\"support.function.powershell\"},{\"match\":\"(?<!\\\\w)(?i:sort-object)(?!\\\\w)\",\"name\":\"support.function.powershell\"},{\"match\":\"(?<!\\\\w)(?i:tee-object)(?!\\\\w)\",\"name\":\"support.function.powershell\"}]},\"commentEmbeddedDocs\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.string.documentation.powershell\"},\"2\":{\"name\":\"keyword.operator.documentation.powershell\"}},\"match\":\"(?:^|\\\\G)(?i:\\\\s*(\\\\.)(COMPONENT|DESCRIPTION|EXAMPLE|FUNCTIONALITY|INPUTS|LINK|NOTES|OUTPUTS|ROLE|SYNOPSIS))\\\\s*$\",\"name\":\"comment.documentation.embedded.powershell\"},{\"captures\":{\"1\":{\"name\":\"constant.string.documentation.powershell\"},\"2\":{\"name\":\"keyword.operator.documentation.powershell\"},\"3\":{\"name\":\"keyword.operator.documentation.powershell\"}},\"match\":\"(?:^|\\\\G)(?i:\\\\s*(\\\\.)(EXTERNALHELP|FORWARDHELP(?:CATEGORY|TARGETNAME)|PARAMETER|REMOTEHELPRUNSPACE))\\\\s+(.+?)\\\\s*$\",\"name\":\"comment.documentation.embedded.powershell\"}]},\"commentLine\":{\"begin\":\"(?<![-\\\\\\\\`])(#)#*\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.powershell\"}},\"end\":\"$\\\\n?\",\"name\":\"comment.line.powershell\",\"patterns\":[{\"include\":\"#commentEmbeddedDocs\"},{\"include\":\"#RequiresDirective\"}]},\"doubleQuotedString\":{\"applyEndPatternLast\":true,\"begin\":\"[\\\"“”„]\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.powershell\"}},\"end\":\"[\\\"“”„]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.powershell\"}},\"name\":\"string.quoted.double.powershell\",\"patterns\":[{\"match\":\"(?i)\\\\b[-%+.0-9A-Z_]+@[-.0-9A-Z]+\\\\.[A-Z]{2,64}\\\\b\"},{\"include\":\"#variableNoProperty\"},{\"include\":\"#doubleQuotedStringEscapes\"},{\"match\":\"[\\\"“”„]{2}\",\"name\":\"constant.character.escape.powershell\"},{\"include\":\"#interpolation\"},{\"match\":\"`\\\\s*$\",\"name\":\"keyword.other.powershell\"}]},\"doubleQuotedStringEscapes\":{\"patterns\":[{\"match\":\"`[\\\"$'0`abefnrtv‘-„]\",\"name\":\"constant.character.escape.powershell\"},{\"include\":\"#unicodeEscape\"}]},\"function\":{\"begin\":\"^\\\\s*+(?i)(function|filter|configuration|workflow)\\\\s+(?:(global|local|script|private):)?([-._\\\\p{L}\\\\d]+)\",\"beginCaptures\":{\"0\":{\"name\":\"meta.function.powershell\"},\"1\":{\"name\":\"storage.type.powershell\"},\"2\":{\"name\":\"storage.modifier.scope.powershell\"},\"3\":{\"name\":\"entity.name.function.powershell\"}},\"end\":\"(?=[({])\",\"patterns\":[{\"include\":\"#commentLine\"}]},\"hashtable\":{\"begin\":\"(@)(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.hashtable.begin.powershell\"},\"2\":{\"name\":\"punctuation.section.braces.begin.powershell\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.braces.end.powershell\"}},\"name\":\"meta.hashtable.powershell\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.powershell\"},\"2\":{\"name\":\"variable.other.readwrite.powershell\"},\"3\":{\"name\":\"punctuation.definition.string.end.powershell\"},\"4\":{\"name\":\"keyword.operator.assignment.powershell\"}},\"match\":\"\\\\b([\\\"']?)(\\\\w+)([\\\"']?)\\\\s+{0,1}(=)\\\\s+{0,1}\",\"name\":\"meta.hashtable.assignment.powershell\"},{\"include\":\"#scriptblock\"},{\"include\":\"$self\"}]},\"interpolation\":{\"begin\":\"(((\\\\$)))((\\\\())\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.substatement.powershell\"},\"2\":{\"name\":\"punctuation.definition.substatement.powershell\"},\"3\":{\"name\":\"punctuation.section.embedded.substatement.begin.powershell\"},\"4\":{\"name\":\"punctuation.section.group.begin.powershell\"},\"5\":{\"name\":\"punctuation.section.embedded.substatement.begin.powershell\"}},\"contentName\":\"interpolated.complex.source.powershell\",\"end\":\"(\\\\))\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"},\"1\":{\"name\":\"punctuation.section.embedded.substatement.end.powershell\"}},\"name\":\"meta.embedded.substatement.powershell\",\"patterns\":[{\"include\":\"$self\"}]},\"numericConstant\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.numeric.hex.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?0[Xx][_\\\\h]+(?:[LUlu]|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[gkmpt]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?[0-9_]+{0,1}\\\\.[0-9_]+(?:[Ee][0-9]+)?[DFMdfm]?)((?i:[gkmpt]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.octal.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?0[Bb][01_]+(?:[LUlu]|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[gkmpt]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?[0-9_]+[Ee][0-9_]?+[DFMdfm]?)((?i:[gkmpt]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?[0-9_]+\\\\.[Ee][0-9_]?+[DFMdfm]?)((?i:[gkmpt]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?[0-9_]+\\\\.?[DFMdfm])((?i:[gkmpt]b)?)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.integer.powershell\"},\"2\":{\"name\":\"keyword.other.powershell\"}},\"match\":\"(?<!\\\\w)([-+]?[0-9_]+\\\\.?(?:[LUlu]|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[gkmpt]b)?)\\\\b\"}]},\"scriptblock\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.braces.begin.powershell\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.braces.end.powershell\"}},\"name\":\"meta.scriptblock.powershell\",\"patterns\":[{\"include\":\"$self\"}]},\"subexpression\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.group.begin.powershell\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.powershell\"}},\"name\":\"meta.group.simple.subexpression.powershell\",\"patterns\":[{\"include\":\"$self\"}]},\"type\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.bracket.begin.powershell\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.bracket.end.powershell\"}},\"patterns\":[{\"match\":\"(?!\\\\d+|\\\\.)[.\\\\p{L}\\\\p{N}]+\",\"name\":\"storage.type.powershell\"},{\"include\":\"$self\"}]},\"unicodeEscape\":{\"patterns\":[{\"match\":\"`u\\\\{(?:(?:10)?(\\\\h){1,4}|0?\\\\g<1>{1,5})}\",\"name\":\"constant.character.escape.powershell\"},{\"match\":\"`u(?:\\\\{\\\\h{0,6}.)?\",\"name\":\"invalid.character.escape.powershell\"}]},\"variable\":{\"patterns\":[{\"captures\":{\"0\":{\"name\":\"constant.language.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"}},\"match\":\"(\\\\$)(?i:(False|Null|True))\\\\b\"},{\"captures\":{\"0\":{\"name\":\"variable.other.constant.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(\\\\$)(?i:(Error|ExecutionContext|Host|Home|PID|PsHome|PsVersionTable|ShellID))((?:\\\\.[_\\\\p{L}\\\\d]+)*\\\\b)?\\\\b\"},{\"captures\":{\"0\":{\"name\":\"support.variable.automatic.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(\\\\$)([$?^]|(?i:_|Args|ConsoleFileName|Event|EventArgs|EventSubscriber|ForEach|Input|LastExitCode|Matches|MyInvocation|NestedPromptLevel|Profile|PSBoundParameters|PsCmdlet|PsCulture|PSDebugContext|PSItem|PSCommandPath|PSScriptRoot|PsUICulture|Pwd|Sender|SourceArgs|SourceEventArgs|StackTrace|Switch|This)\\\\b)((?:\\\\.[_\\\\p{L}\\\\d]+)*\\\\b)?\"},{\"captures\":{\"0\":{\"name\":\"variable.language.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(\\\\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|InformationPreference|LogCommandHealthEvent|LogCommandLifecycleEvent|LogEngineHealthEvent|LogEngineLifecycleEvent|LogProviderHealthEvent|LogProviderLifecycleEvent|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|PSCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoLoadingPreference|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|ProgressPreference|VerbosePreference|WarningPreference|WhatIfPreference))((?:\\\\.[_\\\\p{L}\\\\d]+)*\\\\b)?\\\\b\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"storage.modifier.scope.powershell\"},\"4\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:([$@])(global|local|private|script|using|workflow):([_\\\\p{L}\\\\d]+))((?:\\\\.[_\\\\p{L}\\\\d]+)*\\\\b)?\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"punctuation.section.braces.begin.powershell\"},\"3\":{\"name\":\"storage.modifier.scope.powershell\"},\"5\":{\"name\":\"punctuation.section.braces.end.powershell\"},\"6\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)(\\\\{)(global|local|private|script|using|workflow):([^}]*[^`}])(}))((?:\\\\.[_\\\\p{L}\\\\d]+)*\\\\b)?\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"support.variable.drive.powershell\"},\"4\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:([$@])([_\\\\p{L}\\\\d]+:)?([_\\\\p{L}\\\\d]+))((?:\\\\.[_\\\\p{L}\\\\d]+)*\\\\b)?\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"punctuation.section.braces.begin.powershell\"},\"3\":{\"name\":\"support.variable.drive.powershell\"},\"5\":{\"name\":\"punctuation.section.braces.end.powershell\"},\"6\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)(\\\\{)([_\\\\p{L}\\\\d]+:)?([^}]*[^`}])(}))((?:\\\\.[_\\\\p{L}\\\\d]+)*\\\\b)?\"}]},\"variableNoProperty\":{\"patterns\":[{\"captures\":{\"0\":{\"name\":\"constant.language.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"}},\"match\":\"(\\\\$)(?i:(False|Null|True))\\\\b\"},{\"captures\":{\"0\":{\"name\":\"variable.other.constant.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(\\\\$)(?i:(Error|ExecutionContext|Host|Home|PID|PsHome|PsVersionTable|ShellID))\\\\b\"},{\"captures\":{\"0\":{\"name\":\"support.variable.automatic.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(\\\\$)([$?^]|(?i:_|Args|ConsoleFileName|Event|EventArgs|EventSubscriber|ForEach|Input|LastExitCode|Matches|MyInvocation|NestedPromptLevel|Profile|PSBoundParameters|PsCmdlet|PsCulture|PSDebugContext|PSItem|PSCommandPath|PSScriptRoot|PsUICulture|Pwd|Sender|SourceArgs|SourceEventArgs|StackTrace|Switch|This)\\\\b)\"},{\"captures\":{\"0\":{\"name\":\"variable.language.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"3\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(\\\\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|InformationPreference|LogCommandHealthEvent|LogCommandLifecycleEvent|LogEngineHealthEvent|LogEngineLifecycleEvent|LogProviderHealthEvent|LogProviderLifecycleEvent|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|PSCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoLoadingPreference|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|ProgressPreference|VerbosePreference|WarningPreference|WhatIfPreference))\\\\b\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"storage.modifier.scope.powershell\"},\"4\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)(global|local|private|script|using|workflow):([_\\\\p{L}\\\\d]+))\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"storage.modifier.scope.powershell\"},\"4\":{\"name\":\"keyword.other.powershell\"},\"5\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)(\\\\{)(global|local|private|script|using|workflow):([^}]*[^`}])(}))\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"support.variable.drive.powershell\"},\"4\":{\"name\":\"variable.other.member.powershell\"}},\"match\":\"(?i:(\\\\$)([_\\\\p{L}\\\\d]+:)?([_\\\\p{L}\\\\d]+))\"},{\"captures\":{\"0\":{\"name\":\"variable.other.readwrite.powershell\"},\"1\":{\"name\":\"punctuation.definition.variable.powershell\"},\"2\":{\"name\":\"punctuation.section.braces.begin\"},\"3\":{\"name\":\"support.variable.drive.powershell\"},\"5\":{\"name\":\"punctuation.section.braces.end\"}},\"match\":\"(?i:(\\\\$)(\\\\{)([_\\\\p{L}\\\\d]+:)?([^}]*[^`}])(}))\"}]}},\"scopeName\":\"source.powershell\",\"aliases\":[\"ps\",\"ps1\",\"pwsh\"]}"))];
|
|
2
|
+
//#endregion
|
|
3
|
+
export { powershell_default as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var prisma_default = [Object.freeze(JSON.parse("{\"displayName\":\"Prisma\",\"fileTypes\":[\"prisma\"],\"name\":\"prisma\",\"patterns\":[{\"include\":\"#triple_comment\"},{\"include\":\"#double_comment\"},{\"include\":\"#multi_line_comment\"},{\"include\":\"#types_block_definition\"},{\"include\":\"#namespace_block_definition\"},{\"include\":\"#model_block_definition\"},{\"include\":\"#config_block_definition\"},{\"include\":\"#enum_block_definition\"},{\"include\":\"#type_definition\"}],\"repository\":{\"array\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"end\":\"]\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"name\":\"source.prisma.array\",\"patterns\":[{\"include\":\"#value\"}]},\"assignment\":{\"patterns\":[{\"begin\":\"^\\\\s*(\\\\w+)\\\\s*(=)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"variable.other.assignment.prisma\"},\"2\":{\"name\":\"keyword.operator.terraform\"}},\"end\":\"\\\\n\",\"patterns\":[{\"include\":\"#value\"},{\"include\":\"#double_comment_inline\"}]}]},\"attribute\":{\"captures\":{\"1\":{\"name\":\"entity.name.function.attribute.prisma\"}},\"match\":\"(@@?[.\\\\w]+)\",\"name\":\"source.prisma.attribute\"},\"attribute_with_arguments\":{\"begin\":\"(@@?[.\\\\w]+)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.attribute.prisma\"},\"2\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"name\":\"source.prisma.attribute.with_arguments\",\"patterns\":[{\"include\":\"#named_argument\"},{\"include\":\"#value\"}]},\"boolean\":{\"match\":\"\\\\b(true|false)\\\\b\",\"name\":\"constant.language.boolean.prisma\"},\"config_block_definition\":{\"begin\":\"^\\\\s*(generator|datasource)\\\\s+([A-Za-z]\\\\w*)\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.config.prisma\"},\"2\":{\"name\":\"entity.name.type.config.prisma\"},\"3\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"end\":\"\\\\s*}\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"name\":\"source.prisma.embedded.source\",\"patterns\":[{\"include\":\"#triple_comment\"},{\"include\":\"#double_comment\"},{\"include\":\"#multi_line_comment\"},{\"include\":\"#assignment\"}]},\"double_comment\":{\"begin\":\"//\",\"end\":\"$\\\\n?\",\"name\":\"comment.prisma\"},\"double_comment_inline\":{\"match\":\"//[^\\\\n]*\",\"name\":\"comment.prisma\"},\"double_quoted_string\":{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"string.quoted.double.start.prisma\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"string.quoted.double.end.prisma\"}},\"name\":\"unnamed\",\"patterns\":[{\"include\":\"#string_interpolation\"},{\"match\":\"([-%./:=?@\\\\\\\\_\\\\w]+)\",\"name\":\"string.quoted.double.prisma\"}]},\"enum_block_definition\":{\"begin\":\"^\\\\s*(enum)\\\\s+([A-Za-z]\\\\w*)\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.enum.prisma\"},\"2\":{\"name\":\"entity.name.type.enum.prisma\"},\"3\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"end\":\"\\\\s*}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"name\":\"source.prisma.embedded.source\",\"patterns\":[{\"include\":\"#triple_comment\"},{\"include\":\"#double_comment\"},{\"include\":\"#multi_line_comment\"},{\"include\":\"#enum_value_definition\"}]},\"enum_value_definition\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.other.assignment.prisma\"}},\"match\":\"^\\\\s*(\\\\w+)\\\\s*\"},{\"include\":\"#attribute_with_arguments\"},{\"include\":\"#attribute\"}]},\"field_definition\":{\"name\":\"scalar.field\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.other.assignment.prisma\"},\"2\":{\"name\":\"invalid.illegal.colon.prisma\"},\"3\":{\"name\":\"variable.language.relations.prisma\"},\"4\":{\"name\":\"support.type.primitive.prisma\"},\"5\":{\"name\":\"keyword.operator.list_type.prisma\"},\"6\":{\"name\":\"keyword.operator.optional_type.prisma\"},\"7\":{\"name\":\"invalid.illegal.required_type.prisma\"}},\"match\":\"^\\\\s*(\\\\w+)(\\\\s*:)?\\\\s+((?!(?:Int|BigInt|String|DateTime|Bytes|Decimal|Float|Json|Boolean)\\\\b)\\\\b\\\\w+)?(Int|BigInt|String|DateTime|Bytes|Decimal|Float|Json|Boolean)?(\\\\[])?(\\\\?)?(!)?\"},{\"include\":\"#attribute_with_arguments\"},{\"include\":\"#attribute\"}]},\"functional\":{\"begin\":\"(\\\\w+)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.functional.prisma\"},\"2\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"name\":\"source.prisma.functional\",\"patterns\":[{\"include\":\"#value\"}]},\"identifier\":{\"patterns\":[{\"match\":\"\\\\b(\\\\w)+\\\\b\",\"name\":\"support.constant.constant.prisma\"}]},\"literal\":{\"name\":\"source.prisma.literal\",\"patterns\":[{\"include\":\"#boolean\"},{\"include\":\"#number\"},{\"include\":\"#double_quoted_string\"},{\"include\":\"#identifier\"}]},\"map_key\":{\"name\":\"source.prisma.key\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.parameter.key.prisma\"},\"2\":{\"name\":\"punctuation.definition.separator.key-value.prisma\"}},\"match\":\"(\\\\w+)\\\\s*(:)\\\\s*\"}]},\"model_block_definition\":{\"begin\":\"^\\\\s*(model|type|view)\\\\s+([A-Za-z]\\\\w*)\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.model.prisma\"},\"2\":{\"name\":\"entity.name.type.model.prisma\"},\"3\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"end\":\"\\\\s*}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"name\":\"source.prisma.embedded.source\",\"patterns\":[{\"include\":\"#triple_comment\"},{\"include\":\"#double_comment\"},{\"include\":\"#multi_line_comment\"},{\"include\":\"#field_definition\"}]},\"multi_line_comment\":{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.prisma\"},\"named_argument\":{\"name\":\"source.prisma.named_argument\",\"patterns\":[{\"include\":\"#map_key\"},{\"include\":\"#value\"}]},\"namespace_block_definition\":{\"begin\":\"^\\\\s*(namespace)\\\\s+([A-Za-z]\\\\w*)\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.namespace.prisma\"},\"2\":{\"name\":\"entity.name.type.namespace.prisma\"},\"3\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"end\":\"\\\\s*}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"name\":\"source.prisma.embedded.source\",\"patterns\":[{\"include\":\"#triple_comment\"},{\"include\":\"#double_comment\"},{\"include\":\"#multi_line_comment\"},{\"include\":\"#model_block_definition\"},{\"include\":\"#enum_block_definition\"},{\"include\":\"#type_definition\"}]},\"number\":{\"match\":\"((0([Xx])\\\\h*)|([-+])?\\\\b(([0-9]+\\\\.?[0-9]*)|(\\\\.[0-9]+))(([Ee])([-+])?[0-9]+)?)([DFLUdfglu]|UL|ul)?\\\\b\",\"name\":\"constant.numeric.prisma\"},\"string_interpolation\":{\"patterns\":[{\"begin\":\"\\\\$\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.interpolation.start.prisma\"}},\"end\":\"\\\\s*}\",\"endCaptures\":{\"0\":{\"name\":\"keyword.control.interpolation.end.prisma\"}},\"name\":\"source.tag.embedded.source.prisma\",\"patterns\":[{\"include\":\"#value\"}]}]},\"triple_comment\":{\"begin\":\"///\",\"end\":\"$\\\\n?\",\"name\":\"comment.prisma\"},\"type_alias_definition\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.type.alias.prisma\"},\"2\":{\"name\":\"keyword.operator.assignment.prisma\"},\"3\":{\"name\":\"support.type.primitive.prisma\"}},\"match\":\"^\\\\s*(\\\\w+)\\\\s*(=)\\\\s*(\\\\w+)\"},{\"include\":\"#attribute_with_arguments\"},{\"include\":\"#attribute\"}]},\"type_definition\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"storage.type.type.prisma\"},\"2\":{\"name\":\"entity.name.type.type.prisma\"},\"3\":{\"name\":\"support.type.primitive.prisma\"}},\"match\":\"^\\\\s*(type)\\\\s+(\\\\w+)\\\\s*=\\\\s*(\\\\w+)\"},{\"include\":\"#attribute_with_arguments\"},{\"include\":\"#attribute\"}]},\"types_block_definition\":{\"begin\":\"^\\\\s*(types)\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.types.prisma\"},\"2\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"end\":\"\\\\s*}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.prisma\"}},\"name\":\"source.prisma.embedded.source\",\"patterns\":[{\"include\":\"#triple_comment\"},{\"include\":\"#double_comment\"},{\"include\":\"#multi_line_comment\"},{\"include\":\"#type_alias_definition\"}]},\"value\":{\"name\":\"source.prisma.value\",\"patterns\":[{\"include\":\"#array\"},{\"include\":\"#functional\"},{\"include\":\"#literal\"}]}},\"scopeName\":\"source.prisma\"}"))];
|
|
2
|
+
//#endregion
|
|
3
|
+
export { prisma_default as default };
|