mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
commit
5626f0122c
|
@ -38,5 +38,5 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"postCreateCommand": "yarn install"
|
||||
"postCreateCommand": "pnpm install"
|
||||
}
|
||||
|
|
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
@ -26,27 +26,33 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v3
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
cache: 'pnpm'
|
||||
|
||||
- run: yarn install
|
||||
|
||||
- run: pnpm install
|
||||
|
||||
- name: Run Lint
|
||||
run: yarn lint-ci
|
||||
run: pnpm run lint-ci
|
||||
|
||||
- name: Run type check
|
||||
run: yarn check-types
|
||||
run: pnpm run check-types
|
||||
|
||||
- name: Run Tests
|
||||
run: yarn test:unit
|
||||
run: pnpm run test:unit
|
||||
|
||||
# Playwright section
|
||||
- name: Install Playwright Browsers
|
||||
run: yarn playwright install --with-deps
|
||||
run: pnpm exec playwright install --with-deps
|
||||
|
||||
- name: Run Playwright tests
|
||||
run: yarn playwright test
|
||||
run: pnpm exec playwright test
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: ${{ !cancelled() }}
|
||||
|
@ -58,7 +64,7 @@ jobs:
|
|||
# End Playwright section
|
||||
|
||||
- name: Build build
|
||||
run: yarn build
|
||||
run: pnpm run build
|
||||
|
||||
- name: Archive artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
893
.yarn/releases/yarn-4.1.1.cjs
vendored
893
.yarn/releases/yarn-4.1.1.cjs
vendored
File diff suppressed because one or more lines are too long
|
@ -1,7 +0,0 @@
|
|||
compressionLevel: mixed
|
||||
|
||||
enableGlobalCache: false
|
||||
|
||||
nodeLinker: node-modules
|
||||
|
||||
yarnPath: .yarn/releases/yarn-4.1.1.cjs
|
12
Dockerfile
12
Dockerfile
|
@ -1,19 +1,19 @@
|
|||
FROM node:22.2.0-alpine as ui-builder
|
||||
|
||||
RUN mkdir /app
|
||||
RUN mkdir /app \
|
||||
&& corepack enable
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json yarn.lock .yarnrc.yml /app/
|
||||
COPY .yarn/releases/ /app/.yarn/releases/
|
||||
COPY package.json pnpm-lock.yaml /app/
|
||||
|
||||
RUN apk add --update --no-cache g++ make\
|
||||
&& yarn install\
|
||||
RUN apk add --update --no-cache g++ make git \
|
||||
&& pnpm install --frozen-lockfile \
|
||||
&& apk del g++ make
|
||||
|
||||
COPY . /app
|
||||
|
||||
RUN yarn build
|
||||
RUN pnpm run build
|
||||
|
||||
FROM nginx:1.26.0-alpine
|
||||
COPY --from=ui-builder /app/dist /etc/nginx/html
|
||||
|
|
12
README.md
12
README.md
|
@ -26,25 +26,25 @@ Ports can vary, so check the URL you're using.
|
|||
### Project setup
|
||||
|
||||
```
|
||||
yarn install
|
||||
pnpm run install
|
||||
```
|
||||
|
||||
### Compiles and hot-reloads for development
|
||||
|
||||
```
|
||||
yarn dev
|
||||
pnpm run dev
|
||||
```
|
||||
|
||||
### Compiles and minifies for production
|
||||
|
||||
```
|
||||
yarn build
|
||||
pnpm run build
|
||||
```
|
||||
|
||||
### Lints and fixes files
|
||||
|
||||
```
|
||||
yarn lint
|
||||
pnpm run lint
|
||||
```
|
||||
|
||||
### Build and run docker version
|
||||
|
@ -79,7 +79,7 @@ docker-compose exec web /bin/bash
|
|||
then
|
||||
|
||||
```
|
||||
yarn dev
|
||||
pnpm run dev
|
||||
```
|
||||
|
||||
## Project setup for vscode and docker (developing inside dev container) on Linux
|
||||
|
@ -97,7 +97,7 @@ View > Command palette > Enter: Remote-Containers rebuild container
|
|||
### Serve your local server
|
||||
|
||||
```
|
||||
yarn dev
|
||||
pnpm run dev
|
||||
```
|
||||
|
||||
You now have useful vscode extensions, git support, your command history of the project.
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
"check-types": "vue-tsc --noEmit",
|
||||
"lint": "eslint src tests e2e",
|
||||
"lint-ci": "eslint --no-fix src tests e2e",
|
||||
"test:e2e": "yarn playwright test",
|
||||
"test:e2e-chromium": "yarn playwright test --project=chromium",
|
||||
"test:e2e-msedge": "yarn playwright test --project=msedge"
|
||||
"test:e2e": "playwright test",
|
||||
"test:e2e-chromium": "playwright test --project=chromium",
|
||||
"test:e2e-msedge": "playwright test --project=msedge"
|
||||
},
|
||||
"dependencies": {
|
||||
"@noction/vue-draggable-grid": "1.9.16",
|
||||
|
@ -71,5 +71,5 @@
|
|||
"vitest": "^1.6.0",
|
||||
"vue-tsc": "^2.0.19"
|
||||
},
|
||||
"packageManager": "yarn@4.1.1"
|
||||
"packageManager": "pnpm@8.15.6"
|
||||
}
|
||||
|
|
|
@ -73,7 +73,7 @@ export default defineConfig({
|
|||
|
||||
/* Run your local dev server before starting the tests */
|
||||
webServer: {
|
||||
command: 'yarn dev',
|
||||
command: 'pnpm run dev',
|
||||
url: 'http://localhost:3000',
|
||||
reuseExistingServer: !process.env.CI,
|
||||
},
|
||||
|
|
3509
pnpm-lock.yaml
Normal file
3509
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user