mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
536209aa74
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
114 lines
4.2 KiB
JSON
114 lines
4.2 KiB
JSON
{
|
|
"name": "root",
|
|
"type": "module",
|
|
"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 --filter=astro --filter=create-astro --filter=\"@astrojs/*\" --filter=\"@benchmark/*\"",
|
|
"build:ci": "turbo run build:ci --filter=astro --filter=create-astro --filter=\"@astrojs/*\" --filter=\"@benchmark/*\"",
|
|
"build:ci:no-cache": "pnpm -r --filter=astro --filter=create-astro --filter=\"@astrojs/*\" --filter=\"@benchmark/*\" build:ci",
|
|
"build:examples": "turbo run build --filter=\"@example/*\"",
|
|
"dev": "turbo run dev --concurrency=40 --parallel --filter=astro --filter=create-astro --filter=\"@astrojs/*\" --filter=\"@benchmark/*\"",
|
|
"format": "pnpm run format:code && pnpm run format:imports",
|
|
"format:ci": "pnpm run format:code:ci && pnpm run format:imports:ci",
|
|
"format:code": "biome format --write && prettier -w \"**/*\" --ignore-unknown --cache",
|
|
"format:code:ci": "biome format && prettier -w \"**/*\" --ignore-unknown --cache --check",
|
|
"format:imports": "biome check --formatter-enabled=false --write",
|
|
"format:imports:ci": "biome ci --formatter-enabled=false",
|
|
"test": "turbo run test --concurrency=1 --filter=astro --filter=create-astro --filter=\"@astrojs/*\"",
|
|
"test:citgm": "pnpm -r --filter=astro test",
|
|
"test:match": "cd packages/astro && pnpm run test:match",
|
|
"test:unit": "cd packages/astro && pnpm run test:unit",
|
|
"test:types": "cd packages/astro && pnpm run test:types",
|
|
"test:unit:match": "cd packages/astro && pnpm run test:unit:match",
|
|
"test:smoke": "pnpm test:smoke:example && pnpm test:smoke:docs",
|
|
"test:smoke:example": "turbo run build --concurrency=100% --filter=\"@example/*\"",
|
|
"test:smoke:docs": "turbo run build --filter=docs",
|
|
"test:check-examples": "node ./scripts/smoke/check.js",
|
|
"test:vite-ci": "turbo run test --filter=astro",
|
|
"test:e2e": "cd packages/astro && pnpm playwright install chromium firefox && pnpm run test:e2e",
|
|
"test:e2e:match": "cd packages/astro && pnpm playwright install chromium firefox && pnpm run test:e2e:match",
|
|
"test:e2e:hosts": "turbo run test:hosted",
|
|
"benchmark": "astro-benchmark",
|
|
"lint": "eslint . --report-unused-disable-directives",
|
|
"version": "changeset version && node ./scripts/deps/update-example-versions.js && pnpm install --no-frozen-lockfile && pnpm run format",
|
|
"preinstall": "npx only-allow pnpm"
|
|
},
|
|
"workspaces": [
|
|
"packages/markdown/*",
|
|
"packages/integrations/*",
|
|
"packages/*"
|
|
],
|
|
"engines": {
|
|
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
|
|
},
|
|
"packageManager": "pnpm@9.6.0",
|
|
"dependencies": {
|
|
"astro-benchmark": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@astrojs/check": "^0.8.2",
|
|
"@biomejs/biome": "1.8.1",
|
|
"@changesets/changelog-github": "^0.5.0",
|
|
"@changesets/cli": "^2.27.7",
|
|
"@eslint/eslintrc": "^3.1.0",
|
|
"@types/node": "^18.17.8",
|
|
"esbuild": "^0.21.5",
|
|
"eslint": "^9.7.0",
|
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
"eslint-plugin-regexp": "^2.6.0",
|
|
"globby": "^14.0.2",
|
|
"only-allow": "^1.2.1",
|
|
"organize-imports-cli": "^0.10.0",
|
|
"prettier": "^3.3.3",
|
|
"prettier-plugin-astro": "^0.14.1",
|
|
"tiny-glob": "^0.2.9",
|
|
"turbo": "^1.13.4",
|
|
"typescript": "~5.5.3",
|
|
"typescript-eslint": "^7.16.1"
|
|
},
|
|
"pnpm": {
|
|
"packageExtensions": {
|
|
"vite-svg-loader": {
|
|
"peerDependenciesMeta": {
|
|
"vue": {
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
"rehype-pretty-code": {
|
|
"peerDependenciesMeta": {
|
|
"shiki": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"overrides": {
|
|
"organize-imports-cli>ts-morph": "^19.0.0",
|
|
"tsconfig-resolver>type-fest": "3.0.0"
|
|
},
|
|
"peerDependencyRules": {
|
|
"ignoreMissing": [
|
|
"rollup",
|
|
"@babel/core",
|
|
"@babel/plugin-transform-react-jsx",
|
|
"vite",
|
|
"react",
|
|
"react-dom",
|
|
"@types/react",
|
|
"tslib",
|
|
"quill-delta",
|
|
"rxjs"
|
|
],
|
|
"allowAny": [
|
|
"astro"
|
|
]
|
|
}
|
|
}
|
|
}
|