mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
27ee8b97ae
* 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>
99 lines
3.5 KiB
JSON
99 lines
3.5 KiB
JSON
{
|
|
"name": "root",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/withastro/astro.git"
|
|
},
|
|
"scripts": {
|
|
"release": "pnpm run build && changeset publish",
|
|
"build": "turbo run build --output-logs=new-only --no-deps --scope=astro --scope=create-astro --scope=\"@astrojs/*\"",
|
|
"build:ci": "turbo run build:ci --output-logs=new-only --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/*\"",
|
|
"format": "pnpm run format:code",
|
|
"format:ci": "pnpm run format:imports && pnpm run format:code",
|
|
"format:code": "prettier -w . --cache",
|
|
"format:imports": "organize-imports-cli ./packages/*/tsconfig.json ./packages/*/*/tsconfig.json",
|
|
"test": "turbo run test --output-logs=new-only --concurrency=1",
|
|
"test:match": "cd packages/astro && pnpm run test:match",
|
|
"test:templates": "turbo run test --filter=create-astro --concurrency=1",
|
|
"test:smoke": "turbo run build --filter=\"@example/*\" --filter=\"astro.build\" --filter=\"docs\" --output-logs=new-only --concurrency=1",
|
|
"test:vite-ci": "turbo run test --output-logs=new-only --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 .",
|
|
"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.18.0 || >=16.12.0",
|
|
"pnpm": ">=7.5.0"
|
|
},
|
|
"packageManager": "pnpm@7.5.0",
|
|
"pnpm": {
|
|
"packageExtensions": {
|
|
"svelte2tsx": {
|
|
"peerDependenciesMeta": {
|
|
"typescript": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"peerDependencyRules": {
|
|
"ignoreMissing": [
|
|
"rollup",
|
|
"@babel/core",
|
|
"@babel/plugin-transform-react-jsx",
|
|
"vite",
|
|
"react",
|
|
"react-dom",
|
|
"@types/react"
|
|
]
|
|
},
|
|
"patchedDependencies": {
|
|
"@changesets/cli@2.23.0": "patches/@changesets__cli@2.23.0.patch",
|
|
"@changesets/assemble-release-plan@5.1.3": "patches/@changesets__assemble-release-plan@5.1.3.patch"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/webapi": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/assemble-release-plan": "5.1.3",
|
|
"@changesets/changelog-github": "0.4.4",
|
|
"@changesets/cli": "2.23.0",
|
|
"@octokit/action": "^3.18.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.27.1",
|
|
"@typescript-eslint/parser": "^5.27.1",
|
|
"del": "^6.1.1",
|
|
"esbuild": "^0.14.43",
|
|
"eslint": "^8.17.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-no-only-tests": "^2.6.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"execa": "^6.1.0",
|
|
"organize-imports-cli": "^0.10.0",
|
|
"prettier": "^2.7.0",
|
|
"pretty-bytes": "^6.0.0",
|
|
"tiny-glob": "^0.2.9",
|
|
"turbo": "1.2.5",
|
|
"typescript": "~4.7.3"
|
|
}
|
|
}
|