2021-03-15 12:22:05 -05:00
|
|
|
{
|
2021-04-30 16:33:35 -05:00
|
|
|
"name": "root",
|
2023-09-06 10:23:44 -05:00
|
|
|
"type": "module",
|
2021-05-05 12:44:31 -05:00
|
|
|
"version": "0.0.0",
|
2021-04-30 16:33:35 -05:00
|
|
|
"private": true,
|
2021-06-16 13:09:35 -05:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2024-11-15 10:43:34 -05:00
|
|
|
"url": "git+https://github.com/withastro/astro.git"
|
2021-06-16 13:09:35 -05:00
|
|
|
},
|
2021-03-15 12:22:05 -05:00
|
|
|
"scripts": {
|
2022-04-04 17:22:36 -05:00
|
|
|
"release": "pnpm run build && changeset publish",
|
2023-04-26 22:39:15 -05:00
|
|
|
"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/*\"",
|
2024-04-09 05:26:15 -05:00
|
|
|
"build:ci:no-cache": "pnpm -r --filter=astro --filter=create-astro --filter=\"@astrojs/*\" --filter=\"@benchmark/*\" build:ci",
|
2022-08-05 16:18:56 -05:00
|
|
|
"build:examples": "turbo run build --filter=\"@example/*\"",
|
2023-06-20 13:06:36 -05:00
|
|
|
"dev": "turbo run dev --concurrency=40 --parallel --filter=astro --filter=create-astro --filter=\"@astrojs/*\" --filter=\"@benchmark/*\"",
|
2022-06-06 11:47:28 -05:00
|
|
|
"format": "pnpm run format:code && pnpm run format:imports",
|
2024-02-23 04:50:10 -05:00
|
|
|
"format:ci": "pnpm run format:code:ci && pnpm run format:imports:ci",
|
2024-06-20 01:10:23 -05:00
|
|
|
"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",
|
2023-04-26 22:39:15 -05:00
|
|
|
"test": "turbo run test --concurrency=1 --filter=astro --filter=create-astro --filter=\"@astrojs/*\"",
|
2024-04-09 05:26:15 -05:00
|
|
|
"test:citgm": "pnpm -r --filter=astro test",
|
2022-03-08 16:46:11 -05:00
|
|
|
"test:match": "cd packages/astro && pnpm run test:match",
|
2023-05-17 10:36:27 -05:00
|
|
|
"test:unit": "cd packages/astro && pnpm run test:unit",
|
2024-07-09 14:54:49 -05:00
|
|
|
"test:types": "cd packages/astro && pnpm run test:types",
|
2023-04-26 22:39:15 -05:00
|
|
|
"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",
|
2022-10-12 07:48:29 -05:00
|
|
|
"test:check-examples": "node ./scripts/smoke/check.js",
|
2024-10-17 02:59:50 -05:00
|
|
|
"test:vite-ci": "cd packages/astro && pnpm run test:unit && pnpm run test:integration",
|
2024-05-15 02:06:44 -05:00
|
|
|
"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",
|
2023-07-21 14:24:36 -05:00
|
|
|
"test:e2e:hosts": "turbo run test:hosted",
|
2023-03-01 03:46:06 -05:00
|
|
|
"benchmark": "astro-benchmark",
|
2024-08-15 09:52:26 -05:00
|
|
|
"lint": "biome lint && eslint . --report-unused-disable-directives",
|
2024-10-09 04:11:41 -05:00
|
|
|
"lint:ci": "biome ci --formatter-enabled=false --organize-imports-enabled=false --reporter=github && eslint . --report-unused-disable-directives",
|
2024-10-08 04:12:40 -05:00
|
|
|
"lint:fix": "biome lint --write --unsafe",
|
2024-11-15 10:43:34 -05:00
|
|
|
"publint": "pnpm -r --filter=astro --filter=create-astro --filter=\"@astrojs/*\" --no-bail exec publint",
|
2023-06-12 07:48:04 -05:00
|
|
|
"version": "changeset version && node ./scripts/deps/update-example-versions.js && pnpm install --no-frozen-lockfile && pnpm run format",
|
2022-10-24 13:17:23 -05:00
|
|
|
"preinstall": "npx only-allow pnpm"
|
2021-12-09 19:11:49 -05:00
|
|
|
},
|
2023-04-27 09:55:48 -05:00
|
|
|
"workspaces": [
|
|
|
|
"packages/markdown/*",
|
|
|
|
"packages/integrations/*",
|
|
|
|
"packages/*"
|
|
|
|
],
|
2022-03-09 13:36:56 -05:00
|
|
|
"engines": {
|
2024-11-27 08:54:00 -05:00
|
|
|
"node": "^18.17.1 || ^20.3.0 || >=22.0.0"
|
2022-03-08 16:46:11 -05:00
|
|
|
},
|
2024-10-15 01:42:58 -05:00
|
|
|
"packageManager": "pnpm@9.12.1",
|
2023-11-30 17:27:20 -05:00
|
|
|
"dependencies": {
|
|
|
|
"astro-benchmark": "workspace:*"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-10-07 04:44:43 -05:00
|
|
|
"@astrojs/check": "^0.9.4",
|
2024-10-08 04:12:40 -05:00
|
|
|
"@biomejs/biome": "1.9.3",
|
2024-04-22 09:52:30 -05:00
|
|
|
"@changesets/changelog-github": "^0.5.0",
|
2024-11-22 06:03:46 -05:00
|
|
|
"@changesets/cli": "^2.27.10",
|
2023-11-30 17:27:20 -05:00
|
|
|
"@types/node": "^18.17.8",
|
2024-06-11 02:59:21 -05:00
|
|
|
"esbuild": "^0.21.5",
|
2024-11-27 03:20:16 -05:00
|
|
|
"eslint": "^9.15.0",
|
|
|
|
"eslint-plugin-regexp": "^2.7.0",
|
2024-07-01 03:32:17 -05:00
|
|
|
"globby": "^14.0.2",
|
2024-04-22 09:52:30 -05:00
|
|
|
"only-allow": "^1.2.1",
|
2024-11-27 03:20:16 -05:00
|
|
|
"prettier": "^3.4.1",
|
2024-07-22 22:43:14 -05:00
|
|
|
"prettier-plugin-astro": "^0.14.1",
|
2024-11-15 10:43:34 -05:00
|
|
|
"publint": "^0.2.12",
|
2024-11-27 03:20:16 -05:00
|
|
|
"turbo": "^2.3.3",
|
|
|
|
"typescript": "~5.7.2",
|
|
|
|
"typescript-eslint": "^8.16.0"
|
2023-11-30 17:27:20 -05:00
|
|
|
},
|
2022-03-08 16:46:11 -05:00
|
|
|
"pnpm": {
|
|
|
|
"peerDependencyRules": {
|
2023-01-12 09:46:56 -05:00
|
|
|
"allowAny": [
|
2024-10-04 07:58:16 -05:00
|
|
|
"astro",
|
|
|
|
"vite"
|
2022-03-08 16:46:11 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2021-06-11 15:34:45 -05:00
|
|
|
}
|