mirror of
https://github.com/morten-olsen/bob.git
synced 2026-02-08 01:46:29 +01:00
chore: package rename
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
],
|
||||
"private": false,
|
||||
"main": "./dist/cjs/index.js",
|
||||
"name": "bob-the-algorithm",
|
||||
"name": "@bob-the-algorithm/core",
|
||||
"scripts": {
|
||||
"build": "tsc --build configs/tsconfig.libs.json"
|
||||
},
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"bob-the-algorithm": "workspace:^",
|
||||
"@bob-the-algorithm/core": "workspace:^",
|
||||
"date-fns": "^2.30.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { calulation, plugins } from 'bob-the-algorithm';
|
||||
import { calulation, plugins } from '@bob-the-algorithm/core';
|
||||
import { createWorker } from '../../features/runner/worker';
|
||||
import { convertResult } from '../../utils/graph';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { GraphNode } from 'bob-the-algorithm';
|
||||
import { GraphNode } from '@bob-the-algorithm/core';
|
||||
import { useMemo } from 'react';
|
||||
import { ConvertedResult } from '../../utils/graph';
|
||||
import { format } from 'date-fns';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CalulationResult } from 'bob-the-algorithm';
|
||||
import { CalulationResult } from '@bob-the-algorithm/core';
|
||||
|
||||
function msToHMS(ms: number) {
|
||||
// 1- Convert to seconds:
|
||||
|
||||
Reference in New Issue
Block a user