diff --git a/package.json b/package.json index fa8f13392..342b882eb 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "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 .", + "format:code": "prettier -w . --cache", "format:imports": "organize-imports-cli ./packages/*/tsconfig.json ./packages/*/*/tsconfig.json", "test": "turbo run test --concurrency=1", "test:match": "cd packages/astro && pnpm run test:match", @@ -74,7 +74,7 @@ "execa": "^6.1.0", "organize-imports-cli": "^0.10.0", "patch-package": "^6.4.7", - "prettier": "^2.6.2", + "prettier": "^2.7.0", "pretty-bytes": "^6.0.0", "tiny-glob": "^0.2.9", "turbo": "1.2.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 66dc6fd88..695595330 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,7 +19,7 @@ importers: execa: ^6.1.0 organize-imports-cli: ^0.10.0 patch-package: ^6.4.7 - prettier: ^2.6.2 + prettier: ^2.7.0 pretty-bytes: ^6.0.0 tiny-glob: ^0.2.9 turbo: 1.2.5 @@ -37,11 +37,11 @@ importers: eslint: 8.17.0 eslint-config-prettier: 8.5.0_eslint@8.17.0 eslint-plugin-no-only-tests: 2.6.0 - eslint-plugin-prettier: 4.0.0_ucegkljdju7q4zmvwxzqoprf3y + eslint-plugin-prettier: 4.0.0_hsbo72uvra2cjko46y2c4fgzzm execa: 6.1.0 organize-imports-cli: 0.10.0 patch-package: 6.4.7 - prettier: 2.6.2 + prettier: 2.7.1 pretty-bytes: 6.0.0 tiny-glob: 0.2.9 turbo: 1.2.5 @@ -8554,6 +8554,11 @@ packages: /debug/3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true dependencies: ms: 2.1.3 dev: false @@ -9163,7 +9168,7 @@ packages: engines: {node: '>=4.0.0'} dev: true - /eslint-plugin-prettier/4.0.0_ucegkljdju7q4zmvwxzqoprf3y: + /eslint-plugin-prettier/4.0.0_hsbo72uvra2cjko46y2c4fgzzm: resolution: {integrity: sha512-98MqmCJ7vJodoQK359bqQWaxOE0CS8paAz/GgjaZLyex4TTk3g9HugoO89EqWCrFiOqn9EVvcoo7gZzONCWVwQ==} engines: {node: '>=6.0.0'} peerDependencies: @@ -9176,7 +9181,7 @@ packages: dependencies: eslint: 8.17.0 eslint-config-prettier: 8.5.0_eslint@8.17.0 - prettier: 2.6.2 + prettier: 2.7.1 prettier-linter-helpers: 1.0.0 dev: true @@ -11435,6 +11440,8 @@ packages: debug: 3.2.7 iconv-lite: 0.4.24 sax: 1.2.4 + transitivePeerDependencies: + - supports-color dev: false /netmask/2.0.2: @@ -11518,6 +11525,8 @@ packages: rimraf: 2.7.1 semver: 5.7.1 tar: 4.4.19 + transitivePeerDependencies: + - supports-color dev: false /node-releases/2.0.5: @@ -12446,8 +12455,8 @@ packages: hasBin: true dev: true - /prettier/2.6.2: - resolution: {integrity: sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==} + /prettier/2.7.1: + resolution: {integrity: sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==} engines: {node: '>=10.13.0'} hasBin: true dev: true