Commit graph

5832 commits

Author SHA1 Message Date
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
bc9e0f180c [ci] yarn format 2021-06-24 22:42:22 +00:00
Nate Moore
47ac2ccd17
Fix {...spread} props (#522)
* fix(#521): allow spread props

* chore: add spread prop tests

* fix: falsy expressions should only be skipped in 'Expression' case

* fix: support primitives in expressions (objects, arrays)
2021-06-24 17:41:10 -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
Mats
4cd84c6607
Removed unused console.warn trap function (#537) 2021-06-24 16:07:49 -05:00
Matthew Phillips
feb9a3141e
Always add the HMR script in dev (#536)
* Always add the HMR script in dev

for livereload

* Adds the changeset
2021-06-24 17:05:55 -04:00
Fred K. Schott
1eda589be1
Update ---bug_report.yml 2021-06-24 12:02:24 -07:00
Fred K. Schott
18846ef293
Update ---bug_report.yml 2021-06-24 12:01:33 -07:00
Fred K. Schott
22faa0f0f8
Update ---bug_report.yml 2021-06-24 12:00:46 -07:00
Nate Moore
40ae924e63
Update ---bug_report.yml 2021-06-24 10:30:06 -05:00
Nate Moore
36a461861f
Update ---bug_report.yml 2021-06-24 10:29:22 -05:00
Nate Moore
428ab5d0c2
Update ---framework-library-support.yml 2021-06-24 10:15:07 -05:00
Nate Moore
f56280afa3
Update ---framework-library-support.yml 2021-06-24 10:13:51 -05:00
Nate Moore
4b7adf6ae8
Delete ---framework-library-support-request.md 2021-06-24 10:13:36 -05:00
Nate Moore
99dc5eb686
Update ---feature-request.yml 2021-06-24 10:13:11 -05:00
Nate Moore
420ed08155
Update ---framework-library-support.yml 2021-06-24 10:11:08 -05:00
Nate Moore
b25943611a
Update ---framework-library-support.yml 2021-06-24 10:09:51 -05:00
Nate Moore
3dcb74c01d
Update ---framework-library-support.yml 2021-06-24 10:09:40 -05:00
Nate Moore
dbcb5093bb
Update ---framework-library-support.yml 2021-06-24 10:08:17 -05:00
Nate Moore
792eebfd12
Rename ---framework-library-support to ---framework-library-support.yml 2021-06-24 10:06:33 -05:00
Nate Moore
da2ca8686d
Create ---framework-library-support 2021-06-24 10:06:21 -05:00
Nate Moore
6e97cdf987
Update and rename ---feature-request-new.yml to ---feature-request.yml 2021-06-24 09:55:53 -05:00
Nate Moore
0c7c7c4d31
Delete ---feature-request.md 2021-06-24 09:55:34 -05:00
Matthew Phillips
cd9c54d542
Document pnpm and Yarn usage (#531)
* Document using Astro with pnpm

* Document Yarn usage
2021-06-24 15:55:31 +01:00
Nate Moore
7e27a663e3
Update ---feature-request-new.yml 2021-06-24 09:52:57 -05:00
Nate Moore
c0f4c3d877
Update ---feature-request-new.yml 2021-06-24 09:52:34 -05:00
Nate Moore
8b9d5ca8eb
Update ---feature-request-new.yml 2021-06-24 09:47:19 -05:00
Nate Moore
f43cc3fc00
Update ---feature-request-new.yml 2021-06-24 09:44:13 -05:00
Nate Moore
251202d15e
Update ---feature-request-new.yml 2021-06-24 09:44:02 -05:00
Nate Moore
491c875781
Update ---feature-request-new.yml 2021-06-24 09:43:32 -05:00
Nate Moore
9eeb551939
Update ---feature-request-new.yml 2021-06-24 09:42:13 -05:00
Nate Moore
602651a080
Create ---feature-request-new.yml 2021-06-24 09:41:40 -05:00
Robert Soriano
d6dfff6000
add svelte extension to purge list (#529) 2021-06-24 09:53:58 -04: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
Nate Moore
c6fcf9d6cb
Update ---bug_report.yml 2021-06-24 07:50:32 -05:00
Nate Moore
47780d3c92
Update ---bug_report.yml 2021-06-24 07:47:40 -05:00
Nate Moore
cc415044d5
Update ---bug_report.yml 2021-06-24 07:46:33 -05:00
Nate Moore
c6d17dc7ce
Update ---bug_report.yml 2021-06-23 22:53:38 -05:00
Nate Moore
916b9e2585
Rename 1.bug_report.yml to ---bug_report.yml 2021-06-23 22:53:02 -05:00
Nate Moore
83e5eb461b
Delete ---bug-report.md 2021-06-23 22:52:49 -05:00
Nate Moore
d018b7d1a4
Rename bug_report_beta.yml to 1.bug_report.yml 2021-06-23 22:52:05 -05:00
Nate Moore
23d3a71b33
Update bug_report_beta.yml 2021-06-23 22:49:50 -05:00
Nate Moore
a9ef6bb722
Update bug_report_beta.yml 2021-06-23 22:48:22 -05:00
Nate Moore
9cc181c340
Update bug_report_beta.yml 2021-06-23 22:47:39 -05:00
Nate Moore
293a075b51
Update bug_report_beta.yml 2021-06-23 22:44:36 -05:00
Nate Moore
fb509dbee7
Update bug_report_beta.yml 2021-06-23 22:43:51 -05:00
Nate Moore
20b2920c2f
Update bug_report_beta.yml 2021-06-23 22:41:33 -05:00
Nate Moore
cbf89690bc
Update bug_report_beta.yml 2021-06-23 22:41:19 -05:00
Nate Moore
20df70d7c8
Update bug_report_beta.yml 2021-06-23 22:40:50 -05:00