Commit graph

305 commits

Author SHA1 Message Date
Fred K. Schott
35da5bd93e
add fredkbot for push access (#3730) 2022-06-27 11:02:44 -07:00
Tony Sullivan
b8c6dabfb7
Enables eslint on the full repo and adds a rule for no only() tests (#3659)
* enabling eslint on the all packages and tests

* enabling for all packages

* TEMP: adding an only() test to verify it fails CI

* using our eslint config and ignore in CI

* removing the temporary .only() test

* update lock file

* lint: fixing new test with a no-shadow warning

* chore: update lock file
2022-06-22 15:59:49 +00:00
Fred K. Schott
5b06398b7b
format: automatically organize imports and removed unused (#3499)
* add import formatting

* chore: update lockfile

Co-authored-by: Nate Moore <nate@skypack.dev>
2022-06-06 09:47:28 -07:00
Nate Moore
e9a77d8619
Improve nested and client:only hydration (#3455)
* wip: fix nested islands

* fix: improve hydration for dynamic content

* chore: fix bundle-size script for new files

* chore: allow-list client:* directive files

* fix(#3362): fix client:only behavior for React, Vue, Solid

* test: add client-only e2e test

* chore: update lockfile

* test: fix e2e tests

* test: add framework nesting e2e tests

* Update packages/astro/src/runtime/client/events.ts

Co-authored-by: Matthew Phillips <matthew@skypack.dev>

* chore: add changeset

* fix(preact): ignore hydrate roots

* chore: remove `ssr` check in integrations

* Revert "chore: remove `ssr` check in integrations"

This reverts commit ba27eaae55.

* chore: add changeset

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-05-31 11:29:36 -05:00
Nate Moore
2f4ee560dd
Add bundle-size check action (#3454)
* feat: add scripts action, bundle-size checker

* chore: trigger action

* fix: update prefix logic
2022-05-26 11:49:29 -05:00
Pranav Karawale
63c26c1b24
Fix GitHub Issue creation link (closes #3257) (#3421)
* Add IDs to bug report issue form
* Replace 'body' with correct input id for prefilling form
2022-05-23 11:02:03 -05:00
Tony Sullivan
2b622b5e0f
Adding E2E testing with Playwright (#3349)
* adding Tailwind E2E tests with Playwright

* package.json updates

* adding e2e tests to CI workflow

* using e2e for dev tests, mocha for build tests

* refactor: sharing test-utils helpers

* chore: update lockfile

* Adding contributing docs

* Revert "refactor: sharing test-utils helpers"

This reverts commit 48496f43bc99eab30747baf6e83041ba4932e786.

* refactor: simpler solution to resolving e2e test fixtures

* chore: updating lockfile

* refactor: cleaning up how URLs are resolved in e2e tests

* install playwright deps in CI

* trying pnpm playwright install to fix version mismatch
2022-05-15 21:47:28 +00:00
Fred K. Schott
9ef92e0a3d [ci] update github labeler 2022-05-10 16:48:45 -06:00
Fred K. Schott
d67096ac0f [ci] update github labeler 2022-05-10 16:44:41 -06:00
hippotastic
d825d376f8
fix: make congratsbot link to actual commit (#3292) 2022-05-04 11:36:30 -07:00
Matthew Phillips
f76038ac7d
Telemetry (#3256)
* feat: add @astrojs/telemetry

* feat: add telemetry events, add queueing system

* feat(telemetry): record CLI events

* chore: add note

* feat: support generic TELEMETRY_DISABLED env var

* Fix test script

* shim telemetry in tests

* Shim telemetry in other commands

* Stub telemetry in the memory leak test

* Disable telemetry in smoke tests

* Adds a changeset

* Run the formatter

* few updates

* Include config keys

* Add shallow viteKeys array:
:

* Add vite keys and tests

Co-authored-by: Nate Moore <nate@skypack.dev>
2022-05-03 09:07:28 -04:00
Fred K. Schott
771127ea29
remove unused renderers (#3063) 2022-04-11 11:19:41 -07:00
Fred K. Schott
d49ba49b6a add adapter question to issue template 2022-04-10 22:13:49 -07:00
Matthew Phillips
13b271bc7d
Deno adapter (#2934)
* Bundle everything, commit 1

* Get everything working

* Remove dependency on readable-stream

* Adds a changeset

* Fix ts errors

* Use the node logger in tests

* Callback the logger when done writing

* Fix test helper to await the callback

* Use serialize-javascript again

* Remove dead code

* Rename hook

* Oops
2022-03-30 08:42:19 -04:00
Fred K. Schott
823d55fe46
improve some github templates (#2876) 2022-03-24 12:31:33 -07:00
Fred K. Schott
7943334e01 update ci to fix congratsbot 2022-03-21 15:55:31 -07:00
Nate Moore
9219d5e1c0
Release bot (#2836)
* fix(ci): improve release-bot message by dynamically generating packageMap

* fix(ci): update changeset to refresh lockfile after version
2022-03-19 10:33:24 -07:00
Fred K. Schott
6386c14d00
Astro Integration System (#2820)
* update examples

* add initial integrations

* update tests

* update astro

* update ci

* get final tests working

* update injectelement todo

* update ben code review

* respond to final code review feedback
2022-03-18 15:35:45 -07:00
Fred K. Schott
c9d84af6b1
run tests on example change (#2745) 2022-03-09 16:25:44 -06:00
Juan Martín Seery
c5361a131d
chore: update actions (#2738)
* upgraded workflow actions

* removed unnecessary envs + some formatting

* removed extra instruction

* bumped pnpm version
2022-03-09 13:12:12 -03:00
Fred K. Schott
240d88aefe
fix format (#2736) 2022-03-08 15:20:04 -08:00
Nate Moore
d08ddaf5b9
Move from yarn to pnpm (#2455)
* chore: `yarn` => `pnpm`

* docs: `yarn` => `pnpm`

* chore(ci): yarn => pnpm

* chore(ci): update pnpm cache path

* fix: add missing deps

* fix: add missing deps

* test: add package.json to all test fixtures

* chore: improve hoisting behavior

* chore: move turbo into package.json

* chore: update npmrc

* fix: add missing `debug` dependency

* chore: remove prepare script

* test: fix new tests

* fix: fully resolve renderer paths and `astro/internal` path

* chore: update lockfile

* chore: remove log

* fix: resolve renderers in vite-plugin-jsx

* fix: prefer public-hoist-pattern to shamefully-hoist

* chore: ignore @babel/core peer warning

* chore: update dependencies

* test: add autoprefixer as explicit dep

* chore: update `.npmrc` file in examples

* chore: update dependencies

* fix: resolve renderer dependencies in static build

* fix: static build renderer resolution

* chore: fix smoke tests

* chore: hoist autoprefixer

* chore: update lockfile

* attempt: use full file:// path on Windows

* attempt: use astro/internal

* attempt: optimize astro/internal

* attempt: expose ./internal.js

* chore: add missing package.json files

* attempt: resolve astro/internal path

* chore: tidy package.json

* chore: update lockfile

* chore: update deps

* chore: update deps

* chore: yarn -> pnpm

* attempt: explicit /@fs urls

* attempt: explicit /@fs urls

* chore: update all examples for pnpm

* chore: fix hoisting for with-vite-plugin-pwa

* chore(ci): fix sharp install

* chore: update with-vite-plugin-pwa example

* fix: pin vite-plugin-pwa to 0.11.11

* fix: add workbox-window to vite-plugin-pwa deps

* refactor: use pnpm update --recursive

Co-authored-by: JuanM04 <me@juanm04.com>

* chore: yarn => pnpm

* chore: yarn => pnpm

* fix: update smoke test to skip examples which don't work in static build

* update lockfile

* chore: update .npmrc files

* chore: update lockfile

* fix: smoke script

* chore: update .npmrc file

* fix: return to shamefully-hoist (shamefully)

* chore: update lockfile

* fix(smoke): ignore scripts for smoke tests

* fix: update example to disable renderers

* chore: bump version

* chore(ci): fix smoke tests

* attempt: disable --frozen-lockfile for smoke tests

* chore: update smoke test

* chore: fix rebase issue

* chore: update lockfile

* fix: smoke tests

* fix(ci): run external smoke tests first

* fix(ci): run syntax

* chore: update lockfile

* fix(ci): ensure submodules are up-to-date

* fix(ci): ensure submodules are up-to-date

* chore: update lockfile

* chore: update for webapi

* chore: silence node:* warnings

* chore: update deps

* fix(ci): persist generated webapi assets

* fix(ci): webapi build script

* chore(ci): remove custom node caching

* chore: keep turbo.json

* chore: update turbo, ignore create-astro

* chore: update deps

* fix(ci): test command

* chore(ci): update test script

Co-authored-by: JuanM04 <me@juanm04.com>
2022-03-08 15:46:11 -06:00
Nate Moore
1aa4b49fdd fix(ci): open changesets from next 2022-03-04 15:50:30 -06:00
Nate Moore
33193f9ac6 fix(ci): prevent double CI runs on next branch 2022-03-04 15:39:11 -06:00
Nate Moore
b90219ceec
chore(ci): enable ci on next (#2716) 2022-03-04 11:17:25 -06:00
Nate Moore
2482fe70b9
Refactor smoke tests to use submodules (#2702)
* chore: delete inlined repos

* refactor: move smoke tests to submodules

* chore: remove smoke sync action

* chore: update ci to fetch submodules for smoke test only

* chore: fix ci script

* feat: delete inlined smoke tests

* fix: update lockfile to exclude smoke tests

* chore(ci): ensure smoke tests can pass in CI
2022-03-02 16:08:42 -06:00
Fred K. Schott
9ec8980bd2
fix failing format command in CI (#2696)
* fix failing format command in CI

* adds a check to formatting to ci

* ignore the prettier plugin for now

* update smoke to remove prettier plugin
2022-03-01 11:59:06 -08:00
Fred K. Schott
d07ef42e58 update ci branch name 2022-02-28 21:44:02 -08:00
Fred K. Schott
918f1ea4f7
Make smoke tests more deterministic (#2618)
* sync first remote smoke tests

* update smoke test scripts
2022-02-28 21:38:17 -08:00
Fred K. Schott
6edf47a890
improve memory leak test (#2621) 2022-02-18 17:08:28 -08:00
Nate Moore
37d4dd8d57
Improve smoke tests (#2617)
* chore(ci): improve smoke tests

* chore: skip www test
2022-02-18 15:40:03 -06:00
Matthew Phillips
23783648b6
Adds memory leak test in CI (#2616)
* Add a memory leak test

* Add memory leak smoke test to CI

* Update the latest compiler

* Update yarn.lock

* Remove entries optimization

* Calculate as 5% higher
2022-02-18 14:23:47 -06:00
Fred K. Schott
650fb1aa51 fix security issue: untrusted ci output 2022-02-14 10:43:12 -08:00
Fred K. Schott
bd779a8f15
Update the wording on one of our issue templates 2022-02-10 11:14:39 -08:00
Jonathan Neal
a911d14eab
Remove docs from monorepo (#2517)
* Remove docs from monorepo

* Update PULL_REQUEST_TEMPLATE.md

* Update relative doc references with links or todo
2022-02-07 13:39:53 -05:00
Astroalex
eb29cd5d33
Adding StackUp Digital to the list of sponsors (#2521)
* adding svg files for stackup

* Change list of sponsors w/testing

* change back to withastro, done testing
2022-02-03 12:12:06 -08:00
Fred K. Schott
c370aa4578 update congratsbot format again 2022-01-31 20:29:53 -08:00
Fred K. Schott
ed4d9828a7 update congratsbot again 2022-01-31 20:28:20 -08:00
Fred K. Schott
dc412f633f remove old docs template 2022-01-28 21:15:07 -08:00
Fred K. Schott
2ed6b554d5 point issues to the new docs repo 2022-01-28 21:14:44 -08:00
Fred K. Schott
aebe7f57d9
ci: so double quotes fixes the multiline issue? 2022-01-28 10:56:54 -08:00
Fred K. Schott
26711a587c
try to format new discord bot message 2022-01-28 10:52:55 -08:00
Fred K. Schott
4e938e9747
Update discord bot msg 2022-01-28 10:49:38 -08:00
Nate Moore
b21dd19cb6
chore: remove www (#2361) 2022-01-11 12:59:06 -06:00
Fred K. Schott
6cbe79fac4
move changeset to run after build, no test required (#2341) 2022-01-10 17:36:41 -05:00
Georges Gomes
eae959f1a7
Adds ‹div›RIOTS logo to the list of sponsors (#2271)
* Sponsor divRIOTS logos

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update packages/astro/README.md

Co-authored-by: Astroalex <alexis31.balthazard@gmail.com>

Co-authored-by: Astroalex <alexis31.balthazard@gmail.com>
2022-01-04 12:38:02 -06:00
Matthew Phillips
356d81abcb Turn off prettier in the CI task 2021-12-23 16:16:42 -05: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
7a3819cfa9 fix: use ref_name for changeset 2021-12-16 16:48:09 -06:00
Nate Moore
c6928478ae
Update CI to cache node_modules per OS (#2210)
* chore(action): update CI to cache node_modules per OS

* fix(ci): run tests on lint fix

* Update ci.yml
2021-12-16 15:38:55 -06:00
Fred K. Schott
bf40eb9e28
add manual action to rerun nightly jobs 2021-12-14 08:47:00 -08:00
Fred K. Schott
09c01702d0
Update nightly.yml 2021-12-14 08:45:23 -08:00
Fred K. Schott
a656155629
improve our smoke tests to run on all examples (#2174)
* improve smoke test

* chore(lint): Prettier fix

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-13 14:31:18 -08:00
Fred K. Schott
ddf45ada71
add lockfile ci (#2173) 2021-12-13 13:04:21 -08:00
Nate Moore
5258316c4f
Update turbo cache (#2184)
* chore(actions): update cache strategy

* chore: force ci
2021-12-13 13:55:35 -06:00
Nate Moore
80c65e9497
Improve turbo cache (#2178)
* chore(action): regenerate turbo cache

* chore(action): fix build

* chore: add support for [force-ci] option

* [force-ci]

* fix: force-ci support

* [force-ci]

* chore: debug commit message

* chore: debug commit message

* fix: remove force-ci support

* [force-ci]

* chore(actions): fix hash key

* chore(actions): fix hash key?
2021-12-10 00:11:20 -06: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
Nate Moore
6b0e243b09 chore(actions): update actions 2021-12-07 12:29:30 -06:00
Nate Moore
e0414ac865
Cleanup Actions (#2088)
* chore: actions cleanup

* chore: make release messages more fun

* chore: fix casing

* chore(lint): Prettier fix

Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-02 14:04:11 -06:00
Fred K. Schott
0b2650d713
Update ci.yml (#2077) 2021-12-01 21:58:34 -06:00
Nate Moore
c6b5909b93 chore(action): fix changeset action 2021-11-29 15:36:46 -06:00
Nate Moore
6f77acc07b chore(actions): fix changeset 2021-11-29 15:23:08 -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
X7md
56133d1c20
add dark-mode for logos [readme] (#2013)
* add logos for github dark mode

* preview logo

* Revert "preview logo"

This reverts commit affc31a8a5.
2021-11-24 17:14:56 -06:00
Fred K. Schott
ec2e5c9922 update issue templates for new RFC repo 2021-11-23 20:27:02 -08:00
Fred K. Schott
7476a92461
update repo URL (#1994) 2021-11-23 14:47:05 -08:00
Nate Moore
4a9c99c0a2
Improve PR labels (#1861)
* chore: improve PR labels

* chore: update action label
2021-11-17 14:31:58 -06:00
Nate Moore
1579dd7ff9
Automatically add PR labels (#1835)
* chore: add PR labeler

* chore: update labeler config

* chore: add action label

* refactor: use terse syntax
2021-11-15 13:56:00 -06:00
Nate Moore
5c44d07830 Revert "add mirror-template example"
This reverts commit 753d51ebb4.
2021-11-14 15:26:16 -06:00
Nate Moore
753d51ebb4 add mirror-template example 2021-11-14 15:25:45 -06:00
Nate Moore
744bcf29de
Update ---01-bug-report.yml 2021-11-12 17:27:38 -06:00
Nate Moore
2712e79bbb
chore: update issue template (#1815) 2021-11-12 17:26:42 -06:00
Drew Powers
5e0cb796a6
Enable macOS tests (#1774)
* Enable macOS tests

* Fix macOS tests
2021-11-11 10:24:48 -07:00
Drew Powers
c0d9ed832e
Enable Windows tests (#1712) 2021-11-02 08:13:36 -06:00
Drew Powers
d84bfe719a
🚀 Astro Next (0.21.0) (#1406)
* make astro-root uids unique

* Move Astro to Vite

* Update tests

* More test improvements

* fred fixes

* Update compiler, improve tests

* Fix runtime, improve code frame

* Add Markdown support

* Tycho fixes

* Fred fixes part 2

* Throw Error for WIP Features

* Improve testing suite

* Allow users to pass config to Vite

* Fix npm install (#1407)

* Automate publish on merge (#1408)

* Add NPM_TOKEN to publish script (#1409)

* Create .npmrc

* Clean up astro deps (#1411)

* Use new renderers (#1412)

* feat: update compiler (#1421)

* Try mocha/chai test runners (#1418)

* Try mocha/chai test runners

* Disable failing smoke test for now

Will revert when next can build docs

* Enable mocha in parallel mode

* Remove warning

* Update docs

* Fix Windows bug

* Fix internal imports

* Fix styles

* Fix CI release on merge to next (#1427)

* Fix logger locale parsing (#1439)

* fix(logger): locale parsing
* Fixed issue of compiler crash when "c" locale was encountered
* Return default locale if parsed locale is less than 2 chars long

* chore: add changeset

* Apply changes from #1387

* Add back in support for children (#1486)

* Add back in support for children

* Be more careful

* Enables most slot tests (#1494)

* Enables most slot tests

* Use spreadAttributes

* Add hydration to Solid renderer (#1479) (#1495)

* feat: add hydration to Solid renderer

* fix: intersection observer, move script to the end

Co-authored-by: Ryan Carniato <ryansolid@gmail.com>

* [next] support Astro.slots API (#1516)

* [next] Support for custom elements (#1528)

* [next] Support for custom elements

* Fix eslint errors

* eslint again

* [next] Fix Astro.fetchContent (#1480)

* fix Astro.fetchContent

* fix(fetchContent): cast type

Co-authored-by: Nate Moore <nate@skypack.dev>

* Move hydration to the compiler (#1547)

* Move hydration to the compiler

* Move extracting url, export to util fn

* Brings back astro-dynamic tests (#1548)

* Implements top-level Astro + Astro.resolve (#1556)

* Implements top-level Astro + Astro.resolve

* Fix linting

* [next] Update renderers (#1509)

* chore: update vite

* fix(renderers): point renderers to resolved server/client entrypoints

* Chore: Enable more tests with new compiler changes (#1558)

* [Next] `fetch` support (#1563)

* fix: polyfill fetch in every ssr scenario

* test(fetch): update fetch tests

* docs: update data fetching guide to remove caveats about `fetch` and isomorphic usage

* refactor: update regex for clarity

* Restructure (#1569)

* Upgrade to @astrojs/compiler 0.2.0 (#1584)

* Use Vite fork (#1585)

* Use Vite fork

* Fix linting

* Move Vite to vendor/ and add a license

* Fix linting

* Include the dist folder

* Update files config

* Markdown compilation (#1593)

* Markdown compilation

* remove debugger

* Gets lit hydration working (#1595)

* Gets Astro.fetchContent compilation to work (#1596)

* Gets Astro.fetchContent compilation to work

This fixes Astro.fetchContent so that we handle esbuild transforming the
name of the nested Astro call.

* Remove debugging

* Update the tests

* Remove another debugger

* Update Vite to latest (#1597)

* Add Prism syntax highlighting (#1598)

* Scoped styles with markdown (#1599)

* Bugfix: fix getStaticPaths() cache miss (#1602)

* Fix build order (#1609)

* Bugfix: restore build to get all paths earlier, when build. Same as main.

* Also re-add timings

* [next] blog example fully working (#1610)

* Add environment variables docs (Closes #873) (#1587)

* Added environment variables docs (Closes #873)

* Fixed prefix

* Remove numbered comments (#1611)

* Chore: remove numbered comments

* Clean up block comments

* comment style fixes (#1614)

* [next] Upgrade compiler (#1619)

* [next] Upgrade compiler

* Upgrade to latest compiler

* Fix the path to global css

* Removed debugger

* feat: add fragment support to vite-plugin-astro (#1600)

* [next] fix `.tsx` handling (#1620)

* fix: support tsx in JSX plugin

* fix: preserve JSX via esbuild, only use Babel for JSX compilation

* fix: handle upcoming Vite API for `ssr` flag

* [next] Add CSS preprocessing  (#1589)

* Add concept for style support in Astro

* Update style preprocessor to use new compiler

* fix: massage preprocessStyle type

* fix: @astrojs/compiler types

Co-authored-by: Nate Moore <nate@skypack.dev>

* fix issues in blog-multiple-authors (#1621)

* Move Sass to deps (#1622)

* Update renderer API for Vite (#1623)

* Update renderer API for Vite

* Fix lit-element tests

* Clean up comments

* Throw friendly error if renderer provides viteConfig in a bad format

* Fix changesets (#1628)

* Remove cheerio scanning from build stats (#1629)

* Minor change to jsxTransformOptions, update Renderer API docs (#1630)

* [next] docs example fully working (#1627)

* [next] docs example fully working

* Upgrade compiler to unlock docs

* Add `class:list` directive (#1612)

* Add support for class:list directive

The `class:list` directive serializes an expression of css class names. For React components, `className:list` is also supported.

* Remove `className` support and React tests

* Add tests for the absence of omitted classes

* fix: `define:vars` scoping for styles (#1632)

* feat: fix Debug component (#1633)

* [next] Fix `<Markdown>` component (#1631)

* fix: cleanup issues with <Markdown> component

* fix: fix `content` usage with Markdown

* [next] Fix `<Code>` component (#1635)

* fix: enable Code component

* test: update expect to chai format

* Fixes solid (#1634)

* Fixes solid

* Rename the test

* Rebase with next

* Skip solid test for now

* Add support for markdown plugins (#1650)

* Fix broken next release (#1652)

* Prevent passing  to Svelte components

* Prevent passing class to Vue components

* Add CSS injection, fix portfolio example (#1648)

* Fix portfolio example

* Add .pcss extension

* Update load ssr opts

* Update packages/astro/src/runtime/server/index.ts

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>

* Fixes external HMR (#1654)

* Upgrade compiler version (#1655)

Fixes docs and blog examples

* Resolve renderers relative to the projectRoot (#1659)

* Template fixes (#1656)

* fix: dedupe hashes for identical islands (#1660)

* fix: scope `define:vars` to `:root` for `<style global>` (#1663)

* chore: update compiler to latest (#1664)

* [next] fix island hydration inside of `<Markdown>` (#1665)

* fix: create rehype plugin to smooth over island hydration bugs

* refactor: remove debug code

* chore: explain need for `rehypeIslands`

* Bugfix: renderer-lit missing files on npm (#1669)

* Force Vite to rebuild dependencies (#1670)

* [next] Add `preact/compat` renderer (#1668)

* feat: add preact/compat entry for `@astrojs/renderer-preact`

* Update index.js

* Bugfix: plugin-astro-fetch tries to append node-fetch to node-fetch (#1671)

* Fix Vite race condition (#1674)

* Fix with-nanostore deps (#1675)

Adds missing Solid renderer

* [next] Fix `resolveDependency` on Windows (#1666)

* fix: Windows issue with resolveDependency util

* chore: add comment

* Update CONTRIBUTING.md (#1677)

* Prevent scanning a user's deps (#1678)

* Prevent scanning a user's deps

* Remove unused things

* remove unused util

* Adding a changeset for the remark plugin

* Config changes needed for stater template (#1680)

This does 2 things:

1. Adds prismjs as a dep.
2. Adds shiki as an external.

* Next bugs (#1681)

* fix(#1679): hoisted <script> rendering

* fix(#1679): do not print global for styles, but do for scripts

* fix: update ObjectSet implementation

* fix: dedupe elements in sets

* [next] update compiler (#1683)

* chore: update compiler

* chore: update compiler (again)

* Fix Astro HMR bottleneck (#1684)

* Bugfix: JSX renderers can be declared in any order (#1686)

* chore: update compiler (#1690)

* Exclude lit-server from being optimized (#1691)

This should get the lit example working from `npm`.

* fix: exclude all renderer server entrypoints (#1692)

* chore: update compiler (#1705)

* fix: do not crash when Markdown has no content (#1702)

* feat: improve support for third-party React packages (#1701)

* Remove prism warning when no language is provided (#1703)

* Remove prism warning when no language is provided

* Add the plaintext language instead

* retry deploy

* chore: enter prerelease mode under `next` (#1707)

* Updates to the changesets (#1708)

* Updates to the changesets

* Adds a changeset for astro-prism

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Pranav Karawale <52596591+obnoxiousnerd@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Ryan Carniato <ryansolid@gmail.com>
Co-authored-by: AsyncBanana <58297401+AsyncBanana@users.noreply.github.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-10-29 15:30:22 -04:00
Drew Powers
7e4f91db60
Add Vercel sponsorship logo (#1555)
* Add Vercel sponsorship logo

Also normalize other logos

* Add Vercel logo to www

* Add logos to docs
2021-10-14 12:25:46 -06:00
Caleb Jasik
a0becd24b4
Only run .github/workflows/stats.yml locally, not on forks (#1549) 2021-10-14 08:07:47 -04:00
Elian ☕️
5ef1bf6e7d
Add Github Action to automatically push from main to latest when no changeset (#1529)
* Add CI for updates on main to latest

* Add folder checking on .changeset

* Check JSON value of changeset

* Update push script on action

* Update commit and push job
2021-10-11 15:56:50 -04:00
Joseph Yi
e4b0db9b12
Use setup-node action's caching (#1476)
* Use setup-node action's caching

* additional cleanup of caching boilerplate

Co-authored-by: Joseph Yi <joseph.yi@shift.com>
2021-10-02 23:28:50 -07:00
Fred K. Schott
cef644a8fc
Update issue.yml 2021-09-17 22:51:54 -07:00
Drew Powers
939d5c3ae6
Add sponsorship logos (#1371) 2021-09-16 22:24:27 -06:00
Fred K. Schott
49456fcb1a Revert "fix bad ci paths"
This reverts commit c9bef50bc7.
2021-09-14 21:23:39 -07:00
Fred K. Schott
c9bef50bc7 fix bad ci paths 2021-09-14 17:17:09 -07:00
Fred K. Schott
d7b6e54810
fix outdated lockfile issue (#1357) 2021-09-13 15:34:40 -07:00
Fred K. Schott
287eee766f
Update issue.yml column name 2021-09-01 15:57:36 -07:00
Fred K. Schott
fba0446666 success: clean up issue.yml from testing 2021-09-01 11:33:09 -07:00
Fred K. Schott
be173d5f01 issue.yml testing 2021-09-01 11:32:08 -07:00
Fred K. Schott
8480103e3b issue.yml testing 2021-09-01 11:30:05 -07:00
Fred K. Schott
68d01a8103 fix bad project url in issue.yml 2021-09-01 11:29:10 -07:00
Fred K. Schott
5cb57a375a fix issue.yml syntax error 2021-09-01 11:27:29 -07:00
Fred K. Schott
53ffefcf43
add project assigner CI bot (#1291) 2021-09-01 09:53:42 -07:00
Fred K. Schott
2af9b29472
Fix congratsbot multiline issue (#1285)
* testing new congrats bot

if you see this, it did not work yet

* try including multiline message

line 2
line 3
2021-08-31 22:26:41 -07:00
Fred K. Schott
f14762bd12
wip (#1284) 2021-08-31 19:50:25 -07:00
Mihkel Eidast
44fb8ebcc4
Fix linter errors and warnings (#1218)
* fix lint issues, enable lint in ci

* add changeset
2021-08-24 15:50:24 -04:00
Marcus Otterström
c7bbb042b0
Make congratsbot not run in forks (#1145) 2021-08-17 22:19:25 -07:00
Fred K. Schott
2c0d0a7aa2 restrict smoke test to ubuntu@node14 2021-08-12 01:41:54 -07:00
Fred K. Schott
34e9ab8b10
Update ci.yml 2021-08-12 01:34:51 -07:00
Fred K. Schott
7c2feb19f6
add docs and www smoke tests to github (#1088) 2021-08-11 16:31:02 -07:00
Fred K. Schott
fcc56a8672 don't force push the format commit 2021-08-11 14:54:37 -07:00
Fred K. Schott
d2739dcc4c keep latest branch up to date 2021-08-11 14:54:14 -07:00
Fred K. Schott
812c9d8269
Update congratsbot.yml 2021-08-08 22:36:38 -07:00
Fred K. Schott
5b04e55052
Update congratsbot.yml 2021-08-08 22:33:35 -07:00
Fred K. Schott
8a969007fb
Update congratsbot to support external PRs 2021-08-08 22:28:21 -07:00
Fred K. Schott
a64a703246
Update congratsbot.yml 2021-08-08 11:26:30 -07:00
Fred K. Schott
30d258596e
Testing github action, safe to ignore (#1058)
* Update congratsbot.yml

* Update congratsbot.yml
2021-08-08 11:25:13 -07:00
Fred K. Schott
ddca6e4c93
Create congratsbot.yml (#1057) 2021-08-08 11:09:34 -07:00
Fred K. Schott
7f6dd972b8
Update congratsbot.yml (#1055) 2021-08-08 11:05:30 -07:00
Fred K. Schott
8e7c5ef991
Create congratsbot action 2021-08-08 11:02:43 -07:00
Fred K. Schott
2360e2c8a2 testing complete, add back if check for release message 2021-08-05 23:19:54 -07:00
Fred K. Schott
9533258534 update discord release message 2021-08-05 23:15:34 -07:00
Fred K. Schott
49e8bde4e1 update discord release message 2021-08-05 23:12:57 -07:00
Fred K. Schott
db90e7046a add discord announcement when a new release goes out 2021-08-05 23:01:18 -07:00
Fred K. Schott
f0737adf2c
update release CI script to publish (#1034) 2021-08-05 13:39:55 -07:00
Fred K. Schott
7d82ce9c92 fix changeset ci 2021-07-24 16:00:57 -07:00
Fred K. Schott
c5073cc982 stop ignoring release ci script 2021-07-24 15:57:01 -07:00
Fred K. Schott
debbc18708 format 2021-07-22 15:38:39 -07:00
Fred K. Schott
91dba89833
improve ci (#802) 2021-07-22 08:51:07 -07:00
FredKSchott
50f82e1a53 [ci] yarn format 2021-07-20 04:07:49 +00:00
Fred K. Schott
a7e66666e4
tsconfig fix (#752) 2021-07-19 18:23:39 -07:00
Fred K. Schott
cca84df07a update rfc template 2021-07-15 16:42:45 -04:00
Fred K. Schott
5e2c825c9e clean up issue templates 2021-07-15 16:41:15 -04:00
FredKSchott
60ba1f623d [ci] yarn format 2021-07-15 20:40:21 +00:00
Fred K. Schott
2bb2acd1a1 create new issue template for docs 2021-07-15 16:39:11 -04:00
Fred K. Schott
44355d4ca9
Update ---bug_report.yml 2021-06-29 17:07:52 -07:00
Fred K. Schott
91bcc2dd92
Update ---feature-request.yml 2021-06-29 17:07:39 -07:00
Fred K. Schott
e48c902e1c
Update ---feature-request.yml 2021-06-29 17:06:34 -07:00
Fred K. Schott
11cf22999d
Update ---bug_report.yml 2021-06-25 21:37:03 -07: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
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