Erika
500ee802ac
fix: upgrade tooling deps ( #6839 )
2023-04-13 13:08:54 -04:00
Bjorn Lu
5f0efe5490
Update to pnpm 8 ( #6823 )
2023-04-12 23:34:54 +08:00
Erika
1e7d6af412
feat(all): Migrate to TypeScript 5.0 ( #6579 )
2023-03-20 17:02:07 +01:00
Bjorn Lu
00a0af7ed4
Move benchmark package and update changeset config ( #6433 )
2023-03-07 10:52:47 +08:00
Erika
afbbc4d5bf
Update compilation target for Node 16 ( #6213 )
...
* config(esbuild): Update esbuild target to node16
* config(package): Update root package.json node engine
* config(tsconfig): Update all the tsconfigs module and targets
* chore: changeset
* chore: remove unneeded file
2023-03-06 13:57:16 -05:00
Bjorn Lu
f4937949d6
Refactor benchmark script ( #6376 )
...
* Add timer setting
* Setup benchmark code
* Setup memory benchmark
* Add compare function
* Add result preview
* Setup results preview
* Simplify script for CI
* Update CI
* Cleanup
* Temp remove fork guard
* Fix stuff
* Fix again
* Fix quotes
* Fix multiline output
* Simplify title
* Fix memory numbers
* Remove astro bin dir
* Fix gc
* Add repo guards
* Fix wrong call
* Set max space size
* Remove guard
* Bump memory a bit
* Organize neatly
* Update readme
* Try large md
* Try no gc
* Revert markdown and gc changes
* Test sha
* Try ref
* Try 128mb
* Set 256
* Add guard
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Add docs comment
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-01 08:46:06 +00:00
Bjorn Lu
ae8a012a7b
Handle compiler breaking change ( #5803 )
2023-01-12 22:46:56 +08:00
Bjorn Lu
c2844a79c8
Fix docs smoke error ( #5706 )
...
Co-authored-by: bholmesdev <hey@bholmes.dev>
2023-01-02 21:31:51 +08:00
Ben Holmes
5ec0f6ed55
Content Collections ( #5291 )
...
* feat: port content plugin as-is
* feat: add `fetchContent` to `.astro`
* refactor: move more logic to content-internals
* refactor: move internals -> content dir
* feat: nested dir support
* feat: add with-content playground
* edit: update README
* fix: serialize route pattern for Netlify edge
Co-authored-by: Jackie Macharia <jackiewmacharia>
* wip: add ?astro-asset-ssr flag
* wip: exclude astro-ssr-asset styles from build
* revert: SSR asset flag babel changes
* feat: only load CSS when mdx is rendered!
* fix(vercel): Include all files inside `dist/` instead of only `entry.mjs` (#5175 )
* chore: only-allow pnpm (#5131 )
* [MDX] Support `recmaPlugins` config (#5146 )
* feat: support recma plugins
* chore: add `test:match` to MDX
* chore: changeset
* docs: add recmaPlugins to README
* removes default content-visibility styles from image components (#5180 )
* wip: check renderContent works
* nit: injectDelayedAssetPlugin doesn't need enforce
* feat: render content with generated entries
* feat: renderContent style injection POC
* wip: scrappy renderContent binding
* deps: parse-imports
* feat: only bind renderContent when imported
* feat: new-and-improved render-content
* fix: update example to use render-content
* refactor: extract normalizeFilename helper
* feat: move renderContent to `.astro`
* feat: add `getStaticPaths` demo 👀
* chore: remove console log
* refactor: internals -> internal
* fix: style bleed on dynamic routes
* chore: remove console log
* refactor: move rendercontentmap inside same file
* fix: style bleed in dev!
* feat: clean up example
* refactor: curry generateContent
* nit: add datetime demo
* refactor: rename and move content plugins
* feat: granular content updates in development
* chore: console.log
* refactor: move write logic, fix edge cases
* fix: use z.any() when ~schema is missing
* refactor: clean up logging
* fix: add delayed asset flag to render map
* fix: use new server loader
* chore: import type
* fix: split delayed assets to separate chunks
* chore: bad merge changesets
* feat: rework content map to Vite globs
* fix: formatted errors
* fix: get `renderContent` working with new APIs
* refactor: rename to getCollection, getEntry, renderEntry
* feat: streamline type alias!
* fix: check schema import is an import
* refactor: change ~schema -> index with defineCollection
* feat: auto apply env.d.ts reference
* feat: expose `headings` on `renderEntry`
* refactor: expose zod from astro/zod
* feat: add Collection util type
* refactor: generated types in src/content/
* edit: remove env.d.ts change from with-content
* feat: collectionToPaths utility
* refactor: migrate `examples/blog`
* refactor: simplify [...slug]
* fix: invalid date
* fix: renderEntry
* feat: migrate examples/docs to content!
* refactor: union -> enum
* fix: remove duplicate header
* chore: changeset
* Revert "fix: serialize route pattern for Netlify edge"
This reverts commit ac46a0d323
.
* fix: lint
* fix: include zod in package files
* chore: push type gen for astro check
* feat: move to single defineCollections file
* feat: move examples to new collections model
* chore: type check valid collection names
* fix: ignore collections path in err logs
* refactor: content/index -> content/config
* refactor: defineCollections -> defineCollection
* fix: update docs to defineCollection
* chore: update with-content to new `astro:content` setup
* fix: renderEntry styles
* fix: bad Collection type
* fix: blog types generated
* feat: expose injectedFrontmatter on renderEntry
* chore: `import type`
* chore: add MDX to changeset
* fix: template package file
* fix: unneeded log on content config change
* chore: add `injectedFrontmatter` to generated types
* fix: escape import.meta.env in `body`
* fix: escape import.meta.env in frontmatter
* chore: unused import
* fix: use URL for config pathname
* feat: allow zod async transforms
* deps: devalue
* feat: custom slugs + better type checking
* fix: update types on config added or removed
* chore: add error msg for MDX preview release
* refactor: restore old normalizeFilename
* fix: add loadContentConfig error classes back
* Add initial tests for renderEntry
* add fixture tests
* Use head propagation APIs in renderEntry
* chore: new type gen
* fix: sort content keys before writing
* fix: avoid writing '.' collection with warning
* chore: docs types generated
* fix: generated types only once in build
* fix: use relative path to config for git
* chore: update generated types
* fix: glob pattern on valid exts
* feat: warn on possible collection typos
* chore: better error on bad lazy import
* fix: clear gray-matter cache for rawData
* fix: wait for config file while generating
* test: get collection and get entry basic
* test: multiple collections and entries
* test: add publishedDate test on entry
* tests: getStaticPaths integration
* test: ssr endpoint integration
* chore: consistent test names
* refactor: simplify generates... test
* chore: tests lockfile
* feat: add `experimental` flag
* chore: revert blog and docs examples
* chore: add experimental flag to with-content
* refactor: reuse contentFileExts
* refactor: make contentCollectionCss required
* chore: remove parse-imports dependency
* chore: remove unresolved idea redundancy
* chore: update changeset to minor v
* chore: clean up with-content pass 1
* refactor: de-monolith vite-plugin-content
* chore: remove maximum jank warning (it's acceptable jank)
* refactor: extract types-generator to separate file
* refactor: onEvent -> handleEvent
* edit: change content log to "types generated"
* fix: more experimental checks in prod build
* refactor: 2 jsToTreeNode calls -> 1
* feat: change with-content example to blog example
* fix: Content component type
* Fix use of renderEntry within a slot
* fix: warn for non-underscore _ files, refine logs
* chore: Content type in tests
* fix: types no updating with config changes
* fix: remove `result: SSRResult` type
* chore: entry var shadowing
* fix: bad experimental flag call
* wip: skip render entry tests
* fix: path resolution for .relative on windows
* chore: remove dead code
* wip: log entryPath into
* fix: use URL for entry
* refactor: getEntryInfo normalization
* refactor: move debounce to queueEvent only
* fix: resolve loader on config error
* fix: pathToFileURL -> new URL
* fix: dangerous pathname comparison
* refactor: move rawEvent -> event mapping to queueEvent
* fix: bad type
* wip: remove mkdir call
* wip: log content paths
* fix: more bad paths
* wip: more logs
* fix: correct glob path
* fix: normalize virtual mod path
* fix: content server file paths
* chore: remove render entry test skip
* wip: skip renderEntry tests (windows issues?)
* chore: remove console log
* feat: renderEntry -> render
* chore: add `--experimental-content-collections`
* refactor: only skip renderEntry tests on windows
* refactor: index.ts barrel export
* fix: cli type error
* fix: proper test skip on windows
* refactor: remove collectionToPaths :(
* refactor: use AstroError for frontmatter error
* nit: its schema, .*
* fix: bad isWindows import
* fix: await mod -> mod = await
Co-authored-by: Juan Martín Seery <me@juanm04.com>
Co-authored-by: 花果山大圣 <316783812@qq.com>
Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: bholmesdev <bholmesdev@gmail.com>
2022-12-16 14:19:53 -05:00
Bjorn Lu
fabd9124bd
Update esbuild dependency ( #5534 )
2022-12-06 22:11:59 +08:00
Erika
0dcdc6fb1e
Update language-server and prettier plugin to latest versions ( #5327 )
...
* Update language-server and prettier plugin to latest versions
* Update lockfile
2022-11-08 14:37:19 -04:00
Tony Sullivan
4e2bd17393
Adds a Hackernews example site ( #5213 )
...
* adds the hackernews example - TODO add readme content
* refactor: moving styles from root.css into components
* chore: add README content
* chore: lint fixes + prettier-plugin-astro@0.4.0
* Update examples/hackernews/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* lint: remove unused variable
* nit: adding check command to example
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-11-01 16:20:04 +00:00
Michael Rienstra
13b8e78713
Uninstall only-allow
( #5184 )
2022-10-25 18:09:41 +08:00
花果山大圣
ca94e9ccc1
chore: only-allow pnpm ( #5131 )
2022-10-24 14:17:23 -04:00
花果山大圣
0db9c08a8d
chore: add eslint cache ( #5101 )
2022-10-17 22:32:20 +08:00
Matthew Phillips
9e041f464c
Improved benchmark output ( #5077 )
...
* Improved benchmark output
* Show benchmarking table
2022-10-13 15:22:51 -04:00
Erika
0ea6187f95
Added support for updating tsconfig.json when using astro add ( #4959 )
...
* Added support for updating tsconfig.json when using astro add
* Refactor
* Remove unneeded change
* Fix build failling due to type difference
* Extend changeset description
2022-10-12 15:11:25 -03:00
Erika
f604ef6c69
Run astro check on all examples in CI ( #5022 )
...
* Run astro check on all examples in CI
* Output stderr
* Build Astro before running checks
* Making things faster + colors
* Fix errors inside examples
* Add congrats message
* Revert unentional change to tsconfigs
* Remove more unneeded changes
2022-10-12 09:48:29 -03:00
Matthew Phillips
f93625eafe
Run benchmarks on comment ( #4960 )
...
* Run benchmarks on !bench command
* Re-enable main
2022-10-03 16:11:20 -04:00
Bjorn Lu
812658ad2a
Remove shamefully-hoist ( #4842 )
2022-09-28 23:13:33 +08:00
Michael Rienstra
7481ffda02
create-astro
: always create tsconfig.json
(#4810 )
...
* `create-astro`: always create `tsconfig.json`
Currently, we only make sure `tsconfig.json` exists when `strict` or `strictest` is selected. Both `default` & `optout` are intended to correspond to `base` -- and will do so for all [23 official templates](https://github.com/withastro/astro/tree/main/examples ), but not necessarily for third-party templates.
The [example command for installing a third-party template](https://github.com/withastro/astro/blob/a800bf7/packages/create-astro/README.md?plain=1#L31-L35 ) is (rather conveniently for the sake of this PR!) an example of a template without a `tsconfig.json` file, and installing it with the `default` ("Relaxed") Typescript option results in no `tsconfig.json` file, rather than a `tsconfig.json` file containing `{ "extends": "astro/tsconfigs/base" }` as would be expected.
This PR addresses this scenario.
It also explicitly sets the `tsconfig.json` file to `{ "extends": "astro/tsconfigs/base" }` when `default` (which I renamed to `base`, still presented to the user as "Relaxed") or `optout` is selected (`optout` has always printed a warning about the importance of `tsconfig.json` & `src/env.d.ts` but otherwise behaved identically to `default`). This is necessary in two scenarios:
1. When the `tsconfig.json` file was created by this script.
2. When it either didn't already include `"extends"`, or it extended a different config by default. For example, some third-party templates might default to `strict`, in which case I'm guessing we'd want to respect the user's choice and change that to `base`.
* update `del` 6.1.1 --> 7.0.0
* test: prevent excess writes
(without this it triggers many times)
* test: create-astro typescript prompt
* changeset
* fix: recursive `mkdirSync`
* test: longer timeout for `windows-latest` OS
(see if this fixes failing tests)
* better glob path creation, don't hardcode `/`
* test: longer timeout for windows-latest OS
(since I'm about to trigger another CI run by pushing a commit, might as well try this too)
* create-astro test: show last CLI output on timeout
* drop variable timeout
Typescript tests are slower than directory tests, but they are all usually less than 5000 ms. Less complexity, easier to maintain.
* DRY new error output
* Update lockfile
* Sync lockfile with main
* Update lockfile
Co-authored-by: Princesseuh <princssdev@gmail.com>
2022-09-22 14:37:01 -04:00
Matthew Phillips
5986517b4f
Make React integration work with Deno ( #4679 )
...
* Remove removed packages folder
* fix
* Add a changeset
2022-09-08 12:30:49 -04:00
Bjorn Lu
1be49088cc
Bump pnpm version ( #4488 )
2022-08-26 09:01:58 -04:00
Nate Moore
9f067dca27
Astro 1.0.0 ( #4214 )
...
* chore: remove changesets patch
* chore: add changesets
* chore: version packages
* chore: normalize formatting
* chore: update lockfile
* chore: fix codeblocks
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/CHANGELOG.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* chore: fixup code samples
* chore: move v0.25 message out of note
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-09 11:10:25 -05:00
Erika
24c8e7d853
Add prettier-plugin-astro
to the monorepo ( #4083 )
...
* Add `prettier-plugin-astro` to the monorepo
* Fix issue that prevent formatting Picture component
* Revert "Fix issue that prevent formatting Picture component"
This reverts commit 5536c5122ca01c64e2be6bdbc88aaaa71a690a58.
* Add back CLI parameter
* Update to latest prettier plugin
* Add more ignored files, unfortunately
2022-08-05 21:36:31 -07:00
Nate Moore
c1248e9ed4
Update turbo scripts ( #4177 )
...
* chore: update turbo scripts
* fix: typo
Co-authored-by: Nate Moore <nate@astro.build>
2022-08-05 16:18:56 -05:00
Fred K. Schott
778a4d2af1
update test coverage to include more Node and Windows tests ( #4144 )
...
* update node test coverage to include v18, more windows tests
* chore(ci): update turbo to account for OS and NODE_VERSION
* chore: disable node@18, add TODO
Co-authored-by: Nate Moore <nate@astro.build>
2022-08-05 15:14:19 -05:00
Nate Moore
27ee8b97ae
Overhaul HMR handling for .astro
files ( #3932 )
...
* feat(hmr): overhaul HMR handling for `.astro` files
* test: remove irrelevant hmr-css test
* fix: ignore HMR logs for monorepo files
* fix: explicitly call import.meta.hot.decline()
* chore: add changeset
* fix: run smoke tests in serial
* chore: bump postcss test timeout
* test: fix undefined `this`
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-22 13:37:20 -05:00
Ben Holmes
aa06fd9f9a
[Smoke] Add docs and astro.build to smoke test ( #3941 )
...
* feat: add docs and astrobuild to checkout
* fix: checkout external repos after main
* wip: build each external repo separately?
* Revert "wip: build each external repo separately?"
This reverts commit 042a3b2a8b33cfcff1622c2002bdfa43a5532ea8.
* fix: move checkout to smoke/
* chore: add react to peer dep ignores for CI
2022-07-18 16:00:00 -04:00
Chris Swithinbank
31f9c0bf02
Roll back supported Node engines ( #3937 )
...
Fixes #3936
2022-07-15 08:15:04 -04:00
Randall
b487679853
Rollback Nodejs Dependancy ( #3914 )
...
* Rollback Nodejs Dependancy
Closes #3908
Signed-off-by: Randall T. Vasquez <ran.dall@icloud.com>
* Create ninety-apes-talk.md
2022-07-13 17:06:37 -04:00
Nate Moore
93e1020b1e
Fix: reintroduce smoke tests across example projects ( #3669 )
...
* chore: update smoke tests
* chore: bump smoke tests to node@16
* chore: remove gitmodules
* chore(ci): prefer node@14
* wip: remove path from smoke clone step
* feat: run build:examples from test:smoke
* fix: remove no-frozen-lockfile
* fix: checkout monorepo last for pnpm setup
* wip: replace @astrojs/markdown/remark import from md
* fix: remove type defs from generated file
* fix: function order
* chore: remove ssr-utils export
* wip: remove windows from smoke test
* fix: instantiate slugger in snippet
* fix: exclude with-mdx from smoke (for now)
* fix: add quotes on filter flag for safety
* chore: changeset
* wip: try reintroducing windows smoke
* sad chore: remove client: directive from with-mdx
* Revert "wip: try reintroducing windows smoke"
This reverts commit 9529b1a45c
.
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: bholmesdev <hey@bholmes.dev>
2022-07-11 22:51:17 -04:00
Nate Moore
1cc5b78905
fix( #3071 ): update supported node versions ( #3871 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-11 11:32:53 -05:00
Erika
f9ed77bb0d
Add editor integrations to language integrations ( #3864 )
2022-07-08 17:47:01 -04:00
Nate Moore
0e01e0bb58
Upgrade to pnpm@7.4.1, remove patch-package
( #3747 )
...
* chore: upgrade to pnpm@7.4.0, remove `patch-package`
* chore: update contributing
* chore: pnpm@7.4.1
* chore: bump to pnpm@7.5.0
Co-authored-by: Nate Moore <nate@astro.build>
2022-07-07 12:52:53 -05:00
Nate Moore
f9290b328a
CI: Prefer per-job cache rather than artifact I/O ( #3781 )
...
* chore(ci): prefer per-job cache rather than artifact io
* chore: update cache step
* chore: fix cache key
* chore(ci): build on windows as well
* chore(ci): enable remote cache
* chore: run build on all three platforms
* chore: prefer turbo to custom caching logic
* chore: build AFTER install
* chore: build on node 14
* chore: remove build, parallelize tasks
* chore: update cache
* chore: prime build caches
* chore: fix indentation
* chore(ci): only build on ubuntu
* chore(ci): changelog needs build
* chore(ci): ignore updates to md files
* chore(ci): add 20 min timeout for e2e tests
* chore(ci): enable FORCE_COLOR
* chore: run turbo with `--output-logs=new-only`
Co-authored-by: Nate Moore <nate@astro.build>
2022-06-30 16:26:37 -05:00
Nate Moore
032ad1c047
MDX support ( #3706 )
...
* feat: first pass at MDX support
* fix: move built-in JSX renderer to come first
* chore: remove jsx example
* chore: update lockfile
* chore: cleanup example
* fix: missing deps
* refactor: move component render logic to `renderPage`
* chore: update HMR script
* chore: update MDX example
* refactor: prefer unshit
* refactor: remove TODO comment
* fix: remove duplicate identifier
* refactor: cleanup mdx entrypoint
* fix: better html handling
* fix: add tsconfig to mdx package
* chore: update lockfile
* fix: do not sort plugins unless mdx is enabled
* chore: update compiler
* fix(hmr): maybe render head for non-Astro pages
* fix: set initial pageExtensions
* refactor: cleanup addPageExtension
* refactor: remove addPageExtensions from types
* refactor: expose HookParameters type
* fix: only default to astro for MDX
* test: pick up jsx support in test fixtures
* refactor: simplify mdx entrypoint
* test: add basic MDX tests
* test(e2e): add mdx + framework tests
* chore: update lockfile
* test(e2e): fix preact mdx e2e test
* fix(mdx): disable .md support
* test(e2e): fix vue-component test missing mdx
* test(e2e): fix solid component needing import
* fix: allow `client:only="solid"` as an alias to `solid-js`
* chore: move to with-mdx example
* chore: update MDX readme
* chore: update example readme
* chore: bump astro version
* chore: update lockfile
* Update mod.d.ts
* feat: support `export const components` in MDX pages
* chore: update mdx example
* fix: update jsx-runtime with better slot support
* refactor: remove object style support
* chore: cleanup package exports
* chore: add todo comment
* refactor: improve isPage function, move to utils
* refactor: dry up manual HMR updates
* chore: add dev tests for MDX
* chore: prefer set to array
* chore: add changesets
* fix(hmr): flip public/private route
Co-authored-by: Nate Moore <nate@astro.build>
2022-06-30 13:09:09 -05:00
Fred K. Bot
768c8ed21d
[ci] update lockfile ( #3740 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-06-28 08:33:13 -05:00
Fred K. Schott
9d78162fd9
Prettier update with caching speedup ( #3710 )
...
* update lockfile on fresh install
* update prettier
2022-06-27 11:24:22 -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
Fred K. Schott
cfb85ee10e
[ci] update lockfile ( #3495 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-06-01 10:39:32 -05:00
Fred K. Schott
c9d8b10a85
[ci] update lockfile ( #3448 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-31 11:46:13 -05:00
Fred K. Schott
ffe5cf0312
update typescript ( #3456 )
2022-05-27 14:53:04 -05:00
Fred K. Schott
ccaea99765
[ci] update lockfile ( #3419 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-24 11:43:37 -05:00
Tony Sullivan
ff56f083bc
Adding E2E tests for client hydration and HMR ( #3374 )
...
* 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
* ensure playwright deps are installed during CI
* adding a basic HMR test for tailwind styles
* using @e2e for playwright test packages
* adding react hydration and HMR tests
* adding hydration and HMR tests for preact
* adding svelte hydration and HMR tests
* adding solid-js hydration and HMR tests
* adding solid hydration and HMR tests
* adding vue hydration and HMR tests
* adding client:media tests
* fixing Lit hydration and HMR tests
* fixing up the Vue e2e tests
* fixing up svelte tests
* chore: test cleanup
* chore: cleaning up test element IDs
* chore: updating lock file
* chore: update lockfile after merge
* TEMP: disabling React e2e tests
* Revert "TEMP: disabling React e2e tests"
This reverts commit ed1bad9cbc
.
* updating to use the new editFiles helper
* chore: updating lock file
* updating lock file
* updating lockfile
* TEMP: watching for console logs
* TEMP: testing typescript tests
* updating test:e2e scripts for config file
* seems like it didn't find the config file?
* use a fresh dev server for each test
* removing Lit tests for now
* Revert "removing Lit tests for now"
This reverts commit 4970a8093e
.
* updating test config for CI
* WIP: disabling HMR tests to track down why they're unreliable
* TEMP: logging to debug HMR test
* afterEach isn't a global in Playwright
* fix: the test's file reset helper was using a URL not filepath
* one last try, why is the HMR test hanging at cleanup?
* resetting files after tailwind HMR test
* create the onNextChange watcher before editFile is called
* moving the file changed sync into editFile()
* code refactor + Astro Component HMR test
* chore: lint fixes
* adding a test suite for the framework-multiple example app
2022-05-23 16:56:45 +00:00
Fred K. Schott
ef32b7c39c
[ci] update lockfile ( #3395 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-18 10:15:42 -05:00
Fred K. Schott
d102cab126
[ci] update lockfile ( #3386 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-17 11:44:50 -04:00
Fred K. Schott
9dd16bace5
[ci] update lockfile ( #3363 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-05-16 13:33:16 -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