Commit graph

2564 commits

Author SHA1 Message Date
FredKSchott
715fab4faf [ci] collect stats 2022-03-23 12:06:45 +00:00
Fred K. Schott
8ec3d0da19
audit file urls (#2853) 2022-03-22 16:49:27 -05:00
natemoo-re
1cab405460 [ci] format 2022-03-22 21:28:14 +00:00
Nate Moore
c781b12f87
fix: ensure private API is not enumerable (#2859) 2022-03-22 16:27:35 -05:00
Tony Sullivan
5869e015d4
marking Astro.resolve() as deprecated (#2856) 2022-03-22 14:15:36 -04:00
FredKSchott
930dc75c13 [ci] collect stats 2022-03-22 12:02:05 +00:00
FredKSchott
1378a9ed7c [ci] format 2022-03-22 03:28:33 +00:00
github-actions[bot]
d082689385
[ci] release (next) (#2851)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-21 20:27:46 -07:00
FredKSchott
076dd47d9f [ci] format 2022-03-22 03:16:42 +00:00
Juan Martín Seery
95a3e09e81
chore: vscode files (#2844)
* Added vscode recommendations

* Updated launch command

* Removed extra extensions

* updated root extensions
2022-03-21 20:16:04 -07:00
Ben Holmes
96372e6beb
Fix: isSelfAccepting? More like isBanishedToTheShadowRealm (#2852)
* fix: restore renderer caching strategy

* fix: restore old URL constructor for HMR

* docs: comment why we need the rendererCache

* refactor: remove needless "else"

* chore: changeset
2022-03-21 20:14:58 -07:00
Fred K. Schott
b6553cfdc1 update ci to fix congratsbot 2022-03-21 16:17:15 -07:00
Fred K. Schott
7943334e01 update ci to fix congratsbot 2022-03-21 15:55:31 -07:00
Ben Holmes
5315c3f7bc
Feat: support tailwind config files (#2831)
* feat: support custom tailwind config files

* fix: make config options optional

* feat: use existing utilities to resolve config path

* deps: add @proload/core to tailwind integration

* deps: update pnpm lock

* chore: clarify config docs

* refactor: extract user config fetch to helper

* refactor: rename function and function options

* refactor: throw error on bad custom config path

* deps: move @proload/core to regular deps

* chore: add changeset

* fix: apply astro preset when user config exists

* fix: use resolveConfig to preserve defaults
2022-03-21 17:27:32 -04:00
Fred K. Schott
981e2a839b
add injected scripts to markdown pages (#2848)
* add injected scripts to markdown pages

* Create twenty-kiwis-tease.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-03-21 13:05:11 -07:00
Tony Sullivan
3b621f7a61
chore: integration keywords (#2847)
* updating integration package keywords

* adding a changeset
2022-03-21 19:31:15 +00:00
Nate Moore
0bc3b72958 chore: update changeset 2022-03-21 12:34:42 -05:00
Juan Martín Seery
1fdb63b5d0
feat(create-astro): add peer dependencies to package.json (#2843)
* Install dependencies automatically

* Added spinners

* Updated lockfile

* changeset

* Sort dependencies

* Reverted autoinstall

* Updated changeset
2022-03-21 12:33:31 -05:00
Juan Martín Seery
41110ebe72
chore: remove @astrojs/parser (#2845)
* Removed parser from astro

* Removed parser files

* Updated changeset config

* Removed from license
2022-03-21 12:30:23 -05:00
Fred K. Schott
0c5378b8cf
[ci] update lockfile (#2841)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-21 10:32:25 -05:00
FredKSchott
3a7f992c29 [ci] collect stats 2022-03-21 12:06:38 +00:00
FredKSchott
fd7ab4e11c [ci] format 2022-03-21 04:03:05 +00:00
Fred K. Schott
078b6cde6c [ci] release (next) (#2838)
This reverts commit 935e6fa0c8.
2022-03-20 21:02:08 -07:00
Fred K. Schott
935e6fa0c8 Revert "[ci] release (next) (#2838)"
This reverts commit 5df8d68094.
2022-03-20 21:01:42 -07:00
github-actions[bot]
5df8d68094
[ci] release (next) (#2838)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-19 10:34:59 -07:00
FredKSchott
2a8580c251 [ci] format 2022-03-19 17:34:21 +00:00
Nate Moore
9219d5e1c0
Release bot (#2836)
* fix(ci): improve release-bot message by dynamically generating packageMap

* fix(ci): update changeset to refresh lockfile after version
2022-03-19 10:33:24 -07:00
FredKSchott
0a498d7289 [ci] collect stats 2022-03-19 12:02:55 +00:00
Nate Moore
f6d199fa8b
chore: cleanup example dependencies (#2837) 2022-03-18 19:03:21 -07:00
Nate Moore
77ebab8bb2
chore: fix missing postcss-load-config dependency (#2835) 2022-03-18 19:02:42 -07:00
natemoo-re
d812fbda97 [ci] format 2022-03-18 23:23:25 +00:00
Nate Moore
cf5b1dab78 chore: update lockfile 2022-03-18 18:22:25 -05:00
github-actions[bot]
b5a8418f82
[ci] release (next) (#2812)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-18 18:20:21 -05:00
Nate Moore
7954541291
Update Compiler with new CSS Parser (#2833)
* chore: update compiler

* Update eighty-trees-thank.md

* test: update css test
2022-03-18 18:16:32 -05:00
Fred K. Schott
31a1b40cb8
Enter prerelease mode (#2832)
* update lockfile

* enter pre-release mode
2022-03-18 15:47:51 -07:00
Nate Moore
910cae3b95
fix(windows): fix build script on windows (#2830) 2022-03-18 17:44:59 -05:00
Fred K. Schott
6386c14d00
Astro Integration System (#2820)
* update examples

* add initial integrations

* update tests

* update astro

* update ci

* get final tests working

* update injectelement todo

* update ben code review

* respond to final code review feedback
2022-03-18 15:35:45 -07:00
bholmesdev
0f376a7c52 [ci] format 2022-03-18 21:30:38 +00:00
Ben Holmes
0a3d3e51a6
Feat: change to shiki default md renderer (#2824)
* feat: change Shiki to default

* refactor: update blog styles for shiki

* feat: update examples/docs styles for Shiki

* refactor: remove Prism-ish examples/docs styles

* refactor: simplify rules with `all: unset`

* refactor: remove Prism styles

* refactor: examples/with-md remove Prism-specific line-highlight

* chore: add changeset

* chore: update changeset versions

* refactor: update syntax highlight test for scoped styles

* fix: apply scoped style class to pre and span lines

* feat: test that scoped styles cascade to shiki code

* refactor: pass scopedClassName explicitly
2022-03-18 17:29:51 -04:00
Hlynur Sveinbjornsson
1cd7184ca6
Fix island deduplication ignoring props. (#2825)
* Fix island deduplication ignoring props.

Re-resolves an issue initially patched in https://github.com/withastro/astro/pull/846 but seemingly lost in the 0.21.0 mega-merge (d84bfe719a).
This change makes the component render step account for all props, even if they don't affect the generated HTML, when deduplicating island mount.

* Fix React component test using different rendered props to test deduplication.

* fix: improve serialization support for non-JSON objects

Co-authored-by: Nate Moore <nate@skypack.dev>
2022-03-18 09:00:14 -04:00
FredKSchott
0af017b9fc [ci] collect stats 2022-03-18 12:01:52 +00:00
Fred K. Schott
9327b56e82
[ci] update lockfile (#2822)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-17 13:33:52 -05:00
Nate Moore
915ab92204
test: add tailwind escape test (#2816) 2022-03-17 11:09:11 -05:00
matthewp
4cfbd402a4 [ci] format 2022-03-17 12:32:03 +00:00
Matthew Phillips
7b9d042dde
Allow SSR dynamic routes to not implement getStaticPaths (#2815)
* Allow SSR dynamic routes to not implement getStaticPaths

* Adds a changeset

* Update based on code-review comments
2022-03-17 08:31:01 -04:00
FredKSchott
f6709d7259 [ci] collect stats 2022-03-17 12:02:08 +00:00
Tony Sullivan
4914e1f70d
Adds tests for tailwind support in dev and build (#2809)
* adding basic dev and build tests for TailwindCSS

* adding tests to validate tailwind classes are maintained in HTML output

* fixing indent spacing

* updating lock file
2022-03-16 17:35:49 +00:00
matthewp
279774c48e [ci] format 2022-03-16 16:17:34 +00:00
Matthew Phillips
4c25a1c2ea
Implements redirects, headers for SSR (#2798)
* Implements redirects, headers for SSR

* Move away from an explicit Request

* Properly handle endpoint routes in the build

* chore(lint): ESLint fix

* Update based on review comments

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-16 12:16:21 -04:00
Ofer Shaal
8f13b3d406
logic for opening example projects (#2811) 2022-03-16 10:24:01 -05:00