Skip to content
Merged
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
18 changes: 14 additions & 4 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,27 @@ name: Acceptance Tests

on:
pull_request:
branches: [ 'master' ]
branches: [ 'main' ]

jobs:
acceptance-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4

- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'

- name: Cypress run
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@f9ffb60bba0c743f8c78dfed96873e8fdb2af34c # v7.1.4
with:
browser: chrome
start: yarn start
install-command: pnpm install
start: pnpm start
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge-dependabot-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v1.3.3
uses: dependabot/fetch-metadata@605e039bf3a1b6595b0074dcc00db2c8825ee8a5 # v1.3.3
with:
github-token: "${{ secrets.DEPENDABOT_AUTO_MERGE_GITHUB_TOKEN }}"
- name: Approve Minor
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "CodeQL"

on:
push:
branches: [ "master" ]
branches: [ "main" ]
pull_request:
branches: [ "master" ]
branches: [ "main" ]
schedule:
- cron: '29 10 * * 2'

Expand All @@ -24,15 +24,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@45580472a5bb82c4681c4ac726cfdb60060c2ee1 # v3
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@45580472a5bb82c4681c4ac726cfdb60060c2ee1 # v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@45580472a5bb82c4681c4ac726cfdb60060c2ee1 # v3
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
24
1 change: 1 addition & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const { defineConfig } = require("cypress");

module.exports = defineConfig({
allowCypressEnv: false,
e2e: {
baseUrl: 'http://localhost:3000'
},
Expand Down
25 changes: 25 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="CODENOUGH LLC" />
<link rel="apple-touch-icon" href="logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="/manifest.json" />
<title>CODENOUGH LLC</title>
</head>

<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.jsx"></script>
</body>

</html>
60 changes: 26 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,51 +2,43 @@
"name": "codenough",
"version": "0.1.0",
"private": true,
"packageManager": "pnpm@10.30.3",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"bootstrap": "^5.3.3",
"@fortawesome/fontawesome-svg-core": "^7.2.0",
"@fortawesome/free-solid-svg-icons": "^7.2.0",
"@fortawesome/react-fontawesome": "^3.2.0",
"bootstrap": "^5.3.8",
"matercolors": "^2.3.0",
"moment": "^2.30.1",
"netlify-identity-widget": "^1.9.2",
"netlify-identity-widget": "^2.0.3",
"react": "^18.3.1",
"react-device-detect": "^2.2.3",
"react-dom": "^18.3.1",
"react-helmet": "^6.1.0",
"react-router-dom": "^6.23.0",
"react-scripts": "^5.0.1",
"react-signature-pad-wrapper": "^3.4.0",
"react-unity-webgl": "^9.5.2",
"reactstrap": "^9.2.2",
"sass": "^1.76.0",
"short-unique-id": "^4.4.4",
"socket.io-client": "^4.7.5"
"react-router-dom": "^7.13.1",
"react-signature-pad-wrapper": "^4.3.2",
"react-unity-webgl": "^10.1.6",
"reactstrap": "^9.2.3",
"sass": "^1.97.3",
"short-unique-id": "^5.3.2",
"socket.io-client": "^4.8.3"
},
"scripts": {
"start": "react-scripts start",
"dev": "REACT_APP_LOCAL_RUN=true react-scripts start",
"build": "GENERATE_SOURCEMAP=false react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"start": "vite",
"dev": "VITE_LOCAL_RUN=true vite",
"build": "vite build",
"preview": "vite preview",
"cypress:open": "cypress open"
},
"eslintConfig": {
"extends": "react-app"
"devDependencies": {
"@vitejs/plugin-react": "^5.1.4",
"cypress": "^15.11.0",
"vite": "^7.3.1"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
"pnpm": {
"onlyBuiltDependencies": [
"cypress",
"esbuild"
]
},
"devDependencies": {
"cypress": "^12.17.4"
}
}
}
Loading