Skip to content

Commit 28ed200

Browse files
committed
Migrate to npm
Additionally: - Add cooldown to dependabot configuration - Remove tailwind ignore - Add `.node-version` for parity with `.ruby-version`
1 parent d6e7a20 commit 28ed200

9 files changed

Lines changed: 1275 additions & 584 deletions

File tree

.github/dependabot.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ updates:
88
github_actions:
99
patterns:
1010
- "*"
11+
cooldown:
12+
default-days: 5
1113
- package-ecosystem: bundler
1214
directory: /
1315
schedule:
@@ -17,6 +19,8 @@ updates:
1719
bundler:
1820
patterns:
1921
- "*"
22+
cooldown:
23+
default-days: 5
2024
- package-ecosystem: npm
2125
directory: /
2226
schedule:
@@ -26,6 +30,5 @@ updates:
2630
npm:
2731
patterns:
2832
- "*"
29-
ignore:
30-
- dependency-name: "tailwindcss"
31-
versions: ">= 4.0"
33+
cooldown:
34+
default-days: 5

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jobs:
2323
with:
2424
ruby-version: .ruby-version
2525
bundler-cache: true
26+
- uses: actions/setup-node@v6
27+
with:
28+
node-version-file: .node-version
29+
cache: npm
2630
- name: Run tests
2731
env:
2832
COVERAGE: true

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/krypton

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ignore-scripts=true

Procfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
web: env RUBY_DEBUG_OPEN=true bin/rails server
2-
css: yarn build:css --watch
2+
css: npm run build:css -- --watch

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ https://activeadmin-demo.onrender.com
1111
- Install Node 24 with [nodenv](https://github.com/nodenv/nodenv)
1212
- `corepack enable`
1313
- `bundle install`
14-
- `yarn install`
14+
- `npm install`
1515
- `bin/rails db:seed`
1616
- `bin/dev`
1717

0 commit comments

Comments
 (0)