Skip to content

Commit

Permalink
chore: change yarn to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
Massolari committed Jun 27, 2024
1 parent 341dcd4 commit 9130625
Show file tree
Hide file tree
Showing 6 changed files with 472 additions and 301 deletions.
7 changes: 7 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Automatically sets up your devbox environment whenever you cd into this
# directory via our direnv integration:

eval "$(devbox generate direnv --print-envrc)"

# check out https://www.jetpack.io/devbox/docs/ide_configuration/direnv/
# for more details
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: pnpm/action-setup@v4
with:
node-version: 18
version: 8
- uses: erlef/setup-beam@v1
with:
otp-version: "26.0.2"
gleam-version: "1.2.1"
rebar3-version: "3"
# elixir-version: "1.15.4"
- run: npm ci
- run: pnpm install
- run: gleam deps download
- run: gleam test
- run: gleam format --check src test
14 changes: 14 additions & 0 deletions devbox.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.11.0/.schema/devbox.schema.json",
"packages": ["pnpm@latest"],
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
]
}
}
}
53 changes: 53 additions & 0 deletions devbox.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"lockfile_version": "1",
"packages": {
"pnpm@latest": {
"last_modified": "2024-06-17T06:49:48Z",
"resolved": "github:NixOS/nixpkgs/38d3352a65ac9d621b0cd3074d3bef27199ff78f#pnpm",
"source": "devbox-search",
"version": "9.3.0",
"systems": {
"aarch64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/kmp6cgi42m66h137h56aihwwbid8f4w3-pnpm-9.3.0",
"default": true
}
],
"store_path": "/nix/store/kmp6cgi42m66h137h56aihwwbid8f4w3-pnpm-9.3.0"
},
"aarch64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/nzrdb89k0srnp753yawsyb180ppvi1x3-pnpm-9.3.0",
"default": true
}
],
"store_path": "/nix/store/nzrdb89k0srnp753yawsyb180ppvi1x3-pnpm-9.3.0"
},
"x86_64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/qwxhks487mscdp76anfb7nzb3381yday-pnpm-9.3.0",
"default": true
}
],
"store_path": "/nix/store/qwxhks487mscdp76anfb7nzb3381yday-pnpm-9.3.0"
},
"x86_64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/rpyn2ski8v4ncb0fvanxx37lvw3scsif-pnpm-9.3.0",
"default": true
}
],
"store_path": "/nix/store/rpyn2ski8v4ncb0fvanxx37lvw3scsif-pnpm-9.3.0"
}
}
}
}
}
Loading

0 comments on commit 9130625

Please sign in to comment.