0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
Commit graph

3366 commits

Author SHA1 Message Date
Drew Powers
7184149514
Add Astro.request.canonicalURL and Astro.site to global (#199) 2021-05-11 17:31:52 -06:00
Drew Powers
d2eb413a6e
Fix portfolio example (#196) 2021-05-11 10:40:04 -06:00
Kevin (Kun) "Kassimo" Qian
e0fc2ca097
fix: build stuck on unhandled promise reject (#191)
* fix: build stuck on unhandled promise reject

* Changeset
2021-05-10 11:35:40 -05:00
Kevin (Kun) "Kassimo" Qian
e0a4f5fbc0
Allow default import component to be renamed based on import statement default specifier (#193)
* Allow renaming for default import components

* Changeset
2021-05-10 11:00:05 -05:00
Drew Powers
42ec961eec
Add more docs on styling (#186) 2021-05-08 11:35:44 -04:00
Matthew Phillips
60e482aa80
Fix running the extension (#181)
I'm not sure how my setup was different but I was unable to get the extension to run locally without adding a binary. This mirrors what Svelte does so I'm assuming it's the way it's supposed to be loaded.
2021-05-08 11:35:20 -04:00
Matthew Phillips
b4c072d1a1 Add gitignore to www 2021-05-07 19:15:57 -04:00
Matthew Phillips
d653a68665 Update the Discord link 2021-05-07 19:06:06 -04:00
Drew Powers
9feffda850
Fix double <pre> tag (#185) 2021-05-07 15:48:45 -06:00
Drew Powers
8f2a58534c
Bugfix: fix build (#184) 2021-05-07 10:42:48 -06:00
Drew Powers
820012ea16
Improve Snowpack docs styling (#180) 2021-05-07 10:38:38 -06:00
Drew Powers
87ab4c6927
Bugfix: scoped styles (#178) 2021-05-06 15:39:34 -06:00
Drew Powers
7b55d3d43e
Chore: fix lint rules, add more error handling for unexpected cases (#177) 2021-05-06 14:57:14 -04:00
Drew Powers
95b1733c89
Bugfix: handle unawaited promise (#176) 2021-05-06 14:55:17 -04:00
Drew Powers
b81abd5b2c
Add CSS bundling (#172)
* Add CSS bundling

* Add Changeset

* Update build script

* Count better

* Fix stats

* Cleanup

* Add test

* Show profile ms under 750ms
2021-05-06 10:38:53 -06:00
Nate Moore
64f4f74fb6
Split out astro-languageserver and astro-vscode (#173) 2021-05-05 12:44:31 -05:00
Matthew Phillips
0fe0a6ba19 0.0.12 2021-05-05 11:27:55 -04:00
Matthew Phillips
353934aee7 Add dist to the npm package 2021-05-05 08:57:45 -04:00
Nate Moore
9ed19317c6 chore: version packages 2021-05-04 17:16:23 -05:00
Nate Moore
3ad0aac8cf
Fix fetchContent for nested files (#171)
* fix: fetchContent within nested folders

* feat: add `sourceId` to fetchContent

* test: update collection tests

* fix: windows compat for importPath

* chore: add changeset

* fix: astroRoot => projectRoot

* feat: add `slash` package

* chore: remove sourceId prop

* chore: update changeset

* format
2021-05-04 17:11:05 -05:00
Matthew Phillips
0054f78e42
Add bundle size information to the build output (#169) 2021-05-04 14:06:38 -04:00
Nate Moore
75b05b393a fix(astro-prism): package 2021-05-04 12:22:25 -05:00
Nate Moore
ac0bc88ae9 chore: version packages 2021-05-04 12:20:50 -05:00
Nate Moore
d924fcbeb4
Fix astro-prism package (#170)
* fix: properly include astro-prism

* chore: add changeset

* Update `astro-prism` description
2021-05-04 12:15:13 -05:00
Drew Powers
94038d3297
Format (#167) 2021-05-03 12:26:10 -06:00
Nate Moore
c93201a909
Refactor astro export map, add source-map-support (#161)
* fix: add svelte plugin for esbuild, remove precompiled svelte components

* refactor: public export map, public types

* feat: add source-map-support to common code paths

* chore: move new "exports" to "imports" map, add internal types

* Include outPath in error logging for bad load status, and drop error stack (#163)

* Include outPath in the error logging for bad load status

* Discard error stack since it seems not useful

* feat: improve build error logging

* refactor: use object param for writeResult

Co-authored-by: Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>
2021-05-03 13:18:08 -05:00
Drew Powers
4ff3add50f
Clean dependencies (#166)
* Clean dependencies

This moves some dependencies around where they should be

* Formatting
2021-05-03 11:47:51 -06:00
Nate Moore
c74f3e70f1
Adds .editorconfig file (#162)
* chore: adds .editorconfig file

* chore: move devDeps to root
2021-05-03 12:41:39 -05:00
Drew Powers
52b592a04e
Attempt to fix CI skipping (#165) 2021-05-03 11:27:21 -06:00
Nate Moore
2ac06010a4 chore: release create-astro@0.1.0 2021-05-03 12:20:51 -05:00
Nate Moore
ed631329e7
create-astro UI (#164)
* refactor: improve create-astro layout, build script

* feat(create-astro): v0.1.0

* docs(create-astro): add README

* feat(create-astro): add meta files to starter templates
2021-05-03 12:15:13 -05:00
Drew Powers
467820996f
Improve esbuild watch mode (#160) 2021-05-01 11:09:23 -05:00
Nate Moore
7c4efe2a7e
fix: monorepo issues (#158) 2021-04-30 16:38:40 -05:00
Nate Moore
4df1347156
Migrate to yarn monorepo (#157)
* chore: use monorepo

* chore: scaffold astro-scripts

* chore: move tests inside packages/astro

* chore: refactor tests, add scripts

* chore: move parser to own module

* chore: move runtime to packages/astro

* fix: move parser to own package

* test: fix prettier-plugin-astro tests

* fix: tests

* chore: update package-lock

* chore: add changesets

* fix: cleanup examples

* fix: starter example

* chore: update changeset config

* chore: update changeset config

* chore: setup changeset release workflow

* chore: bump lockfiles

* chore: prism => astro-prism

* fix: tsc --emitDeclarationOnly

* chore: final cleanup, switch to yarn

* chore: add lerna

* chore: update workflows to yarn

* chore: update workflows

* chore: remove lint workflow

* chore: add astro-dev script

* chore: add symlinked README
2021-04-30 16:33:35 -05:00
Drew Powers
1d498facc8
Fix RSS dategen (#156) 2021-04-30 11:52:00 -05:00
Drew Powers
f39a91e6ec
Add portfolio example (#140)
* Add portfolio example

* Feedback
2021-04-30 10:35:20 -06:00
Nate Moore
a79c63750f chore: release 0.0.9 2021-04-30 09:36:19 -05:00
Nate Moore
509fad6b9a
Fix Svelte bundled behavior (#151)
* build: add svelte to dynamic component imports

* fix: svelte bundling

* fix: ensure svelte runtime is bundled with build

* fix: svelte runtime in dev mode

* fix: include svelte runtime in imports

Co-authored-by: Duncan Healy <duncan.healy@gmail.com>
2021-04-30 09:35:18 -05:00
Nate Moore
f1a7b5ba94 fix: typo 2021-04-30 09:24:08 -05:00
duncanhealy
69f1a00f8d
chore fix tests (#149)
* chore: fix import of astro/parser -> relative import

* chore: fix snapshot for rss
2021-04-30 08:55:12 +01:00
Nate Moore
1e849689e4
chore: update to snowpack@3.3.7 (#150) 2021-04-29 20:32:53 -05:00
duncanhealy
2a23e7e292
build: add warning if no public folder found #96 (#144)
* build: add warning if no public folder found #96

* build: change color to yellow

* build: warn if public folder missing and not set to "public"
2021-04-29 23:41:51 +01:00
Nate Moore
03775f7048
fix: @vue/server-renderer tree-shaking (#148) 2021-04-29 14:11:35 -05:00
Nate Moore
99a916ec1f
Remove .DS_Store files (#146)
* chore: remove .DS_Store files

* chore: bump create-astro

* chore: fix astro starter
2021-04-29 14:01:57 -05:00
duncanhealy
a1e17bc128
chore: add _site, mac file to gitignore (#147) 2021-04-29 13:57:39 -05:00
duncanhealy
787ba306cc
example blog add buildoptions (#142)
* examples: add astroRoot to blog example

* example: add astro config for `npm run build` #141
2021-04-29 11:28:33 +01:00
Nate Moore
961eee5007
Docs: add .astro Syntax guide (#137)
* wip: astro syntax docs

* docs: update syntax guide

* docs: add IDE note

* chore: beautify file

* docs: edits

* Update docs/syntax.md

Co-authored-by: Drew Powers <1369770+drwpow@users.noreply.github.com>

* docs: be kinder to JSX :)

* fix: spelling

* docs: clarify some code comments

Co-authored-by: Drew Powers <1369770+drwpow@users.noreply.github.com>
2021-04-28 14:55:25 -05:00
Nate Moore
633bb46dc4
Fix: plain string children bug (#138)
* fix: string children bug

* test: add string children test

* test: add other child test scenarios
2021-04-28 14:43:50 -05:00
Nate Moore
6bc51facce chore: bump 2021-04-27 16:13:27 -05:00
Nate Moore
ef37cf9c2a fix: catch existing relative paths 2021-04-27 16:13:17 -05:00