Skip to content

Commit

Permalink
update configs, add new js scripts, and update samples
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianmariecom committed Sep 14, 2024
1 parent 4c7768e commit 2cfec52
Show file tree
Hide file tree
Showing 15 changed files with 301 additions and 137 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
version: 2
updates:
- directory: "/"
package-ecosystem: github-actions
Expand All @@ -13,3 +12,4 @@ updates:
package-ecosystem: bundler
schedule:
interval: daily
version: 2
19 changes: 10 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: CI
on: push
---
jobs:
bundler-audit:
name: Bundler Audit
Expand All @@ -10,6 +9,13 @@ jobs:
with:
bundler-cache: true
- run: bin/bundler-audit check --update
npm-audit:
name: npm Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm audit
rspec:
name: Test
runs-on: ubuntu-latest
Expand All @@ -28,10 +34,5 @@ jobs:
with:
bundler-cache: true
- run: bin/rubocop
npm-audit:
name: npm Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm audit
name: CI
"on": push
6 changes: 6 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ PATH
dorian-to_struct
git
json
mini_racer
ostruct
parallel
terminal-table
Expand Down Expand Up @@ -57,7 +58,12 @@ GEM
concurrent-ruby (~> 1.0)
json (2.7.2)
language_server-protocol (3.17.0.3)
libv8-node (18.19.0.0)
libv8-node (18.19.0.0-arm64-darwin)
libv8-node (18.19.0.0-x86_64-linux)
logger (1.6.1)
mini_racer (0.16.0)
libv8-node (~> 18.19.0.0)
minitest (5.25.1)
ostruct (0.6.0)
parallel (1.26.3)
Expand Down
3 changes: 3 additions & 0 deletions a.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import prettier from "prettier";

console.log(prettier.format("1 + 1", { parser: "babel" }));
1 change: 1 addition & 0 deletions dorian.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Gem::Specification.new do |s|
s.add_dependency "dorian-to_struct"
s.add_dependency "git"
s.add_dependency "json"
s.add_dependency "mini_racer"
s.add_dependency "ostruct"
s.add_dependency "parallel"
s.add_dependency "terminal-table"
Expand Down
Loading

0 comments on commit 2cfec52

Please sign in to comment.