Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/*
!.yarn/releases
!.yarn/plugins
.pnp.*

# testing
/coverage
Expand Down
8 changes: 8 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
approvedGitRepositories:
- "**"

enableScripts: true

nodeLinker: node-modules

npmMinimalAgeGate: 0
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM node:22-alpine as builder
FROM node:26-alpine as builder

WORKDIR /tmp
COPY . .

RUN npx prettier --check ./src
RUN yarn && yarn build
RUN npm install -g corepack && \
yarn set version stable && \
yarn && yarn build

###
# production image
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@
"main": "index.js",
"repository": "git@github.com:bndw/wifi-card.git",
"author": "bndw <ben@bdw.to>",
"license": "MIT"
}
"license": "MIT",
"packageManager": "yarn@4.15.0"
}
Loading