Skip to content

Commit

Permalink
migrar hacia yarn v4.2.2 (Expo no funciona con npm)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacargentina committed May 30, 2024
1 parent 2de9cb3 commit 88e13c3
Show file tree
Hide file tree
Showing 13 changed files with 24,724 additions and 150,439 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ node_modules/
.expo/
npm-debug.*
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# OSX
#
Expand Down
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

894 changes: 894 additions & 0 deletions .yarn/releases/yarn-4.2.2.cjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.2.2.cjs
150,192 changes: 0 additions & 150,192 deletions package-lock.json

This file was deleted.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
]
},
"scripts": {
"build": "npm run build --workspaces",
"reset": "find . -type dir -name node_modules | xargs rm -rf && rm -f package-lock.json && npm install",
"web": "npm run build && cd packages/web && npm run dev"
"build": "yarn workspaces foreach -A run build",
"reset": "find . -type dir -name node_modules | xargs rm -rf && rm -f yarn.lock && yarn install",
"web": "yarn run build && cd packages/web && yarn run dev"
},
"dependencies": {
"react-native-cli": "^2.0.1"
}
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"@types/country-list": "^2.1.4",
"@types/langs": "^2.0.5",
"@types/lodash": "^4.17.0",
"@types/pdfkit": "^0.13.4",
"copyfiles": "^2.4.1",
"country-list": "^2.3.0",
"dropbox": "^10.34.0",
Expand All @@ -41,7 +42,6 @@
"langs": "^2.0.0",
"lodash": "^4.17.21",
"normalize-strings": "^1.1.1",
"@types/pdfkit": "^0.13.4",
"pdfkit": "^0.15.0",
"typescript": "^5.4.5"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"start": "expo start --ios",
"test": "node node_modules/jest/bin/jest.js --watch",
"rebuild": "npx expo prebuild --clean",
"rebuild": "npx expo prebuild --clean; rm -f ios/.xcode.env.local",
"publish": "npx standard-version -r patch; npm run publish-ios; npm run publish-android",
"publish-android": "eas build --non-interactive --platform android --profile production --auto-submit",
"publish-ios": "eas build --non-interactive --platform ios --profile production --auto-submit",
Expand Down
6 changes: 3 additions & 3 deletions packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"types": "./dist/index.d.js",
"dependencies": {
"@iresucito/core": "*",
"@types/base64-stream": "^1.0.5",
"commander": "^12.0.0",
"os-locale": "^6.0.2",
"open": "^10.1.0",
"translate-json-object": "^2.3.7",
"@types/base64-stream": "^1.0.5"
"os-locale": "^6.0.2",
"translate-json-object": "^2.3.7"
}
}
2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dev": "remix vite:dev",
"start": "remix-serve ./build/server/index.js",
"debug": "node --inspect ./node_modules/.bin/remix vite:dev",
"postinstall": "cp ./node_modules/pdfjs-dist/build/pdf.worker.mjs* ./public"
"postinstall": "cp ../../node_modules/pdfjs-dist/build/pdf.worker.mjs* ./public"
},
"dependencies": {
"@iresucito/core": "*",
Expand Down
526 changes: 292 additions & 234 deletions packages/web/public/pdf.worker.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/web/public/pdf.worker.mjs.map

Large diffs are not rendered by default.

Loading

0 comments on commit 88e13c3

Please sign in to comment.