diff --git a/package.json b/package.json index 0680a9150..af48625c9 100644 --- a/package.json +++ b/package.json @@ -23,13 +23,13 @@ "test": "yarn workspaces foreach -pt --jobs 10 --verbose --exclude @standardnotes/components-meta run test", "clean": "lerna run clean", "build:all": "yarn workspaces foreach -pt --topological-dev --verbose --exclude '{@standardnotes/docs}' run build", - "build:components": "yarn workspaces foreach -pt --verbose --interlaced -R --from @standardnotes/components-meta run build", - "build:web": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/web --exclude @standardnotes/components-meta run build", - "build:desktop": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/desktop --exclude @standardnotes/components-meta run build", - "build:mobile": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/mobile --exclude @standardnotes/components-meta run build", + "build:components": "yarn workspaces foreach -pt --topological-dev --verbose --interlaced -R --from @standardnotes/components-meta run build", + "build:web": "yarn workspaces foreach -pt --topological-dev --verbose -R --from @standardnotes/web --exclude @standardnotes/components-meta run build", + "build:desktop": "yarn workspaces foreach -pt --topological-dev --verbose -R --from @standardnotes/desktop --exclude @standardnotes/components-meta run build", + "build:mobile": "yarn workspaces foreach -pt --topological-dev --verbose -R --from @standardnotes/mobile --exclude @standardnotes/components-meta run build", "build:snjs": "yarn workspaces foreach -p --topological-dev --verbose -R --from @standardnotes/snjs --exclude @standardnotes/components-meta run build", - "build:services": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/services --exclude @standardnotes/components-meta run build", - "build:api": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/api --exclude @standardnotes/components-meta run build", + "build:services": "yarn workspaces foreach -pt --topological-dev --verbose -R --from @standardnotes/services --exclude @standardnotes/components-meta run build", + "build:api": "yarn workspaces foreach -pt --topological-dev --verbose -R --from @standardnotes/api --exclude @standardnotes/components-meta run build", "start:server:web": "lerna run start --scope=@standardnotes/web", "start:server:e2e": "lerna run start:test-server --scope=@standardnotes/snjs", "prepare": "husky install", diff --git a/packages/mobile/package.json b/packages/mobile/package.json index d5e5487d2..c2e0884a6 100644 --- a/packages/mobile/package.json +++ b/packages/mobile/package.json @@ -27,29 +27,16 @@ "installConfig": { "hoistingLimits": "workspaces" }, - "dependencies": { - "@react-native-community/async-storage": "1.12.1", - "@standardnotes/react-native-utils": "1.0.1", - "@standardnotes/snjs": "workspace:*", - "@standardnotes/web": "workspace:*", - "react": "17.0.2", - "react-native": "0.67.4", - "react-native-file-viewer": "^2.1.5", - "react-native-fingerprint-scanner": "standardnotes/react-native-fingerprint-scanner#b55d1c0ca627a87a130f758603f12911fbac200f", - "react-native-flag-secure-android": "standardnotes/react-native-flag-secure-android#cb08e74583c22a5d912842459b35ebbbb4bcd852", - "react-native-fs": "^2.19.0", - "react-native-keychain": "standardnotes/react-native-keychain#d277d360494cbd02be4accb4a360772a8e0e97b6", - "react-native-privacy-snapshot": "standardnotes/react-native-privacy-snapshot#653e904c90fc6f2b578da59138f2bfe5d7f942fe", - "react-native-share": "^7.9.0", - "react-native-version-info": "^1.1.1", - "react-native-webview": "11.23.1" - }, "devDependencies": { "@babel/core": "*", "@babel/preset-typescript": "^7.16.7", "@babel/runtime": "^7.18.3", + "@react-native-community/async-storage": "1.12.1", "@react-native-community/eslint-config": "^3.0.1", "@standardnotes/config": "^2.4.3", + "@standardnotes/react-native-utils": "1.0.1", + "@standardnotes/snjs": "workspace:*", + "@standardnotes/web": "workspace:*", "@types/react": "^18.0.21", "@types/react-native": "^0.67.3", "@typescript-eslint/eslint-plugin": "^5.20.0", @@ -64,6 +51,17 @@ "pod-install": "^0.1.33", "prettier": "^2.6.0", "prettier-plugin-organize-imports": "^2.3.4", + "react": "17.0.2", + "react-native": "0.67.4", + "react-native-file-viewer": "^2.1.5", + "react-native-fingerprint-scanner": "standardnotes/react-native-fingerprint-scanner#b55d1c0ca627a87a130f758603f12911fbac200f", + "react-native-flag-secure-android": "standardnotes/react-native-flag-secure-android#cb08e74583c22a5d912842459b35ebbbb4bcd852", + "react-native-fs": "^2.19.0", + "react-native-keychain": "standardnotes/react-native-keychain#d277d360494cbd02be4accb4a360772a8e0e97b6", + "react-native-privacy-snapshot": "standardnotes/react-native-privacy-snapshot#653e904c90fc6f2b578da59138f2bfe5d7f942fe", + "react-native-share": "^7.9.0", + "react-native-version-info": "^1.1.1", + "react-native-webview": "11.23.1", "typescript": "^4.6.3" }, "jest": { diff --git a/packages/web/package.json b/packages/web/package.json index ad96a50a5..b1ceb3c2b 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -31,45 +31,6 @@ "@babel/preset-env": "*", "@babel/preset-typescript": "^7.18.6", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.7", - "@types/jest": "^29.2.0", - "@types/react": "^18.0.20", - "@types/react-dom": "^18.0.6", - "@types/styled-components": "^5.1.26", - "@types/wicg-file-system-access": "^2020.9.5", - "autoprefixer": "^10.4.10", - "babel-loader": "^8.2.5", - "circular-dependency-plugin": "^5.2.2", - "copy-webpack-plugin": "^11.0.0", - "css-loader": "*", - "dotenv": "^16.0.2", - "eslint": "^8.23.1", - "eslint-config-prettier": "^8.5.0", - "eslint-plugin-react": "^7.31.8", - "eslint-plugin-react-hooks": "^4.6.0", - "html-webpack-plugin": "^5.5.0", - "identity-obj-proxy": "^3.0.0", - "jest": "^29.2.1", - "jest-environment-jsdom": "^29.2.1", - "lint-staged": ">=12", - "mini-css-extract-plugin": "^2.6.1", - "node-sass": "*", - "npm-check-updates": "*", - "postcss": "^8.4.16", - "postcss-loader": "^7.0.1", - "prettier": "*", - "prettier-plugin-tailwindcss": "^0.1.13", - "react-refresh": "^0.14.0", - "sass-loader": "*", - "svg-jest": "^1.0.1", - "tailwindcss": "^3.1.8", - "ts-jest": "^29.0.3", - "ts-loader": "^9.4.1", - "typescript": "*", - "webpack": "*", - "webpack-dev-server": "*", - "webpack-merge": "^5.8.0" - }, - "dependencies": { "@reach/alert": "^0.17.0", "@reach/alert-dialog": "^0.17.0", "@reach/checkbox": "^0.17.0", @@ -86,17 +47,54 @@ "@standardnotes/styles": "workspace:*", "@standardnotes/toast": "workspace:*", "@standardnotes/ui-services": "workspace:^", + "@types/jest": "^29.2.0", + "@types/react": "^18.0.20", + "@types/react-dom": "^18.0.6", + "@types/styled-components": "^5.1.26", + "@types/wicg-file-system-access": "^2020.9.5", "@zip.js/zip.js": "^2.6.26", + "autoprefixer": "^10.4.10", + "babel-loader": "^8.2.5", + "circular-dependency-plugin": "^5.2.2", + "copy-webpack-plugin": "^11.0.0", + "css-loader": "*", "dayjs": "^1.11.5", + "dotenv": "^16.0.2", + "eslint": "^8.23.1", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-react": "^7.31.8", + "eslint-plugin-react-hooks": "^4.6.0", + "html-webpack-plugin": "^5.5.0", + "identity-obj-proxy": "^3.0.0", + "jest": "^29.2.1", + "jest-environment-jsdom": "^29.2.1", + "lint-staged": ">=12", + "mini-css-extract-plugin": "^2.6.1", "mobx": "^6.6.2", "mobx-react-lite": "^3.4.0", + "node-sass": "*", + "npm-check-updates": "*", + "postcss": "^8.4.16", + "postcss-loader": "^7.0.1", + "prettier": "*", + "prettier-plugin-tailwindcss": "^0.1.13", "qrcode.react": "^3.1.0", "react": "^18.2.0", "react-dnd": "^16.0.1", "react-dnd-html5-backend": "^16.0.1", "react-dnd-touch-backend": "^16.0.1", "react-dom": "^18.2.0", - "styled-components": "^5.3.5" + "react-refresh": "^0.14.0", + "sass-loader": "*", + "styled-components": "^5.3.5", + "svg-jest": "^1.0.1", + "tailwindcss": "^3.1.8", + "ts-jest": "^29.0.3", + "ts-loader": "^9.4.1", + "typescript": "*", + "webpack": "*", + "webpack-dev-server": "*", + "webpack-merge": "^5.8.0" }, "lint-staged": { "app/**/*.{js,ts,jsx,tsx}": "eslint --cache --fix",