Skip to content

Send files directly between devices over the internet - no cloud storage, no size limits.

build @altersend/drive in all pipeline

Denis Lupookov697785fd5d48
diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml
index 94fa9e7..6fddff2 100644
--- a/.github/workflows/release-desktop.yml
+++ b/.github/workflows/release-desktop.yml
@@ -19,7 +19,7 @@ jobs:
run: npm ci
- name: Build packages
- run: npm run build -w packages/core && npm run build -w packages/locales && npm run build -w packages/domain && npm run build -w packages/components
+ run: npm run build:libs
- name: Build desktop app
run: npm run build -w apps/desktop
@@ -98,7 +98,7 @@ jobs:
run: npm ci
- name: Build packages
- run: npm run build -w packages/core && npm run build -w packages/locales && npm run build -w packages/domain && npm run build -w packages/components
+ run: npm run build:libs
- name: Build desktop app
shell: bash
@@ -194,7 +194,7 @@ jobs:
run: npm ci
- name: Build packages
- run: npm run build -w packages/core && npm run build -w packages/locales && npm run build -w packages/domain && npm run build -w packages/components
+ run: npm run build:libs
- name: Build desktop app
run: npm run build -w apps/desktop
@@ -227,7 +227,7 @@ jobs:
run: npm ci
- name: Build packages
- run: npm run build -w packages/core && npm run build -w packages/locales && npm run build -w packages/domain && npm run build -w packages/components
+ run: npm run build:libs
- name: Build desktop app
run: npm run build -w apps/desktop
diff --git a/apps/mobile/package.json b/apps/mobile/package.json
index 36ab316..812129f 100644
--- a/apps/mobile/package.json
+++ b/apps/mobile/package.json
@@ -5,11 +5,11 @@
"description": "AlterSend mobile app (React Native / Expo)",
"main": "expo-router/entry",
"scripts": {
- "build:packages": "cd ../.. && npm run build -w packages/drive && npm run build -w packages/core && npm run build -w packages/locales && npm run build -w packages/domain && npm run build -w packages/components",
+ "build:packages": "cd ../.. && npm run build:libs",
"prestart": "npm run build:packages && npm run bundle-bare",
"start": "expo start --dev-client",
"postinstall": "npm run barekit:link-ios-addons && npm run barekit:link-android-addons",
- "eas-build-post-install": "cd ../.. && npm run build -w packages/core && npm run build -w packages/locales && npm run build -w packages/domain && npm run build -w packages/components && npm run bundle-bare -w apps/mobile",
+ "eas-build-post-install": "cd ../.. && npm run build:libs && npm run bundle-bare -w apps/mobile",
"barekit:link-ios-addons": "node ./scripts/link-ios-addons.cjs",
"barekit:link-android-addons": "node ./scripts/link-android-addons.cjs",
"pods:install": "cd ios && LANG=en_US.UTF-8 pod install",
diff --git a/package.json b/package.json
index ef8ed13..6201c5b 100644
--- a/package.json
+++ b/package.json
@@ -8,12 +8,13 @@
],
"scripts": {
"dev": "npm run desktop:dev",
- "mobile": "npm run build -w packages/core && npm run build -w packages/locales && npm run build -w packages/domain && npm run build -w packages/components && npm run ios -w apps/mobile",
- "mobile:setup": "npm run build -w packages/core && npm run setup:ios -w apps/mobile",
+ "build:libs": "npm run build -w packages/drive && npm run build -w packages/core && npm run build -w packages/locales && npm run build -w packages/domain && npm run build -w packages/components",
+ "mobile": "npm run build:libs && npm run ios -w apps/mobile",
+ "mobile:setup": "npm run build:libs && npm run setup:ios -w apps/mobile",
"mobile:start": "npm start -w apps/mobile",
- "desktop:dev": "npm run build -w packages/core && npm run build -w packages/locales && npm run build -w packages/domain && npm run build -w packages/components && npm start -w apps/desktop",
- "desktop:dev:peer2": "npm run build -w packages/core && npm run build -w packages/locales && npm run build -w packages/domain && npm run build -w packages/components && npm run start:peer2 -w apps/desktop",
- "desktop:build": "npm run build -w packages/core && npm run build -w packages/locales && npm run build -w packages/domain && npm run build -w packages/components && npm run build -w apps/desktop",
+ "desktop:dev": "npm run build:libs && npm start -w apps/desktop",
+ "desktop:dev:peer2": "npm run build:libs && npm run start:peer2 -w apps/desktop",
+ "desktop:build": "npm run build:libs && npm run build -w apps/desktop",
"components:build": "npm run build -w packages/components",
"domain:build": "npm run build -w packages/domain",
"locales:build": "npm run build -w packages/locales",
@@ -21,7 +22,7 @@
"components:typecheck": "npm run typecheck -w packages/components",
"components:storybook": "npm run storybook -w packages/components",
"components:build-storybook": "npm run build-storybook -w packages/components",
- "build": "npm run build -w packages/drive && npm run build -w packages/core && npm run build -w packages/locales && npm run build -w packages/domain && npm run build -w packages/components && npm run build --if-present -w apps/desktop",
+ "build": "npm run build:libs && npm run build --if-present -w apps/desktop",
"test": "npm test --workspaces --if-present",
"lint": "eslint apps packages --max-warnings=0",
"format": "prettier --write \"apps/**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\" \"packages/**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\" \"*.md\" \"docs/**/*.md\"",