matthewp
556b9e48e4
[ci] yarn format
2021-05-28 15:53:52 +00:00
Matthew Phillips
444e5a6807
Prevent <Markdown> blocks from locking up vscode extension ( #269 )
2021-05-28 11:52:27 -04:00
Drew Powers
f366520995
Improve Advanced Styling doc ( #268 )
2021-05-27 20:05:29 -06:00
Drew Powers
b652da4b67
Bugfix: CLI selected item spacing ( #259 )
2021-05-27 17:50:58 -06:00
Drew Powers
5292b08028
Make UVU tests time out ( #265 )
2021-05-27 14:06:54 -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
3dc141b868
[ci] yarn format
2021-05-27 14:56:28 +00: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
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
19dc517b87
chore: update lockfile
2021-05-27 09:13:17 -05:00
Nate Moore
dc1fe7d9c3
chore: cleanup deps ( #261 )
2021-05-27 08:10:14 -04:00
Nate Moore
191186af43
TEMP: skip create-astro tests
2021-05-26 18:52:53 -05:00
Nate Moore
9e7a1cbd7f
TEMP: remove react from create-astro
deps
2021-05-26 18:39:19 -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
Nate Moore
be804499b0
Remove remote urls from import scanner ( #256 )
...
* fix: remove remote urls from import scanner
* debug test
2021-05-26 14:56:34 -05:00
duncanhealy
5dc3aa007a
chore: update getting started config #245 ( #250 )
...
* chore: update getting started config #245
* chore: reorder renderers
2021-05-26 19:56:19 +01: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
duncanhealy
31e52c2e4c
[ci] yarn format
2021-05-26 17:28:31 +00:00
duncanhealy
653ee5ec07
documentation: post #231 merge renderers are a config option ( #249 )
...
* documentation: post #231 merge renderers are a config option
* Update docs/config.md to reorder
2021-05-26 18:27:26 +01:00
duncanhealy
622d1a38f1
fix: package for templates to latest version of astro #245 ( #248 )
2021-05-26 12:33:56 -04:00
matthewp
36fc51c124
[ci] yarn format
2021-05-26 15:33:35 +00:00
Matthew Phillips
da47225efe
Add benchmarking for dev and build ( #240 )
...
* Add benchmarking for the dev server
This adds benchmarking for the dev server.
* Use fs.rm instead
* Only rimraf if the folder exists
* Make uncached match CI
* Change the cached time too
* Don't run benchmark in CI
* Switch back test command
* Make tests be within 10 percent
* Use yarn to run multiple things
* Turn benchmark into uvu tests
* Debugging benchmark
* Print chunk for testing
* Ignore benchmark folder in uvu
* Add build benchmarking
* Update benchmark numbers
2021-05-26 11:31:53 -04: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
Drew Powers
f5ecbee192
Add test for npm init astro ( #238 )
...
* Add test for npm init astro
* Use Lerna to run test
2021-05-24 16:18:56 -06:00
matthewp
860a84d4f4
[ci] yarn format
2021-05-24 20:58:18 +00:00
Matthew Phillips
ffa45c5d2b
Add a contributing.md and explain how to do publishes. ( #237 )
2021-05-24 16:57:01 -04:00
ewatch
3d99045411
Fix invalid HTML code in Example 1 ( #236 )
...
Line 111 opened a headline with h5 but closed with h6.
Both are h5 tags now.
2021-05-24 16:53:39 -04: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
c43ee95850
Bugfix: random CSS ordering ( #232 )
...
* Bugfix: random CSS ordering
Fixes #230
* Update docs
2021-05-24 10:57:35 -06:00
Drew Powers
c9942c2878
Revert stylegen ( #228 )
2021-05-21 14:55:25 -06:00
natemoo-re
8b6b41eb85
[ci] yarn format
2021-05-21 20:53:47 +00: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
Drew Powers
69d693b77c
Add scoped styles test ( #223 )
2021-05-21 12:45:49 -06:00
matthewp
5c1f949953
[ci] yarn format
2021-05-20 19:15:34 +00:00
Matthew Phillips
4834c090f8
Support for Go to Definition in Astro components ( #220 )
...
* Start on css completion
* Support for CSS completions
* Adds support for Go to Definition in TypeScript in Astro
* Run formatting
* Add support for Astro component go to definition
* Formatting
* Jump directly to file where definition is found
2021-05-20 15:14:27 -04:00
Matthew Phillips
6ce068b838
Get definitions ( #219 )
...
* Start on css completion
* Support for CSS completions
* Adds support for Go to Definition in TypeScript in Astro
* Run formatting
2021-05-20 13:02:46 -04:00
Drew Powers
3da2b58b9d
Add dev server profile logs ( #218 )
2021-05-18 15:57:15 -05:00
木杉
cce8ac72e0
Make Astro compatible with Windows ( #215 )
2021-05-17 17:52:11 -05:00
Drew Powers
d6cedac38e
Improve blog template ( #217 )
2021-05-17 17:45:41 -05:00
Nate Moore
d8a78298f3
chore: add publish script to vscode ( #216 )
2021-05-17 13:29:51 -05:00
matthewp
86ed94e0c6
[ci] yarn format
2021-05-17 18:28:30 +00:00
Matthew Phillips
c3c96bf498
Adds CSS completions to VSCode extension ( #214 )
...
* Start on css completion
* Support for CSS completions
2021-05-17 14:27:24 -04:00
Nate Moore
27a7986a38
chore: remove shhhhh from README
2021-05-17 10:21:37 -05:00