Skip to content

Commit 7ee3a31

Browse files
authored
Merge pull request #179 from sbrin/develop
v0.5
2 parents 35a77f1 + 9117c9a commit 7ee3a31

File tree

440 files changed

+54809
-5368
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

440 files changed

+54809
-5368
lines changed

.github/workflows/node.js.yml

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,3 @@
1-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
2-
3-
# name: Test Coverage
4-
5-
# on:
6-
# pull_request:
7-
# branches: [ "develop" ]
8-
9-
# jobs:
10-
# build:
11-
12-
# runs-on: ubuntu-latest
13-
14-
# strategy:
15-
# matrix:
16-
# node-version: [18.x]
17-
# # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
18-
19-
# steps:
20-
# - uses: actions/checkout@v3
21-
# - name: Use Node.js ${{ matrix.node-version }}
22-
# uses: actions/setup-node@v3
23-
# with:
24-
# node-version: ${{ matrix.node-version }}
25-
# cache: 'yarn'
26-
# - run: yarn --frozen-lockfile
27-
# - run: yarn test
28-
291
name: 'Test'
302
on:
313
pull_request:
@@ -46,10 +18,14 @@ jobs:
4618
uses: actions/setup-node@v4
4719
with:
4820
node-version: '20.x'
21+
- name: 'Install pnpm'
22+
uses: pnpm/action-setup@v2
23+
with:
24+
version: 8
4925
- name: 'Install Deps'
50-
run: yarn --frozen-lockfile
26+
run: pnpm i
5127
- name: 'Test'
52-
run: yarn test
28+
run: pnpm test
5329
- name: 'Report Coverage'
5430
# Set if: always() to also generate the report if tests are failing
5531
# Only works if you set `reportOnFailure: true` in your vite config as specified above

.prettierrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
"tabWidth": 4,
66
"useTabs": false,
77
"arrowParens": "always",
8-
"trailingComma": "none",
8+
"trailingComma": "es5",
99
"semi": true,
1010
"insertPragma": false,
1111
"jsxBracketSameLine": true,
1212
"proseWrap": "always",
13-
"htmlWhitespaceSensitivity": "ignore"
13+
"htmlWhitespaceSensitivity": "ignore",
14+
"singleAttributePerLine": true
1415
}

CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
# First stage: Node image to build the project
2-
FROM node:18 as build-stage
2+
FROM node:22 as build-stage
33

44
# Set the working directory
55
WORKDIR /app
66

7-
# Copy package.json and yarn.lock files to the working directory
8-
COPY package.json yarn.lock ./
7+
RUN npm install -g pnpm
8+
9+
COPY package.json pnpm-lock.yaml ./
910

1011
# Install dependencies
11-
RUN yarn install
12+
RUN pnpm install
1213

1314
# Copy the rest of your source code to the working directory
1415
COPY . .
1516

1617
# Build the project
1718
ENV NODE_OPTIONS='--max-old-space-size=16384'
18-
RUN yarn build
19+
RUN pnpm build
1920

2021
# Second stage: Start from the official Nginx image
2122
FROM nginx:alpine

img/flipper/125_10px.png

-276 Bytes
-1.01 KB

img/flipper/Alert_9x8.png

-875 Bytes

img/flipper/ArrowC_1_36x36.png

-868 Bytes

img/flipper/ArrowUpEmpty_14x15.png

-882 Bytes
-879 Bytes

0 commit comments

Comments
 (0)