@astrojs/mdx 0.0.0-imgcache-20220929145446

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.
Files changed (90) hide show
  1. package/.turbo/turbo-build.log +5 -0
  2. package/CHANGELOG.md +209 -0
  3. package/LICENSE +61 -0
  4. package/README.md +527 -0
  5. package/dist/index.d.ts +15 -0
  6. package/dist/index.js +131 -0
  7. package/dist/plugins.d.ts +11 -0
  8. package/dist/plugins.js +214 -0
  9. package/dist/rehype-collect-headings.d.ts +6 -0
  10. package/dist/rehype-collect-headings.js +47 -0
  11. package/dist/remark-prism.d.ts +2 -0
  12. package/dist/remark-prism.js +17 -0
  13. package/dist/remark-shiki.d.ts +3 -0
  14. package/dist/remark-shiki.js +69 -0
  15. package/dist/utils.d.ts +18 -0
  16. package/dist/utils.js +74 -0
  17. package/package.json +71 -0
  18. package/src/index.ts +167 -0
  19. package/src/plugins.ts +273 -0
  20. package/src/rehype-collect-headings.ts +50 -0
  21. package/src/remark-prism.ts +18 -0
  22. package/src/remark-shiki.ts +95 -0
  23. package/src/utils.ts +97 -0
  24. package/test/fixtures/mdx-component/src/components/Test.mdx +3 -0
  25. package/test/fixtures/mdx-component/src/pages/glob.astro +11 -0
  26. package/test/fixtures/mdx-component/src/pages/index.astro +5 -0
  27. package/test/fixtures/mdx-escape/src/components/Em.astro +7 -0
  28. package/test/fixtures/mdx-escape/src/components/P.astro +1 -0
  29. package/test/fixtures/mdx-escape/src/components/Title.astro +1 -0
  30. package/test/fixtures/mdx-escape/src/pages/html-tag.mdx +5 -0
  31. package/test/fixtures/mdx-escape/src/pages/index.mdx +13 -0
  32. package/test/fixtures/mdx-frontmatter/src/layouts/Base.astro +38 -0
  33. package/test/fixtures/mdx-frontmatter/src/pages/glob.json.js +9 -0
  34. package/test/fixtures/mdx-frontmatter/src/pages/index.mdx +10 -0
  35. package/test/fixtures/mdx-frontmatter/src/pages/with-headings.mdx +7 -0
  36. package/test/fixtures/mdx-frontmatter-injection/astro.config.mjs +12 -0
  37. package/test/fixtures/mdx-frontmatter-injection/node_modules/.bin/astro +17 -0
  38. package/test/fixtures/mdx-frontmatter-injection/package.json +12 -0
  39. package/test/fixtures/mdx-frontmatter-injection/src/layouts/Base.astro +17 -0
  40. package/test/fixtures/mdx-frontmatter-injection/src/markdown-plugins.mjs +20 -0
  41. package/test/fixtures/mdx-frontmatter-injection/src/pages/glob.json.js +6 -0
  42. package/test/fixtures/mdx-frontmatter-injection/src/pages/page-1.mdx +7 -0
  43. package/test/fixtures/mdx-frontmatter-injection/src/pages/page-2.mdx +23 -0
  44. package/test/fixtures/mdx-frontmatter-injection/src/pages/with-overrides.mdx +7 -0
  45. package/test/fixtures/mdx-get-headings/src/pages/pages.json.js +11 -0
  46. package/test/fixtures/mdx-get-headings/src/pages/test-with-jsx-expressions.mdx +8 -0
  47. package/test/fixtures/mdx-get-headings/src/pages/test.mdx +9 -0
  48. package/test/fixtures/mdx-get-static-paths/src/content/1.mdx +5 -0
  49. package/test/fixtures/mdx-get-static-paths/src/pages/[slug].astro +34 -0
  50. package/test/fixtures/mdx-namespace/astro.config.mjs +6 -0
  51. package/test/fixtures/mdx-namespace/node_modules/.bin/astro +17 -0
  52. package/test/fixtures/mdx-namespace/package.json +10 -0
  53. package/test/fixtures/mdx-namespace/src/components/Component.jsx +6 -0
  54. package/test/fixtures/mdx-namespace/src/pages/object.mdx +3 -0
  55. package/test/fixtures/mdx-namespace/src/pages/star.mdx +3 -0
  56. package/test/fixtures/mdx-page/astro.config.ts +5 -0
  57. package/test/fixtures/mdx-page/node_modules/.bin/astro +17 -0
  58. package/test/fixtures/mdx-page/package.json +9 -0
  59. package/test/fixtures/mdx-page/src/pages/index.mdx +3 -0
  60. package/test/fixtures/mdx-page/src/styles.css +3 -0
  61. package/test/fixtures/mdx-plugins/src/pages/with-plugins.mdx +19 -0
  62. package/test/fixtures/mdx-plus-react/astro.config.mjs +6 -0
  63. package/test/fixtures/mdx-plus-react/node_modules/.bin/astro +17 -0
  64. package/test/fixtures/mdx-plus-react/package.json +10 -0
  65. package/test/fixtures/mdx-plus-react/src/components/Component.jsx +5 -0
  66. package/test/fixtures/mdx-plus-react/src/pages/index.astro +11 -0
  67. package/test/fixtures/mdx-syntax-hightlighting/src/pages/index.mdx +9 -0
  68. package/test/fixtures/mdx-url-export/src/pages/pages.json.js +9 -0
  69. package/test/fixtures/mdx-url-export/src/pages/test-1.mdx +1 -0
  70. package/test/fixtures/mdx-url-export/src/pages/test-2.mdx +1 -0
  71. package/test/fixtures/mdx-url-export/src/pages/with-url-override.mdx +3 -0
  72. package/test/fixtures/mdx-vite-env-vars/astro.config.mjs +9 -0
  73. package/test/fixtures/mdx-vite-env-vars/node_modules/.bin/astro +17 -0
  74. package/test/fixtures/mdx-vite-env-vars/package.json +7 -0
  75. package/test/fixtures/mdx-vite-env-vars/src/pages/frontmatter.json.js +7 -0
  76. package/test/fixtures/mdx-vite-env-vars/src/pages/vite-env-vars.mdx +38 -0
  77. package/test/mdx-component.test.js +112 -0
  78. package/test/mdx-escape.test.js +32 -0
  79. package/test/mdx-frontmatter-injection.test.js +56 -0
  80. package/test/mdx-frontmatter.test.js +77 -0
  81. package/test/mdx-get-headings.test.js +60 -0
  82. package/test/mdx-get-static-paths.test.js +32 -0
  83. package/test/mdx-namespace.test.js +83 -0
  84. package/test/mdx-page.test.js +64 -0
  85. package/test/mdx-plugins.test.js +211 -0
  86. package/test/mdx-plus-react.test.js +25 -0
  87. package/test/mdx-syntax-highlighting.test.js +91 -0
  88. package/test/mdx-url-export.test.js +28 -0
  89. package/test/mdx-vite-env-vars.test.js +54 -0
  90. package/tsconfig.json +10 -0
@@ -0,0 +1,5 @@
1
+ @astrojs/mdx:build: cache hit, replaying output 6801a65dcffb4afa
2
+ @astrojs/mdx:build: 
3
+ @astrojs/mdx:build: > @astrojs/mdx@0.0.0-imgcache-20220929145446 build /home/runner/work/astro/astro/packages/integrations/mdx
4
+ @astrojs/mdx:build: > astro-scripts build "src/**/*.ts" && tsc
5
+ @astrojs/mdx:build: 
package/CHANGELOG.md ADDED
@@ -0,0 +1,209 @@
1
+ # @astrojs/mdx
2
+
3
+ ## 0.0.0-imgcache-20220929145446
4
+
5
+ ### Patch Changes
6
+
7
+ - [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Add missing dependencies, support strict dependency installation (e.g. pnpm)
8
+
9
+ ## 0.11.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#4700](https://github.com/withastro/astro/pull/4700) [`e5f71142e`](https://github.com/withastro/astro/commit/e5f71142eb62bd72456e889dad5774347c3753f2) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Document MDXLayoutProps utility type
14
+
15
+ - [#4858](https://github.com/withastro/astro/pull/4858) [`58a2dca22`](https://github.com/withastro/astro/commit/58a2dca2286cb14f6211cf51267c02447e78433a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Correctly parse import.meta.env in MDX files
16
+
17
+ ## 0.11.1
18
+
19
+ ### Patch Changes
20
+
21
+ - [#4588](https://github.com/withastro/astro/pull/4588) [`db38f61b2`](https://github.com/withastro/astro/commit/db38f61b2b2dc55f03b28797d19b163b1940f1c8) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fix: Add GFM and Smartypants to MDX by default
22
+
23
+ ## 0.11.0
24
+
25
+ ### Minor Changes
26
+
27
+ - [#4504](https://github.com/withastro/astro/pull/4504) [`8f8dff4d3`](https://github.com/withastro/astro/commit/8f8dff4d339a3a12ee155d81a97132032ef3b622) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Introduce new `extendPlugins` configuration option. This defaults to inheriting all remark and rehype plugins from your `markdown` config, with options to use either Astro's defaults or no inheritance at all.
28
+
29
+ ## 0.10.3
30
+
31
+ ### Patch Changes
32
+
33
+ - [#4519](https://github.com/withastro/astro/pull/4519) [`a2e8e76c3`](https://github.com/withastro/astro/commit/a2e8e76c303e8d6f39c24c122905a10f06907997) Thanks [@JuanM04](https://github.com/JuanM04)! - Upgraded Shiki to v0.11.1
34
+
35
+ - [#4530](https://github.com/withastro/astro/pull/4530) [`8504cd79b`](https://github.com/withastro/astro/commit/8504cd79b708e0d3bf1a2bb4ff9b86936bdd692b) Thanks [@kylebutts](https://github.com/kylebutts)! - Add custom components to README
36
+
37
+ ## 0.10.2
38
+
39
+ ### Patch Changes
40
+
41
+ - [#4423](https://github.com/withastro/astro/pull/4423) [`d4cd7a59f`](https://github.com/withastro/astro/commit/d4cd7a59fd38d411c442a818cfaab40f74106628) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Update Markdown type signature to match new markdown plugin,and update top-level layout props for better alignment
42
+
43
+ ## 0.10.2-next.0
44
+
45
+ ### Patch Changes
46
+
47
+ - [#4423](https://github.com/withastro/astro/pull/4423) [`d4cd7a59f`](https://github.com/withastro/astro/commit/d4cd7a59fd38d411c442a818cfaab40f74106628) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Update Markdown type signature to match new markdown plugin,and update top-level layout props for better alignment
48
+
49
+ ## 0.10.1
50
+
51
+ ### Patch Changes
52
+
53
+ - [#4443](https://github.com/withastro/astro/pull/4443) [`adb207979`](https://github.com/withastro/astro/commit/adb20797962c280d4d38f335f577fd52a1b48d4b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fix MDX style imports when layout is not applied
54
+
55
+ * [#4428](https://github.com/withastro/astro/pull/4428) [`a2414bf59`](https://github.com/withastro/astro/commit/a2414bf59e2e2cd633aece68e724401c4ad281b9) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fix dev server reload performance when globbing from an MDX layout
56
+
57
+ ## 0.10.0
58
+
59
+ ### Minor Changes
60
+
61
+ - [#4292](https://github.com/withastro/astro/pull/4292) [`f1a52c18a`](https://github.com/withastro/astro/commit/f1a52c18afe66e6d310743ae6884be76f69be265) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Switch from Shiki Twoslash to Astro's Shiki Markdown highlighter
62
+
63
+ ## 0.9.0
64
+
65
+ ### Minor Changes
66
+
67
+ - [#4268](https://github.com/withastro/astro/pull/4268) [`f7afdb889`](https://github.com/withastro/astro/commit/f7afdb889fe4e97177958c8ec92f80c5f6e5cb51) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Align MD with MDX on layout props and "glob" import results:
68
+ - Add `Content` to MDX
69
+ - Add `file` and `url` to MDX frontmatter (layout import only)
70
+ - Update glob types to reflect differences (lack of `rawContent` and `compiledContent`)
71
+
72
+ ### Patch Changes
73
+
74
+ - [#4272](https://github.com/withastro/astro/pull/4272) [`24d2f7a6e`](https://github.com/withastro/astro/commit/24d2f7a6e6700c10c863f826f37bb653d70e3a83) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Properly handle hydration for namespaced components
75
+
76
+ ## 0.8.3
77
+
78
+ ### Patch Changes
79
+
80
+ - [#4248](https://github.com/withastro/astro/pull/4248) [`869d00935`](https://github.com/withastro/astro/commit/869d0093596b709cfcc1a1a95ee631b48d6d1c26) Thanks [@svemat01](https://github.com/svemat01)! - Load builtin rehype plugins before user plugins instead of after
81
+
82
+ * [#4255](https://github.com/withastro/astro/pull/4255) [`411612808`](https://github.com/withastro/astro/commit/4116128082121ee276d51cb245bf8095be4728a1) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Pass injected frontmatter from remark and rehype plugins to layouts
83
+
84
+ * Updated dependencies [[`1f0dd31d9`](https://github.com/withastro/astro/commit/1f0dd31d9239b5e3dca99c88d021e7a9a3e2054d)]:
85
+ - @astrojs/prism@1.0.1
86
+
87
+ ## 0.8.2
88
+
89
+ ### Patch Changes
90
+
91
+ - [#4237](https://github.com/withastro/astro/pull/4237) [`9d5ab5508`](https://github.com/withastro/astro/commit/9d5ab55086964fbede17da3d78c209c6d8d13711) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Update "Astro.props.content" -> "Astro.props.frontmatter" in README
92
+
93
+ ## 0.8.1
94
+
95
+ ### Patch Changes
96
+
97
+ - Updated dependencies [[`04ad44563`](https://github.com/withastro/astro/commit/04ad445632c67bdd60c1704e1e0dcbcaa27b9308)]:
98
+ - @astrojs/prism@1.0.0
99
+
100
+ ## 0.8.0
101
+
102
+ ### Minor Changes
103
+
104
+ - [#4204](https://github.com/withastro/astro/pull/4204) [`4c2ca5352`](https://github.com/withastro/astro/commit/4c2ca5352d0c4119ed2a9e5e0b78ce71eb1b414a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Remove `frontmatterOptions` from MDX config
105
+
106
+ ### Patch Changes
107
+
108
+ - [#4205](https://github.com/withastro/astro/pull/4205) [`6c9736cbc`](https://github.com/withastro/astro/commit/6c9736cbc90162f1de3ebccd7cfe98332749b639) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add frontmatter injection instructions to README
109
+
110
+ ## 0.7.0
111
+
112
+ ### Minor Changes
113
+
114
+ - [#4176](https://github.com/withastro/astro/pull/4176) [`2675b8633`](https://github.com/withastro/astro/commit/2675b8633c5d5c45b237ec87940d5eaf1bfb1b4b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Support frontmatter injection for MD and MDX using remark and rehype plugins
115
+
116
+ ### Patch Changes
117
+
118
+ - [#4181](https://github.com/withastro/astro/pull/4181) [`77cede720`](https://github.com/withastro/astro/commit/77cede720b09bce34f29c3d2d8b505311ce876b1) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Make collect-headings rehype plugin non-overridable
119
+
120
+ * [#4174](https://github.com/withastro/astro/pull/4174) [`8eb3a8c6d`](https://github.com/withastro/astro/commit/8eb3a8c6d9554707963c3a3bc36ed8b68d3cf0fb) Thanks [@matthewp](https://github.com/matthewp)! - Allows using React with automatic imports alongside MDX
121
+
122
+ - [#4145](https://github.com/withastro/astro/pull/4145) [`c7efcf57e`](https://github.com/withastro/astro/commit/c7efcf57e00a0fcde3bc9f813e3cc59902bd484c) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix a missing newline bug when `layout` was set.
123
+
124
+ ## 0.6.0
125
+
126
+ ### Minor Changes
127
+
128
+ - [#4134](https://github.com/withastro/astro/pull/4134) [`2968ba2b6`](https://github.com/withastro/astro/commit/2968ba2b6f00775b6e9872681b390cb466fdbfa2) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add `headings` and `frontmatter` properties to layout props
129
+
130
+ ## 0.5.0
131
+
132
+ ### Minor Changes
133
+
134
+ - [#4095](https://github.com/withastro/astro/pull/4095) [`40ef43a59`](https://github.com/withastro/astro/commit/40ef43a59b08a1a8fbcd9f4a53745a9636a4fbb9) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add IDs to MDX headings and expose via getHeadings() export
135
+
136
+ * [#4114](https://github.com/withastro/astro/pull/4114) [`64432bcb8`](https://github.com/withastro/astro/commit/64432bcb873efd0e4297c00fc9583a1fe516dfe7) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Refactor `@astrojs/mdx` and `@astrojs/markdown-remark` to use `@astrojs/prism` instead of duplicating the code
137
+
138
+ ### Patch Changes
139
+
140
+ - [#4112](https://github.com/withastro/astro/pull/4112) [`e33fc9bc4`](https://github.com/withastro/astro/commit/e33fc9bc46ff0a30013deb6dc76e545e70cc3a3e) Thanks [@matthewp](https://github.com/matthewp)! - Fix MDX working with a ts config file
141
+
142
+ * [#4049](https://github.com/withastro/astro/pull/4049) [`b60cc0538`](https://github.com/withastro/astro/commit/b60cc0538bc5c68dd411117780d20d892530789d) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Improve `injectScript` handling for non-Astro pages
143
+
144
+ * Updated dependencies [[`64432bcb8`](https://github.com/withastro/astro/commit/64432bcb873efd0e4297c00fc9583a1fe516dfe7)]:
145
+ - @astrojs/prism@0.7.0
146
+
147
+ ## 0.4.0
148
+
149
+ ### Minor Changes
150
+
151
+ - [#4088](https://github.com/withastro/astro/pull/4088) [`1743fe140`](https://github.com/withastro/astro/commit/1743fe140eb58d60e26cbd11a066bb60de046e0c) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Support "layout" frontmatter property
152
+
153
+ ## 0.3.1
154
+
155
+ ### Patch Changes
156
+
157
+ - [#4076](https://github.com/withastro/astro/pull/4076) [`6120a71e5`](https://github.com/withastro/astro/commit/6120a71e5425ad55a17ddac800d64a3f50273bce) Thanks [@matthewp](https://github.com/matthewp)! - Ensure file and url are always present in MDX for Astro.glob
158
+
159
+ ## 0.3.0
160
+
161
+ ### Minor Changes
162
+
163
+ - [#3977](https://github.com/withastro/astro/pull/3977) [`19433eb4a`](https://github.com/withastro/astro/commit/19433eb4a4441522f68492ca914ad2ab4f061343) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add remarkPlugins and rehypePlugins to config, with the same default plugins as our standard Markdown parser
164
+
165
+ * [#4002](https://github.com/withastro/astro/pull/4002) [`3b8a74452`](https://github.com/withastro/astro/commit/3b8a7445247221100462ba035f6778b43ea180e7) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Support Prism and Shiki syntax highlighting based on project config
166
+
167
+ - [#3995](https://github.com/withastro/astro/pull/3995) [`b2b367c96`](https://github.com/withastro/astro/commit/b2b367c969493aaf21c974064beb241d05228066) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Support YAML frontmatter in MDX files
168
+
169
+ ### Patch Changes
170
+
171
+ - [#4050](https://github.com/withastro/astro/pull/4050) [`9ab66c4ba`](https://github.com/withastro/astro/commit/9ab66c4ba9bf2250990114c76b792f26d0694365) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Add support for injected "page-ssr" scripts
172
+
173
+ * [#3981](https://github.com/withastro/astro/pull/3981) [`61fec6304`](https://github.com/withastro/astro/commit/61fec63044e1585348e8405bee6fdf4dec635efa) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Include page url in MDX glob result
174
+
175
+ ## 0.2.1
176
+
177
+ ### Patch Changes
178
+
179
+ - [#3937](https://github.com/withastro/astro/pull/3937) [`31f9c0bf0`](https://github.com/withastro/astro/commit/31f9c0bf029ffa4b470e620f2c32e1370643e81e) Thanks [@delucis](https://github.com/delucis)! - Roll back supported Node engines
180
+
181
+ ## 0.2.0
182
+
183
+ ### Minor Changes
184
+
185
+ - [#3914](https://github.com/withastro/astro/pull/3914) [`b48767985`](https://github.com/withastro/astro/commit/b48767985359bd359df8071324952ea5f2bc0d86) Thanks [@ran-dall](https://github.com/ran-dall)! - Rollback supported `node@16` version. Minimum versions are now `node@14.20.0` or `node@16.14.0`.
186
+
187
+ ## 0.1.1
188
+
189
+ ### Patch Changes
190
+
191
+ - [#3885](https://github.com/withastro/astro/pull/3885) [`bf5d1cc1e`](https://github.com/withastro/astro/commit/bf5d1cc1e71da38a14658c615e9481f2145cc6e7) Thanks [@delucis](https://github.com/delucis)! - Integration README fixes
192
+
193
+ ## 0.1.0
194
+
195
+ ### Minor Changes
196
+
197
+ - [#3871](https://github.com/withastro/astro/pull/3871) [`1cc5b7890`](https://github.com/withastro/astro/commit/1cc5b78905633608e5b07ad291f916f54e67feb1) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update supported `node` versions. Minimum versions are now `node@14.20.0` or `node@16.16.0`.
198
+
199
+ ## 0.0.3
200
+
201
+ ### Patch Changes
202
+
203
+ - [#3854](https://github.com/withastro/astro/pull/3854) [`b012ee55`](https://github.com/withastro/astro/commit/b012ee55b107dea0730286263b27d83e530fad5d) Thanks [@bholmesdev](https://github.com/bholmesdev)! - [astro add] Support adapters and third party packages
204
+
205
+ ## 0.0.2
206
+
207
+ ### Patch Changes
208
+
209
+ - [#3706](https://github.com/withastro/astro/pull/3706) [`032ad1c0`](https://github.com/withastro/astro/commit/032ad1c047a62dd663067cc562537d16f2872aa7) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Initial release! 🎉
package/LICENSE ADDED
@@ -0,0 +1,61 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Fred K. Schott
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+
24
+ """
25
+ This license applies to parts of the `packages/create-astro` and `packages/astro` subdirectories originating from the https://github.com/sveltejs/kit repository:
26
+
27
+ Copyright (c) 2020 [these people](https://github.com/sveltejs/kit/graphs/contributors)
28
+
29
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
30
+
31
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
32
+
33
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34
+ """
35
+
36
+
37
+ """
38
+ This license applies to parts of the `packages/create-astro` and `packages/astro` subdirectories originating from the https://github.com/vitejs/vite repository:
39
+
40
+ MIT License
41
+
42
+ Copyright (c) 2019-present, Yuxi (Evan) You and Vite contributors
43
+
44
+ Permission is hereby granted, free of charge, to any person obtaining a copy
45
+ of this software and associated documentation files (the "Software"), to deal
46
+ in the Software without restriction, including without limitation the rights
47
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
48
+ copies of the Software, and to permit persons to whom the Software is
49
+ furnished to do so, subject to the following conditions:
50
+
51
+ The above copyright notice and this permission notice shall be included in all
52
+ copies or substantial portions of the Software.
53
+
54
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
55
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
56
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
57
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
58
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
59
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
60
+ SOFTWARE.
61
+ """