Skip to content

Commit 1c9040d

Browse files
pr remarks
1 parent ef51e4c commit 1c9040d

10 files changed

Lines changed: 16 additions & 16 deletions

.fleek.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"slug": "interface-test",
55
"distDir": "build",
6-
"buildCommand": "npm run build"
6+
"buildCommand": "pnpm build"
77
}
88
]
99
}

.fleek_dr_center_production.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"slug": "drcenter-production",
55
"distDir": "build",
6-
"buildCommand": "npm run build"
6+
"buildCommand": "pnpm build"
77
}
88
]
99
}

.fleek_dr_center_staging.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"slug": "drcenter-staging",
55
"distDir": "build",
6-
"buildCommand": "npm run build"
6+
"buildCommand": "pnpm build"
77
}
88
]
99
}

.fleek_dr_center_testing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"slug": "drcenter-test",
55
"distDir": "build",
6-
"buildCommand": "npm run build"
6+
"buildCommand": "pnpm build"
77
}
88
]
99
}

.fleek_production.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"slug": "dapp-interface-production",
55
"distDir": "build",
6-
"buildCommand": "npm run build"
6+
"buildCommand": "pnpm build"
77
}
88
]
99
}

.fleek_staging.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"slug": "interface-staging",
55
"distDir": "build",
6-
"buildCommand": "npm run build"
6+
"buildCommand": "pnpm build"
77
}
88
]
99
}

.github/workflows/ci_reusable.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,12 @@ jobs:
178178
- run: pnpm install --frozen-lockfile
179179
- name: Install Playwright Browsers
180180
run: npx playwright install --with-deps chromium
181-
- run: npm run prettier
182-
- run: npm run tsc
183-
- run: npm run lint
181+
- run: pnpm prettier
182+
- run: pnpm tsc
183+
- run: pnpm lint
184184
- id: lint
185185
run: echo "::set-output name=pass::success"
186-
- run: npm run build
186+
- run: pnpm build
187187
- id: build
188188
run: echo "::set-output name=pass::success"
189189
- name: (if 'staging' env) Copy contents from .fleek_staging.json to .fleek.json
@@ -200,7 +200,7 @@ jobs:
200200
FLEEK_TOKEN: ${{ secrets.FLEEK_TOKEN }}
201201
FLEEK_PROJECT_ID: ${{ secrets.FLEEK_PROJECT_ID }}
202202
- name: Build dapp to show the dr_center only
203-
run: npm run build
203+
run: pnpm build
204204
if: ${{ inputs.IS_PREVIEW == false && inputs.DEPLOY_TO_FLEEK }}
205205
env:
206206
REACT_APP_VIEW_MODE: "dr_center"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Installing the correct versions of node and npm can be done by installing [`volt
3939
1. Clone the repository: i.e. Run `git clone git@github.com:bosonprotocol/interface.git`
4040
2. Navigate into the directory & install dependencies: i.e. Run `cd interface && pnpm install`
4141
3. Copy the `.env.example` file to `.env` and fill out any necessary values.
42-
4. Start the application: i.e. Run `npm run dev`
42+
4. Start the application: i.e. Run `pnpm dev`
4343
5. Navigate to `http://localhost:3000/` in a browser.
4444

4545

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
"test:e2e:ci": "cross-env CI=true playwright test --project=chromium",
2323
"test:e2e:debug": "cross-env PWDEBUG=console playwright test --project=chromium",
2424
"test:e2e:report": "playwright show-report",
25-
"coverage:unit": "npm run test -- --silent --watchAll=false --coverage --coverageReporters 'json'",
25+
"coverage:unit": "pnpm test -- --silent --watchAll=false --coverage --coverageReporters 'json'",
2626
"coverage:e2e": "cross-env CI=true npx playwright test --project=chromium && npx nyc report --reporter=json",
2727
"coverage:e2e:view": "npx nyc report --reporter html && echo 'open coverage/index.html to see it'",
28-
"coverage:report": "npm run coverage:unit",
28+
"coverage:report": "pnpm coverage:unit",
2929
"upgrade:corec:latest": "pnpm install @bosonprotocol/common@latest @bosonprotocol/react-kit@latest",
3030
"upgrade:corec:alpha": "pnpm install @bosonprotocol/common@alpha @bosonprotocol/react-kit@alpha",
3131
"generate": "graphql-codegen",
@@ -39,7 +39,7 @@
3939
},
4040
"lint-staged": {
4141
"src/**/*.+(js|json|ts|tsx)": [
42-
"npm run lint"
42+
"pnpm lint"
4343
],
4444
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
4545
"prettier --write"

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const config: PlaywrightTestConfig = {
9999

100100
/* Run your local dev server before starting the tests */
101101
webServer: {
102-
command: "npm run dev",
102+
command: "pnpm dev",
103103
port: 3000,
104104
timeout: 120 * 1000,
105105
env: {

0 commit comments

Comments
 (0)