Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
8 changes: 8 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Excludes directories that generate false positives:
# - tests/fixtures: pre-built webpack bundles checked in as test artifacts, not source code
# - spec/dummy: Rails test apps used for integration testing, not production code

paths-ignore:
Comment thread
ihabadham marked this conversation as resolved.
- 'packages/react-on-rails-pro-node-renderer/tests/fixtures/**'
Comment thread
ihabadham marked this conversation as resolved.
- 'react_on_rails_pro/spec/dummy/**'
- 'react_on_rails/spec/dummy/**'
Comment thread
ihabadham marked this conversation as resolved.
Comment thread
ihabadham marked this conversation as resolved.
3 changes: 3 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Lint GitHub Actions

permissions:
contents: read

on:
push:
branches:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Bundle Size

permissions:
contents: read
Comment thread
ihabadham marked this conversation as resolved.

on:
pull_request:
paths:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/check-markdown-links.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Check Markdown Links

permissions:
contents: read

on:
push:
branches: [main]
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CodeQL
Comment thread
ihabadham marked this conversation as resolved.

on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 6 * * 1' # Weekly Monday 6am UTC

jobs:
Comment thread
ihabadham marked this conversation as resolved.
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write
contents: read
Comment thread
ihabadham marked this conversation as resolved.
strategy:
fail-fast: false
matrix:
language: ['javascript-typescript', 'ruby']
steps:
- name: Checkout repository
Comment thread
ihabadham marked this conversation as resolved.
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
Comment thread
ihabadham marked this conversation as resolved.
Comment thread
ihabadham marked this conversation as resolved.
with:
Comment thread
ihabadham marked this conversation as resolved.
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
Comment thread
ihabadham marked this conversation as resolved.

- name: Autobuild
uses: github/codeql-action/autobuild@v4

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
Comment thread
ihabadham marked this conversation as resolved.
3 changes: 3 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Generator tests # TODO needs to be duplicated for RoR Pro

permissions:
contents: read

on:
push:
branches:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/gem-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Rspec test for gem

permissions:
contents: read

on:
push:
branches:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Integration Tests

permissions:
contents: read

on:
push:
branches:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint-js-and-ruby.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Lint JS and Ruby

permissions:
contents: read

on:
push:
branches:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/package-js-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: JS unit tests for Renderer package

permissions:
contents: read

on:
push:
branches:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Playwright E2E Tests

permissions:
contents: read

on:
push:
branches: [main]
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/precompile-check.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Assets Precompile Check

permissions:
contents: read

on:
push:
branches:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pro-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: React on Rails Pro - Integration Tests

permissions:
contents: read

on:
push:
branches:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pro-lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: React on Rails Pro - Lint

permissions:
contents: read

on:
push:
branches:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pro-test-package-and-gem.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: React on Rails Pro - Package Tests

permissions:
contents: read

on:
push:
branches:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/trigger-docs-site.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Trigger docs site rebuild

permissions:
contents: read

on:
push:
branches: [main]
Expand Down
30 changes: 29 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,35 @@
"app>react": "^18.3.1",
"app>react-dom": "^18.3.1",
"sentry-testkit>body-parser": "npm:empty-npm-package@1.0.0",
"sentry-testkit>express": "npm:empty-npm-package@1.0.0"
"sentry-testkit>express": "npm:empty-npm-package@1.0.0",
"lodash@>=4.0.0 <=4.17.22": ">=4.17.23",
"qs@>=6.7.0 <=6.14.1": ">=6.14.2",
"bn.js@>=5.0.0 <5.2.3": ">=5.2.3",
"bn.js@<4.12.3": ">=4.12.3",
"minimatch@<3.1.3": ">=3.1.3",
Comment thread
ihabadham marked this conversation as resolved.
Outdated
Comment thread
ihabadham marked this conversation as resolved.
Outdated
"minimatch@>=9.0.0 <9.0.6": ">=9.0.6",
"basic-ftp@<5.2.0": ">=5.2.0",
"minimatch@>=9.0.0 <9.0.7": ">=9.0.7",
Comment thread
ihabadham marked this conversation as resolved.
Outdated
Comment thread
ihabadham marked this conversation as resolved.
Outdated
"minimatch@<3.1.4": ">=3.1.4",
Comment thread
ihabadham marked this conversation as resolved.
Outdated
Comment thread
ihabadham marked this conversation as resolved.
Outdated
Comment thread
ihabadham marked this conversation as resolved.
Outdated
"serialize-javascript@<=7.0.2": ">=7.0.3",
Comment thread
ihabadham marked this conversation as resolved.
Outdated
"ajv@<6.14.0": ">=6.14.0",
Comment thread
ihabadham marked this conversation as resolved.
Outdated
"ajv@>=7.0.0-alpha.0 <8.18.0": ">=8.18.0",
"@tootallnate/once@<3.0.1": ">=3.0.1",
Comment thread
ihabadham marked this conversation as resolved.
Outdated
"svgo@=4.0.0": ">=4.0.1",
"svgo@>=2.1.0 <2.8.1": ">=2.8.1",
Comment thread
ihabadham marked this conversation as resolved.
Outdated
"immutable@>=5.0.0 <5.1.5": ">=5.1.5",
"flatted@<3.4.0": ">=3.4.0",
"flatted@<=3.4.1": ">=3.4.2",
"smol-toml@<1.6.1": ">=1.6.1",
"handlebars@>=4.0.0 <=4.7.8": ">=4.7.9",
Comment thread
ihabadham marked this conversation as resolved.
Outdated
"serialize-javascript@<7.0.5": ">=7.0.5",
Comment thread
ihabadham marked this conversation as resolved.
Outdated
"path-to-regexp@<0.1.13": ">=0.1.13",
Comment thread
ihabadham marked this conversation as resolved.
Outdated
"brace-expansion@<1.1.13": ">=1.1.13",
"brace-expansion@>=2.0.0 <2.0.3": ">=2.0.3",
Comment thread
ihabadham marked this conversation as resolved.
Outdated
Comment thread
ihabadham marked this conversation as resolved.
Outdated
Comment thread
ihabadham marked this conversation as resolved.
Outdated
"handlebars@>=4.0.0 <4.7.9": ">=4.7.9",
Comment thread
ihabadham marked this conversation as resolved.
Outdated
"picomatch@<2.3.2": ">=2.3.2",
Comment thread
ihabadham marked this conversation as resolved.
Outdated
Comment thread
ihabadham marked this conversation as resolved.
Outdated
"picomatch@>=4.0.0 <4.0.4": ">=4.0.4",
"yaml@>=1.0.0 <1.10.3": ">=1.10.3"
Comment thread
ihabadham marked this conversation as resolved.
Outdated
}
}
Comment thread
ihabadham marked this conversation as resolved.
}
Loading
Loading