Skip to content

Commit d138096

Browse files
committed
migrate yarn commands to xl1
1 parent 85493bf commit d138096

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json.schemastore.org/package.json",
3-
"name": "@xyo-network/xl1-protocol-samples-react",
3+
"name": "@xyo-network/xl1-samples-react",
44
"version": "1.0.0",
55
"description": "XYO Layer One Protocol Sample Code",
66
"homepage": "https://xyo.network",
@@ -22,9 +22,9 @@
2222
"type": "module",
2323
"scripts": {
2424
"build": "vite build --mode production",
25-
"package-build": "yarn build",
26-
"serve": "yarn build && yarn dlx serve ./build",
27-
"start": "yarn vite"
25+
"package-build": "npm run build",
26+
"serve": "npm run build && npm run dlx serve ./build",
27+
"start": "npm run vite"
2828
},
2929
"dependencies": {
3030
"@mui/material": "^7.3.1",
@@ -46,7 +46,6 @@
4646
"@vitejs/plugin-react-swc": "^4.0.0",
4747
"@xylabs/assert": "^5.0.8",
4848
"@xylabs/hex": "^5.0.8",
49-
"@xylabs/ts-scripts-yarn3": "^7.1.2",
5049
"@xylabs/tsconfig-react": "^7.1.2",
5150
"@xyo-network/id-payload-plugin": "5.0.5",
5251
"@xyo-network/payload": "^5.0.5",

src/components/alerts/RunProducerAlerts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
import { grey } from '@mui/material/colors'
77
import { useState } from 'react'
88

9-
const START_COMMAND = 'yarn xl1 --logLevel="warn"'
9+
const START_COMMAND = 'npm run xl1 --logLevel="warn"'
1010

1111
const StartProducerAlert: React.FC<AlertProps> = (props) => {
1212
const [copied, setCopied] = useState(false)

0 commit comments

Comments
 (0)