Compare commits

..

No commits in common. "0df3612c0866926831ed2dae85907ddb4d3a59b0" and "97e940b87336fdb6222a222dcf52622cb3527818" have entirely different histories.

5 changed files with 46 additions and 2361 deletions

View File

@ -1,25 +0,0 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: 'plugin:react/recommended',
overrides: [
{
env: {
node: true,
},
files: ['.eslintrc.{js,cjs}'],
parserOptions: {
sourceType: 'script',
},
},
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ['@typescript-eslint', 'react'],
rules: {},
}

38
Jenkinsfile vendored
View File

@ -1,38 +0,0 @@
pipeline {
agent {
docker {
image 'node:18'
}
}
stages {
stage('install') {
steps {
sh 'ls -a'
sh 'node -v'
sh 'npm -v'
sh 'npm ci'
}
}
stage('eslint') {
steps {
sh 'npm run eslint'
}
}
stage('build') {
steps {
sh 'npm run build'
}
}
stage('clean-all') {
steps {
sh 'rm -rf .[!.]*'
sh 'rm -rf ./*'
sh 'ls -a'
}
}
}
}

2332
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,9 +7,7 @@
"start": "start chrome http://ift-b1.kc.inno-js.test/journal.pl && ijl-cli server --port=80",
"build": "npm run clean && ijl-cli build --dev",
"build:prod": "npm run clean && ijl-cli build",
"clean": "rimraf dist",
"test": "echo ok",
"eslint": "npx eslint ."
"clean": "rimraf dist"
},
"repository": {
"type": "git",
@ -19,11 +17,7 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@ijl/cli": "^5.0.3",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.1"
"@ijl/cli": "^5.0.3"
},
"dependencies": {
"@chakra-ui/icons": "^2.1.1",

View File

@ -136,7 +136,7 @@ const CoursesList = () => {
required={false}
placeholder="Select Date and Time"
size="md"
type="date"
type="datetime-local"
/>
{errors.startDt ? (
<FormErrorMessage>