Matthew Phillips
6643a3931d
Conform to API route signature ( #3272 )
...
* Conform to API route signature
* Rename to API route
* Update ssr test
* Update packages/astro/test/fixtures/ssr-dynamic/src/pages/api/products/[id].js
Co-authored-by: Ben Holmes <hey@bholmes.dev>
* Adds a changeset
* Make PR review changes
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2022-05-04 14:55:37 -04:00
hippotastic
d825d376f8
fix: make congratsbot link to actual commit ( #3292 )
2022-05-04 11:36:30 -07:00
Fred K. Schott
f697cd2857
readme fix ( #3290 )
2022-05-04 14:24:00 -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
matthewp
757790f4e8
[ci] format
2022-05-04 12:28:33 +00:00
Pascal Schilp
e5f6de4edb
feat: expose pages ( #3286 )
...
* feat: expose pages
* chore: changeset
* fix: build
2022-05-04 08:27:51 -04:00
FredKSchott
8de641cb7f
[ci] collect stats
2022-05-04 12:02:40 +00: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
82345fdd54
Create silent-hornets-double.md
2022-05-03 17:09:57 -07:00
Fred K. Schott
224c181cbd
deprecate the markdown component in SSR ( #3240 )
2022-05-03 17:08:53 -07:00
Fred K. Schott
78855ce892
first polish ( #3236 )
2022-05-03 17:08:15 -07:00
Fred K. Schott
860357388f
new readme ( #3237 )
...
* new readme
* New readme plus (#3239 )
* Test light/dark
* More tests
* test
Co-authored-by: JuanM04 <me@juanm04.com>
* style the readme
Co-authored-by: JuanM04 <me@juanm04.com>
2022-05-03 17:06:04 -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
Tony Sullivan
9ad8aefdd7
Turbolinks: clean up injected scripts and styles on page navigation ( #3283 )
...
* client hydration scripts should be removed before navigation
* chore: adding a changeset
* also cleanup injected styles on page navigation
2022-05-03 22:30:46 +00:00
bholmesdev
204ff2c223
[ci] format
2022-05-03 22:27:01 +00: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
Kevin Zuniga Cuellar
c0c3a1bd83
removed extra title ( #3274 )
2022-05-03 15:37:11 -04:00
Fred K. Schott
6d5ef41b1e
fix cannot exit astro bug ( #3276 )
...
* fix cannot exit astro bug
* Create loud-tigers-draw.md
2022-05-03 15:29:34 -04:00
Matthew Phillips
8f8f05c1b9
Revert "Consolidate inline hydration scripts into one ( #3244 )" ( #3275 )
...
* Revert "Consolidate inline hydration scripts into one (#3244 )"
This reverts commit 48a35e6042
.
* Fix types
* Adds changeset
2022-05-03 15:18:17 -04:00
Kevin Zuniga Cuellar
59f07e8dd5
update pnpm version from 6.23.6 to 7 ( #3267 )
2022-05-03 11:34:08 -04:00
Okiki Ojo
6ca2128aee
Fix/deno gitpod ( #3213 )
...
* chore(.gitignore): remove pnpm error logs from git
* ci: install deno in gitpod
tests won't run in gitpod without deno
2022-05-03 10:56:16 -04:00
matthewp
5aec49e5e8
[ci] format
2022-05-03 14:56:07 +00:00
Pascal Schilp
adada1ba01
Feat/ssr manifest ( #3262 )
...
* feat: expose pagesVirtualModuleId
* feat: add astro:build:ssr hook
* fix: missing import for pagesVirtualModuleId
* test: fix tests
* refactor: move exports to index.ts
* chore: changeset
2022-05-03 10:55:25 -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
matthewp
f7335c76a7
[ci] format
2022-05-03 13:08:46 +00: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
Matthew Phillips
48a35e6042
Consolidate inline hydration scripts into one ( #3244 )
...
* Consolidate inline hydration scripts into one
* Adds changeset
* Update custom element test
* Provide a better name for tracking if we have added a hydration script
2022-05-03 09:07:16 -04:00
FredKSchott
4599f1fc94
[ci] collect stats
2022-05-03 12:02:13 +00:00
Chris Swithinbank
6033c765e7
Replace outdated translations contribution guide ( #3245 )
2022-05-03 11:45:18 +02:00
FredKSchott
c3f411a7f2
[ci] collect stats
2022-05-02 12:03:59 +00:00
FredKSchott
43bb1ee66b
[ci] collect stats
2022-05-01 12:02:17 +00:00
FredKSchott
28bfe3daf2
[ci] collect stats
2022-04-30 12:05:15 +00: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
tony-sull
527a3634d4
[ci] format
2022-04-29 21:16:50 +00:00
Tony Sullivan
d25dc4c448
Fixes variable definitions in <style define:vars> ( #3241 )
...
* adding SSRResult.styles back to the rendered head
* adding test for define:vars in static build
* chore: adding changeset
2022-04-29 21:15:56 +00:00
github-actions[bot]
f244b1c6e4
[ci] release ( #3238 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-29 15:16:18 -04:00
Ben Holmes
c8f5fa35c4
Feat: [create astro] git step ( #3227 )
...
* feat: add git init step
* fix: update unit tests
* feat: simplify next steps for copy pasteability
* docs: add clarifying comment on test stdin spoofing
* docs: remove "empty" from git repo message
* fix: update git step text for test
* fix: remove redundant --dryrun flag
* refactor: simplify next steps with &&
* chore: changeset
2022-04-29 11:45:43 -04: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
github-actions[bot]
ed7aba2e8b
[ci] release ( #3229 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-29 09:31:47 -04:00
FredKSchott
eb5c9a8b14
[ci] collect stats
2022-04-29 12:02:09 +00:00
Fred K. Schott
465b3a7970
Update example tsconfig ( #3107 )
2022-04-28 11:42:55 -04:00
FredKSchott
e90be57c25
[ci] collect stats
2022-04-28 12:07:04 +00:00
Rafid Muhymin Wafi
ae7fc463b5
removed unnecessary space from warning
2022-04-28 17:31:22 +06:00