Skip to content

Commit

Permalink
cra eject
Browse files Browse the repository at this point in the history
  • Loading branch information
tokarls committed May 14, 2024
1 parent 6c29d64 commit eab6c4a
Show file tree
Hide file tree
Showing 51 changed files with 15,619 additions and 26,097 deletions.
37 changes: 0 additions & 37 deletions .eslintrc.json

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }}
- uses: actions/setup-node@v4
with:
node-version: '16.17.0'
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm run install:all
run: npm run ci
- name: Run Cypress tests
run: npm run cypress:ci

Expand All @@ -46,10 +46,10 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }}
- uses: actions/setup-node@v4
with:
node-version: '16.17.0'
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm run install:all
run: npm run ci
- name: Run jest
run: npm run test
- name: Run react Build
Expand Down
6 changes: 0 additions & 6 deletions .husky/pre-commit

This file was deleted.

28 changes: 28 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { defineConfig } from 'cypress';

const { rm } = require('fs');

export default defineConfig({
defaultCommandTimeout: 10000,
pageLoadTimeout: 15000,
video: false,
e2e: {
setupNodeEvents(on, config) {
on('task', {
deleteFolder(folderName) {
console.info('deleting folder %s', folderName);
return new Promise((resolve, reject) => {
rm(folderName, { maxRetries: 10, recursive: true, force: true }, (err) => {
if (err) {
console.error(err);
return reject(err);
}
resolve(null);
});
});
},
});
},
baseUrl: 'http://devaaja:devaaja@localhost:3000/',
},
});
6 changes: 0 additions & 6 deletions cypress.json

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
39 changes: 0 additions & 39 deletions cypress/plugins/index.js

This file was deleted.

1 change: 0 additions & 1 deletion cypress/support/index.js → cypress/support/e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

// Import commands.js using ES2015 syntax:
import './commands';
import '@cypress/code-coverage/support';

// Alternatively you can use CommonJS syntax:
// require('./commands')
22 changes: 0 additions & 22 deletions cypress/tsconfig.json

This file was deleted.

Loading

0 comments on commit eab6c4a

Please sign in to comment.