chore: rename package scope from @paseo to @getpaseo
This commit is contained in:
@@ -24,15 +24,15 @@ jobs:
|
|||||||
scope: '@boudra'
|
scope: '@boudra'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install --workspace=@paseo/app --include-workspace-root
|
run: npm install --workspace=@getpaseo/app --include-workspace-root
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Typecheck
|
- name: Typecheck
|
||||||
run: npm run typecheck --workspace=@paseo/app
|
run: npm run typecheck --workspace=@getpaseo/app
|
||||||
|
|
||||||
- name: Build and deploy to Cloudflare Pages
|
- name: Build and deploy to Cloudflare Pages
|
||||||
run: npm run deploy:web --workspace=@paseo/app
|
run: npm run deploy:web --workspace=@getpaseo/app
|
||||||
env:
|
env:
|
||||||
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
CLOUDFLARE_ACCOUNT_ID: 10ed39a1dbf316e30abd0c409bed40d6
|
CLOUDFLARE_ACCOUNT_ID: 10ed39a1dbf316e30abd0c409bed40d6
|
||||||
|
|||||||
@@ -21,10 +21,10 @@ jobs:
|
|||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install --workspace=@paseo/relay --include-workspace-root
|
run: npm install --workspace=@getpaseo/relay --include-workspace-root
|
||||||
|
|
||||||
- name: Typecheck
|
- name: Typecheck
|
||||||
run: npm run typecheck --workspace=@paseo/relay
|
run: npm run typecheck --workspace=@getpaseo/relay
|
||||||
|
|
||||||
- name: Deploy worker
|
- name: Deploy worker
|
||||||
run: cd packages/relay && npx wrangler deploy
|
run: cd packages/relay && npx wrangler deploy
|
||||||
|
|||||||
@@ -24,12 +24,12 @@ jobs:
|
|||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install --workspace=@paseo/website --include-workspace-root
|
run: npm install --workspace=@getpaseo/website --include-workspace-root
|
||||||
|
|
||||||
- name: Typecheck
|
- name: Typecheck
|
||||||
run: npm run typecheck --workspace=@paseo/website
|
run: npm run typecheck --workspace=@getpaseo/website
|
||||||
|
|
||||||
- name: Deploy to Cloudflare Workers
|
- name: Deploy to Cloudflare Workers
|
||||||
run: npm run deploy --workspace=@paseo/website
|
run: npm run deploy --workspace=@getpaseo/website
|
||||||
env:
|
env:
|
||||||
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
|
|||||||
@@ -34,10 +34,10 @@ jobs:
|
|||||||
run: git fetch --no-tags origin main:refs/remotes/origin/main
|
run: git fetch --no-tags origin main:refs/remotes/origin/main
|
||||||
|
|
||||||
- name: Install server dependencies
|
- name: Install server dependencies
|
||||||
run: npm install --workspace=@paseo/server --include-workspace-root
|
run: npm install --workspace=@getpaseo/server --include-workspace-root
|
||||||
|
|
||||||
- name: Typecheck
|
- name: Typecheck
|
||||||
run: npm run typecheck --workspace=@paseo/server
|
run: npm run typecheck --workspace=@getpaseo/server
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: npm run test --workspace=@paseo/server
|
run: npm run test --workspace=@getpaseo/server
|
||||||
|
|||||||
Generated
+24
-6578
File diff suppressed because it is too large
Load Diff
+9
-9
@@ -13,8 +13,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "./scripts/dev.sh",
|
"dev": "./scripts/dev.sh",
|
||||||
"dev:server": "NODE_ENV=development tsx packages/server/scripts/dev-runner.ts",
|
"dev:server": "NODE_ENV=development tsx packages/server/scripts/dev-runner.ts",
|
||||||
"dev:app": "npm run start --workspace=@paseo/app",
|
"dev:app": "npm run start --workspace=@getpaseo/app",
|
||||||
"dev:website": "npm run dev --workspace=@paseo/website",
|
"dev:website": "npm run dev --workspace=@getpaseo/website",
|
||||||
"postinstall": "node scripts/postinstall-patches.mjs",
|
"postinstall": "node scripts/postinstall-patches.mjs",
|
||||||
"build": "npm run build --workspaces --if-present",
|
"build": "npm run build --workspaces --if-present",
|
||||||
"typecheck": "npm run typecheck --workspaces --if-present",
|
"typecheck": "npm run typecheck --workspaces --if-present",
|
||||||
@@ -22,13 +22,13 @@
|
|||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"format:check": "prettier --check .",
|
"format:check": "prettier --check .",
|
||||||
"start": "npm run start --workspace=@getpaseo/server",
|
"start": "npm run start --workspace=@getpaseo/server",
|
||||||
"android": "npm run android --workspace=@paseo/app",
|
"android": "npm run android --workspace=@getpaseo/app",
|
||||||
"android:release": "ANDROID_VARIANT=productionRelease npm run android --workspace=@paseo/app",
|
"android:release": "ANDROID_VARIANT=productionRelease npm run android --workspace=@getpaseo/app",
|
||||||
"android:dev-release": "ANDROID_VARIANT=devRelease npm run android --workspace=@paseo/app",
|
"android:dev-release": "ANDROID_VARIANT=devRelease npm run android --workspace=@getpaseo/app",
|
||||||
"ios": "npm run ios --workspace=@paseo/app",
|
"ios": "npm run ios --workspace=@getpaseo/app",
|
||||||
"web": "npm run web --workspace=@paseo/app",
|
"web": "npm run web --workspace=@getpaseo/app",
|
||||||
"desktop": "npm run dev --workspace=@paseo/desktop",
|
"desktop": "npm run dev --workspace=@getpaseo/desktop",
|
||||||
"desktop:build": "npm run build --workspace=@paseo/desktop",
|
"desktop:build": "npm run build --workspace=@getpaseo/desktop",
|
||||||
"cli": "npx tsx packages/cli/src/index.js"
|
"cli": "npx tsx packages/cli/src/index.js"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "@paseo/app",
|
"name": "@getpaseo/app",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "@paseo/desktop",
|
"name": "@getpaseo/desktop",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Paseo desktop app (Tauri wrapper)",
|
"description": "Paseo desktop app (Tauri wrapper)",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "@paseo/relay",
|
"name": "@getpaseo/relay",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"description": "Paseo relay for bridging daemon and client connections",
|
"description": "Paseo relay for bridging daemon and client connections",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
"zod-to-json-schema": "^3.25.1"
|
"zod-to-json-schema": "^3.25.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@paseo/relay": "*",
|
"@getpaseo/relay": "*",
|
||||||
"@playwright/test": "^1.56.1",
|
"@playwright/test": "^1.56.1",
|
||||||
"@types/express": "^4.17.20",
|
"@types/express": "^4.17.20",
|
||||||
"@types/node": "^20.9.0",
|
"@types/node": "^20.9.0",
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ import {
|
|||||||
createClientChannel,
|
createClientChannel,
|
||||||
type EncryptedChannel,
|
type EncryptedChannel,
|
||||||
type Transport as RelayTransport,
|
type Transport as RelayTransport,
|
||||||
} from "@paseo/relay/e2ee";
|
} from "@getpaseo/relay/e2ee";
|
||||||
import { isRelayClientWebSocketUrl } from "../shared/daemon-endpoints.js";
|
import { isRelayClientWebSocketUrl } from "../shared/daemon-endpoints.js";
|
||||||
|
|
||||||
export interface Logger {
|
export interface Logger {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import { spawn, type ChildProcess } from "node:child_process";
|
|||||||
import { Buffer } from "node:buffer";
|
import { Buffer } from "node:buffer";
|
||||||
|
|
||||||
import { createTestPaseoDaemon } from "../test-utils/paseo-daemon.js";
|
import { createTestPaseoDaemon } from "../test-utils/paseo-daemon.js";
|
||||||
import { createClientChannel, type Transport } from "@paseo/relay/e2ee";
|
import { createClientChannel, type Transport } from "@getpaseo/relay/e2ee";
|
||||||
import { buildRelayWebSocketUrl } from "../../shared/daemon-endpoints.js";
|
import { buildRelayWebSocketUrl } from "../../shared/daemon-endpoints.js";
|
||||||
|
|
||||||
function createCapturingLogger() {
|
function createCapturingLogger() {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import {
|
|||||||
importPublicKey,
|
importPublicKey,
|
||||||
importSecretKey,
|
importSecretKey,
|
||||||
type KeyPair,
|
type KeyPair,
|
||||||
} from "@paseo/relay/e2ee";
|
} from "@getpaseo/relay/e2ee";
|
||||||
|
|
||||||
const KeyPairSchema = z.object({
|
const KeyPairSchema = z.object({
|
||||||
v: z.literal(2),
|
v: z.literal(2),
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import {
|
|||||||
type EncryptedChannel,
|
type EncryptedChannel,
|
||||||
type Transport as RelayTransport,
|
type Transport as RelayTransport,
|
||||||
type KeyPair,
|
type KeyPair,
|
||||||
} from "@paseo/relay/e2ee";
|
} from "@getpaseo/relay/e2ee";
|
||||||
import { buildRelayWebSocketUrl } from "../shared/daemon-endpoints.js";
|
import { buildRelayWebSocketUrl } from "../shared/daemon-endpoints.js";
|
||||||
|
|
||||||
type RelayTransportOptions = {
|
type RelayTransportOptions = {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "@paseo/website",
|
"name": "@getpaseo/website",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
+1
-1
@@ -38,4 +38,4 @@ concurrently \
|
|||||||
--names "daemon,metro" \
|
--names "daemon,metro" \
|
||||||
--prefix-colors "cyan,magenta" \
|
--prefix-colors "cyan,magenta" \
|
||||||
"npm run dev:server" \
|
"npm run dev:server" \
|
||||||
"BROWSER=none EXPO_PUBLIC_LOCAL_DAEMON='${LOCAL_DAEMON}' npm run start --workspace=@paseo/app -- --port ${METRO_PORT}"
|
"BROWSER=none EXPO_PUBLIC_LOCAL_DAEMON='${LOCAL_DAEMON}' npm run start --workspace=@getpaseo/app -- --port ${METRO_PORT}"
|
||||||
|
|||||||
Reference in New Issue
Block a user