0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-13 22:11:20 -05:00
Commit graph

33 commits

Author SHA1 Message Date
Fred K. Bot
bb3d7d4f39
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-11 16:50:59 -07:00
Nate Moore
9f067dca27
Astro 1.0.0 ()
* chore: remove changesets patch

* chore: add changesets

* chore: version packages

* chore: normalize formatting

* chore: update lockfile

* chore: fix codeblocks

* Update packages/astro/CHANGELOG.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/astro/CHANGELOG.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/astro/CHANGELOG.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* chore: fixup code samples

* chore: move v0.25 message out of note

Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-09 11:10:25 -05:00
Fred K. Bot
077d78fddc
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-02 14:50:21 -07:00
Erika
64432bcb87
Refactor @astrojs/prism, fix Prism component import not working ()
* Upgrade @astrojs/prism to a real package, fix component import not working

* Remove `@astrojs/prism` as a dependency of `astro`

* Update lock file

* Refactor to multiple files

* Oops, can't have astro imports run inside node

* Follow Nate's suggestion on being minors instead of patchs

* Update lockfile
2022-08-02 15:53:18 -04:00
Fred K. Bot
37534004f0
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-18 21:54:25 -07:00
Chris Swithinbank
31f9c0bf02
Roll back supported Node engines ()
Fixes 
2022-07-15 08:15:04 -04:00
Fred K. Bot
056d4d5fd2
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-13 17:16:24 -04:00
Randall
b487679853
Rollback Nodejs Dependancy ()
* Rollback Nodejs Dependancy

Closes 

Signed-off-by: Randall T. Vasquez <ran.dall@icloud.com>

* Create ninety-apes-talk.md
2022-07-13 17:06:37 -04:00
Fred K. Bot
1554a37622
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-11 13:38:42 -05:00
Nate Moore
1cc5b78905
fix(): update supported node versions ()
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-11 11:32:53 -05:00
Fred K. Schott
00b8343844
[ci] update lockfile ()
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-04-20 09:42:31 -04:00
github-actions[bot]
109693bb05
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-25 17:00:49 -05:00
Ben Holmes
046bf7281f
refactor: move Prism comp to default exp () 2022-03-25 17:13:28 -04:00
github-actions[bot]
c78d7a46c9
[ci] release (next) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-24 17:37:49 -05:00
Ben Holmes
2db97f10dc
Refactor: move prism to @astrojs/prism/components ()
* feat: add `<Prism/>` to @astrojs/prism/components

* feat: remove `<Prism/>` from astro/components

* refactor: point to index.mjs in import

* refactor: change exp to @astrojs/prism/component

* refactor: remove unecessary index.js

* chore: changeset
2022-03-24 17:48:07 -04:00
Fred K. Schott
1634172ff9
[ci] update lockfile ()
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-03-11 16:38:28 -06:00
github-actions[bot]
b8e3efa7bb
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 11:49:30 -05:00
Jonathan Neal
45cea6aec5
Support Node v14.15+ ()
* Support Node v14.15+

* changeset

* Update .changeset/new-hats-design.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update .changeset/new-hats-design.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update .changeset/new-hats-design.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* ES2020

* update yarn.lock

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-12-16 18:53:22 -05:00
Francois Valdy
5f5dc60976
Add missing licenses to published packages ()
* chore: add missing licenses

* chore: update package.json info

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-12-13 15:14:34 -06:00
Fred K. Schott
7476a92461
update repo URL () 2021-11-23 14:47:05 -08:00
Fred K. Schott
37a20c9ad4 fix social og image 2021-11-19 16:13:38 -08:00
github-actions[bot]
b4818701fe
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 13:01:50 -08:00
github-actions[bot]
e0d9a7627d
Version Packages (next) ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-29 14:48:54 -05:00
Drew Powers
d84bfe719a
🚀 Astro Next (0.21.0) ()
* make astro-root uids unique

* Move Astro to Vite

* Update tests

* More test improvements

* fred fixes

* Update compiler, improve tests

* Fix runtime, improve code frame

* Add Markdown support

* Tycho fixes

* Fred fixes part 2

* Throw Error for WIP Features

* Improve testing suite

* Allow users to pass config to Vite

* Fix npm install ()

* Automate publish on merge ()

* Add NPM_TOKEN to publish script ()

* Create .npmrc

* Clean up astro deps ()

* Use new renderers ()

* feat: update compiler ()

* Try mocha/chai test runners ()

* Try mocha/chai test runners

* Disable failing smoke test for now

Will revert when next can build docs

* Enable mocha in parallel mode

* Remove warning

* Update docs

* Fix Windows bug

* Fix internal imports

* Fix styles

* Fix CI release on merge to next ()

* Fix logger locale parsing ()

* fix(logger): locale parsing
* Fixed issue of compiler crash when "c" locale was encountered
* Return default locale if parsed locale is less than 2 chars long

* chore: add changeset

* Apply changes from 

* Add back in support for children ()

* Add back in support for children

* Be more careful

* Enables most slot tests ()

* Enables most slot tests

* Use spreadAttributes

* Add hydration to Solid renderer () ()

* feat: add hydration to Solid renderer

* fix: intersection observer, move script to the end

Co-authored-by: Ryan Carniato <ryansolid@gmail.com>

* [next] support Astro.slots API ()

* [next] Support for custom elements ()

* [next] Support for custom elements

* Fix eslint errors

* eslint again

* [next] Fix Astro.fetchContent ()

* fix Astro.fetchContent

* fix(fetchContent): cast type

Co-authored-by: Nate Moore <nate@skypack.dev>

* Move hydration to the compiler ()

* Move hydration to the compiler

* Move extracting url, export to util fn

* Brings back astro-dynamic tests ()

* Implements top-level Astro + Astro.resolve ()

* Implements top-level Astro + Astro.resolve

* Fix linting

* [next] Update renderers ()

* chore: update vite

* fix(renderers): point renderers to resolved server/client entrypoints

* Chore: Enable more tests with new compiler changes ()

* [Next] `fetch` support ()

* fix: polyfill fetch in every ssr scenario

* test(fetch): update fetch tests

* docs: update data fetching guide to remove caveats about `fetch` and isomorphic usage

* refactor: update regex for clarity

* Restructure ()

* Upgrade to @astrojs/compiler 0.2.0 ()

* Use Vite fork ()

* Use Vite fork

* Fix linting

* Move Vite to vendor/ and add a license

* Fix linting

* Include the dist folder

* Update files config

* Markdown compilation ()

* Markdown compilation

* remove debugger

* Gets lit hydration working ()

* Gets Astro.fetchContent compilation to work ()

* Gets Astro.fetchContent compilation to work

This fixes Astro.fetchContent so that we handle esbuild transforming the
name of the nested Astro call.

* Remove debugging

* Update the tests

* Remove another debugger

* Update Vite to latest ()

* Add Prism syntax highlighting ()

* Scoped styles with markdown ()

* Bugfix: fix getStaticPaths() cache miss ()

* Fix build order ()

* Bugfix: restore build to get all paths earlier, when build. Same as main.

* Also re-add timings

* [next] blog example fully working ()

* Add environment variables docs (Closes ) ()

* Added environment variables docs (Closes )

* Fixed prefix

* Remove numbered comments ()

* Chore: remove numbered comments

* Clean up block comments

* comment style fixes ()

* [next] Upgrade compiler ()

* [next] Upgrade compiler

* Upgrade to latest compiler

* Fix the path to global css

* Removed debugger

* feat: add fragment support to vite-plugin-astro ()

* [next] fix `.tsx` handling ()

* fix: support tsx in JSX plugin

* fix: preserve JSX via esbuild, only use Babel for JSX compilation

* fix: handle upcoming Vite API for `ssr` flag

* [next] Add CSS preprocessing  ()

* Add concept for style support in Astro

* Update style preprocessor to use new compiler

* fix: massage preprocessStyle type

* fix: @astrojs/compiler types

Co-authored-by: Nate Moore <nate@skypack.dev>

* fix issues in blog-multiple-authors ()

* Move Sass to deps ()

* Update renderer API for Vite ()

* Update renderer API for Vite

* Fix lit-element tests

* Clean up comments

* Throw friendly error if renderer provides viteConfig in a bad format

* Fix changesets ()

* Remove cheerio scanning from build stats ()

* Minor change to jsxTransformOptions, update Renderer API docs ()

* [next] docs example fully working ()

* [next] docs example fully working

* Upgrade compiler to unlock docs

* Add `class:list` directive ()

* Add support for class:list directive

The `class:list` directive serializes an expression of css class names. For React components, `className:list` is also supported.

* Remove `className` support and React tests

* Add tests for the absence of omitted classes

* fix: `define:vars` scoping for styles ()

* feat: fix Debug component ()

* [next] Fix `<Markdown>` component ()

* fix: cleanup issues with <Markdown> component

* fix: fix `content` usage with Markdown

* [next] Fix `<Code>` component ()

* fix: enable Code component

* test: update expect to chai format

* Fixes solid ()

* Fixes solid

* Rename the test

* Rebase with next

* Skip solid test for now

* Add support for markdown plugins ()

* Fix broken next release ()

* Prevent passing  to Svelte components

* Prevent passing class to Vue components

* Add CSS injection, fix portfolio example ()

* Fix portfolio example

* Add .pcss extension

* Update load ssr opts

* Update packages/astro/src/runtime/server/index.ts

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>

* Fixes external HMR ()

* Upgrade compiler version ()

Fixes docs and blog examples

* Resolve renderers relative to the projectRoot ()

* Template fixes ()

* fix: dedupe hashes for identical islands ()

* fix: scope `define:vars` to `:root` for `<style global>` ()

* chore: update compiler to latest ()

* [next] fix island hydration inside of `<Markdown>` ()

* fix: create rehype plugin to smooth over island hydration bugs

* refactor: remove debug code

* chore: explain need for `rehypeIslands`

* Bugfix: renderer-lit missing files on npm ()

* Force Vite to rebuild dependencies ()

* [next] Add `preact/compat` renderer ()

* feat: add preact/compat entry for `@astrojs/renderer-preact`

* Update index.js

* Bugfix: plugin-astro-fetch tries to append node-fetch to node-fetch ()

* Fix Vite race condition ()

* Fix with-nanostore deps ()

Adds missing Solid renderer

* [next] Fix `resolveDependency` on Windows ()

* fix: Windows issue with resolveDependency util

* chore: add comment

* Update CONTRIBUTING.md ()

* Prevent scanning a user's deps ()

* Prevent scanning a user's deps

* Remove unused things

* remove unused util

* Adding a changeset for the remark plugin

* Config changes needed for stater template ()

This does 2 things:

1. Adds prismjs as a dep.
2. Adds shiki as an external.

* Next bugs ()

* fix(): hoisted <script> rendering

* fix(): do not print global for styles, but do for scripts

* fix: update ObjectSet implementation

* fix: dedupe elements in sets

* [next] update compiler ()

* chore: update compiler

* chore: update compiler (again)

* Fix Astro HMR bottleneck ()

* Bugfix: JSX renderers can be declared in any order ()

* chore: update compiler ()

* Exclude lit-server from being optimized ()

This should get the lit example working from `npm`.

* fix: exclude all renderer server entrypoints ()

* chore: update compiler ()

* fix: do not crash when Markdown has no content ()

* feat: improve support for third-party React packages ()

* Remove prism warning when no language is provided ()

* Remove prism warning when no language is provided

* Add the plaintext language instead

* retry deploy

* chore: enter prerelease mode under `next` ()

* Updates to the changesets ()

* Updates to the changesets

* Adds a changeset for astro-prism

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Pranav Karawale <52596591+obnoxiousnerd@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Ryan Carniato <ryansolid@gmail.com>
Co-authored-by: AsyncBanana <58297401+AsyncBanana@users.noreply.github.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-10-29 15:30:22 -04:00
github-actions[bot]
382868abfc
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-16 14:12:05 -04:00
Caleb Jasik
f9f2da458d
Add repository remotes for all astro packages ()
* Add repository remotes for all astro packages

* Add repository.directory key instead of adding the path to repository.url

* Include changeset

* Add repository key to create-astro
2021-06-16 14:09:35 -04:00
github-actions[bot]
0ef0c99b10
Version Packages ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-14 08:43:03 -04:00
Fred K. Schott
ab2972be83
add engines for esm support () 2021-06-14 08:20:14 -04:00
Matthew Phillips
6445c18117
Move the prism package to the scope name ()
* Move the prism package to the scope name

`astro-prism` -> `@astrojs/prism`

* move the version to 0.2.0
2021-06-07 15:35:23 -04:00
Nate Moore
75b05b393a fix(astro-prism): package 2021-05-04 12:22:25 -05:00
Nate Moore
ac0bc88ae9 chore: version packages 2021-05-04 12:20:50 -05:00
Nate Moore
d924fcbeb4
Fix astro-prism package ()
* fix: properly include astro-prism

* chore: add changeset

* Update `astro-prism` description
2021-05-04 12:15:13 -05:00
Nate Moore
4df1347156
Migrate to yarn monorepo ()
* chore: use monorepo

* chore: scaffold astro-scripts

* chore: move tests inside packages/astro

* chore: refactor tests, add scripts

* chore: move parser to own module

* chore: move runtime to packages/astro

* fix: move parser to own package

* test: fix prettier-plugin-astro tests

* fix: tests

* chore: update package-lock

* chore: add changesets

* fix: cleanup examples

* fix: starter example

* chore: update changeset config

* chore: update changeset config

* chore: setup changeset release workflow

* chore: bump lockfiles

* chore: prism => astro-prism

* fix: tsc --emitDeclarationOnly

* chore: final cleanup, switch to yarn

* chore: add lerna

* chore: update workflows to yarn

* chore: update workflows

* chore: remove lint workflow

* chore: add astro-dev script

* chore: add symlinked README
2021-04-30 16:33:35 -05:00
Renamed from astro-prism/package.json (Browse further)