Skip to content

Commit

Permalink
Update movinin-helper
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Apr 13, 2024
1 parent a3614c7 commit d5b6c17
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 29 deletions.
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"scripts": {
"dev": "nodemon",
"build": "rimraf dist && tsc -b && babel dist -d dist",
"build": "rimraf dist && tsc --build --verbose&& babel dist -d dist",
"start": "npm run build && node dist/src",
"test": "rimraf coverage && cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --coverage",
"lint": "eslint --ext .ts .",
Expand Down
6 changes: 3 additions & 3 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"validator": "^13.11.0"
},
"scripts": {
"start": "tsc -b && craco start",
"build": "tsc -b && craco build",
"test": "tsc -b && craco test",
"start": "tsc --build --verbose&& craco start",
"build": "tsc --build --verbose&& craco build",
"test": "tsc --build --verbose&& craco test",
"eject": "craco eject",
"lint": "eslint --ext .ts,.tsx .",
"fix": "eslint --fix .",
Expand Down
6 changes: 3 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"validator": "^13.11.0"
},
"scripts": {
"start": "tsc -b && craco start",
"build": "tsc -b && craco build",
"test": "tsc -b && craco test",
"start": "tsc --build --verbose&& craco start",
"build": "tsc --build --verbose&& craco build",
"test": "tsc --build --verbose&& craco test",
"eject": "craco eject",
"lint": "eslint --ext .ts,.tsx .",
"fix": "eslint --fix .",
Expand Down
20 changes: 10 additions & 10 deletions mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"version": "2.6.0",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "tsc -b && expo start --port 8081",
"start:clean": "tsc -b && expo start -c --port 8081",
"android": "tsc -b && expo start --android",
"ios": "tsc -b && expo start --ios",
"build:android": "cross-env EAS_NO_VCS=1 tsc -b && eas build --profile production --platform android",
"build:android:local": "cross-env EAS_NO_VCS=1 tsc -b && eas build --profile production --platform android --local",
"build:android:preview": "cross-env EAS_NO_VCS=1 tsc -b && eas build --profile preview --platform android",
"build:ios": "cross-env EAS_NO_VCS=1 tsc -b && eas build --profile production --platform ios",
"build:ios:local": "cross-env EAS_NO_VCS=1 tsc -b && eas build --profile production --platform ios --local",
"build:ios:preview": "cross-env EAS_NO_VCS=1 tsc -b && eas build --profile preview --platform android",
"start": "tsc --build --verbose&& expo start --port 8081",
"start:clean": "tsc --build --verbose&& expo start -c --port 8081",
"android": "tsc --build --verbose&& expo start --android",
"ios": "tsc --build --verbose&& expo start --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 -b",
"lint": "eslint --ext .ts,.tsx .",
"fix": "eslint --fix .",
Expand Down
2 changes: 1 addition & 1 deletion packages/movinin-helper/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as movininTypes from 'movinin-types'
import * as movininTypes from ':movinin-types'

/**
* Format a number.
Expand Down
8 changes: 1 addition & 7 deletions packages/movinin-helper/package-lock.json

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

3 changes: 0 additions & 3 deletions packages/movinin-helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,5 @@
"devDependencies": {
"rimraf": "^5.0.1",
"typescript": "^5.2.2"
},
"dependencies": {
"movinin-types": "file:../movinin-types"
}
}
7 changes: 6 additions & 1 deletion packages/movinin-helper/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
"rootDir": "", /* Specify the root folder within your source files. */
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
"paths": {
":movinin-types": ["../movinin-types"]
}, /* Specify a set of entries that re-map imports to additional lookup locations. */
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
Expand Down Expand Up @@ -109,5 +111,8 @@
},
"exclude": [
"node_modules"
],
"references": [
{ "path": "../movinin-types" }
]
}

0 comments on commit d5b6c17

Please sign in to comment.