Skip to content

Commit

Permalink
The great migration to pnpm.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stock44 committed Nov 23, 2024
1 parent 6fc4d45 commit a1077bf
Show file tree
Hide file tree
Showing 91 changed files with 18,419 additions and 24,095 deletions.
2 changes: 1 addition & 1 deletion apps/futuro_con_derechos/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {default} from 'eslint-config-geostats';
export {default} from 'eslint-config-geostats/base.eslint.config.js';
15 changes: 10 additions & 5 deletions apps/futuro_con_derechos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,28 @@
"lint": "next lint"
},
"dependencies": {
"geostats-ui": "*",
"@n8tb1t/use-scroll-position": "^2.0.3",
"framer-motion": "^11.11.10",
"geostats-ui": "workspace:*",
"mapbox-gl": "^3.4.0",
"next": "14.2.4",
"react": "^18",
"react-aria-components": "^1.3.3",
"react-dom": "^18",
"react-email": "^1.10.1"
"react-email": "^1.10.1",
"tailwind-scrollbar": "^3.1.0"
},
"devDependencies": {
"@types/mapbox-gl": "^3.1.0",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint-config-geostats": "*",
"eslint-config-geostats": "workspace:*",
"postcss": "^8",
"prettier-config-geostats": "*",
"tailwind-config-geostats": "*",
"prettier-config-geostats": "workspace:*",
"tailwind-config-geostats": "workspace:*",
"tailwindcss": "^3.4.1",
"tsconfig-geostats": "workspace:*",
"typescript": "^5"
}
}
6 changes: 2 additions & 4 deletions apps/futuro_con_derechos/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ import tailwindcss from 'tailwindcss/plugin';

const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'../../packages/geostats-ui/**/*.{js,ts,jsx,tsx,mdx}',
'./src/**/*.{js,ts,jsx,tsx,mdx}',
'../../packages/geostats-ui/src/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
Expand Down
2 changes: 1 addition & 1 deletion apps/geostats_site/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {default} from 'eslint-config-geostats';
export {default} from 'eslint-config-geostats/nextjs.eslint.config.js';
9 changes: 5 additions & 4 deletions apps/geostats_site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"geostats-ui": "*",
"geostats-ui": "workspace:*",
"next": "14.2.4",
"react": "^18",
"react-dom": "^18",
Expand All @@ -20,11 +20,12 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-geostats": "*",
"eslint-config-geostats": "workspace:*",
"tsconfig-geostats": "workspace:*",
"eslint-config-next": "14.2.5",
"postcss": "^8",
"prettier-config-geostats": "*",
"tailwind-config-geostats": "*",
"prettier-config-geostats": "workspace:*",
"tailwind-config-geostats": "workspace:*",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
Expand Down
2 changes: 1 addition & 1 deletion apps/probono_site/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {default} from 'eslint-config-geostats';
export {default} from 'eslint-config-geostats/base.eslint.config.js';
18 changes: 13 additions & 5 deletions apps/probono_site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@
"name": "probono_site",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "next dev",
"build": "prisma migrate deploy && prisma generate && next build",
"start": "next start",
"lint": "next lint",
"test": "jest",
"db:generate": "prisma generate",
"db:push": "prisma db push --skip-generate",
"db:push": "prisma db push --skip-generate",
"email-dev": "email dev --dir src/emails"
},
"dependencies": {
"@auth0/nextjs-auth0": "^3.5.0",
"@prisma/client": "^5.18.0",
"@prisma/client": "^5.20.0",
"@react-email/components": "^0.0.19",
"@react-email/render": "^0.0.15",
"auth0": "^4.3.1",
Expand All @@ -25,15 +26,18 @@
"dotenv": "^16.4.5",
"framer-motion": "^10.18.0",
"fuse.js": "^7.0.0",
"geostats-ui": "*",
"geostats-ui": "workspace:*",
"immutable": "^5.0.0-beta.4",
"leaflet": "^1.9.4",
"lodash": "^4.17.21",
"magic-bytes.js": "^1.8.0",
"next": "^14.2.4",
"next": "^14.2.18",
"nextjs": "^0.0.3",
"nodemailer": "^6.9.11",
"postcss": "^8.4.35",
"react": "^18.3.1",
"react-aria": "^3.32.1",
"react-dom": "^18.3.1",
"react-dropzone": "^14.2.3",
"react-email": "^2.1.6",
"react-is": "^18.3.0-canary-5c607369c-20240116",
Expand Down Expand Up @@ -68,20 +72,24 @@
"@types/node": "^20.11.20",
"@types/nodemailer": "^6.4.14",
"@types/pg": "^8.11.2",
"@types/react": "^18.2.47",
"@types/react-dom": "^18",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vercel/blob": "^0.22.1",
"cypress": "^13.6.6",
"eslint-config-geostats": "workspace:*",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-matcher-utils": "^30.0.0-alpha.2",
"jest-mock": "^29.7.0",
"jest-mock-extended": "^3.0.5",
"pretty-format": "^30.0.0-alpha.2",
"prisma": "^5.20.0",
"sharp": "^0.33.2",
"tailwind-scrollbar": "^3.1.0",
"ts-node": "^10.9.2",
"tsconfig-geostats": "*"
"tsconfig-geostats": "workspace:*"
}
}
6 changes: 0 additions & 6 deletions apps/probono_site/postcss.config.js

This file was deleted.

9 changes: 9 additions & 0 deletions apps/probono_site/postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};

export default config;
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ export default function ActivityPrioritySelector(
return (
<>
<ComboBox
aria-label="Ingresa el nombre de un actividad."
placeholder="Escribe aquí para buscar"
className="mb-4 w-full"
aria-label='Ingresa el nombre de un actividad.'
placeholder='Escribe aquí para buscar'
className='mb-4 w-full'
label={label}
items={filteredItems}
inputValue={filterText}
menuTrigger="focus"
menuTrigger='focus'
selectedKey={null}
onInputChange={setFilterText}
onSelectionChange={(key: Key) => {
onSelectionChange={(key: Key | null) => {
if (key === null) {
if (filterText !== '') {
setFilterText('');
Expand All @@ -72,7 +72,7 @@ export default function ActivityPrioritySelector(
</ComboBox>
{selectedItems.size === 0 ? null : (
<ListPrioritizer
className="mb-4"
className='mb-4'
items={selectedItems}
onRemove={(key: Key) => {
console.log(key);
Expand Down
2 changes: 1 addition & 1 deletion apps/probono_site/src/lib/get-all-income-categories.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {cache} from 'react';
import prisma from '@/lib/prisma.ts';
import {cache} from 'react';

export default cache(async () =>
prisma.incomeCategory.findMany({
Expand Down
6 changes: 2 additions & 4 deletions apps/probono_site/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ import tailwindcss from 'tailwindcss/plugin';

const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'../../packages/geostats-ui/**/*.{js,ts,jsx,tsx,mdx}',
'./src/**/*.{js,ts,jsx,tsx,mdx}',
'../../packages/geostats-ui/src/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
Expand Down
Loading

0 comments on commit a1077bf

Please sign in to comment.