Commit graph

2469 commits

Author SHA1 Message Date
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
matthewp
1325fe90fc [ci] format 2022-03-15 12:38:13 +00:00
Fred K. Schott
c36527f46d
fix flakey windows tests (#2795) 2022-03-15 08:37:29 -04:00
FredKSchott
0e4662df01 [ci] collect stats 2022-03-15 12:02:12 +00:00
natemoo-re
2b52c72b5d [ci] format 2022-03-14 23:20:37 +00:00
Nate Moore
6b34840d3d
Fix set:html behavior with null (#2790)
* feat: improve set:html behavior for null/undefined

* chore: add changeset

* refactor: improve set:html and set:text documentation

* test: improve set:html tests

* refactor: better types for server API
2022-03-14 18:19:53 -05:00
Fred K. Schott
de2b246237
update lockfile (#2792) 2022-03-14 15:04:34 -07:00
Fred K. Schott
80066c01c2
cleanup the repo, remove outdated files and folders (#2771) 2022-03-14 11:41:57 -07:00
FredKSchott
75f4c17e4c [ci] format 2022-03-14 17:24:30 +00:00
Fred K. Schott
2314eba9a4
[ci] update lockfile (#2773)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-14 10:23:35 -07:00
Fred K. Schott
b4d34e2d2c
improve build perf (#2772) 2022-03-14 10:23:05 -07:00
Ben Holmes
2c4fd919fa
Fix: Astro.props missing properties (#2785)
* Fix: Astro.props missing properties

* chore: add changeset
2022-03-14 13:03:44 -04:00
FredKSchott
77e5733deb [ci] collect stats 2022-03-14 12:01:47 +00:00
FredKSchott
df4ebd479e [ci] collect stats 2022-03-13 12:01:50 +00:00
FredKSchott
659ef9bd93 [ci] collect stats 2022-03-12 12:01:40 +00:00
natemoo-re
d1a7f6a1c5 [ci] format 2022-03-11 22:48:55 +00:00
github-actions[bot]
30e78a0bd8
[ci] release (#2770)
* [ci] update lockfile (#2763)

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

* chore: exit prerelease mode

* [ci] release

* chore: update lockfile

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-11 16:47:57 -06:00
Nate Moore
47f5576a3f chore: exit prerelease mode 2022-03-11 16:39:13 -06:00
Fred K. Schott
1634172ff9
[ci] update lockfile (#2763)
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
Matthew Phillips
49c0d9970f
Fix dev resolution of client modules on Windows (#2768)
* Fix dev resolution of client modules on Windows

* Adds a changeset
2022-03-11 17:28:48 -05:00
bholmesdev
d4dbfe8974 [ci] format 2022-03-11 22:26:21 +00:00
Ben Holmes
77b9c95352
Feat: expose server on local network with new --host flag (#2760)
* feat: update config to support bool --hostname

* fix: show localhost for --hostname=true

* feat: address logging feature parity w/ Vite

* chore: update type docs

* refactor: extract local, network prefs to variable

* feat: add --host to --help output

* feat: deprecate --hostname, add --host

* feat: add --host tests

* feat: update preview to support new flags

* fix: show --host in dev server log

* feat: update config tests for --host flag

* chore: test lint

* chore: update lock with new fixture

* chore: add changeset

* refactor: add more details to JSdocs

* fix: update path tests

* feat: only expose when --host is not local

* fix: make flag --help less verbose

* fix: address @types comments

* fix: lint

* chore: remove unused import

* fix: use host flag for config test

* fix: ensure local logs come before network

* refactor: switch up that network logging one last time!

* feat: update unit tests

* chore: remove debugging block

* fix: only parse network logs if network is present
2022-03-11 17:25:26 -05:00