Commit graph

370 commits

Author SHA1 Message Date
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
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
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
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
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
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