Commit graph

2540 commits

Author SHA1 Message Date
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
Fred K. Schott
498ef59b0e
[ci] update lockfile (#2810)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-16 09:53:46 -05:00
FredKSchott
0a330fdc9a [ci] collect stats 2022-03-16 12:02:01 +00:00
Nate Moore
5cb7e0366b fix: mark static build pkg as private 2022-03-15 19:50:25 -05:00
natemoo-re
34bfedc9d8 [ci] format 2022-03-16 00:41:53 +00:00
Nate Moore
2131923714 chore: update lockfile 2022-03-15 19:41:01 -05:00
github-actions[bot]
2b89613539
[ci] release (#2808)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-15 19:40:27 -05:00
Nate Moore
9a5d58d5ba fix: do not ignore astro-scripts 2022-03-15 19:40:16 -05:00
Nate Moore
fb26d395f5 fix: ignore astro-scripts 2022-03-15 19:31:19 -05:00
Nate Moore
9e59ec921f
Disable sourcemaps for build (#2806)
* fix: disable sourcemaps for build

* chore: add changeset
2022-03-15 19:25:24 -05:00
Ben Holmes
79282163e2
fix: Svelte PostCSS config error (#2807)
* fix: Svelte PostCSS config error

* chore: changeset
2022-03-15 19:32:39 -04:00
Nate Moore
8654e841ff chore: fix internal package 2022-03-15 17:29:39 -05:00
natemoo-re
267d20d207 [ci] format 2022-03-15 22:17:54 +00:00
Nate Moore
2824112e45 chore: update lockfile 2022-03-15 17:17:01 -05:00
github-actions[bot]
b36d16eb8f
[ci] release (#2802)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-15 17:06:40 -05:00
Nate Moore
86419d9ed7
Ignore test fixture for changesets (#2804)
* test: move fixtures to `@test/` scope

* chore: ignore `@test/` scope

* chore: add changeset

* test: renamed missed package

* chore: delete test file

* fix: @test package references

* fix: @test package references
2022-03-15 16:17:23 -05:00
Ofer Shaal
60fe7bd41e
Gitpod setup improvements (#2789)
* install latest pnpm version in docker image

* Add astro-build vscode extension in Gitpod setup

* automatically open preview when port 3000 is used

* run astro build during prebuild

* Run starter demo when starting this workspace

* and $ASTRO_NEW to run specific example

* open index.astro of selected project

* Add sleep 1 before running code command

* use `gp await-port` instead of sleep
2022-03-15 16:03:26 -05:00
Fred K. Schott
6eb494796e
update HTML escape logic (#2793) 2022-03-15 15:33:55 -05:00
Nate Moore
2b76ee8d75
Export defineConfig helper (#2803)
* feat: add astro/config entrypoint

* chore: update examples to use `defineConfig` util

* chore: prettier fix

* chore: add changeset
2022-03-15 15:27:17 -05:00
Ben Holmes
2d95541b52
Fix missing style imports on initial load (#2791)
* fix: missing style imports on initial load

* chore: changeset

* fix: update comment on using URL map

* fix: use getModulesByFile to match on ID properly

* refactor: use imperative loop for performance

* fix: update scan from each matching mod

* fix: update scan from importedMod loop

* fix: avoid scanning all related mods
2022-03-15 15:02:29 -04:00
Fred K. Schott
11fb3745dd
[windows:ci] handle CLI output in a cross-compat way (#2801)
* handle readline in a cross-compat way

* Create modern-feet-lay.md
2022-03-15 10:30:25 -07:00
matthewp
fc50fbb47a [ci] format 2022-03-15 16:05:38 +00:00
Matthew Phillips
f892aeb52f
Update the lockfile (#2800) 2022-03-15 12:04:37 -04:00
github-actions[bot]
973d398074
[ci] release (#2786)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-15 11:40:51 -04:00
Matthew Phillips
58d8686e94
Fix for allowing space in folder name (#2797)
* Fix for allowing space in folder name

* Adds a changeset

* Prepend a forward slash, for windows
2022-03-15 11:26:46 -04:00