Skip to content

Commit

Permalink
docs: Clean up examples (#1185)
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn authored Jul 10, 2024
1 parent fba2762 commit b217884
Show file tree
Hide file tree
Showing 17 changed files with 3 additions and 83 deletions.
1 change: 0 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "docs",
"version": "2.14.3",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
1 change: 0 additions & 1 deletion examples/example-app-router-migration/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "example-app-router-migration",
"version": "2.10.2",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 0 additions & 2 deletions examples/example-app-router-mixed-routing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "example-app-router-mixed-routing",
"version": "2.14.3",
"private": true,
"scripts": {
"dev": "next dev",
Expand All @@ -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"
}
}
1 change: 0 additions & 1 deletion examples/example-app-router-next-auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "example-app-router-next-auth",
"version": "2.14.3",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
1 change: 0 additions & 1 deletion examples/example-app-router-playground/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "example-app-router-playground",
"version": "2.9.1",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
1 change: 0 additions & 1 deletion examples/example-app-router-single-locale/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "example-app-router-single-locale",
"version": "2.10.2",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
extends: [
'molindo/typescript',
'molindo/react',
'molindo/tailwind',
'plugin:@next/next/recommended'
]
};
3 changes: 0 additions & 3 deletions examples/example-app-router-without-i18n-routing/.prettierrc

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function NavLink({href, ...rest}: ComponentProps<typeof Link>) {
<Link
aria-current={isActive ? 'page' : undefined}
className={clsx(
'border-b-2 border-transparent pb-2 pt-2 font-semibold transition-colors',
'border-b-2 border-transparent py-2 font-semibold transition-colors',
isActive
? 'border-b-slate-900 text-slate-900'
: 'text-slate-600 hover:border-b-slate-300 hover:text-slate-900'
Expand Down
2 changes: 0 additions & 2 deletions examples/example-app-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "example-app-router",
"version": "2.14.3",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down Expand Up @@ -34,7 +33,6 @@
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"postcss": "^8.4.38",
"prettier-plugin-tailwindcss": "^0.6.5",
"typescript": "^5.4.5"
}
}
1 change: 0 additions & 1 deletion examples/example-pages-router-advanced/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "example-pages-router-advanced",
"version": "2.14.3",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
1 change: 0 additions & 1 deletion examples/example-pages-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "example-pages-router",
"version": "2.14.3",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion examples/example-react-native/app.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"expo": {
"name": "example-react-native",
"slug": "example-use-intl",
"version": "1.0.0",
"slug": "example-react-native",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
Expand Down
1 change: 0 additions & 1 deletion examples/example-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "example-react-native",
"version": "2.14.3",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
Expand Down
1 change: 0 additions & 1 deletion examples/example-use-intl/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "example-use-intl",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
64 changes: 0 additions & 64 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b217884

Please sign in to comment.