Commit graph

745 commits

Author SHA1 Message Date
Fred K. Schott
7b21dc0063
Update README.md (#550) 2021-06-25 15:32:25 -07:00
Caleb Jasik
05d6fc66bb
prettier-plugin: Add a test for JSX embedded in an attribute. This test currently fails. (#508)
* Add a test for JSX embedded in an attribute. This test currently fails.

* Oops forgot the semicolons on the correct output

* Add `--scope prettier-plugin-astro` so that the prettier plugin is tested on default CI

* Replace `assert.equal` with `assert.fixture` to remain inline w/ main

* Update astro-prettier.test.js

* Skip the other failing test.

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-06-25 15:21:03 -07:00
Mike Sausa
8aca0fabaf
Fix pokemon results typo in collections docs (#541) 2021-06-25 15:19:50 -07:00
Tony @ Navillus
245632bc31
Update collections.md (#549)
Updating the Individual Pages from a Collection example to fix a few typos.

- The pokemon API returns an object with an array named `results` (plural)
- `data()` needs to wrap the object in an Array
- accessing item data needs to use `collection.data[0]` to grab data from the `data()` Array
2021-06-25 14:07:11 -07:00
github-actions[bot]
f3e005de6f
Version Packages (#548)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-25 15:14:04 -04:00
Matthew Phillips
8865158f7f
Upgrade postcss snowpack plugin (#547)
* Upgrade postcss snowpack plugin

* Increase the startup time more

* Add changeset
2021-06-25 15:12:10 -04:00
github-actions[bot]
91e11aee2a
Version Packages (#543)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-25 09:51:28 -04:00
Matthew Phillips
21dc28cb8e
Add changeset for react renderer change (#544) 2021-06-25 09:49:07 -04:00
Matthew Phillips
52bf970d6e
Remove broken changeset (#542)
This changeset has "mixed ignored and not ignored change", whatever this means. This is a changeset for examples, which we don't publish, so its unnecessary.
2021-06-25 09:38:46 -04:00
matthewp
7b3047f097 [ci] yarn format 2021-06-25 13:31:17 +00:00
Matthew Phillips
028d4e0114
Fix code from bad merge (#540)
* Fix code from bad merge

* Dont wrap the raw

* Wrap the expression in quotes

* remove react-dom just to test

* Add back react-dom as a known entrypoint

* Make startup time even longer
2021-06-25 09:29:57 -04:00
Drew Powers
56293499e8
Fix PostCSS support upstream in Snowpack (#538)
Fixes #481
2021-06-24 17:49:42 -05:00
natemoo-re
d8a162aeee [ci] yarn format 2021-06-24 22:49:30 +00:00
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