ff56f083bc
* 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 commited1bad9cbc
. * 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 commit4970a8093e
. * 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
78 lines
2.6 KiB
JSON
78 lines
2.6 KiB
JSON
{
|
|
"name": "root",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/withastro/astro.git"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "patch-package",
|
|
"release": "pnpm run build && changeset publish",
|
|
"build": "turbo run build --no-deps --scope=astro --scope=create-astro --scope=\"@astrojs/*\"",
|
|
"build:ci": "turbo run build:ci --no-deps --scope=astro --scope=create-astro --scope=\"@astrojs/*\"",
|
|
"build:examples": "turbo run build --scope=\"@example/*\"",
|
|
"dev": "turbo run dev --no-deps --no-cache --parallel --scope=astro --scope=create-astro --scope=\"@astrojs/*\"",
|
|
"test": "turbo run test --concurrency=1",
|
|
"test:match": "cd packages/astro && pnpm run test:match",
|
|
"test:templates": "turbo run test --filter=create-astro --concurrency=1",
|
|
"test:smoke": "node scripts/smoke/index.js",
|
|
"test:vite-ci": "turbo run test --no-deps --scope=astro --concurrency=1",
|
|
"test:e2e": "cd packages/astro && pnpm playwright install && pnpm run test:e2e",
|
|
"test:e2e:match": "cd packages/astro && pnpm playwright install && pnpm run test:e2e:match",
|
|
"benchmark": "turbo run benchmark --scope=astro",
|
|
"lint": "eslint \"packages/**/*.ts\"",
|
|
"format": "prettier -w .",
|
|
"version": "changeset version && pnpm install --no-frozen-lockfile && pnpm run format"
|
|
},
|
|
"workspaces": [
|
|
"compiled/*",
|
|
"packages/markdown/*",
|
|
"packages/integrations/*",
|
|
"packages/*",
|
|
"examples/*",
|
|
"examples/component/demo",
|
|
"examples/component/packages/*",
|
|
"scripts",
|
|
"smoke/*",
|
|
"packages/astro/test/fixtures/component-library-shared",
|
|
"packages/astro/test/fixtures/custom-elements/my-component-lib",
|
|
"packages/astro/test/fixtures/static build/pkg"
|
|
],
|
|
"engines": {
|
|
"node": "^14.15.0 || >=16.0.0",
|
|
"pnpm": ">=7.0.0"
|
|
},
|
|
"packageManager": "pnpm@7.0.0",
|
|
"pnpm": {
|
|
"peerDependencyRules": {
|
|
"ignoreMissing": [
|
|
"@babel/core",
|
|
"@babel/plugin-transform-react-jsx",
|
|
"vite"
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/webapi": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/changelog-github": "0.4.4",
|
|
"@changesets/cli": "2.22.0",
|
|
"@octokit/action": "^3.18.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.25.0",
|
|
"@typescript-eslint/parser": "^5.25.0",
|
|
"del": "^6.1.0",
|
|
"esbuild": "^0.14.39",
|
|
"eslint": "^8.15.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"execa": "^6.1.0",
|
|
"patch-package": "^6.4.7",
|
|
"prettier": "^2.6.2",
|
|
"pretty-bytes": "^6.0.0",
|
|
"tiny-glob": "^0.2.9",
|
|
"turbo": "1.2.5",
|
|
"typescript": "~4.6.4"
|
|
}
|
|
}
|