Fred K. Schott
3db2334ea8
[ci] update lockfile ( #2289 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-30 09:03:18 -05:00
Matthew Phillips
ae5255dd25
Implement hydrated components in the static build ( #2260 )
...
* Work on removing vite-postprocess
* Gets hydration totally working
* Formatting
* Update based on PR comments
* Bring back vite transform for non-static builds
* Upgrade compiler version
* Update the client-only test
* Add debugging for windows
* More debugging
* Pass pathname into the markdown plugin as well
* Include vite changes
* Revert "Include vite changes"
This reverts commit dee6348b233b6d6c6fea1e4dcc41c98c0452846c.
2021-12-30 09:01:00 -05:00
Fred K. Schott
faf0b9aa8b
[ci] update lockfile ( #2269 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-29 08:58:49 -05:00
Jonathan Neal
160b45bf4d
bump webapi ( #2263 )
2021-12-23 14:35:26 -05:00
Fred K. Schott
5f14458d88
[ci] update lockfile ( #2257 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-23 08:25:52 -05:00
Fred K. Schott
ff684c085d
[ci] update lockfile ( #2248 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-22 23:04:39 -05:00
Jonathan Neal
3f08b45955
bump webapi ( #2249 )
2021-12-22 10:08:15 -05:00
Fred K. Schott
e07c1cbd7e
[ci] update lockfile ( #2240 )
...
* [ci] update lockfile
* fix package dependency issue
* Create heavy-pianos-obey.md
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-21 10:37:09 -08:00
Matthew Phillips
9aff6eee71
Flagged static (performance optimized) build ( #2168 )
...
* Progress on build demo
* Go back to ESM
* Some more progress on the new build
* More progress here
* Add support for hot reload
* Almost done
* Remove debugging stuff
* chore(lint): Prettier fix
* Pass through the origin
* Do not use ssr mode
* Use the logger
* chore(lint): Prettier fix
* Update yarn lock
* Fix types
* Only build chunks that are astro pages
* Debugging windows
* Prevent compilation race condition
* Read the file if not found in the cache
* Give a better error message when we can't find a page
* chore(lint): Prettier fix
* Fix windows maybe
* chore(lint): Prettier fix
* Some more windows debugging
* chore(lint): Prettier fix
* Remove console logs
* More debugging
* chore(lint): Prettier fix
* More debugging info
* chore(lint): Prettier fix
* Remove logging again
* Try to prevent port conflicts
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-21 11:57:50 -05:00
Fred K. Schott
ccb2c77321
[ci] update lockfile ( #2228 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-19 14:45:03 -05:00
Jonathan Neal
ac7f944d6a
Bump @astropub/webapi
( #2218 )
...
* bump polyfill
* chore(lint): Prettier fix
* chore: force ci
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-19 14:44:30 -05:00
Fred K. Schott
29bfe79b48
[ci] update lockfile ( #2220 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-17 09:40:37 -08:00
Jonathan Neal
45cea6aec5
Support Node v14.15+ ( #2202 )
...
* Support Node v14.15+
* changeset
* Update .changeset/new-hats-design.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update .changeset/new-hats-design.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Update .changeset/new-hats-design.md
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* ES2020
* update yarn.lock
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-12-16 18:53:22 -05:00
Nate Moore
b8be7e868e
Revert "[ci] update lockfile ( #2212 )"
...
This reverts commit 3f3eceb16b
.
2021-12-16 17:03:56 -06:00
Nate Moore
a4a6b7d871
fix: pin with-vite-plugin-pwa example
2021-12-16 16:32:13 -06:00
Nate Moore
b8c821a074
chore: release pinned version of Svelte renderer ( #2216 )
...
* chore: release pinned version of Svelte renderer
* chore(lint): Prettier fix
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-16 16:24:35 -06:00
Fred K. Schott
3f3eceb16b
[ci] update lockfile ( #2212 )
...
* [ci] update lockfile
* bump vite,@astropub/webapi
* exclude document
* chore(lint): Prettier fix
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-16 09:05:41 -05:00
Jonathan Neal
91173fe938
Replace fetch
walk-n-replace with polyfill ( #2206 )
...
* Replace fetch replacer with genuine polyfill
* chore(lint): Prettier fix
* changeset
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-15 14:11:14 -05:00
Fred K. Schott
c80f9eca61
[ci] update lockfile ( #2208 )
...
* [ci] update lockfile
* chore(lint): Prettier fix
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-15 08:53:30 -08:00
Fred K. Schott
c197287260
[ci] update lockfile ( #2198 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-14 13:48:25 -08:00
Jonathan Neal
6570a20442
rebase ( #2087 )
2021-12-13 16:18:21 -05:00
Jonathan Neal
c3db1eb4ef
Upgrade dependencies ( #2085 )
...
* yarn upgrade
* yarn upgrade --latest yargs-parser
* yarn upgrade --latest mime
* yarn upgrade --latest execa
* yarn upgrade --latest globby
* yarn upgrade --latest @docsearch/react
* yarn upgrade --latest es-module-lexer
* yarn upgrade --latest fast-xml-parser
* yarn upgrade --latest @astrojs/compiler @astrojs/language-server
* yarn upgrade --latest acorn
* clean yarn.lock
* chore: put `@docsearch/react` back to v1
* chore: remove unused @snowpack/plugin-dotenv
* Update yarn.lock
* Patch tests based on newer versions of tooling
* remove lerna
* Update yarn.lock
* Update yarn.lock
* Pin @sveltejs/vite-plugin-svelte
* update yarn.lock
2021-12-13 15:59:08 -05:00
Nate Moore
16484f603d
Adopt turborepo ( #2167 )
...
* chore: use turbo
* chore(lint): Prettier fix
* chore(actions): fix ci
* chore(actions): add turbo caching
* chore(actions): test turbo caching
* chore: remove test dependency on build
* chore: fix build outputs
* chore(actions): restore tests from cache
* chore(actions): fix turbo cache
* chore(actions): fix turbo cache
* chore(actions): restore turbo after artifacts
* chore(actions): caching is hard
* chore: force ci
* chore(actions): prefer-offline for yarn install
* chore(actions): attempt to cache turbo based on sha
* chore: remove lerna.json
* chore(action): update restore keys
* chore(action): sidestep turbo for windows tests
* chore(action): do not restore unhashed files
* chore(action): fix typo
* chore(action): fix typo
* chore(action): fix typo
* chore(action): fix artifacts paths
* chore(action): sync turbo cache
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-09 18:11:49 -06:00
Fred K. Schott
5af24efb34
pin preact to 10.5 to resolve preact issue ( #2170 )
...
* pin preact to 10.5 to resolve preact issue
* fix: use current yarn.lock and only update preact
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-12-09 10:33:53 -08:00
Nate Moore
77c3fda379
Make fetch
injection safe to existing code ( #2135 )
...
* fix: inject `fetch` only if not declared
* test: improve fetch test
* chore(lint): Prettier fix
* chore: trigger ci
* fix: improve type narrowing
Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-06 16:08:00 -06:00
Nate Moore
8346a1f2b9
Update Compiler ( #2117 )
...
* chore: update compiler
* chore: update compiler
* Revert "chore: update compiler"
This reverts commit 5742c24542
.
2021-12-03 16:10:05 -06:00
Jonathan Neal
11798a3209
Update Astro dependencies ( #2096 )
...
* Update Astro dependencies
* changeset
* chore: update `@astro/compiler`
2021-12-02 17:33:24 -05:00
Matthew Phillips
bebb312b09
Upgrade compiler to 0.5.4 ( #2057 )
...
* Upgrade compiler to 0.4.0
* chore: update compiler to v0.5.1
* chore: update compiler to v0.5.3
* chore: upgrade @astrojs/compiler
* test: skip flaky test
Co-authored-by: Nate Moore <nate@skypack.dev>
2021-12-01 15:25:29 -06:00
Nate Moore
4067151aec
Improve GitHub Actions ( #2041 )
...
* chore(actions): test new CI action
* chore(actions): switch action order
* chore(actions): update registry
* chore(actions): remove debug
* chore(actions): target all packages
* chore(actions): test artifacts
* chore(actions): try moving artifacts
* chore(actions): test moving
* chore(actions): test tar approach
* chore(actions): test tar approach
* chore(actions): use artifacts/packages before tar
* chore(actions): test mv -vn
* chore(actions): mkdir first
* chore(actions): how does tar work?
* chore(actions): so good at bash
* chore(actions): test matrix
* chore(actions): fix test matrix
* chore(actions): fix windows?
* chore(actions): fix windows?
* chore(actions): fix windows!
* chore(actions): fix windows!
* chore(actions): add lint
* chore(actions): add back old actions
* chore(actions): test notification action
* chore(actions): test notification action again
* chore(actions): fix extract action
* chore(actions): fix action?
* chore(actions): fix action?
* chore(actions): fix newlines
* chore(actions): test --production flag
* chore(actions): test --production flag for test
* chore(actions): add execa to production deps
* chore(actions): add cheerio to production deps
* chore(actions): add production deps for tested examples
* chore(actions): fix changelog action
* chore(actions): attempt to use --prefer-offline
* chore(actions): revert dependencies/devDependencies change
* chore(actions): update all actions
* chore(actions): add smoke test
* chore(actions): update changelog deps
* chore(actions): move notify script
* chore(actions): consolidate main scripts
* chore(actions): update changelog name
* chore(actions): update congratsbot
* chore(actions): update ci
* chore(actions): change lint/format strategy
* chore(actions): expose GITHUB_TOKEN to linter
* chore(actions): update lint
* chore(actions): enable autofix
* chore(actions): fetch-depth 0
* chore(actions): fix eslint extensions
* chore(actions): debug lint
* chore(actions): fix eslint args
* chore(actions): fix eslint?
* [ci] ESLint fix
* [ci] Prettier fix
* chore(actions): fix lint!
* chore(actions): cleanup comments
* chore(actions): fix lint
* chore(actions): lint astro only
* chore(actions): ignore pattern
* chore(actions): no_verify
* chore(actions): disable no verify
* chore(actions): debug status
* chore(actions): add concurrency
* chore(actions): add comment about concurrency
* chore(actions): make release dependent on lint
* chore(actions): move lint first
* chore(actions): run CI on PR or `main` only
* chore(actions): remove GPR publish step
* chore: add back old actions
* chore: revert package.json
* chore: improve changelog with GitHub info
* chore(actions): try pull_request_target
* debug lint
* debug lint
* debug lint
* try pull_request_target
* update pull_request_target perms
* update pull_request_target
* fix perms
* fix run?
* fix run?
* fix run? (part 3)
* fix run? (part 4)
* fix run? (part 5)
* fix run!
* fix run!!
* fix run!!!
* fix run!!!!
* fix run!!!!!
* fix run!!!!!!
* add comment about forks
Co-authored-by: GitHub Actions <actions-user@github.com>
2021-11-29 15:11:15 -06:00
Drew Powers
76559faa30
Chore: update compiler ( #2008 )
2021-11-24 12:39:08 -07:00
Nate Moore
9ed6b3c0f0
chore: update compiler ( #1995 )
...
* chore: update compiler
* chore: bump compiler again
* chore: bump
* chore: update compiler
2021-11-23 16:42:59 -06:00
Drew Powers
4cec1256a4
Add default TypeScript, Sass support to Svelte ( #1982 )
2021-11-23 09:45:24 -07:00
Nate Moore
f165004c10
Add with-vite-plugin-pwa
example ( #1829 )
2021-11-22 20:03:45 -06:00
Drew Powers
d3476f24d4
Add Sass tests ( #1919 )
2021-11-22 14:24:42 -07:00
JuanM04
679d4395ec
Markdown package improvements ( #1954 )
...
* Re-add smartypants
* Updated packages
* Remove all the default plugins if there are either remark or rehype plugins
* Replace deperecated remark-slug with rehype-slug
* Added MarkdownParserResponse type
* Update documentation
* Removed type import from markdown package
* Updated remark-smartypants
* Changelog
* Missed one change
* Split changelogs
* Upgraded some MDX dependencies
* Fix typos in documentation
* Changed CHANGELOG.md package name
* Renamed smartypants
2021-11-22 14:48:00 -06:00
Nate Moore
e49452325c
chore: update compiler ( #1975 )
...
* chore: update compiler
* test: remove wasm-panic-error
* test: update syntax error to not check message
* chore: add changeset
* test: skip syntax error test
* chore: update changeset
2021-11-22 14:36:14 -06:00
Fred K. Schott
74624d9697
add indirect yarn deps ( #1926 )
2021-11-19 12:16:31 -08:00
Fred K. Schott
6b9ec716ee
update deps
2021-11-18 22:38:16 -08:00
Nate Moore
4c0cb47204
Update compiler ( #1869 )
...
* chore: update compiler
* redeploy
* fix(www): ensure www can build
* chore: update compiler
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-11-18 16:50:55 -08:00
Fred K. Schott
9476b79dba
remove unused remark dependency ( #1894 )
2021-11-18 16:50:30 -08:00
Drew Powers
8986d33bfc
Improve error messages ( #1875 )
...
* Fix error handling in correct scope
Also improve Vite IDs for better module graph lookups
* Improve code frame
* Add changeset
* maybeLoc can be undefined
* Add tests
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2021-11-18 17:42:07 -07:00
Fred K. Schott
78b3371adb
pin astro compiler to older version
2021-11-18 16:11:18 -08:00
Jonathan Neal
a89b3e3eb6
Update yarn.lock to reflect the state of the package.json files ( #1892 )
...
* update dependencies
* update file to fix build:all
2021-11-18 16:06:35 -08:00
Drew Powers
3cd1458aa7
Fix Windows CSS bundling bug ( #1840 )
...
* Fix Windows CSS bundling bug
JS components’ styles accidentally left out of final build on Windows
* Review feedback
2021-11-16 13:59:41 -07:00
Nate Moore
824c1f2024
Implement client:only
handling ( #1716 )
...
* WIP: improve `client:only` handling
* feat: implement `client:only` in renderer
* test: reenable client:only tests
* feat: improve SSR error messages
* fix: add `resolvePath` method to Metadata
* test: fix client-only test
* chore: fix custom-elements handling
* test: revert `custom-elements` test change
* fix: do not assign a default renderer even if there's only one configured
* chore: bump compiler
* chore: add changeset
2021-11-16 10:01:14 -06:00
Drew Powers
65216ef921
Fix PostCSS (and Autoprefixer) processing ( #1837 )
...
* Fix PostCSS processing
* Skip Windows tests
(for now)
2021-11-15 14:16:07 -07:00
Matthew Phillips
93cc4d361b
Start of fixing multiple CSS issue ( #1838 )
...
* Start of fixing multiple CSS issue
* Update tests to work with compiled output
* Fix linting
2021-11-15 15:05:36 -05:00
Matthew Phillips
fd52bceea4
Build/bundle assets and CSS ( #1786 )
...
* Bundling CSS
* Current progress of building assets
* New build progress
* Its finally working
* Force css to go through the build
* Prettier filenames
* Split into separate CSS and HTML plugins
* Always have at least one input
* Bring back in sitemaps + output
* Bring back srcset support
* Bundle CSS
* Bring back minify
* Update dynamic tests
* Update remaining tests
* Linting
* Fix remaining broken test
* Use fs directly
* Adding a changeset
* Use path.posix
* Debugging windows
* More debugging
* Pass URLs into readFile
* Remove some debugging stuff
* Remove force flag from transformWithVite
* Update packages/astro/src/vite-plugin-build-css/index.ts
Co-authored-by: Drew Powers <1369770+drwpow@users.noreply.github.com>
Co-authored-by: Drew Powers <1369770+drwpow@users.noreply.github.com>
2021-11-11 08:44:11 -05:00
Jonathan Neal
ba38147ccc
Support tsconfig.json & jsconfig.json aliases ( #1747 )
...
* Resolve paths from tsconfig or jsconfig
https://code.visualstudio.com/docs/languages/jsconfig
https://nextjs.org/docs/advanced-features/module-path-aliases
* edit: rename plugin to `@astrojs/vite-plugin-tsconfig-alias`
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* edit: switch from `ps` to `path.posix`
* edit: move sanitization of paths to loop
* edit: rename `resolveConfigPaths` to `configAliasVitePlugin`
* edit: update implementation based on feedback
* prettier
* edit: rename `matchTailingAsterisk` to `matchTrailingAsterisk`
* edit: cleanup with comments
* edit: spellcheck `condition` to `conditionally`
* edit: refactor based on feedback
* edit: Update README.md
* edit: cleanup baseUrl transformation and add explainer comments
* edit: cleanup resolutions and add commenting
* yarn lint
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-11-09 12:57:43 -05:00
Nate Moore
5caf276fb8
chore: update compiler ( #1770 )
2021-11-08 16:30:46 -06:00