Matthew Phillips
522c873813
Don't pass through generic args to build ( #322 )
...
* Don't pass through generic args to build
* Adding a changeset
2021-06-07 17:27:11 -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
Matthew Phillips
5cc90f9dc1
Move parser to the scoped package name ( #319 )
...
* Move parser to the scoped package name
* Prettier plugin should use 0.12 of the parser
2021-06-07 16:05:13 -04:00
Nate Moore
cc532cddde
Fix Tailwind resolution ( #314 )
...
* fix: properly resolve tailwind postcss plugin
* chore: add changeset
* chore: update @snowpack/plugin-postcss
2021-06-07 15:04:07 -05:00
Matthew Phillips
b1364afbae
Prevent duplicate snowpack logs ( #316 )
...
* Prevent duplicate snowpack logs
* Fix test to wait on expected messages
* Update the snowpack/plugin-vue
* Add changeset
* Debugging
* Skip the logging test on windows :(
* arg
2021-06-07 14:24:55 -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
Nate Moore
0d6afaee9e
fix: Markdown
usage when deeply nested on a page ( #303 )
...
* fix: Markdown component deeply nested on a page
* chore: add changeset
2021-06-05 10:18:26 -05:00
Matthew Phillips
1d930ffdf4
Add verbose and reload commands ( #297 )
...
* Add verbose and reload commands
* Adds docs
* Adds a changeset
* Update witty-colts-fix.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-06-04 16:38:01 -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
Matthew Phillips
fe6a985d56
Use dist in specifier when importing internal stuff ( #296 )
...
* Use dist in specifier when importing internal stuff
* Added the changeset
2021-06-04 16:53:31 -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
Matthew Phillips
50e6f491ad
Use npm package names to load internal deps ( #294 )
...
* Use npm package names to load internal deps
This is necessary so that published Astro components work. These components will be built by esinstall and therefore they cannot rely on `_astro_internal`. The fix is to use npm specifiers everywhere.
* Move most of frontend to internal
* Mark astro/internal/markdown.js as external
* Move markdown stuff to its own package
This moves the markdown stuff to its own package so that we can externalize it in the markdown component.
* Add the changeset
2021-06-04 14:19:01 -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
Matthew Phillips
6de740d62f
Fix starter template's Tour component ( #290 )
...
* Fix starter template's Tour component
This component had an extra backtick and also didn't import the Markdown component.
* Add a changeset
2021-06-02 13:50:16 -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
matthewp
b4cc8b096f
[ci] yarn format
2021-06-02 16:40:50 +00:00
Matthew Phillips
7cae48ab78
Exit out of pre mode
2021-06-02 12:39:44 -04: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
d2330a5825
Improve “file not found” error display ( #288 )
2021-06-02 09:53:24 -06:00
Matthew Phillips
46871d2d4a
Don't append a class attribute to the doctype ( #284 )
...
* Don't append a class attribute to the doctype
Fixes #282
* Add changeset
2021-06-01 20:03:38 -05:00
Nate Moore
c9d833ee0b
Fix prerelease bugs, reenable @astrojs/renderer-vue
( #286 )
...
* fix: add packages to external
* fix: improve renderer error message
* fix: reenable vue renderer
* chore: remove `extensions` from templates
* fix: reenable @astrojs/renderer-vue
* refactor: add types to snowpack plugin
* fix: update snowpack
* fix: use manual SSR wrapper for Svelte
* chore: add changesets
* chore: bump snowpack
* test: fix failing test
* chore: remove redundant entries
2021-06-01 18:41:08 -05:00
Drew Powers
addd67d244
Change astroRoot to pages ( #277 )
...
#271
2021-06-01 09:57:12 -06:00
natemoo-re
fad2662486
[ci] yarn format
2021-05-29 13:33:42 +00: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
Nate Moore
ce30bb0041
Temporarily disable @astrojs/renderer-vue
( #279 )
...
* chore: add package.json to externals
* fix: add missing packages to allowList
* fix: temporarily disable @astrojs/renderer-vue
* chore: add changeset
2021-05-29 08:30:32 -05:00
natemoo-re
45c508fa46
[ci] yarn format
2021-05-28 23:26:50 +00: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
Nate Moore
852ff05864
Enter prerelease ( #278 )
...
* chore: release vscode
* chore: move astro-languageserver deps to devDeps
* chore: enter pre
2021-05-28 18:23:05 -05:00
Nate Moore
3df41d2308
Bugbash! ( #263 )
...
* fix(vscode): Markdown frontmatter should use TSX, not YAML
* test: add test for #153
* chore: bump deps
* chore: update to use @astrojs scope
* fix: Markdown parse error when only child is `{expression}`
* fix: update renderer edge cases
* fix: failing test
* fix: update renderer
2021-05-28 17:19:40 -05:00
Nate Moore
3d20623c32
Fix falsy values ( #275 )
...
* fix(#274 ): improve attribute handling
* chore: add test for JSX expressions
* fix: falsy expressions should not render
* chore: add changeset
* test: update expression tests
* fix: render 0 if value is {0}
2021-05-28 17:02:04 -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
Drew Powers
b652da4b67
Bugfix: CLI selected item spacing ( #259 )
2021-05-27 17:50:58 -06:00
Nate Moore
8ff79981db
Enable HMR ( #260 )
...
* feat: enable HMR in `createSnowpack`
* feat: enable Snowpack's HMR
* chore: add changeset
* chore: remove unused file
* chore: add changeset
2021-05-27 09:55:23 -05:00
Nate Moore
0b7d453c99
chore: release create-astro@0.1.2
2021-05-26 18:35:29 -05:00
Drew Powers
75bfc019aa
Fix npm init astro for npm v7 ( #257 )
...
Fixes #183
2021-05-26 14:17:50 -06:00
natemoo-re
5fa7e354b3
[ci] yarn format
2021-05-26 18:31:27 +00: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
natemoo-re
8a375e66d2
[ci] yarn format
2021-05-25 22:18:12 +00:00
木杉
760a7a5509
Support skip install deps ( #242 )
...
* Support skip install deps
* fmt
* Create new-hats-deliver.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-05-25 17:16:49 -05:00
Matthew Phillips
ac43faf85f
Release
2021-05-24 16:32:10 -04:00
Drew Powers
c43ee95850
Bugfix: random CSS ordering ( #232 )
...
* Bugfix: random CSS ordering
Fixes #230
* Update docs
2021-05-24 10:57:35 -06:00
Nate Moore
9cdada0bcc
Markdown issue cleanup ( #224 )
...
* fix: markdown issues
* chore: add changeset
* chore: add missing dep
* perf: parallelize compileHtml for children
2021-05-21 15:52:20 -05: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
Nate Moore
c75bede6f5
chore: bump create-astro deps
2021-05-17 09:34:36 -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
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
Drew Powers
9d092b56c7
Fix Windows tests ( #212 )
...
* Fix Windows fetchContent()
* Fix Windows bundling & config loading
* Fix astro-prettier formatting for Windows
2021-05-14 12:03:41 -04: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
Matthew Phillips
06e2597dd9
Support for import suggestions in the languageserver ( #204 )
...
* Support for import suggestions in the languageserver
https://www.loom.com/share/21921be3ebd1403aa4aaa4f39587efdb
* Add the changeset
2021-05-13 11:26:40 -04:00
Nate Moore
000464bf35
Fix Svelte build output ( #201 )
...
* fix(#200 ): svelte build output
* chore: add changeset
2021-05-13 10:06:04 -05:00