Fix spelling mistakes found by codespell and mwic (#5627)

This commit is contained in:
Anders Kaseorg 2022-12-19 03:00:00 -08:00 committed by GitHub
parent 4d4883e816
commit 53e0c98dae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
44 changed files with 51 additions and 51 deletions

View file

@ -100,7 +100,7 @@ Note the top-level `en` key: This is needed for multi-language support. You can
### Multiple Languages support ### Multiple Languages support
The Astro docs template supports multiple langauges out of the box. The default theme only shows `en` documentation, but you can enable multi-language support features by adding a second language to your project. The Astro docs template supports multiple languages out of the box. The default theme only shows `en` documentation, but you can enable multi-language support features by adding a second language to your project.
To add a new language to your project, you'll want to extend the current `src/pages/[lang]/...` layout: To add a new language to your project, you'll want to extend the current `src/pages/[lang]/...` layout:
@ -148,7 +148,7 @@ export const SIDEBAR = {
// ... // ...
``` ```
If you plan to use Spanish as the the default language, you just need to modify the redirect path in `src/pages/index.astro`: If you plan to use Spanish as the default language, you just need to modify the redirect path in `src/pages/index.astro`:
```diff ```diff
<script> <script>

View file

@ -59,7 +59,7 @@
- [#5511](https://github.com/withastro/astro/pull/5511) [`05915fec0`](https://github.com/withastro/astro/commit/05915fec01a51f27ab5051644f01e6112ecf06bc) Thanks [@matthewp](https://github.com/matthewp)! - Low-level head propagation - [#5511](https://github.com/withastro/astro/pull/5511) [`05915fec0`](https://github.com/withastro/astro/commit/05915fec01a51f27ab5051644f01e6112ecf06bc) Thanks [@matthewp](https://github.com/matthewp)! - Low-level head propagation
This adds low-level head propagation ability within the Astro runtime. This is not really useable within an Astro app at the moment, but provides the APIs necessary for `renderEntry` to do head propagation. This adds low-level head propagation ability within the Astro runtime. This is not really usable within an Astro app at the moment, but provides the APIs necessary for `renderEntry` to do head propagation.
- [#5553](https://github.com/withastro/astro/pull/5553) [`1aeabe417`](https://github.com/withastro/astro/commit/1aeabe417077505bc0cdb8d2e47366ddbc616072) Thanks [@matthewp](https://github.com/matthewp)! - Fix Astro.params not having values when using base in SSR - [#5553](https://github.com/withastro/astro/pull/5553) [`1aeabe417`](https://github.com/withastro/astro/commit/1aeabe417077505bc0cdb8d2e47366ddbc616072) Thanks [@matthewp](https://github.com/matthewp)! - Fix Astro.params not having values when using base in SSR

View file

@ -26,7 +26,7 @@ Looking for quick examples? [Open a starter project](https://astro.new/) right i
## Documentation ## Documentation
Visit our [offical documentation](https://docs.astro.build/). Visit our [official documentation](https://docs.astro.build/).
## Support ## Support

View file

@ -2,7 +2,7 @@ import { getHighlighter as getShikiHighlighter } from 'shiki';
import { themes } from './shiki-themes.js'; import { themes } from './shiki-themes.js';
import { languages } from './shiki-languages.js'; import { languages } from './shiki-languages.js';
// Caches Promise<Highligher> for reuse when the same theme and langs are provided // Caches Promise<Highlighter> for reuse when the same theme and langs are provided
const _resolvedHighlighters = new Map(); const _resolvedHighlighters = new Map();
/** @type {Promise<any>} */ /** @type {Promise<any>} */

View file

@ -192,7 +192,7 @@ but ${plural ? 'none were.' : 'it was not.'} able to server-side render \`${comp
* - [`client:only`](https://docs.astro.build/en/reference/directives-reference/#clientonly) * - [`client:only`](https://docs.astro.build/en/reference/directives-reference/#clientonly)
* @description * @description
* *
* `client:only` components are not ran on the server, as such Astro does not know (and cannot guess) which renderer to use and require a hint. Like such: * `client:only` components are not run on the server, as such Astro does not know (and cannot guess) which renderer to use and require a hint. Like such:
* *
* ```astro * ```astro
* <SomeReactComponent client:only="react" /> * <SomeReactComponent client:only="react" />
@ -375,7 +375,7 @@ See https://docs.astro.build/en/guides/server-side-rendering/ for more informati
* - [Server-side Rendering](https://docs.astro.build/en/guides/server-side-rendering/) * - [Server-side Rendering](https://docs.astro.build/en/guides/server-side-rendering/)
* - [Adding an Adapter](https://docs.astro.build/en/guides/server-side-rendering/#adding-an-adapter) * - [Adding an Adapter](https://docs.astro.build/en/guides/server-side-rendering/#adding-an-adapter)
* @description * @description
* To use server-side rendering, an adapter needs to be installed so Astro knows how to generate the proper output for your targetted deployment platform. * To use server-side rendering, an adapter needs to be installed so Astro knows how to generate the proper output for your targeted deployment platform.
*/ */
NoAdapterInstalled: { NoAdapterInstalled: {
title: 'Cannot use Server-side Rendering without an adapter.', title: 'Cannot use Server-side Rendering without an adapter.',

View file

@ -4,7 +4,7 @@ import { AstroErrorCodes, AstroErrorData } from './errors-data.js';
/** /**
* Get the line and character based on the offset * Get the line and character based on the offset
* @param offset The index of the position * @param offset The index of the position
* @param text The text for which the position should be retrived * @param text The text for which the position should be retrieved
*/ */
export function positionAt( export function positionAt(
offset: number, offset: number,

View file

@ -76,7 +76,7 @@ export interface RouteCacheEntry {
} }
/** /**
* Manange the route cache, responsible for caching data related to each route, * Manage the route cache, responsible for caching data related to each route,
* including the result of calling getStaticPath() so that it can be reused across * including the result of calling getStaticPath() so that it can be reused across
* responses during dev and only ever called once during build. * responses during dev and only ever called once during build.
*/ */

View file

@ -49,7 +49,7 @@ export function mergeSlots(...slotted: unknown[]) {
return slots; return slots;
} }
/** @internal Assosciate JSX components with a specific renderer (see /src/vite-plugin-jsx/tag.ts) */ /** @internal Associate JSX components with a specific renderer (see /src/vite-plugin-jsx/tag.ts) */
export function __astro_tag_component__(Component: unknown, rendererName: string) { export function __astro_tag_component__(Component: unknown, rendererName: string) {
if (!Component) return; if (!Component) return;
if (typeof Component !== 'function') return; if (typeof Component !== 'function') return;

View file

@ -49,7 +49,7 @@ export function shorthash(text: string) {
let result = ''; let result = '';
let integer = bitwise(text); let integer = bitwise(text);
const sign = integer < 0 ? 'Z' : ''; // It it's negative, start with Z, which isn't in the dictionary const sign = integer < 0 ? 'Z' : ''; // If it's negative, start with Z, which isn't in the dictionary
integer = Math.abs(integer); integer = Math.abs(integer);

View file

@ -82,7 +82,7 @@ export async function handleHotUpdate(
for (const file of files) { for (const file of files) {
if (isStyleOnlyChange && file === ctx.file) continue; if (isStyleOnlyChange && file === ctx.file) continue;
invalidateCompilation(config, file); invalidateCompilation(config, file);
// If `ctx.file` is depended by an .astro file, e.g via `this.addWatchFile`, // If `ctx.file` is depended by an .astro file, e.g. via `this.addWatchFile`,
// Vite doesn't trigger updating that .astro file by default. See: // Vite doesn't trigger updating that .astro file by default. See:
// https://github.com/vitejs/vite/issues/3216 // https://github.com/vitejs/vite/issues/3216
// For now, we trigger the change manually here. // For now, we trigger the change manually here.

View file

@ -12,7 +12,7 @@ export interface ParsedRequestResult {
query: AstroQuery; query: AstroQuery;
} }
// Parses an id to check if its an Astro request. // Parses an id to check if it's an Astro request.
// CSS is imported like `import '/src/pages/index.astro?astro&type=style&index=0&lang.css'; // CSS is imported like `import '/src/pages/index.astro?astro&type=style&index=0&lang.css';
// This parses those ids and returns an object representing what it found. // This parses those ids and returns an object representing what it found.
export function parseAstroRequest(id: string): ParsedRequestResult { export function parseAstroRequest(id: string): ParsedRequestResult {

View file

@ -75,7 +75,7 @@ const getConfigAlias = (settings: AstroSettings): Alias[] | null => {
return aliases; return aliases;
}; };
/** Returns a Vite plugin used to alias pathes from tsconfig.json and jsconfig.json. */ /** Returns a Vite plugin used to alias paths from tsconfig.json and jsconfig.json. */
export default function configAliasVitePlugin({ export default function configAliasVitePlugin({
settings, settings,
}: { }: {

View file

@ -9,7 +9,7 @@ const injectExp = /^\/\/\s*astro-head-inject/;
* If any component is marked as doing head injection, walk up the tree * If any component is marked as doing head injection, walk up the tree
* and mark parent Astro components as having head injection in the tree. * and mark parent Astro components as having head injection in the tree.
* This is used at runtime to determine if we should wait for head content * This is used at runtime to determine if we should wait for head content
* to be be populated before rendering the entire tree. * to be populated before rendering the entire tree.
*/ */
export default function configHeadPropagationVitePlugin({ export default function configHeadPropagationVitePlugin({
settings, settings,

View file

@ -95,7 +95,7 @@ describe('CSS Bundling', function () {
expect(dir).to.have.a.lengthOf(4); expect(dir).to.have.a.lengthOf(4);
}); });
it('CSS does not include hashes hashes', async () => { it('CSS does not include hashes', async () => {
const [firstFound] = await fixture.readdir('/assets'); const [firstFound] = await fixture.readdir('/assets');
expect(firstFound).to.not.match(/[a-z]+\.[0-9a-z]{8}\.css/); expect(firstFound).to.not.match(/[a-z]+\.[0-9a-z]{8}\.css/);
}); });

View file

@ -78,7 +78,7 @@ describe('Environment Variables', () => {
// Look in all of the .js files to see if the public env is inlined. // Look in all of the .js files to see if the public env is inlined.
// Testing this way prevents hardcoding expected js files. // Testing this way prevents hardcoding expected js files.
// If we find it in any of them that's good enough to know its NOT working. // If we find it in any of them that's good enough to know it's NOT working.
await Promise.all( await Promise.all(
dirs.map(async (path) => { dirs.map(async (path) => {
if (path.endsWith('.js')) { if (path.endsWith('.js')) {

View file

@ -22,7 +22,7 @@ describe('Custom Elements', () => {
// test 1: Element rendered // test 1: Element rendered
expect($('my-element')).to.have.lengthOf(1); expect($('my-element')).to.have.lengthOf(1);
// test 2: shadow rendererd // test 2: shadow rendered
expect($('my-element template[shadowroot=open]')).to.have.lengthOf(1); expect($('my-element template[shadowroot=open]')).to.have.lengthOf(1);
}); });

View file

@ -472,7 +472,7 @@
} }
}, },
{ {
"scope": ["constant.numeric", "constant.language", "constant.charcter.escape"], "scope": ["constant.numeric", "constant.language", "constant.character.escape"],
"settings": { "settings": {
"foreground": "#F19A8E" "foreground": "#F19A8E"
} }

File diff suppressed because one or more lines are too long

View file

@ -104,13 +104,13 @@ This php is a counter. So we can identify the first instance and assign an `if`
<a class="<?php if($row == 1) {echo 'active';}?>"> <a class="<?php if($row == 1) {echo 'active';}?>">
``` ```
The final thing to do, is to keep the counter running, but adding this jsut before the `endwhile`. The final thing to do, is to keep the counter running, but adding this just before the `endwhile`.
```php ```php
<?php $row++; endwhile; // (have_rows('tab_panes') ):?> <?php $row++; endwhile; // (have_rows('tab_panes') ):?>
``` ```
Once you've added these to the tab panes in a similar way, you'll be up and running with Boostrap Tabs. Once you've added these to the tab panes in a similar way, you'll be up and running with Bootstrap Tabs.
Below is a Github Gist, with the complete code for reference. [Link to this (if you can't see the iFrame)](https://gist.github.com/endymion1818/478d86025f41c8060888 "Github GIST for Advanced Custom Fields bootstrap tabs"). Below is a Github Gist, with the complete code for reference. [Link to this (if you can't see the iFrame)](https://gist.github.com/endymion1818/478d86025f41c8060888 "Github GIST for Advanced Custom Fields bootstrap tabs").

View file

@ -46,7 +46,7 @@ describe('LitElement test', function () {
expect(stripExpressionMarkers($('my-element').html())).to.include(`<div id="bool">B</div>`); expect(stripExpressionMarkers($('my-element').html())).to.include(`<div id="bool">B</div>`);
// test 5: object reactive property set // test 5: object reactive property set
// by default objects will be stringifed to [object Object] // by default objects will be stringified to [object Object]
expect(stripExpressionMarkers($('my-element').html())).to.include( expect(stripExpressionMarkers($('my-element').html())).to.include(
`<div id="data">data: 1</div>` `<div id="data">data: 1</div>`
); );

View file

@ -47,7 +47,7 @@ describe('react-jsx-export', () => {
}); });
}); });
it('Can not output React Invalid Hook warning', async () => { it('Cannot output React Invalid Hook warning', async () => {
expect(logs.every((log) => log.message.indexOf(reactInvalidHookWarning) === -1)).to.be.true; expect(logs.every((log) => log.message.indexOf(reactInvalidHookWarning) === -1)).to.be.true;
}); });
}); });

View file

@ -58,7 +58,7 @@ export const defaultLogging = {
* *
* Dev * Dev
* .startDevServer() - Async. Starts a dev server at an available port. Be sure to call devServer.stop() before test exit. * .startDevServer() - Async. Starts a dev server at an available port. Be sure to call devServer.stop() before test exit.
* .fetch(url) - Async. Returns a URL from the prevew server (must have called .preview() before) * .fetch(url) - Async. Returns a URL from the preview server (must have called .preview() before)
* *
* Preview * Preview
* .preview() - Async. Starts a preview server. Note this cant be running in same fixture as .dev() as they share ports. Also, you must call `server.close()` before test exit * .preview() - Async. Starts a preview server. Note this cant be running in same fixture as .dev() as they share ports. Also, you must call `server.close()` before test exit
@ -112,7 +112,7 @@ export async function loadFixture(inlineConfig) {
const resolveUrl = (url) => const resolveUrl = (url) =>
`http://${config.server.host}:${config.server.port}${url.replace(/^\/?/, '/')}`; `http://${config.server.host}:${config.server.port}${url.replace(/^\/?/, '/')}`;
// A map of files that have been editted. // A map of files that have been edited.
let fileEdits = new Map(); let fileEdits = new Map();
const resetAllFiles = () => { const resetAllFiles = () => {

View file

@ -48,7 +48,7 @@
### Minor Changes ### Minor Changes
- [#4810](https://github.com/withastro/astro/pull/4810) [`7481ffda0`](https://github.com/withastro/astro/commit/7481ffda028d9028d8e28bc7c6e9960ab80acf0f) Thanks [@mrienstra](https://github.com/mrienstra)! - Alway write chosen config to `tsconfig.json`. - [#4810](https://github.com/withastro/astro/pull/4810) [`7481ffda0`](https://github.com/withastro/astro/commit/7481ffda028d9028d8e28bc7c6e9960ab80acf0f) Thanks [@mrienstra](https://github.com/mrienstra)! - Always write chosen config to `tsconfig.json`.
- Before: Only when `strict` & `strictest` was selected - Before: Only when `strict` & `strictest` was selected
- After: Also when `base` is selected (via "Relaxed" or "I prefer not to use TypeScript") - After: Also when `base` is selected (via "Relaxed" or "I prefer not to use TypeScript")
@ -263,7 +263,7 @@
### Patch Changes ### Patch Changes
- 0eeb2534: change rm to unlink for node 12 compatability - 0eeb2534: change rm to unlink for node 12 compatibility
## 0.6.2 ## 0.6.2
@ -314,7 +314,7 @@
### Minor Changes ### Minor Changes
- 36e104b: Use new client: prefix for component exmaples - 36e104b: Use new client: prefix for component examples
## 0.4.0 ## 0.4.0

View file

@ -244,7 +244,7 @@
### Minor Changes ### Minor Changes
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md) - [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to respect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
### Patch Changes ### Patch Changes

View file

@ -49,7 +49,7 @@ export function shorthash(text: string) {
let result = ''; let result = '';
let integer = bitwise(text); let integer = bitwise(text);
const sign = integer < 0 ? 'Z' : ''; // It it's negative, start with Z, which isn't in the dictionary const sign = integer < 0 ? 'Z' : ''; // If it's negative, start with Z, which isn't in the dictionary
integer = Math.abs(integer); integer = Math.abs(integer);

View file

@ -1018,7 +1018,7 @@ var Module = (function () {
} }
function replacePublicSymbol(name, value, numArguments) { function replacePublicSymbol(name, value, numArguments) {
if (!Module.hasOwnProperty(name)) { if (!Module.hasOwnProperty(name)) {
throwInternalError('Replacing nonexistant public symbol') throwInternalError('Replacing nonexistent public symbol')
} }
if ( if (
undefined !== Module[name].overloadTable && undefined !== Module[name].overloadTable &&

View file

@ -1135,7 +1135,7 @@ var Module = (function () {
} }
function replacePublicSymbol(name, value, numArguments) { function replacePublicSymbol(name, value, numArguments) {
if (!Module.hasOwnProperty(name)) { if (!Module.hasOwnProperty(name)) {
throwInternalError('Replacing nonexistant public symbol') throwInternalError('Replacing nonexistent public symbol')
} }
if ( if (
undefined !== Module[name].overloadTable && undefined !== Module[name].overloadTable &&

View file

@ -1029,7 +1029,7 @@ var Module = (function () {
} }
function replacePublicSymbol(name, value, numArguments) { function replacePublicSymbol(name, value, numArguments) {
if (!Module.hasOwnProperty(name)) { if (!Module.hasOwnProperty(name)) {
throwInternalError('Replacing nonexistant public symbol') throwInternalError('Replacing nonexistent public symbol')
} }
if ( if (
undefined !== Module[name].overloadTable && undefined !== Module[name].overloadTable &&

View file

@ -1109,7 +1109,7 @@ var Module = (function () {
} }
function replacePublicSymbol(name, value, numArguments) { function replacePublicSymbol(name, value, numArguments) {
if (!Module.hasOwnProperty(name)) { if (!Module.hasOwnProperty(name)) {
throwInternalError('Replacing nonexistant public symbol') throwInternalError('Replacing nonexistent public symbol')
} }
if ( if (
undefined !== Module[name].overloadTable && undefined !== Module[name].overloadTable &&

View file

@ -1001,7 +1001,7 @@ var Module = (function () {
} }
function replacePublicSymbol(name, value, numArguments) { function replacePublicSymbol(name, value, numArguments) {
if (!Module.hasOwnProperty(name)) { if (!Module.hasOwnProperty(name)) {
throwInternalError('Replacing nonexistant public symbol') throwInternalError('Replacing nonexistent public symbol')
} }
if ( if (
undefined !== Module[name].overloadTable && undefined !== Module[name].overloadTable &&

View file

@ -1153,7 +1153,7 @@ var Module = (function () {
} }
function replacePublicSymbol(name, value, numArguments) { function replacePublicSymbol(name, value, numArguments) {
if (!Module.hasOwnProperty(name)) { if (!Module.hasOwnProperty(name)) {
throwInternalError('Replacing nonexistant public symbol') throwInternalError('Replacing nonexistent public symbol')
} }
if ( if (
undefined !== Module[name].overloadTable && undefined !== Module[name].overloadTable &&

View file

@ -66,7 +66,7 @@ describe('SSR images - dev', function () {
contentType: 'image/webp', contentType: 'image/webp',
}, },
{ {
title: 'Remote wihtout file extension', title: 'Remote without file extension',
id: '#ipsum', id: '#ipsum',
url: '/_image', url: '/_image',
query: { query: {
@ -181,7 +181,7 @@ describe('SSR images with subpath - dev', function () {
contentType: 'image/webp', contentType: 'image/webp',
}, },
{ {
title: 'Remote wihtout file extension', title: 'Remote without file extension',
id: '#ipsum', id: '#ipsum',
url: '/_image', url: '/_image',
query: { query: {

View file

@ -48,7 +48,7 @@
### Patch Changes ### Patch Changes
- [#3511](https://github.com/withastro/astro/pull/3511) [`2fedb974`](https://github.com/withastro/astro/commit/2fedb974899b37a8d9ddabc476764a6d35d1e446) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Patch Lit's server shim to allow for `sass` compatability - [#3511](https://github.com/withastro/astro/pull/3511) [`2fedb974`](https://github.com/withastro/astro/commit/2fedb974899b37a8d9ddabc476764a6d35d1e446) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Patch Lit's server shim to allow for `sass` compatibility
## 0.1.4 ## 0.1.4

View file

@ -33,7 +33,7 @@ describe('renderToStaticMarkup', () => {
} }
}); });
it('should render emtpy component with default markup', async () => { it('should render empty component with default markup', async () => {
const tagName = 'nothing-component'; const tagName = 'nothing-component';
customElements.define(tagName, class extends LitElement {}); customElements.define(tagName, class extends LitElement {});
const render = await renderToStaticMarkup(tagName); const render = await renderToStaticMarkup(tagName);

View file

@ -354,7 +354,7 @@
### Minor Changes ### Minor Changes
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md) - [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to respect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
## 0.0.2 ## 0.0.2

View file

@ -59,7 +59,7 @@ export const createExports = (manifest: SSRManifest, args: Args) => {
method: httpMethod, method: httpMethod,
headers: new Headers(headers as any), headers: new Headers(headers as any),
}; };
// Attach the event body the the request, with proper encoding. // Attach the event body the request, with proper encoding.
if (httpMethod !== 'GET' && httpMethod !== 'HEAD') { if (httpMethod !== 'GET' && httpMethod !== 'HEAD') {
const encoding = isBase64Encoded ? 'base64' : 'utf-8'; const encoding = isBase64Encoded ? 'base64' : 'utf-8';
init.body = init.body =

View file

@ -84,7 +84,7 @@
### Minor Changes ### Minor Changes
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md) - [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to respect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
## 0.0.2 ## 0.0.2

View file

@ -22,7 +22,7 @@ export default (element) =>
children != null ? createElement(StaticHtml, { value: children }) : children children != null ? createElement(StaticHtml, { value: children }) : children
); );
const rootKey = isAlreadyHydrated(element); const rootKey = isAlreadyHydrated(element);
// HACK: delete internal react marker for nested components to suppress agressive warnings // HACK: delete internal react marker for nested components to suppress aggressive warnings
if (rootKey) { if (rootKey) {
delete element[rootKey]; delete element[rootKey];
} }

View file

@ -114,7 +114,7 @@
### Minor Changes ### Minor Changes
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md) - [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to respect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
### Patch Changes ### Patch Changes

View file

@ -26,7 +26,7 @@ function getRenderer(): AstroRenderer {
async function getViteConfiguration(isDev: boolean, astroConfig: AstroConfig) { async function getViteConfiguration(isDev: boolean, astroConfig: AstroConfig) {
// https://github.com/solidjs/vite-plugin-solid // https://github.com/solidjs/vite-plugin-solid
// We inject the dev mode only if the user explicitely wants it or if we are in dev (serve) mode // We inject the dev mode only if the user explicitly wants it or if we are in dev (serve) mode
const nestedDeps = ['solid-js', 'solid-js/web', 'solid-js/store', 'solid-js/html', 'solid-js/h']; const nestedDeps = ['solid-js', 'solid-js/web', 'solid-js/store', 'solid-js/html', 'solid-js/h'];
const solidPkgsConfig = await getSolidPkgsConfig(!isDev, astroConfig); const solidPkgsConfig = await getSolidPkgsConfig(!isDev, astroConfig);
return { return {

View file

@ -120,7 +120,7 @@ npm install tailwindcss
### Minor Changes ### Minor Changes
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md) - [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to respect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
### Patch Changes ### Patch Changes

View file

@ -107,7 +107,7 @@ export default defineConfig({
``` ```
> **Note** > **Note**
> When building for the Edge, all the depencies get bundled in a single file to save space. **No extra file will be bundled**. So, if you _need_ some file inside the function, you have to specify it in `includeFiles`. > When building for the Edge, all the dependencies get bundled in a single file to save space. **No extra file will be bundled**. So, if you _need_ some file inside the function, you have to specify it in `includeFiles`.
### excludeFiles ### excludeFiles

File diff suppressed because one or more lines are too long

View file

@ -242,7 +242,7 @@
### Minor Changes ### Minor Changes
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md) - [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to respect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
## 0.7.0 ## 0.7.0