Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Rename frontend to protocolbeat #32

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
node-version: 18.x
cache: "yarn"
- run: yarn --frozen-lockfile
- run: yarn build:dependencies
- run: yarn build
- run: yarn lint

build:
Expand Down
19 changes: 7 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,15 @@
]
},
"scripts": {
"build:backend": "wsrun -p @protocol-beat/backend -recsm build",
"build:frontend": "wsrun -p @protocol-beat/frontend -recsm build",
"build": "wsrun -ecsm build",
"build:dependencies": "wsrun -p @protocol-beat/{types,common,config,update-monitor} -recsm build",
"build": "wsrun build",
"ci:check": "yarn clean && yarn build && yarn format && yarn lint && yarn typecheck && yarn test",
"clean": "wsrun -ecam clean",
"clean": "wsrun clean",
"fix": "yarn lint:fix && yarn format:fix",
"format:fix": "wsrun -ecam format:fix",
"format": "wsrun -ecam format",
"heroku-postbuild": "yarn build:backend",
"lint:fix": "wsrun -ecam lint:fix",
"lint": "wsrun -ecam lint",
"start": "cd packages/backend && yarn start",
"typecheck": "wsrun -ecam typecheck"
"format:fix": "wsrun format:fix",
"format": "wsrun format",
"lint:fix": "wsrun lint:fix",
"lint": "wsrun lint",
"typecheck": "wsrun typecheck"
},
"devDependencies": {
"@biomejs/biome": "1.7.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@protocol-beat/frontend",
"name": "@l2beat/protocolbeat",
"version": "0.1.0",
"private": true,
"sideEffects": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Box, Connection, State } from '../State'
import { BORDER_WIDTH, FIELD_HEIGHT, HEADER_HEIGHT } from '../utils/constants'
import { BORDER_WIDTH, FIELD_HEIGHT, HEADER_HEIGHT } from './constants'
import { encodeNodeLocations, getLayoutStorageKey } from './storageParsing'

export function updateNodePositions(state: State): State {
Expand Down
Loading