Tony Sullivan
a934059a6e
adding vue hydration and HMR tests
2022-05-15 14:47:34 -06:00
Tony Sullivan
54e4ee2cd9
adding solid hydration and HMR tests
2022-05-15 14:47:34 -06:00
Tony Sullivan
2481a5a389
adding solid-js hydration and HMR tests
2022-05-15 14:47:34 -06:00
Tony Sullivan
08ae1c90db
adding svelte hydration and HMR tests
2022-05-15 14:47:34 -06:00
Tony Sullivan
91d802e73b
adding hydration and HMR tests for preact
2022-05-15 14:47:34 -06:00
Tony Sullivan
8e5f0d2bd1
adding react hydration and HMR tests
2022-05-15 14:47:34 -06:00
Tony Sullivan
aa2910030b
chore: updating lockfile
2022-05-15 11:51:30 -06:00
Tony Sullivan
4ae372eeda
refactor: simpler solution to resolving e2e test fixtures
2022-05-15 11:51:30 -06:00
Tony Sullivan
85172f7d5d
Revert "refactor: sharing test-utils helpers"
...
This reverts commit 48496f43bc99eab30747baf6e83041ba4932e786.
2022-05-15 11:51:30 -06:00
Tony Sullivan
400d1b8dc0
chore: update lockfile
2022-05-15 11:51:30 -06:00
Tony Sullivan
c854dffda7
refactor: sharing test-utils helpers
2022-05-15 11:51:30 -06:00
Tony Sullivan
4199c8a7b8
package.json updates
2022-05-15 11:51:30 -06:00
github-actions[bot]
cedb9a2105
[ci] release ( #3334 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-12 14:48:58 -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
Tony Sullivan
b463ddb3ce
Resolve components by module ID during compilation ( #3300 )
...
* WIP: adding test coverage
* test fixes
* moving the shared lib up a directory to reproduce the bug
* fix: transform with the module ID instead of parsing the filepath
* adding the shared lib to the workspaces list
* fix: client-only assets now get the full URL from vite
* why is this needed for windows?
* WIP: using /@fs to handle windows filepaths
* fix: remove /@fs from hoisted script imports
* nit: removing unused imports
* fix: strip off the path root when mapping client:only styles
* had to reverse the `/@fs` handling to work on windows and unix
* chore: adding comments to explain the fix
* chore: adding changeset
2022-05-12 10:04:01 -06: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
Ben Holmes
1a5335ed9a
[create-astro] Finalize developer experience... with gradients 🚀 ( #3313 )
...
* wip: port gradient helpers from sandbox ideas
* feat: wire up rocket gradient 🚀
* feat: wire up rocket gradient on install step
* refactor: update "next steps" wording
* deps: add chalk (for rendering gradient)
* chore: changeset
* chore: clean up sstray template string
2022-05-11 10:38:42 -06: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
Fred K. Schott
ce6d798282
Fix peer deps issue in svelte and vue plugins ( #3333 )
...
* fix peer deps issue
* add changeset
* rebuild lockfile
2022-05-11 09:23:32 -06:00
Tony Sullivan
e22f7364ce
Fixes custom 404 pages in astro dev ( #3331 )
...
* Fixing pathname matching for custom 404 pages
* fixes custom 404 routes in dev
* refactor: removing node path dependency
* refactor: using core's path utils
2022-05-10 21:05:30 +00: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
Matthew Phillips
3d901ca59d
Revert "refactor: remove serialize-javascript ( #3278 )" ( #3304 )
...
* Revert "refactor: remove serialize-javascript (#3278 )"
This reverts commit 13c1f5ff6b
.
* Adds a changeset
2022-05-05 15:56:29 -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
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
Ben Holmes
fbfb6190ab
Feat: @astrojs/rss
package! ( #3271 )
...
* feat: introduce @astrojs/rss package!
* feat: add config "site" to env variable
* docs: add @astrojs/rss readme
* chore: changeset
* fix: testing script
* deps: add mocha, chai, chai-promises
* tests: add rss test!
* feat: add canonicalUrl arg
* chore: remove console.log
* fix: remove null check on env (breaks build)
* docs: stray `
* chore: update error message to doc link
* chore: remove getStylesheet
* docs: update stylesheet reference
2022-05-03 18:26:13 -04:00
Juan Martín Seery
e2a037be94
refactor: internalize shorthash ( #3281 )
...
* Shorthash has been internalized
* Remove shorthash
* Optimized shorthash
* Changeset
* Added license
2022-05-03 19:25:35 -03:00
Juan Martín Seery
13c1f5ff6b
refactor: remove serialize-javascript ( #3278 )
...
* Replaced serialize-javascript with devalue
* Changeset
2022-05-03 17:55:12 -03: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
Matthew Phillips
3854acdb7d
Add typescript to match peerDep
2022-05-03 15:42:19 -04:00
Juan Martín Seery
dd9ffc317f
chore: pnpm v7 ( #3259 )
2022-05-03 10:31:16 -03: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
Matthew Phillips
f76038ac7d
Telemetry ( #3256 )
...
* feat: add @astrojs/telemetry
* feat: add telemetry events, add queueing system
* feat(telemetry): record CLI events
* chore: add note
* feat: support generic TELEMETRY_DISABLED env var
* Fix test script
* shim telemetry in tests
* Shim telemetry in other commands
* Stub telemetry in the memory leak test
* Disable telemetry in smoke tests
* Adds a changeset
* Run the formatter
* few updates
* Include config keys
* Add shallow viteKeys array:
:
* Add vite keys and tests
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-05-03 09:07:28 -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
Fred K. Schott
465b3a7970
Update example tsconfig ( #3107 )
2022-04-28 11:42:55 -04:00
Ben Holmes
b7cd695884
Feat: [create astro] replace component selector with "astro add" ( #3223 )
...
* feat: remove component framework selector
* feat: update templates to use "basics"
* feat: add "astro add" cli step
* tests: astro add step
* fix: reset env for pnpm tests
* fix: update install step test
* chore: remove "frameworks" step from tests
* deps: remove node-fetch from create-astro
* chore: changeset
* fix: use "preferLocal" for astro add command
* refactor: remove POSTPROCESS_FILES
* feat: add --yes flag to simplify astro add
* feat: bring back minimal option as "completely empty"
2022-04-27 20:58:18 -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
Nate Moore
15d9408678
Update @proload/core
( #3211 )
...
* chore: bump proload
* chore: update @proload/core
2022-04-26 17:26:01 -05:00
Nate Moore
9028450663
Revert "fix: replace serialize-javascript & random-bytes with custom internal modules"
...
This reverts commit f0d22b9332
.
2022-04-26 18:12:17 -04:00
Okiki
f0d22b9332
fix: replace serialize-javascript & random-bytes with custom internal modules
...
serialize-javascript relies on random-bytes and random-bytes relies on nodes crypto module, unfortunately the crypto module isn't available on the browser, so it breaks the repl. When one tries to upgrade the repl to the latest version of Astro, the browser complains about the missing crypto module. The changes shouldn't affect the behaviour of Astro in any meaning full way.
2022-04-26 21:52:35 +00: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
Juan Martín Seery
18762d6a0a
Fix lockfile ( #3210 )
2022-04-26 14:48:42 -05:00
Ben Holmes
7a61977db1
Feat: support astro add
without npm installing ( #3183 )
...
* deps: update to latest proload
* feat: avoid parsing config on resolveConfigUrl
* chore: changeset
* fix: bump proload
* fix: bump proload
* fix: bump proload
* fix: bump proload
* fix: bump proload
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-04-26 14:35:44 -04:00
Ben Holmes
38e5e9e982
Feat: create astro
add install step ( #3190 )
...
* feat: add instlal step with pkg manager detection
* feat: add package emoji for style points
* feat: update next steps to match pkg manager
* refactor: extract some create-astro test utils
* refactor: extract promp msgs to utils
* chore: add install step tests
* chore: changeset
* fix: remove directory test skip
* fix: unset env variables after install step test
* deps: add execa to create-astro
* refactor: use execa for install step
* chore: remove old comment
* fix: rework install step test for node 14?
* chore: remove "politely stolen" footnote
* temp: show stdout dialog
* feat: remove debugging logs, add dryrun flag for testing
* chore: more stray logs
* fix: remove rmdir
2022-04-26 11:24:24 -04:00
Juan Martín Seery
1a86e77c37
fix(markdown): file.url fixes ( #3198 )
...
* fix(markdown): file.url fixes
* Added tests
* Changed the default of `base` from `./` to `/`
* Make the url work with subpath
* Changeset
* Forgot to change this comparison
2022-04-25 13:38:46 -03:00