Skip to content

Commit

Permalink
Fix ci issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Dec 11, 2024
1 parent d458092 commit b9fdeec
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
3 changes: 2 additions & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"version": "4.7.0",
"type": "module",
"scripts": {
"build": "tsc --build --verbose && cross-env NODE_OPTIONS=--max-old-space-size=1024 vite build",
"install:dependencies": "cd ../packages/currency-converter && npm i && cd ../../backend",
"build": "npm run install:dependencies && tsc --build --verbose && cross-env NODE_OPTIONS=--max-old-space-size=1024 vite build",
"dev": "vite",
"preview": "vite preview",
"fix": "eslint --fix .",
Expand Down
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"private": true,
"type": "module",
"scripts": {
"build": "tsc --build --verbose && cross-env NODE_OPTIONS=--max-old-space-size=1024 vite build",
"install:dependencies": "cd ../packages/currency-converter && npm i && cd ../../frontend",
"build": "npm run install:dependencies && tsc --build --verbose && cross-env NODE_OPTIONS=--max-old-space-size=1024 vite build",
"dev": "vite",
"preview": "vite preview",
"fix": "eslint --fix .",
Expand Down
24 changes: 13 additions & 11 deletions mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@
"version": "4.7.0",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "tsc --build --verbose && expo start --port 8082",
"start:clean": "tsc --build --verbose && expo start -c --port 8082",
"android": "tsc --build --verbose && expo run:android",
"ios": "tsc --build --verbose && expo run:ios",
"build:android": "cross-env EAS_NO_VCS=1 tsc --build --verbose && eas build --profile production --platform android",
"build:android:local": "cross-env EAS_NO_VCS=1 tsc --build --verbose && eas build --profile production --platform android --local",
"build:android:preview": "cross-env EAS_NO_VCS=1 tsc --build --verbose && eas build --profile preview --platform android",
"build:ios": "cross-env EAS_NO_VCS=1 tsc --build --verbose && eas build --profile production --platform ios",
"build:ios:local": "cross-env EAS_NO_VCS=1 tsc --build --verbose && eas build --profile production --platform ios --local",
"build:ios:preview": "cross-env EAS_NO_VCS=1 tsc --build --verbose && eas build --profile preview --platform android",
"ts:check": "tsc --build",
"install:dependencies": "cd ../packages/currency-converter && npm i && cd ../../mobile",
"ts:build": "npm run install:dependencies && tsc --build --verbose",
"ts:check": "npm run ts:build",
"start": "npm run ts:build && expo start --port 8082",
"start:clean": "npm run ts:build && expo start -c --port 8082",
"android": "npm run ts:build && expo run:android",
"ios": "npm run ts:build && expo run:ios",
"build:android": "cross-env EAS_NO_VCS=1 npm run ts:build && eas build --profile production --platform android",
"build:android:local": "cross-env EAS_NO_VCS=1 npm run ts:build && eas build --profile production --platform android --local",
"build:android:preview": "cross-env EAS_NO_VCS=1 npm run ts:build && eas build --profile preview --platform android",
"build:ios": "cross-env EAS_NO_VCS=1 npm run ts:build && eas build --profile production --platform ios",
"build:ios:local": "cross-env EAS_NO_VCS=1 npm run ts:build && eas build --profile production --platform ios --local",
"build:ios:preview": "cross-env EAS_NO_VCS=1 npm run ts:build && eas build --profile preview --platform android",
"lint": "eslint --ext .ts,.tsx .",
"fix": "eslint --fix .",
"ncu": "ncu -u -x eslint,react,react-native,typescript,eslint-plugin-import,eslint-plugin-react,eslint-plugin-react-hooks && npm i --force && npm prune && expo install --fix",
Expand Down
2 changes: 1 addition & 1 deletion packages/currency-converter/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/* Language and Environment */
"target": "esnext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"lib": ["esnext"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
"lib": ["esnext", "dom"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
// "jsx": "preserve", /* Specify what JSX code is generated. */
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
Expand Down

0 comments on commit b9fdeec

Please sign in to comment.