matthewp
29e7260a4e
[ci] format
2022-05-12 20:21:02 +00:00
Rafid Muhymin Wafi
17da2b1611
Fixed search bar of the docs example not working ( #3247 )
...
* fixed search bar not working
* fixed search bar not working during build
* fix search bar throwing error on production site
2022-05-12 14:20:20 -06:00
Fred K. Schott
7cd4b1bc12
[ci] update lockfile ( #3287 )
...
* [ci] update lockfile
* chore: fix lockfile
* fix: pin turbo
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-05-12 11:42:34 -05:00
Gautier Ben Aïm
484b80eb99
fix: updated blog template with existing address ( #3312 )
2022-05-11 16:20:00 -05:00
Juan Martín Seery
114bf63e11
refactor(vercel): Build Output API v3 ( #3216 )
...
* Removed ignores
* Migration to v3
* More changes
* Remove legacy redirects
* Fail when there is no ENABLE_VC_BUILD
* Fix edge
* Updated readme
* Changeset
* Added static mode
* Updated documentation
* Updated shim
* Made edge work!
* Updated changeset
* Ensure empty dir
* Fixed redirects for dynamic paths
* Removed extra declaration
* Splited imports
* Updated readme
* Fixed some urls
* Deprecated shim!
* [test]: Vercel NFT
* Beautify
* Edge bundle to node 14.19
Vercel runs 14.19.1 (I've checked it manually)
* Re-added shim (#3304 )
* Added `node:` prefix
* Use the same bundling as Deno for Edge
* Remove esbuild
* Fixed shim
* Moved nft
* Updated changeset
* Added note about Edge
* fix typo
* Added support for Node 16 (vercel/vercel#7772 )
2022-05-11 15:10:38 -06:00
matthewp
461d1bb4c3
[ci] format
2022-05-11 16:24:45 +00:00
Jonas Luebbers
abc5b219bb
Remove try/catch from solid component check ( #3282 )
...
* Remove try/catch from solid component check
* Move try/catch to renderComponent
* Add solid to integrations-playground example
2022-05-11 10:23:34 -06:00
Matthew Phillips
ccea6a0a1a
HMR hoisted scripts ( #3336 )
...
* HMR hoisted scripts
* Add to the dep graph
* Remove example change
* Adds changeset
* Fix markdown test
2022-05-11 09:23:11 -06:00
Tony Sullivan
be899fdd1a
Fixing mobile header for docs example ( #3335 )
2022-05-10 21:59:56 +00:00
[object Object]
2864d09ad4
Fix tailwind integration in markdown files ( #3305 )
...
* Fix tailwind integration in markdown files
* 3 character PR -> 9 character PR
2022-05-06 13:01:04 -04:00
github-actions[bot]
4639a048d7
[ci] release ( #3308 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-06 09:28:57 -04:00
github-actions[bot]
9b98633cc8
[ci] release ( #3302 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-05 16:27:40 -04:00
github-actions[bot]
d0a4064d80
[ci] release ( #3293 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-05 09:56:45 -04:00
github-actions[bot]
9b6a2e2d87
[ci] release ( #3288 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-04 08:59:10 -04:00
github-actions[bot]
58862fbf76
[ci] release ( #3284 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-03 17:14:26 -07:00
Fred K. Schott
78855ce892
first polish ( #3236 )
2022-05-03 17:08:15 -07:00
Fred K. Schott
1032e450cc
Revert "[ci] release ( #3279 )"
...
This reverts commit 9fb2c4744c
.
2022-05-03 17:04:44 -07:00
github-actions[bot]
9fb2c4744c
[ci] release ( #3279 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-03 18:33:18 -04:00
github-actions[bot]
1de48ce4eb
[ci] release ( #3277 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-03 15:50:21 -04:00
Kevin Zuniga Cuellar
c0c3a1bd83
removed extra title ( #3274 )
2022-05-03 15:37:11 -04:00
github-actions[bot]
8b17d3ebcf
[ci] release ( #3243 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-03 09:16:57 -04:00
Juan Martín Seery
de123b28b3
refactor(markdown): removed rehype-slug
in favor of our own implementation ( #3234 )
...
* Moved types arround
* Removed `rehype-slug` in favor of our own implementation
* Changeset
* Removed rehype-slug from examples
* Remove rehype-slug from tests
* Updated reference
* rehypeCollectHeaders is a function again
* Reverted rehype-slug removes
* Re-added rehype-slug to reference
2022-04-29 21:07:09 -03:00
github-actions[bot]
9984f8ea24
[ci] release ( #3242 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-29 22:30:12 +00:00
Juan Martín Seery
6cd9ef577e
chore: remove unintended changelogs ( #3233 )
...
* Removed unused CHANGELOGS
* Added `astro-scripts` to changeset ignore
* Reverted config.json
2022-04-29 08:41:16 -07:00
Fred K. Schott
465b3a7970
Update example tsconfig ( #3107 )
2022-04-28 11:42:55 -04:00
github-actions[bot]
7937852395
[ci] release ( #3215 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-27 16:23:53 -04:00
Ben Holmes
8f2f4de5dc
Feat: new just the basics template ( #3206 )
...
* feat: new just-the-basics example
* chore: update package name
* chore: update lockfile
* refactor: simplify meta tags
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* refactor: use `system-ui` for base font
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update examples/just-the-basics/src/components/Layout.astro
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* refactor: just-the-basics -> basics (now 10% more basic!)
* refactor: add type checking to layout prop
* nit: change "astro-text" to "text-gradient"
* refactor: simplify CSS grid
* feat: make transition easing 10% fancier
* change to text gradient because people gooootta have opinions huh
* nit: rename CSS class to "instructions"
* refactor: use ul > li for containers
* chore: update lockfile
* feat: style tweaks
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-04-26 20:37:58 -04:00
github-actions[bot]
8d8433ee50
[ci] release ( #3182 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-26 16:49:09 -04:00
Fred K. Schott
bd76716c88
[ci] update lockfile ( #3162 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-04-22 10:04:01 -04:00
github-actions[bot]
84939b2ff2
[ci] release ( #3172 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-21 15:37:18 -05:00
github-actions[bot]
bd66527e7d
[ci] release ( #3169 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-21 14:08:37 -04:00
github-actions[bot]
0406bdc35b
[ci] release ( #3165 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-21 12:19:52 -04:00
github-actions[bot]
3cdc5f1bfb
[ci] release ( #3161 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-21 11:34:03 -04:00
Fred K. Schott
00b8343844
[ci] update lockfile ( #3153 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-04-20 09:42:31 -04:00
github-actions[bot]
fce98d5552
[ci] release ( #3151 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-19 22:45:07 -07:00
github-actions[bot]
9e00f6d546
[ci] release ( #3149 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-19 13:30:27 -04:00
github-actions[bot]
95d0db5a44
[ci] release ( #3120 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-19 11:30:34 -04:00
Chris Swithinbank
9e35758ec3
Roll back to React 17 in docs template ( #3129 )
...
The docs example template includes Algolia’s Docsearch components to provide a search bar but this doesn’t support React 18 yet, so will error when dependencies are being installed.
See https://discord.com/channels/830184174198718474/965413318678425600
2022-04-18 10:09:57 -04:00
github-actions[bot]
c1336ae41c
[ci] release ( #3114 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-14 15:28:42 -04:00
natemoo-re
e352238441
[ci] format
2022-04-14 19:10:28 +00:00
Fred K. Schott
93c2cc0553
update starter template ( #3109 )
2022-04-14 14:09:42 -05:00
github-actions[bot]
254048dc82
[ci] release ( #3103 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-14 15:10:29 +00:00
github-actions[bot]
b23f6b1596
[ci] release ( #3101 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-13 08:55:32 -04:00
github-actions[bot]
21926278ba
[ci] release ( #3090 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-12 20:15:14 -07:00
github-actions[bot]
0966a432a8
[ci] release ( #3080 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-11 19:59:32 -07:00
Fred K. Schott
e606dded87
use bundled alpinejs ( #3065 )
2022-04-11 15:56:42 -07:00
github-actions[bot]
791a524411
[ci] release ( #3064 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-10 21:13:11 -07:00
github-actions[bot]
21c74e572c
[ci] release ( #3061 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-10 20:15:02 -07:00
Fred K. Schott
2bb6a06ebb
revert release
2022-04-10 20:11:34 -07:00
github-actions[bot]
46f02d9cf4
[ci] release ( #3060 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-10 20:01:00 -07:00
Fred K. Schott
77c0be5b26
update lockfile ( #3059 )
2022-04-10 19:12:30 -07:00
Rafid Muhymin Wafi
336eaa777b
Fixed MD Lint issues ( #3038 )
2022-04-10 18:59:27 -03:00
github-actions[bot]
a5aea2ce56
[ci] release (beta) ( #3023 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-07 15:22:47 -04:00
github-actions[bot]
1d0c1d8977
[ci] release (beta) ( #3007 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-06 16:40:46 -05:00
github-actions[bot]
013150e2de
[ci] release (beta) ( #3005 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-06 13:06:36 -04:00
github-actions[bot]
4e021f70e1
[ci] release (beta) ( #2992 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-04 18:07:09 -07:00
github-actions[bot]
ac34a5a03a
[ci] release (beta) ( #2989 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-04 15:19:57 -07:00
github-actions[bot]
a68885c0d6
[ci] release (beta) ( #2986 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-04 11:35:25 -05:00
github-actions[bot]
2552db0d09
[ci] release ( #2975 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-03 23:25:00 -07:00
Juan Martín Seery
dc6e89f0a3
chore: updated examples to v0.26.0 ( #2977 )
...
* New script behavior
* Astro.request
* Reverted `deno` to `node`
* Updated subpath
2022-04-03 14:02:57 -05:00
JuanM04
a377ac1efc
Merge branch 'main' into feat/vercel-adapter
2022-04-02 18:53:00 -03:00
Fred K. Schott
1335797903
update prettier width ( #2968 )
2022-04-02 14:15:41 -06:00
github-actions[bot]
7fe149ae43
[ci] release ( #2969 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-02 13:49:27 -06:00
Fred K. Schott
e425f896b6
Revert "[ci] release ( #2925 )"
...
This reverts commit 48c9b142cc
.
2022-04-02 13:46:25 -06:00
github-actions[bot]
48c9b142cc
[ci] release ( #2925 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-02 13:40:46 -06:00
Fred K. Schott
3483cc2285
exit prerelease mode ( #2967 )
2022-04-02 13:37:28 -06:00
FredKSchott
bae719505d
[ci] format
2022-04-02 18:30:48 +00:00
Nate Moore
17c02925c5
Migrate to new config ( #2962 )
...
* wip: config migration
* fix: formatting
* refactor: projectRoot -> root
* refactor: pageUrlFormat -> format
* refactor: buildOptions.site -> site
* refactor: public -> publicDir
* refactor: dist -> outDir
* refactor: styleOptions -> style
* fix: some dist tests -> outDir
* refactor: remove legacyBuild (with TODOs)
* refactor: more legacyBuild cleanup
* refactor: server host and port
* fix: remove experimentalStaticBuild CLI flag
* refactor: src -> srcDir
* refactor: devOptions.trailing -> trailing
* refactor: remove sitemap + related flags
* refactor: experimentalSSR -> experimental.ssr
* fix: last devOptions
* refactor: drafts -> markdown.drafts
* fix: TS error on port as const
* refactor: remove pages
* refactor: more --project-root updates
* refactor: markdownOptions -> markdown
* fix: remaining type errors
* feat: update AstroUserConfig
* refactor: update CLI flag mapper + server mapper
* fix: loadFixture projectRoot
* fix: merge CLI flags before validating / transforming
* wip: attempt to fix bad createRouteManifest config
* refactor: combine config.base and config.site
* fix: skip route manifest test for now
* fix: site and base handling
* refactor: update failing config testes
* fix: build failure
* feat: update config types with migration help
* chore: update types
* fix(deno): update deno fixture
* chore: remove config migration logic
* chore: remove logLevel
* chore: clean-up config types
* chore: update config warning
* chore: add changeset
* Sitemap Integration (#2965 )
* feat: add sitemap filter config option
* feat: add canonicalURL sitemap config option
* docs: update sitemap README
* fix: update for new config
* fix: filter not being applied
* chore: changeset
Co-authored-by: bholmesdev <hey@bholmes.dev>
* fred pass
* fix: Astro.resolve typo
* fix: public => publicDir
Co-authored-by: bholmesdev <hey@bholmes.dev>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-04-02 12:29:59 -06:00
Nate Moore
d55658f061
Implement new default script
behavior, style is:global
( #2961 )
...
* feat: implement RFC0016
* chore: update to latest compiler
* chore: update compiler
* test: fix script tests
* test: update public tests
* feat: throw a warning when referencing scripts in `public/` without `is:inline`
2022-04-02 12:34:25 -05:00
JuanM04
764467a21d
Merge branch 'main' into feat/vercel-adapter
2022-03-31 15:11:56 -03:00
Juan Martín Seery
d10c3dea21
fix: --experimental-ssr
fixes ( #2937 )
...
* Replaced `--experimental-ssr` with `isBuildingToSSR`
* changest
* Improved `isBuildingToSSR` a bit
* Added `isBuildingToSSR` to more places!!1!
* Added `@deprecated` tag
* Replaced missing experimentalSsr
* Added failing test
* Removed test
* Re-added experimental ssr flag
* Fixed typo
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
* Fixed deno tests
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-03-31 13:58:03 -04:00
gtnbssn
e860408692
Fix the favicon for the starter example ( #2940 )
2022-03-31 12:13:18 -05:00
Fred K. Schott
3a4dc9e0a7
React 18 monorepo upgrade ( #2948 )
...
* First pass at supporting React 18 in @astrojs/react
* Try marking React 18’s `react-dom/client` as external
* Try a different approach to importing different React versions
* Allow resolving JSON modules
* Revert "Allow resolving JSON modules"
This reverts commit 5279b7249c
.
* Try the separate client entrypoint approach from #2946
* Clean up diff
* Trying to see something
* Just keep swimming… 🐠
* update to support react 18
* update React to React 18 across the board
Co-authored-by: delucis <swithinbank@gmail.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-03-31 13:01:05 -04:00
JuanM04
20c3969a43
Merge branch 'main' into feat/vercel-adapter
2022-03-30 21:50:41 -03:00
Okiki Ojo
d7ece97d20
chore(.gitignore): remove pnpm error logs from git ( #2938 )
2022-03-30 10:41:53 -05:00
Matthew Phillips
13b271bc7d
Deno adapter ( #2934 )
...
* Bundle everything, commit 1
* Get everything working
* Remove dependency on readable-stream
* Adds a changeset
* Fix ts errors
* Use the node logger in tests
* Callback the logger when done writing
* Fix test helper to await the callback
* Use serialize-javascript again
* Remove dead code
* Rename hook
* Oops
2022-03-30 08:42:19 -04:00
JuanM04
cf70978c41
Updated gitignores
2022-03-29 23:17:46 -03:00
matthewp
3575a10634
[ci] format
2022-03-29 13:18:35 +00:00
Matthew Phillips
7fd49f1887
Make the SSR example infer the origin ( #2932 )
2022-03-29 09:17:49 -04:00
matthewp
9fa013b4fa
[ci] format
2022-03-29 12:19:10 +00:00
Matthew Phillips
ecbcc8c42c
Make it deployable to Netlify ( #2931 )
2022-03-29 08:18:11 -04:00
Matthew Phillips
ecc6a4833f
Implement the Astro.request RFC ( #2913 )
...
* Implement the Astro.request RFC
* Disable console warnings eslint
* Use our logger
* Adds a changeset
* Fix tests that depend on params, canonicalURL, URL
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-29 07:35:03 -04:00
Michael Marino
030fd48bdd
[fix] 2924 Update import in astro config of portfolio starter ( #2926 )
...
* fix: update import in Portfolio starter astro config file
* chore: add changeset
2022-03-28 20:54:25 -07:00
Fred K. Schott
4299ab303b
New Markdown API ( #2862 )
...
* Implement new markdown plugin with deferred markdown rendering
* feat: switch from `getContent()` fn to `<Content />` API
* update types
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* update types
* Create forty-coins-attend.md
Co-authored-by: Nate Moore <nate@skypack.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-03-28 17:16:06 -07:00
github-actions[bot]
425139f912
[ci] release ( #2923 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-28 16:52:04 -07:00
github-actions[bot]
8b7220f5e4
[ci] release ( #2919 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-28 16:52:23 -04:00
github-actions[bot]
273919328a
[ci] release ( #2896 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-25 17:16:33 -07:00
Fred K. Schott
f268451268
small tailwind example config fix ( #2893 )
...
* fix tailwind config example
* Create shaggy-bulldogs-beam.md
2022-03-25 17:11:45 -07:00
github-actions[bot]
779b5dd37c
[ci] release ( #2892 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-25 18:03:58 -05:00
github-actions[bot]
109693bb05
[ci] release ( #2884 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-25 17:00:49 -05:00
natemoo-re
145e418edd
[ci] format
2022-03-25 21:27:41 +00:00
Nate Moore
72ef7ae64a
feat(cli): scaffold out astro add
command ( #2849 )
...
* feat(cli): scaffold out `astro add` command
* added first babel transforms
* Format output
* Added changes confirmation
* Error flow
* Add dependencies
* feat(cli): astro add cleanup pass
* feat: add support for tailwind
* chore: update lockfile
* fix: types
* chore: rever @proload/core bump
* chore: add changeset
* chore: rollback dep update
* Added spinners
* chore: remove extra deps
* Removed extra argument
* Use `execa` instead of `exec`
* Changed how lines are trimmed within diffLines
* refactor: move add to core
* refactor: remove old add entrypoint
* refactor: simplify wording
* feat: improve diff
* feat: improve diff and logging, add interactive prompt when no args passed
* Formatted files
* Added --yes
* feat: improve logging for install command
* Fixed execa
* Added help message to add
* refactor: extract consts to own file
* feat: remove implicit projectRoot behavior
* feat: improve error handling, existing integrations
* fix(tailwind): ensure existing tailwind config is not overwritten
* refactor: prefer cwd to projectRoot flag
* chore: add refactor notes
* refactor: throw createPrettyError > implicit bail
* refactor: cleanup language
* feat(cli): prompt user before generating tailwind config
* fix(cli): update config generation to use cwd
* fix: resolve root from cwd
* chore: update changelog
Co-authored-by: JuanM04 <me@juanm04.com>
2022-03-25 16:26:55 -05:00
Fred K. Schott
df8fac50b9
[ci] update lockfile ( #2882 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-25 09:45:12 -05:00
github-actions[bot]
c78d7a46c9
[ci] release (next) ( #2860 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-24 17:37:49 -05:00
Fred K. Schott
1026345715
[ci] update lockfile ( #2854 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-24 15:10:43 -05:00
FredKSchott
bababd8461
[ci] format
2022-03-24 19:32:18 +00:00
Fred K. Schott
5029382a8c
fix markdown page script injection ( #2871 )
2022-03-24 12:30:54 -07:00
Matthew Phillips
5e52814d97
Adapters v0 ( #2855 )
...
* Adapter v0
* Finalizing adapters
* Update the lockfile
* Add the default adapter after config setup is called
* Create the default adapter in config:done
* Fix lint error
* Remove unused callConfigSetup
* remove unused export
* Use a test adapter to test SSR
* Adds a changeset
* Updated based on feedback
* Updated the lockfile
* Only throw if set to a different adapter
* Clean up outdated comments
* Move the adapter to an config option
* Make adapter optional
* Update the docs/changeset to reflect config API change
* Clarify regular Node usage
2022-03-24 07:26:25 -04: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
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
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
Nate Moore
f6d199fa8b
chore: cleanup example dependencies ( #2837 )
2022-03-18 19:03:21 -07: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
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
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
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
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
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
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
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
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
Fred K. Schott
80066c01c2
cleanup the repo, remove outdated files and folders ( #2771 )
2022-03-14 11:41:57 -07: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
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
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
github-actions[bot]
e032e89a64
[ci] release (next) ( #2754 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-10 17:31:45 -06:00
Ian Bull
55f007f30a
Support Prism in the blog template example ( #2622 )
...
The Prism syntax highlighter failed to render properly when Astro was
initialized with the blog template. This was because the Prism CSS
conflicted with the default blog template.
This change-set removes the Viewport Width from the `pre` transform as
this property conflicted with the prism CSS. This change-set also
includes Prism in the Blog Post layout and adds a small javascript
example to the sample post.
2022-03-10 11:49:52 -06:00
mastercoms
52d812b31a
fix component usage in portfolio-svelte 404 page ( #2549 )
2022-03-10 09:36:11 -06:00
github-actions[bot]
6ead80db47
[ci] release (next) ( #2734 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-09 19:01:26 -06:00
Fred K. Schott
2906110c04
Update tests for legacy build ( #2746 )
...
* move fast-build example into a test fixture for legacy build
* update tests for legacy build
2022-03-09 16:38:46 -06:00
Tony Sullivan
4b53a53c1b
Update examples for 0.24.0 ( #2740 )
...
* removing Astro.resolve, adding sass dev dependencies
* updating tailwind example to use ESM style imports
* moving from `<style global>@import` to ESM imports
* updating lockfile to pick up examples sass deps
* chore(lint): ESLint fix
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-09 13:52:31 -08:00
Nate Moore
72c2c86e9d
merge next
into main
( #2705 )
...
* Unflag the static build (#2652 )
* Unflag the static build
* Only set legacyBuild to false if experimentalSSR is true
* Use legacy build when we have to
* Put a few more tests into legacy mode
* Last two
* Make astro-basic use the legacy build
* Adds a changeset
* Mark the lit test as legacy
* Update yarn lock
* Update based on feedback
* Add --legacy-build flag
* Move astro-basic test to use static build (#2682 )
* Move some tests over to the static build (#2677 )
* Move some tests over to the static build
* Fix assets tests
* Fix the assets tests
* Fix for the client:only components
* Moves asset tests to the static build
* Move postcss test over to static build
* Bring back legacy build for astro-basic test
* Move astro-basic test to use static build
* Migrate more tests to the static build (#2693 )
* fix: disable HMR during build (#2684 )
* Migrate more tests to the static build
* Only prepend links in non-legacy mode
* Add the 0-css tests
* Convert all CSS tests to the static build
* Migrate Astro global tests
* Remove .only
* Fix static build tests
* Migrate a few more
* More tests
* Move the lit test back to legacy
* Increase the test timeout
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Improve `head` injection behavior (#2436 )
* feat: add renderHead util to server
* feat: remove `layouts` from config, Vite plugin
* fix: improve head injection during rendering
* chore: update compiler
* fix: do not escape links
* chore: enter `pre` mode
* Replace `send` with `sirv` (#2713 )
* remove send
* Create thick-ravens-chew.md
* I feel like I'm going to screw something up
* working finally!
* rewrite req.url
* Add tiny bit of doc
* Update .gitignore
Co-authored-by: Evan Boehs <evan@boehs.org>
* Move remaining tests to the static build (#2712 )
* Move lit test to the static build
* Migrate astro-env plugin to work in the static build
* Do not remove vite:define
* Adds a changeset
* Add a warning when passing the --experimental-static-build flag (#2718 )
* Add a warning when passing the --experimental-static-build flag
* Disable the lint warning
* [ci] release (next) (#2721 )
* [ci] release (next)
* chore: update changeset
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
* 404 page (#2719 )
* Fix: build to 404.html in the static build
* Adds a changeset
* fix pnpm install missing peer deps
* fix svelte version in workspace
* fix lockfile
* fix(webapi): add dev script
* improve preview reliability (#2739 )
* improve preview reliability - fix broken tests
* shamefully hoist to unblock
* remove lit from test running
* chore: update lockfile
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Evan Boehs <evan@boehs.org>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-09 15:44:26 -06:00
Fred K. Schott
240d88aefe
fix format ( #2736 )
2022-03-08 15:20:04 -08:00
Nate Moore
d08ddaf5b9
Move from yarn to pnpm ( #2455 )
...
* chore: `yarn` => `pnpm`
* docs: `yarn` => `pnpm`
* chore(ci): yarn => pnpm
* chore(ci): update pnpm cache path
* fix: add missing deps
* fix: add missing deps
* test: add package.json to all test fixtures
* chore: improve hoisting behavior
* chore: move turbo into package.json
* chore: update npmrc
* fix: add missing `debug` dependency
* chore: remove prepare script
* test: fix new tests
* fix: fully resolve renderer paths and `astro/internal` path
* chore: update lockfile
* chore: remove log
* fix: resolve renderers in vite-plugin-jsx
* fix: prefer public-hoist-pattern to shamefully-hoist
* chore: ignore @babel/core peer warning
* chore: update dependencies
* test: add autoprefixer as explicit dep
* chore: update `.npmrc` file in examples
* chore: update dependencies
* fix: resolve renderer dependencies in static build
* fix: static build renderer resolution
* chore: fix smoke tests
* chore: hoist autoprefixer
* chore: update lockfile
* attempt: use full file:// path on Windows
* attempt: use astro/internal
* attempt: optimize astro/internal
* attempt: expose ./internal.js
* chore: add missing package.json files
* attempt: resolve astro/internal path
* chore: tidy package.json
* chore: update lockfile
* chore: update deps
* chore: update deps
* chore: yarn -> pnpm
* attempt: explicit /@fs urls
* attempt: explicit /@fs urls
* chore: update all examples for pnpm
* chore: fix hoisting for with-vite-plugin-pwa
* chore(ci): fix sharp install
* chore: update with-vite-plugin-pwa example
* fix: pin vite-plugin-pwa to 0.11.11
* fix: add workbox-window to vite-plugin-pwa deps
* refactor: use pnpm update --recursive
Co-authored-by: JuanM04 <me@juanm04.com>
* chore: yarn => pnpm
* chore: yarn => pnpm
* fix: update smoke test to skip examples which don't work in static build
* update lockfile
* chore: update .npmrc files
* chore: update lockfile
* fix: smoke script
* chore: update .npmrc file
* fix: return to shamefully-hoist (shamefully)
* chore: update lockfile
* fix(smoke): ignore scripts for smoke tests
* fix: update example to disable renderers
* chore: bump version
* chore(ci): fix smoke tests
* attempt: disable --frozen-lockfile for smoke tests
* chore: update smoke test
* chore: fix rebase issue
* chore: update lockfile
* fix: smoke tests
* fix(ci): run external smoke tests first
* fix(ci): run syntax
* chore: update lockfile
* fix(ci): ensure submodules are up-to-date
* fix(ci): ensure submodules are up-to-date
* chore: update lockfile
* chore: update for webapi
* chore: silence node:* warnings
* chore: update deps
* fix(ci): persist generated webapi assets
* fix(ci): webapi build script
* chore(ci): remove custom node caching
* chore: keep turbo.json
* chore: update turbo, ignore create-astro
* chore: update deps
* fix(ci): test command
* chore(ci): update test script
Co-authored-by: JuanM04 <me@juanm04.com>
2022-03-08 15:46:11 -06:00
Nate Moore
f18ee36dc0
Add @astrojs/webapi
package ( #2729 )
...
* chore: add @astrojs/webapi
* chore: update package.json
* fix: update file case
* fix: remove lowercase file
* chore: update tests to use mocha
* chore: update LICENSE
2022-03-07 15:36:22 -06:00
Selwyn
10a9c3412b
Add used renderers to each example package.json devDependencies
( #2727 )
...
As the first step to not bundling renderers in the core `astro` package
the examples show usage with renderers as dependencies.
2022-03-07 10:43:02 -06:00
github-actions[bot]
a6ee42fa17
[ci] release ( #2724 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-04 15:29:27 -06:00
github-actions[bot]
88ccb2d696
[ci] release ( #2720 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-04 11:28:59 -06:00
github-actions[bot]
92447974f2
[ci] release ( #2714 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-03 11:52:40 -06:00
github-actions[bot]
4f924b8cea
[ci] release ( #2692 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-02 16:23:55 -06:00
github-actions[bot]
9cc6f26946
[ci] release ( #2683 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-28 16:15:09 -06:00
Robin Millette
329146f3c1
Fix typo ( #2674 )
2022-02-28 16:04:03 -06:00
github-actions[bot]
c0a6e3e80a
[ci] release ( #2666 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-25 17:29:08 -06:00
Fred K. Schott
fca6407318
fix astro scoping of "@import" inside of style tags ( #2656 )
...
* fix astro scoping of "@import" inside of style tags
* Create lovely-lies-dress.md
* Update compile.ts
* fix smoke test
* Update package.json
2022-02-25 17:04:04 -06:00
Fred K. Schott
5370bba0b0
get new example working during build
2022-02-25 08:29:23 -08:00
FredKSchott
00dda8e056
[ci] yarn format
2022-02-25 16:19:44 +00:00
Joel Kuzmarski
c46db4ecbd
Add Non-HTML Pages example ( #2637 )
...
* Add Non-HTML Pages example
* Rename dir non-html-example to non-html-pages
* Update name to non-html-pages in package.json
2022-02-25 08:18:48 -08:00
github-actions[bot]
e31246f7ac
[ci] release ( #2641 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-24 14:48:44 -06:00
Fred K. Schott
a0fc5cb5ff
ensure utf8 encoding when serving html ( #2654 )
...
* ensure utf8 encoding on servers
* Create spicy-tomatoes-act.md
* Update spicy-tomatoes-act.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-02-24 14:39:41 -06:00
Joel Kuzmarski
f64840ece1
Add sass dev dep to blog-multiple-authors example ( #2643 )
...
Otherwise, new stackblitz projects throw an error.
2022-02-23 17:11:38 -06:00
Matthew Phillips
2ad88a9235
Run all smoke tests with the static build ( #2609 )
...
* Run all smoke tests with the static build
* Use a direct relative path
* Always use the static build
* Use a path that works in both static and regualr build
* Always download the zip
* astro.build only needs to run once
2022-02-23 08:41:10 -05:00
github-actions[bot]
1d9f8a57f5
[ci] release ( #2619 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-18 16:33:56 -06:00
natemoo-re
aaa61ff254
[ci] yarn format
2022-02-18 22:07:52 +00:00
Nate Moore
39cbe50085
Expose private .env
variables to import.meta.env
during SSR ( #2612 )
...
* chore(examples): add env-vars example
* feat: improve import.meta.env support
* chore: add changeset
* test: update astro-envs test
* refactor: cleanup code based on feedback
* fix: import.meta guard
* fix: update memory test threshold to 10%
2022-02-18 16:06:56 -06:00
github-actions[bot]
85eb3141cd
[ci] release (next) ( #2607 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-17 11:11:06 -05:00
Shinobu Hayashi
5d5a8e6549
Chore: configure buildOptions.site on examples/blog ( #2590 )
2022-02-17 07:40:51 -05:00
Tony Sullivan
934d9750cf
importing and inlining global.css with set:html ( #2601 )
2022-02-17 07:39:55 -05:00
github-actions[bot]
8dcfc1bb15
[ci] release (next) ( #2600 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 17:45:49 -06:00
github-actions[bot]
097d7777c4
[ci] release (next) ( #2595 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 11:32:57 -05:00
github-actions[bot]
ebe7f4d0ae
[ci] release (next) ( #2580 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-16 08:49:12 -06:00
matthewp
f84848226d
[ci] yarn format
2022-02-14 17:50:16 +00:00
Matthew Phillips
ba5e2b5e6c
Flagged SSR support ( #2548 )
...
* Checkpoint, basics are working
* Add the `--experimental-ssr` flag
* Adds the changeset
* Fixes population of getStaticPaths results
* Pass through the imported module
* Route manifest test
* Fix remaining tests
* Fix remaining tests
* Copy server assets over
* Fix types
* Allowing passing in the request to the Node version of App
* Improve the example app
* Gets CI to pass
2022-02-14 12:48:52 -05:00
Rafid Muhymin Wafi
61f438fdcb
Added LitCounter.js
2022-02-14 22:08:04 +06:00
github-actions[bot]
9e6f437429
[ci] release (next) ( #2573 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-11 17:12:00 -05:00
github-actions[bot]
b1afce896a
[ci] release (next) ( #2565 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-11 10:41:47 -05:00
github-actions[bot]
3e24341f17
[ci] release (next) ( #2555 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-09 13:18:10 -06:00
Nate Moore
1abb9ed080
Upgrade Vite to latest ( #2424 )
...
* chore: unvendor vite
* chore: upgrade vue and svelte
* feat(renderer-solid): upgrade for vite@2.7.x
* chore: update yarn.lock
* fix(solid): upgrade solid renderer for vite@2.7.x
* test: improve css test
* chore: upgrade to vite@2.8.0-beta.3
* fix: replace hacky serialization with 'serialize-javascript'
* fix: externalize serialize-javascript
* fix: explicitly add execa@6.x.x to devDependencies
* test(css): skip css?url test
* chore: update vite-plugin-svelte
* fix: ssr option
* chore: update changeset
* chore: remove changeset
* chore: add changeset
* chore: add back missing changeset
* chore: update vite
* chore: update to latest vite
* test: update proload?
* chore: update dependencies
* fix: remove preact from nanostores example
* fix: update static-build-pkg to use `.mjs` extension
* fix: exclude './server.js' from custom-elements test
* chore: remove unused file
2022-02-08 17:38:00 -06:00
github-actions[bot]
cc436b4ce8
[ci] release (next) ( #2554 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-08 16:58:42 -05:00
github-actions[bot]
4078dc529b
[ci] release (next) ( #2533 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-07 15:08:22 -05:00
Jonathan Neal
a911d14eab
Remove docs from monorepo ( #2517 )
...
* Remove docs from monorepo
* Update PULL_REQUEST_TEMPLATE.md
* Update relative doc references with links or todo
2022-02-07 13:39:53 -05:00
Juan Martín Seery
2bc91543ce
feat: Added the ability to add custom themes/languages to Shiki ( #2518 )
...
* Replaced `shikiTheme` with `shikiConfig`
* Code.astro now accepts custom themes/langs
* Updated docs
* Updated tests
* Fixed language loading
* Added customization examples
* Updated documentation
* Added more tests
* Changelogs
* Changed some spaces to tabs
* Fixed typo in changesets
* Moved tests fixtures
* Rolled back changes to with-markdown-shiki
* Removed lang example in docs
* Optimized Code component
* Try to fix windows errors
* Try to see if this new tests work
2022-02-07 08:31:02 -08:00
Marcus Otterström
0caf9169bc
Delete robots.txt ( #2540 )
...
* Delete robots.txt
* Update tour component
* Remove stray line from folder structure
2022-02-07 10:16:56 -05:00
Juan Martín Seery
cfeaa9414a
fix: import local plugins into markdown ( #2534 )
...
* Replaced "UnifiedPluginImport" for a function
* Updated tests
* Updated docs
* Updated examples
* Added changeset
* Fixed tests
* Removed unused "UnifiedPluginImport"
* Duplicated add-classes.mjs
2022-02-04 13:49:50 -05:00
github-actions[bot]
e49f581bc2
[ci] release (next) ( #2523 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-02 12:11:57 -05:00
Matthew Phillips
3e8844fa87
Fix support for scss in static build ( #2522 )
...
* Fix support for scss in static build
* Adds a changeset
* Pass the normalizedID to transformWithVite
2022-02-02 11:35:13 -05:00
github-actions[bot]
dd1a14a2eb
[ci] release (next) ( #2492 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-01 08:52:57 -05:00
Juan Martín Seery
6fe1b0279f
Add Shiki as an alternative to Prism ( #2497 )
...
* [ci] yarn format
* Added shiki to markdown-remark
* Upgraded astro shiki
* Added minimal example
* Changed defaults to match <Code />
* Replace `shiki` with `astro` classes
* Added documentation
* Updated Astro code to use new `codeToHtml`
* Added changesets
* Added basic test
* Updated tests a bit
Co-authored-by: JuanM04 <JuanM04@users.noreply.github.com>
2022-01-31 16:14:07 -06:00
Matthew Phillips
3d2c184962
Fix define:vars in the static build flag ( #2511 )
...
* Fix define:vars in the static build flag
* Adds a changeset
* linting
2022-01-31 16:56:14 -05:00
metonym
4ddb44caea
[docs] fix typo in portfolio-svelte example ( #2496 )
2022-01-31 16:46:05 -05:00
Jonathan Neal
f028ce43d1
Minimize the minimal example ( #2508 )
2022-01-31 16:28:29 -05:00
Jonathan Neal
4e43ae5d76
Fix Astro Components example ( #2507 )
2022-01-31 16:27:09 -05:00
github-actions[bot]
1cac6c974a
[ci] release ( #2482 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-28 20:06:07 -05:00
Matthew Phillips
69d5b70900
Fix use of preprocessors with the static build ( #2490 )
...
* Fix use of preprocessors with the static build
* Adds a changeset
2022-01-28 17:10:52 -05:00
github-actions[bot]
10db1ca75e
[ci] release ( #2454 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-27 11:40:08 -05:00
Jang Rush
9757cd869b
Use CONFIG.SITE.title for h1 in doc theme header ( #2449 )
...
Use SITE.title specified in config.ts as the h1 heading in Header.astro
of doc theme.
When SITE.title is null, use "Documentation" as the fallback value.
Previously the h1 heading in doc theme header is hardcoded
as "Documentation".
2022-01-24 10:35:19 -05:00
Jang Rush
20dc304172
Allow not specfying section header in sidebar. ( #2448 )
...
Someone may forget to specify a section header in SIDEBAR,
which would cause build error previously.
2022-01-24 10:33:56 -05:00
Jang Rush
1f45d23103
describe how to use non-en lang in doc theme ( #2447 )
2022-01-24 10:32:27 -05:00
github-actions[bot]
3059cc8e39
[ci] release ( #2437 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-24 09:39:26 -05:00
béla
ba363bdeec
fix tailwindcss example global css ( #2444 )
2022-01-21 18:48:16 -05:00
github-actions[bot]
4c802e25a0
[ci] release ( #2433 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-20 19:23:30 -05:00
Matthew Phillips
f2b8372c0c
Supports hoisted scripts in the static build ( #2414 )
...
* Supports hoisted scripts in the static build
* Adds a changeset
* Update packages/astro/src/core/build/internal.ts
Co-authored-by: Evan Boehs <evan@boehs.org>
* Update based on feedback
* Fix lint
* Fix getting hoist script for Windows
* Try with the pre compiler
* use compiler 0.8.2
* update compiler version
* update yarn.lock
Co-authored-by: Evan Boehs <evan@boehs.org>
2022-01-20 19:13:05 -05:00
github-actions[bot]
e3731e5fa8
[ci] release ( #2430 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-20 10:04:29 -05:00
github-actions[bot]
5d79bd7e93
[ci] release ( #2420 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-19 22:12:32 -05:00
Chris Swithinbank
9deada68b4
Fix visibility of focused skip link on docs site ( #2405 )
...
* Fix visibility of focused skip link on docs site
The `sr-only` utility class used on the “Skip to Content” link at the top of each page in the docs is designed to be paired with the `focus:not-sr-only` class. `focus:not-sr-only` was missing on the skip link, meaning it was never shown even when focused.
* Fix visibility of focused skip link in docs example project
Apply the same fix as ac890b56
to the same component in the docs starter project.
2022-01-19 15:22:40 -05:00
github-actions[bot]
bcec8adc9a
[ci] release ( #2412 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-18 08:38:15 -05:00
Matthew Phillips
bcc617f9dc
Update examples to move away from Astro.resolve on styles ( #2393 )
...
* Update examples to move away from Astro.resolve on styles
* Prepend the subpath
* Adds a changeset
* Switch to @import for the starter
2022-01-18 08:34:12 -05:00
github-actions[bot]
d3be8d944d
[ci] release ( #2394 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-14 16:19:25 -05:00
github-actions[bot]
f5ce6edb5b
[ci] release ( #2372 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-14 14:40:12 -05:00
Matthew Phillips
92532b8882
Fixes for blog and docs examples ( #2373 )
...
* Fixes for blog and docs examples
* Adds a changeset
* Upgrade the compiler version
* Use a global style tag
* Skip on windows temporarily
2022-01-14 12:11:56 -05:00
github-actions[bot]
834e5299f1
[ci] release ( #2366 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-13 09:37:44 -05:00
Matthew Phillips
20d0cce681
Fix for shared CSS when using the static build ( #2365 )
...
* Fix for shared CSS when using the static build
* Adds a changeset
2022-01-12 12:02:36 -05:00
github-actions[bot]
983bf72aa1
[ci] release ( #2340 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-12 11:30:01 -05:00
Erika
488a145456
Normalize and cleanup examples projects ( #2364 )
...
* Remove unused line in the examples .gitignore
* Add missing .npmrc, .stackblitzrc and tsconfig.json files to a few examples
* Removed unused file and link directive in the minimal example
* Oops, added an accidental slash
2022-01-12 10:37:16 -05:00
github-actions[bot]
5ba2650be1
[ci] release ( #2339 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-07 16:43:19 -05:00
Matthew Phillips
180dfcf2fc
Handle loading the Code package in the static build ( #2337 )
...
* Handle loading the Code package
Fixes #2329
* Use Code the normal way
* Adds a changeset
* Only resolve browser path if there is no common ancestor
* Update examples/fast-build/src/pages/index.astro
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-01-07 16:28:27 -05:00
github-actions[bot]
4c826ad5b5
[ci] release ( #2333 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-07 09:44:14 -05:00
github-actions[bot]
f80800857e
[ci] release ( #2320 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-05 16:56:34 -08:00
github-actions[bot]
fa396750ef
[ci] release ( #2307 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-05 11:20:39 -05:00
matthewp
79f8cfee60
[ci] yarn format
2022-01-04 20:10:42 +00:00
Matthew Phillips
2770588867
Remove rehype-add-classes ( #2309 )
...
* Remove rehype-add-classes
* Fix the markdown plugin test
2022-01-04 15:09:10 -05:00
github-actions[bot]
d11c7b8c5c
[ci] release ( #2304 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-04 11:28:19 -05:00
github-actions[bot]
69f4ff5473
[ci] release ( #2303 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-04 09:46:45 -05:00
Matthew Phillips
9db22b97b6
Only resolve inline script specifiers in the static build ( #2302 )
...
* Revert "Revert "Implement hydrated components in the static build (#2260 )""
This reverts commit 17ac18e88c
.
* Only resolve specifiers in the static build
* Adding a changeset
* Fix the client-only test
2022-01-04 09:35:07 -05:00
github-actions[bot]
c5a67b4275
[ci] release ( #2293 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-30 12:03:19 -05:00
Matthew Phillips
2e55dc2686
Revert "Implement hydrated components in the static build ( #2260 )" ( #2292 )
...
* Revert "Implement hydrated components in the static build (#2260 )"
This reverts commit ae5255dd25
.
* Adds a changeset
2021-12-30 11:52:22 -05:00
github-actions[bot]
1da4682a50
[ci] release ( #2291 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-30 09:14:21 -05:00
Matthew Phillips
ae5255dd25
Implement hydrated components in the static build ( #2260 )
...
* Work on removing vite-postprocess
* Gets hydration totally working
* Formatting
* Update based on PR comments
* Bring back vite transform for non-static builds
* Upgrade compiler version
* Update the client-only test
* Add debugging for windows
* More debugging
* Pass pathname into the markdown plugin as well
* Include vite changes
* Revert "Include vite changes"
This reverts commit dee6348b233b6d6c6fea1e4dcc41c98c0452846c.
2021-12-30 09:01:00 -05:00
Connor Adams
079a78e0ec
Adjust TSConfig example files to include compilerOptions ( #2278 )
2021-12-26 22:39:30 -05:00
github-actions[bot]
458e57b84f
[ci] release ( #2264 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 15:34:11 -05:00
github-actions[bot]
b8e3efa7bb
[ci] release ( #2219 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 11:49:30 -05:00
Jonathan Neal
f91ffcf024
Revert "Revert "Revert "added prismic x astro example. ( #2247 )"" ( #2252 )" ( #2259 )
...
This reverts commit a6179d0399
.
2021-12-23 08:52:26 -05:00
Jonathan Neal
a6179d0399
Revert "Revert "added prismic x astro example. ( #2247 )"" ( #2252 )
...
This reverts commit be36113b79
.
2021-12-23 08:25:26 -05:00
Jonathan Neal
6ddd7678ff
Use accessible indentation ( #2253 )
2021-12-22 16:11:05 -05:00
Jonathan Neal
4208640587
Revert "added prismic x astro example. ( #2247 )" ( #2251 )
...
This reverts commit aac1d4e18d
.
2021-12-22 14:06:31 -05:00
Vin E. R. Yap
aac1d4e18d
added prismic x astro example. ( #2247 )
2021-12-22 10:52:24 -05:00
Jonathan Neal
29976c6de0
format ( #2246 )
2021-12-21 22:01:28 -05:00
Nate Moore
5ab3fbb3b1
chore(examples): add AlpineJS example ( #2222 )
2021-12-21 12:45:23 -05:00
Matthew Phillips
9aff6eee71
Flagged static (performance optimized) build ( #2168 )
...
* Progress on build demo
* Go back to ESM
* Some more progress on the new build
* More progress here
* Add support for hot reload
* Almost done
* Remove debugging stuff
* chore(lint): Prettier fix
* Pass through the origin
* Do not use ssr mode
* Use the logger
* chore(lint): Prettier fix
* Update yarn lock
* Fix types
* Only build chunks that are astro pages
* Debugging windows
* Prevent compilation race condition
* Read the file if not found in the cache
* Give a better error message when we can't find a page
* chore(lint): Prettier fix
* Fix windows maybe
* chore(lint): Prettier fix
* Some more windows debugging
* chore(lint): Prettier fix
* Remove console logs
* More debugging
* chore(lint): Prettier fix
* More debugging info
* chore(lint): Prettier fix
* Remove logging again
* Try to prevent port conflicts
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-21 11:57:50 -05:00
Jonathan Neal
033b70a7f8
Add Component Example ( #2203 )
...
* Add Component Example
* chore(lint): Prettier fix
* nit: improve implementation
* nit: Update documentation
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-17 08:47:59 -05:00
Nate Moore
810aeb321a
chore: release @astrojs/renderer-svelte@0.2.3
2021-12-16 17:36:48 -06:00
Nate Moore
a4a6b7d871
fix: pin with-vite-plugin-pwa example
2021-12-16 16:32:13 -06:00
Abdullah Mzaien
bb52818ebe
chore: update tailwind to v3 and update the readme ( #2209 )
...
using `.cjs` for file extensions
chore: update tailwind to v3 and update the readme
2021-12-16 11:36:48 -06:00
Robin Millette
72c6a87b86
Fix example path for init ( #2194 )
...
* Fix example path for init
* Update examples/with-vite-plugin-pwa/README.md
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-12-14 10:48:24 -06:00
Jonathan Neal
6570a20442
rebase ( #2087 )
2021-12-13 16:18:21 -05:00
Jonathan Neal
c3db1eb4ef
Upgrade dependencies ( #2085 )
...
* yarn upgrade
* yarn upgrade --latest yargs-parser
* yarn upgrade --latest mime
* yarn upgrade --latest execa
* yarn upgrade --latest globby
* yarn upgrade --latest @docsearch/react
* yarn upgrade --latest es-module-lexer
* yarn upgrade --latest fast-xml-parser
* yarn upgrade --latest @astrojs/compiler @astrojs/language-server
* yarn upgrade --latest acorn
* clean yarn.lock
* chore: put `@docsearch/react` back to v1
* chore: remove unused @snowpack/plugin-dotenv
* Update yarn.lock
* Patch tests based on newer versions of tooling
* remove lerna
* Update yarn.lock
* Update yarn.lock
* Pin @sveltejs/vite-plugin-svelte
* update yarn.lock
2021-12-13 15:59:08 -05:00
FredKSchott
fbbeee41aa
[ci] yarn format
2021-12-13 18:37:58 +00:00
Agustin Mulet
23b7756d6b
Adding Solid to with-nanostores example ( #2079 )
2021-12-13 10:37:06 -08:00
github-actions[bot]
9ac4259d2e
chore: release ( #2149 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-09 04:57:08 -08:00
github-actions[bot]
a7e2070abc
chore: release ( #2136 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-06 17:10:43 -06:00
github-actions[bot]
fe11bdb5f7
chore: release ( #2118 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-03 16:29:11 -06:00
github-actions[bot]
4f546173b4
chore: release ( #2108 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-03 09:30:45 -05:00
github-actions[bot]
787e4e6497
chore: release ( #2098 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-02 17:45:56 -05:00
github-actions[bot]
e57308d70c
[ci] release ( #2071 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-02 13:01:17 -05:00
github-actions[bot]
754ac42478
[ci] release ( #2059 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-30 22:33:45 -07:00
Stephan Bogner
2440bbad88
Fix resolve of scss/css-file in Starter Example ( #2020 )
...
I can't find the section in the documentation anymore about resolving SCSS-files (maybe it's gone since v0.21) but the Starter Example doesn't load the SCSS/CSS file anymore.
The change above fixes it.
2021-11-29 13:12:57 -07:00
github-actions[bot]
6203b57974
Version Packages ( #2047 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-29 14:39:04 -05:00
github-actions[bot]
dd17a5b8d0
Version Packages ( #2009 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-24 14:10:30 -07:00
Fred K. Schott
8d934059f8
move styles to src ( #2003 )
2021-11-24 11:10:12 -08:00
github-actions[bot]
0751808a2e
Version Packages ( #1988 )
...
* Version Packages (next)
* chore: update CHANGELOG
* fix: merge conflict
* fix: merge conflict
* chore: remove pre.json
* Version Packages
* Version Packages
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-11-23 17:12:00 -06:00
Fred K. Schott
7476a92461
update repo URL ( #1994 )
2021-11-23 14:47:05 -08:00
natemoo-re
f45936074e
[ci] yarn format
2021-11-23 02:05:07 +00:00
Nate Moore
f165004c10
Add with-vite-plugin-pwa
example ( #1829 )
2021-11-22 20:03:45 -06:00
github-actions[bot]
fff00e45f0
Version Packages ( #1972 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-22 16:31:34 -05:00
JuanM04
679d4395ec
Markdown package improvements ( #1954 )
...
* Re-add smartypants
* Updated packages
* Remove all the default plugins if there are either remark or rehype plugins
* Replace deperecated remark-slug with rehype-slug
* Added MarkdownParserResponse type
* Update documentation
* Removed type import from markdown package
* Updated remark-smartypants
* Changelog
* Missed one change
* Split changelogs
* Upgraded some MDX dependencies
* Fix typos in documentation
* Changed CHANGELOG.md package name
* Renamed smartypants
2021-11-22 14:48:00 -06:00
Drew Powers
ce8f8e06c0
Clean up styling for framework-* examples ( #1970 )
2021-11-22 13:38:53 -07:00
github-actions[bot]
63df5fbf23
Version Packages ( #1967 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-22 10:27:46 -05:00
Withered Flowers
1ec3f28b63
Patch: Example Nanostores Update ( #1955 )
...
* Mention astro.new in docs (#1935 )
* Fix - Deprecated nanostores functions
createStore and getValue is deprecated in nanostores,
changed it to atom and atom.get()
* fix: change code to nanostores non-deprecated functions
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-11-21 11:31:42 -06:00
github-actions[bot]
b4818701fe
Version Packages ( #1928 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 13:01:50 -08:00
Jonathan Neal
1692675575
Doc improvements ( #1929 )
...
* Update astro & markdown code blocks for consistency
* Add 'JSX in Frontmatter' note to Migration Guide
2021-11-19 14:53:38 -05:00
github-actions[bot]
3f76849a0b
Version Packages (next) ( #1923 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 14:12:11 -05:00
Matthew Phillips
ae2cadd246
Remove escape in blog example post
2021-11-19 13:21:41 -05:00
matthewp
53cdd671bf
[ci] yarn format
2021-11-19 18:10:50 +00:00
Matthew Phillips
a9a14a1be7
Fix blog example yet again ( #1917 )
2021-11-19 13:09:44 -05:00
github-actions[bot]
285622b8ae
Version Packages (next) ( #1916 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 12:49:37 -05:00
matthewp
bf1c1b72cf
[ci] yarn format
2021-11-19 17:36:30 +00:00
Matthew Phillips
0d437e11a7
Small fixes ( #1911 )
2021-11-19 12:35:41 -05:00
matthewp
4032e212ce
[ci] yarn format
2021-11-19 17:18:04 +00:00
Matthew Phillips
f76e029a78
Fix blog example ( #1910 )
2021-11-19 12:17:07 -05:00
github-actions[bot]
bb90ff60c8
Version Packages (next) ( #1907 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 11:22:19 -05:00
github-actions[bot]
05a2c48449
Version Packages (next) ( #1904 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 10:39:05 -05:00
github-actions[bot]
a43410b68e
Version Packages (next) ( #1881 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-19 01:21:00 -08:00
github-actions[bot]
eb4d5f1d8f
Version Packages (next) ( #1873 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-17 16:25:02 -08:00
github-actions[bot]
96d5a94280
Version Packages (next) ( #1863 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-17 19:05:54 -05:00
github-actions[bot]
9f5e196019
Version Packages (next) ( #1847 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-16 17:13:29 -05:00
github-actions[bot]
750c249c32
Version Packages (next) ( #1796 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-16 13:06:58 -08:00
matthewp
b49f9a525e
[ci] yarn format
2021-11-15 15:35:07 +00:00
Matthew Phillips
fca1a99dbd
Support for using a subpath ( #1801 )
...
* Support for using a subpath
* Update the readme
* Fix the package name
* Adds a changeset
* Ensure that public/ must be loaded from the subpath
* Update preview to use the new paths
* Use exact compiler version
* Use the newest version
* Use range again
* Use newer range
2021-11-15 10:33:51 -05:00
Matthew Phillips
2da90d24d0
Tell tailwind to purge from the src folder ( #1797 )
2021-11-11 14:35:54 -05:00
Ian VanSchooten
df4146c93b
Allow inline code blocks to wrap lines ( #1799 )
2021-11-11 12:30:09 -07:00
Okiki
eb4effb6b7
docs: seperate npm run build
and npm run dev
to avoid confusion ( #1798 )
...
To avoid confusion I seperated the `npm run build` and the `npm run dev` commands, beginners might get confused by each command being listed in the same list, thinking they need to run `npm run build` before Astro works properly.
Add `npm run preview` commands to all examples where they are missing
2021-11-11 13:28:51 -06:00
github-actions[bot]
83be55d5dd
Version Packages (next) ( #1791 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-11 08:48:04 -05:00
github-actions[bot]
9763b255dd
Version Packages (next) ( #1745 )
...
* Version Packages (next)
* chore: update changelog
* chore: update CHANGELOG
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-11-09 12:59:13 -06:00
Konstantinos Kostarellis
aed5fa0303
minor adjustments for astro@next ( #1763 )
...
Co-authored-by: Konstantinos Kostarellis <Konstantinos.Kostarellis@gmail.com>
2021-11-08 10:23:12 -07:00
Sarah Rainsberger
8b54242a46
Adding CodeSandbox config file to all the "next" examples ( #1744 )
...
* Create sandbox.config.json specifying port 3000
* Update sandbox.config.json
* Create sandbox.config.json for blog example
* Create sandbox.config.json for multiple authors blog
* added sandbox config to portfolios
* [ci] yarn format
* added sandbox.config.json to more frameworks examples
* [ci] yarn format
Co-authored-by: sarah11918 <sarah11918@users.noreply.github.com>
2021-11-05 10:41:37 -05:00
Drew Powers
2e1bded735
Get Tailwind HMR working (first cut) ( #1736 )
...
* Get Tailwind HMR working
* PR feedback
* perf: improve HMR `head` performance
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-11-04 14:01:28 -06:00
matthewp
ed3cfe230b
[ci] yarn format
2021-11-03 16:29:53 +00:00
Rafid Muhymin Wafi
16e3aa8ee0
children error fix ( #1734 )
2021-11-03 12:28:41 -04:00
github-actions[bot]
8de20f7435
Version Packages (next) ( #1731 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-11-02 16:22:40 -05:00
Konstantinos Kostarellis
b4dbb90b5f
Adds a new example template portfolio-svelte ( #1667 )
...
- Template is based on svelte components instead of react
- Bumps astro version to "^0.21.0-next.0" for portfolio-svelte template
Co-authored-by: Konstantinos Kostarellis <Konstantinos.Kostarellis@gmail.com>
2021-11-02 12:48:00 -04:00
github-actions[bot]
e0d9a7627d
Version Packages (next) ( #1709 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-29 14:48:54 -05:00
natemoo-re
a5c6f922fa
[ci] yarn format
2021-10-29 19:47:01 +00:00
Nate Moore
34e03cf912
do not format vite ( #1710 )
...
* Revert "[ci] yarn format"
This reverts commit 93489946cc
.
* chore: ignore vendor
2021-10-29 14:45:32 -05:00
matthewp
93489946cc
[ci] yarn format
2021-10-29 19:31:54 +00:00
Drew Powers
d84bfe719a
🚀 Astro Next (0.21.0) ( #1406 )
...
* 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 (#1407 )
* Automate publish on merge (#1408 )
* Add NPM_TOKEN to publish script (#1409 )
* Create .npmrc
* Clean up astro deps (#1411 )
* Use new renderers (#1412 )
* feat: update compiler (#1421 )
* Try mocha/chai test runners (#1418 )
* 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 (#1427 )
* Fix logger locale parsing (#1439 )
* 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 #1387
* Add back in support for children (#1486 )
* Add back in support for children
* Be more careful
* Enables most slot tests (#1494 )
* Enables most slot tests
* Use spreadAttributes
* Add hydration to Solid renderer (#1479 ) (#1495 )
* 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 (#1516 )
* [next] Support for custom elements (#1528 )
* [next] Support for custom elements
* Fix eslint errors
* eslint again
* [next] Fix Astro.fetchContent (#1480 )
* fix Astro.fetchContent
* fix(fetchContent): cast type
Co-authored-by: Nate Moore <nate@skypack.dev>
* Move hydration to the compiler (#1547 )
* Move hydration to the compiler
* Move extracting url, export to util fn
* Brings back astro-dynamic tests (#1548 )
* Implements top-level Astro + Astro.resolve (#1556 )
* Implements top-level Astro + Astro.resolve
* Fix linting
* [next] Update renderers (#1509 )
* chore: update vite
* fix(renderers): point renderers to resolved server/client entrypoints
* Chore: Enable more tests with new compiler changes (#1558 )
* [Next] `fetch` support (#1563 )
* 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 (#1569 )
* Upgrade to @astrojs/compiler 0.2.0 (#1584 )
* Use Vite fork (#1585 )
* Use Vite fork
* Fix linting
* Move Vite to vendor/ and add a license
* Fix linting
* Include the dist folder
* Update files config
* Markdown compilation (#1593 )
* Markdown compilation
* remove debugger
* Gets lit hydration working (#1595 )
* Gets Astro.fetchContent compilation to work (#1596 )
* 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 (#1597 )
* Add Prism syntax highlighting (#1598 )
* Scoped styles with markdown (#1599 )
* Bugfix: fix getStaticPaths() cache miss (#1602 )
* Fix build order (#1609 )
* Bugfix: restore build to get all paths earlier, when build. Same as main.
* Also re-add timings
* [next] blog example fully working (#1610 )
* Add environment variables docs (Closes #873 ) (#1587 )
* Added environment variables docs (Closes #873 )
* Fixed prefix
* Remove numbered comments (#1611 )
* Chore: remove numbered comments
* Clean up block comments
* comment style fixes (#1614 )
* [next] Upgrade compiler (#1619 )
* [next] Upgrade compiler
* Upgrade to latest compiler
* Fix the path to global css
* Removed debugger
* feat: add fragment support to vite-plugin-astro (#1600 )
* [next] fix `.tsx` handling (#1620 )
* 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 (#1589 )
* 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 (#1621 )
* Move Sass to deps (#1622 )
* Update renderer API for Vite (#1623 )
* 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 (#1628 )
* Remove cheerio scanning from build stats (#1629 )
* Minor change to jsxTransformOptions, update Renderer API docs (#1630 )
* [next] docs example fully working (#1627 )
* [next] docs example fully working
* Upgrade compiler to unlock docs
* Add `class:list` directive (#1612 )
* 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 (#1632 )
* feat: fix Debug component (#1633 )
* [next] Fix `<Markdown>` component (#1631 )
* fix: cleanup issues with <Markdown> component
* fix: fix `content` usage with Markdown
* [next] Fix `<Code>` component (#1635 )
* fix: enable Code component
* test: update expect to chai format
* Fixes solid (#1634 )
* Fixes solid
* Rename the test
* Rebase with next
* Skip solid test for now
* Add support for markdown plugins (#1650 )
* Fix broken next release (#1652 )
* Prevent passing to Svelte components
* Prevent passing class to Vue components
* Add CSS injection, fix portfolio example (#1648 )
* 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 (#1654 )
* Upgrade compiler version (#1655 )
Fixes docs and blog examples
* Resolve renderers relative to the projectRoot (#1659 )
* Template fixes (#1656 )
* fix: dedupe hashes for identical islands (#1660 )
* fix: scope `define:vars` to `:root` for `<style global>` (#1663 )
* chore: update compiler to latest (#1664 )
* [next] fix island hydration inside of `<Markdown>` (#1665 )
* 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 (#1669 )
* Force Vite to rebuild dependencies (#1670 )
* [next] Add `preact/compat` renderer (#1668 )
* feat: add preact/compat entry for `@astrojs/renderer-preact`
* Update index.js
* Bugfix: plugin-astro-fetch tries to append node-fetch to node-fetch (#1671 )
* Fix Vite race condition (#1674 )
* Fix with-nanostore deps (#1675 )
Adds missing Solid renderer
* [next] Fix `resolveDependency` on Windows (#1666 )
* fix: Windows issue with resolveDependency util
* chore: add comment
* Update CONTRIBUTING.md (#1677 )
* Prevent scanning a user's deps (#1678 )
* 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 (#1680 )
This does 2 things:
1. Adds prismjs as a dep.
2. Adds shiki as an external.
* Next bugs (#1681 )
* fix(#1679 ): hoisted <script> rendering
* fix(#1679 ): do not print global for styles, but do for scripts
* fix: update ObjectSet implementation
* fix: dedupe elements in sets
* [next] update compiler (#1683 )
* chore: update compiler
* chore: update compiler (again)
* Fix Astro HMR bottleneck (#1684 )
* Bugfix: JSX renderers can be declared in any order (#1686 )
* chore: update compiler (#1690 )
* Exclude lit-server from being optimized (#1691 )
This should get the lit example working from `npm`.
* fix: exclude all renderer server entrypoints (#1692 )
* chore: update compiler (#1705 )
* fix: do not crash when Markdown has no content (#1702 )
* feat: improve support for third-party React packages (#1701 )
* Remove prism warning when no language is provided (#1703 )
* Remove prism warning when no language is provided
* Add the plaintext language instead
* retry deploy
* chore: enter prerelease mode under `next` (#1707 )
* Updates to the changesets (#1708 )
* 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
AsyncBanana
059aff923b
Added portfolio example meta description ( #1625 )
2021-10-25 12:59:53 -05:00
AsyncBanana
4030ca91b5
Add meta name="viewport" to portfolio example ( #1624 )
2021-10-21 23:28:26 -06:00
AsyncBanana
d6402541c1
Fixed blog example CSS (sorry) ( #1601 )
2021-10-19 18:49:44 -04:00
AsyncBanana
598b64f711
Added descriptions to example ( #1566 )
2021-10-18 13:36:39 -05:00
AsyncBanana
3cd1c2020b
Added frontmatter example to docs example ( #1567 )
2021-10-18 13:35:16 -05:00
AsyncBanana
8c739f9ed1
Changed docs TOC buttons to be better touch targets ( #1570 )
2021-10-18 19:50:10 +02:00
AsyncBanana
e9c377b84a
Made blog index landmark elements more accessible ( #1578 )
...
* Made blog index landmark elements more accessible
* Fixed CSS
* Hopefully the CSS actually works now
2021-10-18 19:33:13 +02:00
github-actions[bot]
b7a4542103
Version Packages ( #1557 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-14 15:13:13 -04:00
Yoshiaki Togami
32dbf68247
Fix type error in blog-multiple-authors example ( #1553 )
...
* chore: add description to avoid type error
* fix: fix canonical url type in main head component
2021-10-14 14:40:33 -04:00
AsyncBanana
4dbad5d5ff
Added descriptions to docs pages ( #1550 )
2021-10-14 08:33:58 -04:00
AsyncBanana
3aafb58d60
Change publish date el to be more accessible ( #1522 )
2021-10-13 16:21:35 -04:00
github-actions[bot]
5ac51bae3a
Version Packages ( #1537 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-12 13:27:06 -04:00
github-actions[bot]
0ff5c87a27
Version Packages ( #1527 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-11 08:33:37 -04:00
Fred K. Schott
b684a04bff
framework-solid: update outdated classname
2021-10-01 15:30:00 -07:00
Fred K. Schott
57e11f2bb7
improve solidjs template ( #1475 )
2021-10-01 15:25:27 -07:00
github-actions[bot]
b5f1bd46ff
Version Packages ( #1472 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-01 13:36:02 -04:00
Yoshiaki Togami
dd6442a686
chore: add alt type ( #1471 )
2021-10-01 10:13:34 -04:00
Joshua Byrd
ee27583111
Do we really need a massive 5MB+ banner that takes multiple seconds to load when people open the readme? ( #1459 )
...
* 5MB PNG > 789K JPG
* Different RAW address
* Revert "Different RAW address"
This reverts commit db47b99211
.
2021-09-30 00:28:53 -07:00
Peter Cook
8c3221a0df
Portfolio example fix ( #1457 )
...
* Fix project page in portfolio example
Projects list was blank because template filter uses publishDate but
front matter uses published_at. Changed front matter to publishDate.
* Fix nested projects in portfolio example
2021-09-29 16:13:02 -04:00
github-actions[bot]
b78a58ed33
Version Packages ( #1451 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-28 15:34:16 -04:00
github-actions[bot]
bf6357a233
Version Packages ( #1442 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-28 09:10:41 -04:00
Caleb Jasik
ed3b3eae4b
Update /examples/docs/.../MoreMenu.astro ( #1446 )
2021-09-27 16:57:02 -05:00
jake m
63ca3df3ca
Update gradient background sizing. ( #1417 )
2021-09-23 20:02:44 -05:00
Tim Jensen
427bc83d1d
Fix typo ( #1404 )
...
Portfolio missing t.
2021-09-21 08:56:47 -07:00
Fred K. Schott
cb7a957f41
update examples for stackblitz ( #1379 )
2021-09-16 08:06:22 -07:00
github-actions[bot]
ad2962fdac
Version Packages ( #1377 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-15 12:36:26 -04:00
github-actions[bot]
3d9b665265
Version Packages ( #1358 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-14 17:22:50 -07:00
Matthew Phillips
b6a75494b1
Add types to examples and docs ( #1347 )
...
* Adds a changeset
* Add types to examples and docs
* Make changes based on review feedback
* Avoid using the variable named props
* Make path a const
2021-09-14 09:14:39 -04:00
github-actions[bot]
2847ff5382
Version Packages ( #1344 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-09 10:57:16 -07:00
Fred K. Schott
b03f877102
Revert "Version Packages ( #1303 )"
...
This reverts commit 1a88cfde7d
.
2021-09-09 10:53:52 -07:00
github-actions[bot]
1a88cfde7d
Version Packages ( #1303 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-09 10:41:31 -07:00
Fred K. Schott
9f06fb014b
cleanup docs changes
2021-09-06 01:31:10 -07:00
FredKSchott
b4d1c9bc64
[ci] yarn format
2021-09-06 08:25:23 +00:00
aFuzzyBear
d321d8366b
Adds examples page
2021-09-06 01:21:39 -07:00
kreako
02c38a0d3b
examples: Fix with-tailwindcss example #1256 ( #1312 )
2021-09-04 19:09:39 -05:00
Tushar Sadhwani
373e44d0a5
Comment out RSS call in example ( #1302 )
...
* Comment out RSS call in example
* Update [...page].astro
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-09-03 10:50:05 -07:00
github-actions[bot]
a923268da2
Version Packages ( #1271 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-01 15:58:14 -04:00
FredKSchott
e6766e2cd2
[ci] yarn format
2021-09-01 01:10:30 +00:00
Peter Singh
b22755d59e
Checked the astro configs for the templates, ( #1282 )
...
* Checked the astro configs for the templates,
* Update astro.config.mjs
* Update package.json
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-08-31 18:09:16 -07:00
github-actions[bot]
8d22e4eefe
Version Packages ( #1252 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-27 14:15:29 -04:00
Patrick Gotthardt
3ab3115fbe
Fixes #1249 ( #1250 )
...
Adjust the layout imports in all md files so that they can be resolved.
2021-08-27 13:19:12 -04:00
github-actions[bot]
3bb97ea328
Version Packages ( #1246 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-27 10:46:14 -04:00
Fred K. Schott
e0c39fb217
improve introduction page of example/docs
2021-08-26 15:18:45 -07:00
Fred K. Schott
9f2b1d6071
improve introduction page of example/docs
2021-08-26 15:10:25 -07:00
Fred K. Schott
db0934bb5a
improve introduction page of example/docs
2021-08-26 15:09:54 -07:00
Fred K. Schott
fdd701dd88
Merge branch 'okikio/main' ( #1111 )
2021-08-26 15:04:44 -07:00
Fred K. Schott
2e8db7ad23
add algolia and cleanup docs readme
2021-08-26 15:03:21 -07:00
github-actions[bot]
84c18d3030
Version Packages ( #1239 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-26 15:20:38 -04:00
Okiki
b7ada11ddb
WIP update examples/docs/
2021-08-26 12:15:33 -07:00
Fred K. Schott
ff92be637f
add "astro preview" command ( #1226 )
...
* add "astro preview" command
* Update green-buttons-reflect.md
* Update cli-reference.md
2021-08-26 12:08:52 -07:00
github-actions[bot]
c83d481733
Version Packages ( #1228 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-26 12:56:36 -04:00
FredKSchott
3c8698fb60
[ci] yarn format
2021-08-25 18:52:22 +00:00
Fred K. Schott
affcd04f0f
stop building, bundling, and transforming public/ files ( #1210 )
...
* stop bundling public/ files
* update www and examples
2021-08-25 11:51:04 -07:00
Robin Métral
397d8f3d84
Upgrade unified deps and improve unified plugins types ( #1200 )
...
* Upgrade @astrojs/markdown-support deps and update types
* Add changeset
* Update changeset
* Switch astro-markdown-plugins example to use rehype-autolink-headings
Usage of remark-autolink-headings is discouraged in favor of the rehype counterpart: https://github.com/remarkjs/remark-autolink-headings\#remark-autolink-headings
* Add stricter types for unified plugins
This includes a few suggestions from a code review:
- use vfile.toString instead of vfile.value.toString
- refactor plugins to follow unified best practices instead of returning functions that return a plugin
- use any instead of any[] for plugin options types
* Narrow down types to more specific hast or mdast typings
2021-08-25 08:17:45 -04:00
Marcus Otterström
3bfd8c125e
Fix CSS in docs example ( #1221 )
2021-08-24 16:41:42 -07:00
github-actions[bot]
a4a7685be1
Version Packages ( #1217 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-24 16:11:51 -04:00
github-actions[bot]
582220c8a1
Version Packages ( #1206 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-23 14:18:18 -07:00
FredKSchott
69272dc8d1
[ci] yarn format
2021-08-23 21:08:16 +00:00
Fred K. Schott
f9cd031033
Add zod schema validation ( #1198 )
...
* add zod schema validation
* update pageUrlFormat config name
* add trailing slash support to config
2021-08-23 14:07:03 -07:00
Caleb Jasik
efb41f22c3
Add Astro <Debug/>
component ( #675 )
...
* Initial MVP Debug component
* Document the prettifying of the input
* Just make `<Debug/>` a wrapper around `<Prism/>` lol
* feat: add details/summary debug component
* chore: remove Props (unused)
* fix: prefer `div` to semantic elements
* chore: format
* fix: prop-drill `class` into components
* fix: ensure `astro/components` are evaluated lazily
* feat(debug): export debug component from `astro/debug`
* fix: minimal example local snowpack config
* docs: add debugging docs
* chore: add changeset
* docs: update debug docs
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-08-23 16:43:22 -04:00
github-actions[bot]
3963cef963
Version Packages ( #1181 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-23 15:59:55 -04:00
Sarah Rainsberger
8e6fb50fa1
CodeSandbox-izing via template override ( #1167 )
...
* initial commit
* Added to config to specify port and node version. I think this will be all that's needed.
2021-08-20 12:33:15 -07:00
github-actions[bot]
0c314791c4
Version Packages ( #1163 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-19 18:03:07 -06:00
Fred K. Schott
472c0e5ac7
walk-back examples/snowpack changes
2021-08-18 22:07:34 -07:00
Jonathan Neal
e66872125d
add dev script, switch documentation from advising start to dev script ( #1141 )
2021-08-18 22:07:08 -07:00
github-actions[bot]
986bed8ca4
Version Packages ( #1150 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-18 09:24:09 -07:00
Fred K. Schott
348b252a51
exit prerelease mode
2021-08-18 09:09:27 -07:00
github-actions[bot]
66a6c5b06f
Version Packages (next) ( #1129 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-17 22:34:47 -07:00
Fred K. Schott
1aa2f92bbc
make example favicons prefer non-dark mode
2021-08-17 22:33:42 -07:00
Fred K. Schott
5e0e276609
cleanup example favicons
2021-08-16 14:34:08 -07:00
Rafid Muhymin Wafi
b03f1f71b7
Adding favicon to examples ( #1084 )
2021-08-16 14:28:38 -07:00
jasikpark
bbb6867481
[ci] yarn format
2021-08-15 19:15:15 +00:00
Jonathan Neal
d68ac85e7f
Add minimal template ( #1090 )
2021-08-15 14:13:58 -05:00
FredKSchott
2347717dea
[ci] yarn format
2021-08-13 23:32:55 +00:00
Kaffee☕
57b0c170e8
change the typescript moduleResolution of all examples to "node" ( #1108 )
...
* Fixes many Errors related to typescript
Fix Svelte Component Errors importing Svelte standard functions using typescript see https://github.com/snowpackjs/astro/issues/403 .
Also fixes "ReferenceError: exports is not defined" see https://github.com/snowpackjs/astro/issues/969 .
* change typescript default moduleresolution in examples see #403
2021-08-13 16:31:44 -07:00
github-actions[bot]
43e17e59da
Version Packages (next) ( #1092 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-12 01:39:34 -07:00
github-actions[bot]
2b41db1531
Version Packages (next) ( #1089 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-11 16:30:24 -07:00
github-actions[bot]
10d6fa4bca
Version Packages (next) ( #1087 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-11 15:50:14 -07:00
Fred K. Schott
0f0cc2b9d8
Add file-based routing /w dynamic paths ( #1010 )
...
* wip: add file-based routing
* add pagination tests and nested pagination support
2021-08-11 15:04:09 -07:00
github-actions[bot]
b54c01bf66
Version Packages ( #1064 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-11 15:01:00 -07:00
Nate Moore
86c47296b4
fix: language server
2021-08-11 15:35:32 -05:00
Marcus Otterström
4f096cbe6c
Add CSS in example project: docs ( #1062 )
2021-08-08 17:10:26 -05:00
Jonathan Neal
71882300b0
Fix code examples that would fail if copy-pasted ( #1050 )
2021-08-07 23:38:38 -07:00
github-actions[bot]
3eb5a0f61f
Version Packages ( #1036 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-05 13:57:21 -07:00
Fred K. Schott
8cf0e65a8b
Revert "Version Packages ( #1011 )"
...
This reverts commit 7f14ea6e38
.
2021-08-05 13:54:23 -07:00
github-actions[bot]
7f14ea6e38
Version Packages ( #1011 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-05 13:42:36 -07:00
Jonathan Neal
c7aca2c9b2
Reduce meta viewport tag ( #1006 )
2021-08-04 08:30:58 -04:00
github-actions[bot]
ba70f5c937
Version Packages ( #1002 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-03 17:03:28 -04:00
github-actions[bot]
57b736211a
Version Packages ( #999 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-03 15:17:37 -04:00
github-actions[bot]
9cf7ca1029
Version Packages ( #951 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-03 10:49:20 -04:00
Maksim Markelov
8464a441f1
Fix portfolio example ( #987 )
2021-08-03 08:19:34 -04:00
Maciej Palmowski
01d72bc27a
Fixes throwing 404 ( #894 )
...
* Fixes throwing 404
* Update index.css
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-30 23:16:36 -07:00
Fred K. Schott
758f172708
fix styling URL link
2021-07-30 22:43:03 -07:00
Rubens de Melo
6300c88cac
fix styling guide ( #961 )
...
* fix styling guide
fix styling guide
* remove /docs
remove /docs
2021-07-30 22:39:59 -07:00
github-actions[bot]
001594faa0
Version Packages ( #940 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-30 10:19:00 -04:00
github-actions[bot]
3f167c13cc
Version Packages ( #923 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28 16:03:39 -04:00
github-actions[bot]
5387b5256c
Version Packages ( #922 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28 15:49:06 -04:00
github-actions[bot]
b4f7888be3
Version Packages ( #912 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28 14:37:29 -04:00
github-actions[bot]
239c7b1668
Version Packages ( #887 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-27 16:10:47 -04:00
github-actions[bot]
509c69627b
Version Packages ( #882 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-27 12:41:42 -04:00
github-actions[bot]
0ed1817d7a
Version Packages (next) ( #865 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-27 09:27:02 -04:00
Rahul Sharma
80d7415807
Added undefined check for spread props ( #832 )
...
* husky setup added
* pre-commit script updated
* Revert "Feat/pre commit"
* spread issue fixed #522
* testcase added
* spread issue fixed #522
* testcase added
2021-07-27 08:56:46 -04:00
Michael Stramel
4591c1f5ad
Add an alt tag for the hero image in the blog example ( #868 )
...
* Add an alt tag for the hero image
* pass along
* Create heavy-pumas-cross.md
2021-07-27 08:48:14 -04:00
Fred K. Schott
60a2755c0a
some docs site polish ( #853 )
...
* some docs polish
* attempt to fix theme toggle
2021-07-26 13:41:32 -07:00
github-actions[bot]
31c24778aa
Version Packages (next) ( #859 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-26 11:19:41 -04:00
github-actions[bot]
b863c05ae6
Version Packages (next) ( #845 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-24 16:02:25 -07:00
Fred K. Schott
d05fa19dda
fix a bad change to example astro versions
2021-07-24 15:53:12 -07:00
FredKSchott
9b5f553ddd
[ci] yarn format
2021-07-24 15:47:31 +00:00
Lukas Murdock
d3b535a338
Remove components from example md file ( #831 )
2021-07-24 08:46:21 -07:00
Fred K. Schott
353bc89f65
fix next framework example versions
2021-07-22 21:43:31 -07:00
Fred K. Schott
d48db7f284
update deps ( #826 )
2021-07-22 15:29:32 -07:00
Fred K. Schott
b0c0b95a4e
fix example astro versions
2021-07-22 08:57:29 -07:00
Fred K. Schott
e58a04e4ee
fix example astro versions
2021-07-22 08:56:38 -07:00
github-actions[bot]
9af0d85e9e
Version Packages (next) ( #810 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 22:18:43 -05:00
Fred K. Schott
e31e276781
get build-all passing ( #795 )
2021-07-21 17:39:14 -07:00
github-actions[bot]
8f17217e02
Version Packages (next) ( #796 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 18:12:11 -05:00
natemoo-re
561cbee68f
[ci] yarn format
2021-07-21 23:11:40 +00:00
Nate Moore
bd18e14a2c
Expose JSX compilation to renderers ( #588 )
...
* feat: add support for `jsxImportSource`, new JSX transform
* Renderer: add Solid renderer (#667 )
* feat: add support for `jsxImportSource`, new JSX transform
* WIP: solid renderer
* [Renderer] Solid (#656 )
* feat: add support for `jsxImportSource`, new JSX transform
* WIP: solid renderer
* Solid renderer: fix SSR of children, hydration (top level)
Caveat: cannot hydrate children/descendants of hydrated parents
* Fix hydration of fragments
* fix: SyntaxError in React/Preact renderers
* fix: errors in React/Preact renderers
* feat: update react external
* chore: update examples
* chore: delete old changelog
* chore: update astro config
Co-authored-by: Nate Moore <nate@skypack.dev>
* Changing the preact to Solid (#669 )
* chore: use new client:visible syntax
* fix: dev script issue
* chore: cleanup SolidJS example
* docs: update framework example docs
* chore: cleanup framework-multiple example
* fix: remove SolidJS false-positives from Preact renderer
* chore: add changeset
Co-authored-by: eyelidlessness <eyelidlessness@users.noreply.github.com>
Co-authored-by: Abdullah Mzaien <s201540830@kfupm.edu.sa>
* feat(create-astro): add Solid support
* docs: add JSX options to renderer reference
* chore: add changeset for P/React renderers
* fix: move react/server.js to external
* chore: remove brewfile
* Revert "feat: add support for `jsxImportSource`, new JSX transform"
This reverts commit 077c4bfc135c58a85d4ebfca6012e90403694d8d.
* fix: remove `react-dom/server` from `external`
* chore: remove unused dependency
* feat: improve JSX error messages
* Revert "Revert "feat: add support for `jsxImportSource`, new JSX transform""
This reverts commit f6c2896b9ec6430611fc0abae7d586c42aca87e5.
* docs: update jsxImportSource
* feat: improve error message
* feat: improve error logging for JSX renderers
* tests: add jsx-runtime tests
* chore: update snowpack
Co-authored-by: eyelidlessness <eyelidlessness@users.noreply.github.com>
Co-authored-by: Abdullah Mzaien <s201540830@kfupm.edu.sa>
2021-07-21 18:10:03 -05:00
github-actions[bot]
ac64d198e4
Version Packages (next) ( #794 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 08:18:13 -07:00
Fred K. Schott
5f922221ba
Revert "Version Packages (next) ( #692 )"
...
This reverts commit 790bd89ead
.
2021-07-21 08:12:32 -07:00
github-actions[bot]
790bd89ead
Version Packages (next) ( #692 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-21 07:57:51 -07:00
Fred K. Schott
f67e8f5f55
New Collections API ( #703 )
...
* updated createCollection API
* Update examples/portfolio/src/pages/projects.astro
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
* Update docs/reference/api-reference.md
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
* fix(docs): collection doc typos (#758 )
* keep cleaning up docs and adding tests
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
Co-authored-by: Mark Pinero <markspinero@gmail.com>
2021-07-21 07:11:57 -07:00
Kyosuke
5fcd466d95
replace npm run start
with npm start
( #791 )
2021-07-21 07:09:44 -07:00
Caleb Jasik
8eeb6b4fe8
Docs: npm@7 requires an extra --
for arguments passed to the command, per @natemoo-re's description. ( #786 )
2021-07-20 20:06:11 -05:00
FredKSchott
50f82e1a53
[ci] yarn format
2021-07-20 04:07:49 +00:00
Fred K. Schott
a7e66666e4
tsconfig fix ( #752 )
2021-07-19 18:23:39 -07:00
Nate Moore
325e8cba2d
Improve docs theme ( #717 )
...
* Revert "Revert "New getting started guide (#715 )""
This reverts commit dc4ba25b01
.
* style: update docs theme
* style: implement feedback
* feat: remove FOUC
* Update docs/src/pages/404.astro
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
* Fix 404 title prop
* chore: implement feedback
* fix: ul, ol styles
* fix: center logo on mobile
* fix: improve navbar header contrast
* fix: improve logo overlap
* fix: `.nav-link` radius
* fix: small mobile tweaks
* feat: improve nav styles
* feat: improve embed styles
* fix: feedback items
* fix: make header sticky on mobile
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
2021-07-19 19:36:09 -05:00
Mats
f33c775b93
changed init example to correct template name ( #744 )
...
The correct template name is "with-tailwindcss"
2021-07-18 17:24:21 -05:00
Guilherme Siquinelli
35f7b474a1
fix: fixes prop href of author component in example blog, was url ( #734 )
2021-07-18 00:54:31 -05:00
Caleb Jasik
304e1c65e6
Fix githubEditUrl variable in examples/docs
2021-07-16 17:54:50 -05:00
Fred K. Schott
ea27663f92
New getting started guide
2021-07-16 13:39:59 -04:00
Fred K. Schott
dc4ba25b01
Revert "New getting started guide ( #715 )"
...
This reverts commit 2827f077ba
.
2021-07-16 13:39:48 -04:00
Fred K. Schott
2827f077ba
New getting started guide ( #715 )
...
* New getting started guide
* style: small style tweaks
* style: theme updates
* chore: add redirect
* style: theme tweaks
* fix: clamp logo height
* style: fix sidebar width
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-07-16 11:57:07 -05:00
Caleb Jasik
6d06fce6d2
Update docs in compiler messages ( #710 )
...
* `github.com/snowpackjs/astro/blob/main/docs/*.md` -> `docs.astro.build/*/`
* convert links to docs site links
* Fix broken links that didn't work w/ the regex.
* Add changeset
* Delete five-weeks-destroy.md
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-16 07:01:31 -04:00
github-actions[bot]
8e87d5da4c
Version Packages (next) ( #678 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-13 11:21:58 -04:00
Fred K. Schott
783db7b3a0
Merge branch 'improve-lighthouse'
2021-07-13 11:04:27 -04:00
Fred K. Schott
4b1f5c3dc6
code review comments
2021-07-13 10:57:40 -04:00
github-actions[bot]
a22a601e9f
Version Packages (next) ( #663 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-13 08:31:28 -04:00
matthewp
59f6792b00
[ci] yarn format
2021-07-13 12:28:50 +00:00
Matthew Phillips
48851c9d25
Adds support for a Lit renderer ( #665 )
...
* Adds support for a Lit renderer
This adds `@astrojs/renderer-lit`. An experimental Lit renderer.
* Removed cached submodule, mistake
* Prevent globals clobbering
* Add docs on globals
2021-07-13 08:27:40 -04:00
Shreesh Bhat
3f14bed413
Add lang attribute to html tags
2021-07-13 00:49:13 -04:00
github-actions[bot]
23dcc649fe
Version Packages ( #646 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-12 11:19:29 -04:00
outcastgeek
c48acb3d84
Missing firstPage
( #658 )
2021-07-11 14:05:19 -05:00
github-actions[bot]
e70d9508d9
Version Packages ( #639 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-09 09:32:15 -04:00
github-actions[bot]
b2428b3999
Version Packages ( #632 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-08 14:14:55 -04:00
Tony Sullivan
0a7b6deaec
Move hydration directives to special attributes ( #618 )
...
* feat: ♻️ updating hydration to work with the directive syntax
* test: ✅ Updating tests for the hydration directive syntax
* refactor: Updating example projects for the hydration directive syntax
* test: ✅ Found a test fixture still needing an update to the hydration directive syntax
* style: Prettier strikes again! Reverting code formatting changes
* refactor: ♻️ moving directive matching to a Set
* refactor: Updating syntax to `client:load`
* refactor: ♻️ Simplifying the `client:` directive match
Per PR feedback from @matthewp
* chore: errant console.warn() snuck into the last commit
* feat: 🔊 Adding a super fancy build warning to update to the directive syntax
* refactor: ♻️ Removing unnecessary checks when matching supported hydration directives
`val` isn't being used for now, but leaving it in the attr destructuring as a reminder since it'll be needed for `client:media`
* test: ✅ Including the original hydration syntax in a test to make sure it builds
* style: 📝 Adding a comment to make it clear why the old hydration syntax is included in a the test markup
* fix: 🐛 updating `head` logic to recognize hydration directive syntax
* docs: Adding changeset
* refactor: 🔥 Removing unnecessary `!hasComponents` check
* docs: 📝 Adding more detail to the changset
Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
2021-07-08 14:07:56 -04:00
Jim Nielsen
f841d57d2a
fix: sorting key for blog posts ( #629 )
...
The posts use a `publishDate` key, not a `date` key, so this wasn't sorting on anything.
2021-07-08 10:55:23 -05:00
github-actions[bot]
2d1998647c
Version Packages ( #626 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-07 20:34:17 -04:00
github-actions[bot]
97d5a2ba18
Version Packages ( #622 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-07 16:36:13 -05:00
Nate Moore
bcf715df7a
chore: update starter with magic comments
2021-07-07 15:46:02 -05:00
Nate Moore
5d5d67c8f9
Add framework-specific prompt and setup to create-astro
( #620 )
...
* feat(create-astro): add framework-specific prompt and setup
* chore: normalize example `astro.config.mjs` files
2021-07-07 14:52:44 -05:00
github-actions[bot]
2ab625bee8
Version Packages ( #602 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 16:30:52 -04:00
github-actions[bot]
816797e350
Version Packages ( #597 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 15:06:18 -05:00
Pavel Mineev
d3969436dc
Remark and rehype plugins ( #562 )
...
* remark plugins
* remove unused dependency
* enable codeblocks
* backward compatibility with remark-code-titles
* add support for rehype plugins
* add proper types for plugins
* fixes after review
- connect plugins by name
- make plugins configurable
- connect gfm and footnotes if no plugins provided from config
- add more plugins to example
* update and rename example
* add documentation for markdown plugins
* chore: rename with-markdown-plugins example
* chore: restructure dependencies
* feat: add back smartypants, fix mdx expressions
* chore: remove log
* test: add markdown plugin tests
* chore: add changeset
* docs: update markdown doc
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-07-01 11:55:22 -05:00
github-actions[bot]
e773771b91
Version Packages ( #596 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 10:57:09 -04:00
github-actions[bot]
0de30ef01a
Version Packages ( #593 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-01 08:45:35 -04:00
Fred K. Schott
67ef02534f
update example readmes ( #591 )
...
* update example readmes
* Update README.md
2021-07-01 08:43:25 -04:00
Fred K. Schott
8f74b3bdbb
update example astro inline docs ( #592 )
2021-07-01 08:43:02 -04:00
github-actions[bot]
81ea010906
Version Packages ( #589 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-30 10:03:52 -04:00
github-actions[bot]
e4fe7c0d02
Version Packages ( #567 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-29 16:46:41 -04:00
Nate Moore
f721275f33
Fix <Markdown {content} />
closing parent tag ( #575 )
...
* test(#494 ): add failing test
* chore: update with-markdown example
* fix(#494 ): avoid early close with <Markdown content />
* chore: add changeset
2021-06-29 15:33:56 -05:00
Nate Moore
42a6ceb587
Fix changesets action ( #576 )
...
* chore: move examples to `@example/`, normalize `package.json`
* chore: update lockfile
* chore: add empty changeset
2021-06-29 11:05:33 -05:00
FredKSchott
b580f5a592
[ci] yarn format
2021-06-28 22:30:35 +00:00
Fred K. Schott
5591d4eb9f
update the blog example ( #565 )
2021-06-28 15:29:16 -07:00
Nate Moore
7063c04dec
Restructure examples ( #568 )
...
* rename kitchen sink, pull out react example
* split out the rest of the examples
* align versions
* chore: rename examples
* chore: normalize gitignore
* chore: update package versions
* chore: move framework examples to `framework` namespace
* docs: add README to examples
Co-authored-by: Austin Crim <crim.austin@principal.com>
2021-06-28 10:46:10 -05:00
Brian Hinton
0c6edf1fe0
bug: changed initialization order of the author ( #563 )
2021-06-28 07:23:18 -05:00
natemoo-re
3c4e6c5913
[ci] yarn format
2021-06-28 12:04:07 +00:00
Austin Crim
3c26035f53
Split out specific framework examples ( #559 )
...
* rename kitchen sink, pull out react example
* split out the rest of the examples
* align versions
Co-authored-by: Austin Crim <crim.austin@principal.com>
2021-06-28 07:02:59 -05:00
github-actions[bot]
f3e005de6f
Version Packages ( #548 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-25 15:14:04 -04:00
github-actions[bot]
91e11aee2a
Version Packages ( #543 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-25 09:51:28 -04:00
Nate Moore
a136c85e6b
New Props API ( #515 )
...
* wip: update props api
* feat(#139 , #309 ): enable new props api
* chore: migrate examples to new props API
* docs: update syntax guide for new props API
* chore: update examples to new props API
* chore: update docs to new Props API
* fix: hide __astroInternal from `Astro.props` consumers
* chore: remove scratchpad file
* chore: fix script error
* test: fix failing collection tests
* fix: set __astroInternal to `enumerable: false`
* chore: add changeset
* feat: warn users using old props api
2021-06-24 17:48:24 -05:00
natemoo-re
02ecaf3d33
[ci] yarn format
2021-06-24 22:40:29 +00:00
Agustin Mulet
81c01d121f
Added example of Astro usage with nanostores ( #539 )
...
* Adding astro-nanostores example
* Changed package name and removed lock file
2021-06-24 17:39:17 -05:00
duncanhealy
a89a52b1cd
force pnpm to hoist packages inside astro #342 #190 ( #530 )
...
* force pnpm to hoist packages inside astro #342 #190
* Add changeset for hoisted packages #342
2021-06-24 09:48:25 -04:00
github-actions[bot]
537f11c511
Version Packages ( #517 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-23 16:37:48 -04:00
github-actions[bot]
16724f93e3
Version Packages ( #513 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-22 15:01:33 -04:00
github-actions[bot]
8b69c2d406
Version Packages ( #484 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-21 15:38:41 -04:00
Laura Caroline
1f6fe888db
Fix sidebar scrolling docs ( #499 )
...
* Allow scrolling for side bar + scroll bar styling
* Add tentative of styling for firefox
2021-06-21 08:45:11 -04:00
Laura Caroline
348babc660
Fix horizontal scroll for starter template. ( #498 )
2021-06-18 16:51:47 -07:00
Kitto Khrangtong
24b360cb17
fix: keyboard unable to target theme switcher ( #488 )
2021-06-17 16:05:22 -04:00
matthewp
eba4d81bf3
[ci] yarn format
2021-06-16 21:27:36 +00:00
github-actions[bot]
11eda869dc
Version Packages ( #470 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-16 17:26:15 -04:00
Brian Hinton
e711668556
Improvement/accessibility blog example ( #475 )
...
* improvements: updated heading tag order, removed repeat alt values, added aria-labels
* chore: added changeset
2021-06-16 17:19:23 -04:00
github-actions[bot]
382868abfc
Version Packages ( #466 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-16 14:12:05 -04:00
github-actions[bot]
c0804fc8cd
Version Packages ( #450 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-16 08:41:21 -04:00
Jeffrey Jose
2462ece7a6
Add .svelte to the tailwind config ( #444 )
...
Add .svelte files to tailwind config so that svelte components can use tailwind classes.
2021-06-15 12:51:42 -04:00
github-actions[bot]
28c2d74dc3
Version Packages ( #446 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-15 08:25:29 -04:00
matthewp
47e3ddc665
[ci] yarn format
2021-06-14 20:14:03 +00:00
github-actions[bot]
5222460719
Version Packages ( #431 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-14 16:12:55 -04:00
matthewp
b49ca27b06
[ci] yarn format
2021-06-14 19:47:05 +00:00
Fred K. Schott
1437b42038
fix some example docs site issues ( #434 )
2021-06-14 15:45:33 -04:00
github-actions[bot]
3d3d4cfe0b
Version Packages ( #428 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-14 13:28:40 -04:00
github-actions[bot]
5602aabfe0
Version Packages ( #425 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-14 12:54:33 -04:00
github-actions[bot]
0ef0c99b10
Version Packages ( #418 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-14 08:43:03 -04:00
github-actions[bot]
416e8484b5
Version Packages ( #402 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-12 11:36:31 -07:00
duncanhealy
2d7abd3ab4
config: add snowpack workspace root to starter ( #399 )
2021-06-12 00:05:53 +01:00
Drew Powers
9d3cd49410
Improve templates test ( #377 )
2021-06-11 15:07:30 -06:00
github-actions[bot]
e7eab4e9d9
Version Packages ( #386 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-11 16:24:07 -04:00
matthewp
68c6bc7d76
[ci] yarn format
2021-06-11 19:56:31 +00:00
Laura Caroline
348d829e94
Fix/issue #385 ( #392 )
...
* Apply favicon to the docs template
* Fix Sidebar category headers aren't clickable
Fixes #385
* Improve Docs example documentation
* Fix Documentation List on getting started page
2021-06-11 15:55:13 -04:00
github-actions[bot]
6eacdbae42
Version Packages ( #381 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-11 09:15:16 -04:00
Matthew Phillips
1bab906539
Remove second snowpack instance ( #368 )
...
* Remove second snowpack instance
* Document import.meta.env.SSR
* Remove unnecessary Promise.all
2021-06-11 09:03:22 -04:00
Drew Powers
a660e49f80
Add integration test for templates ( #372 )
2021-06-10 10:30:48 -06:00
Fred K. Schott
bad8b32df7
update discord link
2021-06-08 14:00:13 -07:00
Matthew Phillips
9ca9b4e69a
Give the blog template a default site
( #338 )
...
Not having this causes it to throw in the build
2021-06-08 14:13:13 -04:00
github-actions[bot]
3c71fad17d
Version Packages ( #337 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-08 13:56:29 -04:00
Fred K. Schott
6bca7c83a7
redesign create-astro ( #301 )
...
* redesign create astro
* add changeset
* Use npm start
* Update the astro version
* Adds the changeset
Co-authored-by: Fred Schott <fks@Freds-MBP.attlocal.net>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2021-06-08 11:10:56 -04:00
github-actions[bot]
6018769c5c
Version Packages ( #330 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-08 09:46:48 -04:00
github-actions[bot]
68f6e2c5a3
Version Packages ( #328 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-08 09:19:24 -04:00
github-actions[bot]
2db08436e6
Version Packages ( #325 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-08 09:00:07 -04:00
github-actions[bot]
9cf83338cd
Version Packages ( #323 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-07 17:28:26 -04:00
github-actions[bot]
d90f3fc540
Version Packages ( #318 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-07 16:52:22 -04:00
github-actions[bot]
15a5601591
Version Packages ( #299 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-05 10:23:45 -05:00
github-actions[bot]
c6d3456968
Version Packages ( #298 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-04 16:55:19 -04:00
github-actions[bot]
7b900d8673
Version Packages ( #295 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-04 14:28:14 -04:00
github-actions[bot]
6074771564
Version Packages ( #291 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-02 13:51:43 -04:00
github-actions[bot]
436a016408
Version Packages ( #285 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-02 12:49:05 -04:00
Nate Moore
94eac19888
Pre-release refactors ( #289 )
...
* refactor: expose `astro/components` as component entrypoint
* refactor: remove `extensions` from all configs
* test: fix snowpack tests
* docs: update config doc
2021-06-02 11:35:28 -05:00
Nate Moore
ffb6380c3f
Dynamic Markdown content ( #273 )
...
* wip: serverside render dynamic Markdown content
* docs: update Markdown.astro comments
* Use existing markdown infrastructure to render external MD
* Update Markdown docs
* Add a changeset
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2021-06-02 11:53:33 -04:00
Drew Powers
addd67d244
Change astroRoot to pages ( #277 )
...
#271
2021-06-01 09:57:12 -06:00
github-actions[bot]
44d0adc000
Version Packages (next) ( #280 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-29 08:32:29 -05:00
github-actions[bot]
092d201aee
Version Packages (next) ( #227 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-28 18:25:36 -05:00
Drew Powers
a0055bd985
Create astro fixes ( #267 )
...
* Remove create-astro from workspace
* Improve contrast ratio
* Swap blank template for blog template
* Remove counter components from blog template
* Use `latest` astro version
2021-05-28 10:06:22 -06:00
matthewp
c711681cb6
[ci] yarn format
2021-05-27 17:55:41 +00:00
Matthew Phillips
dd7cc798e0
Fix codeblocks in markdown components ( #264 )
...
* Fix codeblocks in markdown components
* Debugging
* More debugging
* remove extra debugging stuff
2021-05-27 13:54:38 -04:00
natemoo-re
a5782a37c8
[ci] yarn format
2021-05-27 14:17:27 +00:00
Nate Moore
5247a23cbe
Example: Docs template ( #226 )
...
* fix: markdown issues
* wip: add docs example
* example: update doc template
* chore: credit Steph for AvatarList
* chore: align footer to bottom viewport
* chore: feeback R1
* fix: font fallback in firefox
* fix merge conflicts
* fix: add default value to headers
* chore: fix doc example
2021-05-27 09:16:14 -05:00
Nate Moore
643c880f28
Renderer plugins ( #231 )
...
* refactor: pluggable renderers
* refactor: cache renderer per component
* docs: update comments on snowpack plugin `transform` method
* docs: add comments to renderer plugins
* refactor: convert components to Map
* fix: pass children through to astro __render
* refactor: move Components/ComponentInfo to shared types
* refactor: remove `gatherRuntimes` step, just scan output for imports
* refactor: update isComponentTag logic
* chore: move dependencies to renderers
* fix: cross-platform transform injection
* feat: defer renderer to react, fallback to preact
* fix: use double quotes in generated script
* test: fix failing children tests
* test: add workspaceRoot to all tests
* fix: pass props to renderer check
* chore: add test:core script back for convenience
* chore: remove unused external
* chore: rename renderers
* chore: add astring, estree-util-value-to-estree
* chore: render-component => __astro_component
* refactor: split hydrate logic to own file
* refactor: use `astro-fragment` rather than `div`
* chore: remove unused hooks
* chore: delete unused file
* chore: add changesets
* fix: Astro renderer should be async
* fix: remove <astro-fragment> for static content
* test: fix failing test
* chore: normalize config interface
* feat: allow renderers to inject a snowpackPlugin
* fix: resolve import URL before using dynamic import
* refactor: update renderers to use separate /server entrypoint
* refactor: update server renderer interface
* fix: get renderers working again
* test: debug failing test
* test: better debug
* test: better debug
* test: remove debug
* fix: support esm and cjs packages via "resolve"
* refactor: split hydrate functions into individual files
* fix: dependency resolution relative to projectRoot
* fix: @snowpack/plugin-postcss needs to be hoisted
* fix: do not test prettier-plugin-astro as it's not ready for primetime
2021-05-26 13:30:22 -05:00
Matthew Phillips
ac43faf85f
Release
2021-05-24 16:32:10 -04:00
Matthew Phillips
2ff2533c9e
Fix markdown syntax issues ( #234 )
...
This fixes #233 among other things
2021-05-24 16:00:34 -04:00
Drew Powers
c9942c2878
Revert stylegen ( #228 )
2021-05-21 14:55:25 -06:00
Drew Powers
19e20f2c54
Add Tailwind support to Astro Dev Server ( #222 )
...
* Improve PostCSS and Tailwind support
* Update styling docs
* Changelog
* Fix test hanging
2021-05-21 14:02:19 -06:00
Drew Powers
d6cedac38e
Improve blog template ( #217 )
2021-05-17 17:45:41 -05:00
Nate Moore
512670bedd
chore: release v0.10.0
2021-05-17 10:20:15 -05:00
Nate Moore
73bab5e385
chore: version packages
2021-05-17 09:40:51 -05:00
github-actions[bot]
971c58da4d
Version Packages ( #213 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-17 09:31:37 -05:00
natemoo-re
a2ae7018ca
[ci] yarn format
2021-05-17 14:30:21 +00:00
Nate Moore
b3886c206f
Fix markdown issues ( #208 )
...
* Init fix/markdown
* Astro Markdown (#207 )
* Add Astro Markdown to VSCode Extension
* Add Astro Markdown to Astro
* refactor: update astro-markdown example
* feat: remove embedded components from `.md` files
* fix: resolve `.md.astro` files at runtime
* chore: update markdown tests
* feat: add <Markdown> component
* chore: bump examples
* chore: update example
* fix: improve Markdown child handling
* feat: harden markdown support, add code fence support, add automatic dedenting
* chore: add weird markdown edge cases
* chore: update remote-markdown examples
* chore: add comment to Markdown.astro
* feat: improve markdown support (codefences, nested inside HTML)
* refactor: extract import specifier types to set
* refactor: conditionally import markdown renderer
* refactor: revert special-cased "astro/components"
* refactor: revert special-cased "astro/components"
* refactor: use astro/components/Markdown.astro
* refactor: remove `.md.astro` support in favor of Markdown component
* refactor: use regular .astro files
* refactor: remove unused code
* refactor: move Markdown inside Layout
* wip: markdown scoped styles
* feat: improve scoped styles in Markdown
* feat: micromark => remark ecosystem
* fix: markdown build
* fix: markdown build
* chore: add todo
* fix: collect headers text
* docs: add Markdown doc
* chore: add changeset
* docs: improve Markdown highlighting
* refactor: prefer Set
* refactor: exclude large unified deps
* docs: update markdown docs
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
* chore: remove extra markdown deps
* perf: optimize markdown
* fix: unified/rehype deps
* temp: fix markdown test
* test: add TODO comment
* fix: do not namespace frontmatter, just astro metadata
* test: fix astro-markdown test
* test: add realworld markdown example
* fix: prism language bug
* docs: update markdown docs
* chore: bump dependencies
* fix: escape codespan
* fix: unterminated string literal
* fix(vscode): inline dependencies
* fix(vscode): dependencies
* feat(vscode): embedded markdown
* feat: add Markdown syntax highlighting
* chore: improve markdown example
* fix: markdown example
* feat: highlighting improvements
* chore: add changeset
* fix: CodeBlock => CodeSpan
* chore: get astro-markdown example running
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-05-17 09:29:16 -05:00
github-actions[bot]
a9f63c5c0c
Version Packages ( #195 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-05-13 12:28:04 -05:00
Drew Powers
7184149514
Add Astro.request.canonicalURL and Astro.site to global ( #199 )
2021-05-11 17:31:52 -06:00
Drew Powers
d2eb413a6e
Fix portfolio example ( #196 )
2021-05-11 10:40:04 -06:00
Drew Powers
820012ea16
Improve Snowpack docs styling ( #180 )
2021-05-07 10:38:38 -06:00
Drew Powers
b81abd5b2c
Add CSS bundling ( #172 )
...
* Add CSS bundling
* Add Changeset
* Update build script
* Count better
* Fix stats
* Cleanup
* Add test
* Show profile ms under 750ms
2021-05-06 10:38:53 -06:00
Nate Moore
9ed19317c6
chore: version packages
2021-05-04 17:16:23 -05:00
Nate Moore
3ad0aac8cf
Fix fetchContent
for nested files ( #171 )
...
* fix: fetchContent within nested folders
* feat: add `sourceId` to fetchContent
* test: update collection tests
* fix: windows compat for importPath
* chore: add changeset
* fix: astroRoot => projectRoot
* feat: add `slash` package
* chore: remove sourceId prop
* chore: update changeset
* format
2021-05-04 17:11:05 -05:00
Nate Moore
ac0bc88ae9
chore: version packages
2021-05-04 12:20:50 -05:00
Drew Powers
94038d3297
Format ( #167 )
2021-05-03 12:26:10 -06:00
Nate Moore
ed631329e7
create-astro
UI (#164 )
...
* refactor: improve create-astro layout, build script
* feat(create-astro): v0.1.0
* docs(create-astro): add README
* feat(create-astro): add meta files to starter templates
2021-05-03 12:15:13 -05:00
Nate Moore
4df1347156
Migrate to yarn
monorepo ( #157 )
...
* 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
Drew Powers
f39a91e6ec
Add portfolio example ( #140 )
...
* Add portfolio example
* Feedback
2021-04-30 10:35:20 -06:00
Nate Moore
509fad6b9a
Fix Svelte bundled behavior ( #151 )
...
* build: add svelte to dynamic component imports
* fix: svelte bundling
* fix: ensure svelte runtime is bundled with build
* fix: svelte runtime in dev mode
* fix: include svelte runtime in imports
Co-authored-by: Duncan Healy <duncan.healy@gmail.com>
2021-04-30 09:35:18 -05:00
duncanhealy
787ba306cc
example blog add buildoptions ( #142 )
...
* examples: add astroRoot to blog example
* example: add astro config for `npm run build` #141
2021-04-29 11:28:33 +01:00
Nate Moore
61ccd59f92
Minimal create-astro
CLI ( #136 )
...
* feat: add minimal create-astro CLI
* docs: update readme
2021-04-27 15:59:23 -05:00
Nate Moore
9c980a1017
add starter template ( #135 )
2021-04-27 14:21:33 -05:00
Nate Moore
dea1a6dfc9
Update defaults directory structure to src
and dist
( #132 )
...
* chore: update defaults in docs
* chore: update config defaults
* test: update tests to config defaults
* chore: update gitignore to new defaults
* docs: update readme to new defaults
* chore: update examples to new defaults
* chore: update default exclude in lang server
* chore: update tests
* test: fix failing tests
* chore: update www defaults
2021-04-26 15:54:20 -06:00
Matthew Phillips
0ea4a986e2
Support 500 pages in the dev server ( #131 )
...
* Support 500 pages
* Document custom 400/500 pages
* Remove search from any pages not the 500 page
* fix(kitchen-sink): add snowpack.config.js
* fix(examples): add snowpack.config.js
* style: redesign built-in 500 page
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-04-26 16:42:11 -04:00
Nate Moore
87af0aead8
First Pass at LSP ( #129 )
...
* feat(lsp): add HTML features to LSP
* chore: add language server license
* feat(lsp): add folding ranges, scaffold TS features
* feat(lsp): TypeScript Language Service setup
* refactor(lsp): cleanup typescript completion providr
* chore: format
* chore: cleanup eslint
* fix: license
* chore: remove comment
* chore: add marketplace info
* chore: publish
2021-04-23 17:53:01 -05:00
Matthew Phillips
62ddea7bb7
Support the /404 route in the dev server ( #128 )
...
* Support the /404 route in the dev server
* Fix status code
* Formatting
2021-04-23 15:20:19 -04:00
Drew Powers
510e7920d2
Add RSS generation ( #123 )
2021-04-23 10:44:41 -06:00