From b2178848e06bcb26d078e5ff95503775b79e5de1 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Wed, 10 Jul 2024 12:04:05 +0200 Subject: [PATCH] docs: Clean up examples (#1185) --- docs/package.json | 1 - .../example-app-router-migration/package.json | 1 - .../package.json | 2 - .../example-app-router-next-auth/package.json | 1 - .../package.json | 1 - .../package.json | 1 - .../.eslintrc.js | 1 + .../.prettierrc | 3 - .../package.json | 1 - .../src/components/NavLink.tsx | 2 +- examples/example-app-router/package.json | 2 - .../package.json | 1 - examples/example-pages-router/package.json | 1 - examples/example-react-native/app.json | 2 +- examples/example-react-native/package.json | 1 - examples/example-use-intl/package.json | 1 - pnpm-lock.yaml | 64 ------------------- 17 files changed, 3 insertions(+), 83 deletions(-) delete mode 100644 examples/example-app-router-without-i18n-routing/.prettierrc diff --git a/docs/package.json b/docs/package.json index 1dbe24171..0ea0ede7c 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,5 @@ { "name": "docs", - "version": "2.14.3", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/example-app-router-migration/package.json b/examples/example-app-router-migration/package.json index dbcb531fe..073f4708a 100644 --- a/examples/example-app-router-migration/package.json +++ b/examples/example-app-router-migration/package.json @@ -1,6 +1,5 @@ { "name": "example-app-router-migration", - "version": "2.10.2", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/example-app-router-mixed-routing/package.json b/examples/example-app-router-mixed-routing/package.json index 3aa1f0b13..df064389b 100644 --- a/examples/example-app-router-mixed-routing/package.json +++ b/examples/example-app-router-mixed-routing/package.json @@ -1,6 +1,5 @@ { "name": "example-app-router-mixed-routing", - "version": "2.14.3", "private": true, "scripts": { "dev": "next dev", @@ -25,7 +24,6 @@ "eslint-config-molindo": "^7.0.0", "eslint-config-next": "^14.2.4", "postcss": "^8.4.38", - "prettier-plugin-tailwindcss": "^0.6.5", "typescript": "^5.4.5" } } diff --git a/examples/example-app-router-next-auth/package.json b/examples/example-app-router-next-auth/package.json index 0e512575a..b5419c69b 100644 --- a/examples/example-app-router-next-auth/package.json +++ b/examples/example-app-router-next-auth/package.json @@ -1,6 +1,5 @@ { "name": "example-app-router-next-auth", - "version": "2.14.3", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/example-app-router-playground/package.json b/examples/example-app-router-playground/package.json index 547edd3eb..1efd8be5b 100644 --- a/examples/example-app-router-playground/package.json +++ b/examples/example-app-router-playground/package.json @@ -1,6 +1,5 @@ { "name": "example-app-router-playground", - "version": "2.9.1", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/example-app-router-single-locale/package.json b/examples/example-app-router-single-locale/package.json index ae364c133..ee2c77212 100644 --- a/examples/example-app-router-single-locale/package.json +++ b/examples/example-app-router-single-locale/package.json @@ -1,6 +1,5 @@ { "name": "example-app-router-single-locale", - "version": "2.10.2", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/example-app-router-without-i18n-routing/.eslintrc.js b/examples/example-app-router-without-i18n-routing/.eslintrc.js index 1233dcf77..d6302d08d 100644 --- a/examples/example-app-router-without-i18n-routing/.eslintrc.js +++ b/examples/example-app-router-without-i18n-routing/.eslintrc.js @@ -5,6 +5,7 @@ module.exports = { extends: [ 'molindo/typescript', 'molindo/react', + 'molindo/tailwind', 'plugin:@next/next/recommended' ] }; diff --git a/examples/example-app-router-without-i18n-routing/.prettierrc b/examples/example-app-router-without-i18n-routing/.prettierrc deleted file mode 100644 index b4bfed357..000000000 --- a/examples/example-app-router-without-i18n-routing/.prettierrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "plugins": ["prettier-plugin-tailwindcss"] -} diff --git a/examples/example-app-router-without-i18n-routing/package.json b/examples/example-app-router-without-i18n-routing/package.json index 552bcd128..190110270 100644 --- a/examples/example-app-router-without-i18n-routing/package.json +++ b/examples/example-app-router-without-i18n-routing/package.json @@ -30,7 +30,6 @@ "eslint-config-molindo": "^7.0.0", "eslint-config-next": "^14.2.4", "postcss": "^8.4.38", - "prettier-plugin-tailwindcss": "^0.6.5", "tailwindcss": "^3.4.4", "typescript": "^5.4.5" } diff --git a/examples/example-app-router-without-i18n-routing/src/components/NavLink.tsx b/examples/example-app-router-without-i18n-routing/src/components/NavLink.tsx index b39c5244d..82836e835 100644 --- a/examples/example-app-router-without-i18n-routing/src/components/NavLink.tsx +++ b/examples/example-app-router-without-i18n-routing/src/components/NavLink.tsx @@ -13,7 +13,7 @@ export default function NavLink({href, ...rest}: ComponentProps) { =14.21.3'} - peerDependencies: - '@ianvs/prettier-plugin-sort-imports': '*' - '@prettier/plugin-pug': '*' - '@shopify/prettier-plugin-liquid': '*' - '@trivago/prettier-plugin-sort-imports': '*' - '@zackad/prettier-plugin-twig-melody': '*' - prettier: ^3.0 - prettier-plugin-astro: '*' - prettier-plugin-css-order: '*' - prettier-plugin-import-sort: '*' - prettier-plugin-jsdoc: '*' - prettier-plugin-marko: '*' - prettier-plugin-organize-attributes: '*' - prettier-plugin-organize-imports: '*' - prettier-plugin-sort-imports: '*' - prettier-plugin-style-order: '*' - prettier-plugin-svelte: '*' - peerDependenciesMeta: - '@ianvs/prettier-plugin-sort-imports': - optional: true - '@prettier/plugin-pug': - optional: true - '@shopify/prettier-plugin-liquid': - optional: true - '@trivago/prettier-plugin-sort-imports': - optional: true - '@zackad/prettier-plugin-twig-melody': - optional: true - prettier-plugin-astro: - optional: true - prettier-plugin-css-order: - optional: true - prettier-plugin-import-sort: - optional: true - prettier-plugin-jsdoc: - optional: true - prettier-plugin-marko: - optional: true - prettier-plugin-organize-attributes: - optional: true - prettier-plugin-organize-imports: - optional: true - prettier-plugin-sort-imports: - optional: true - prettier-plugin-style-order: - optional: true - prettier-plugin-svelte: - optional: true - dependencies: - prettier: 3.3.2 - dev: true - /prettier@2.7.1: resolution: {integrity: sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==} engines: {node: '>=10.13.0'}