@protacon/muster-booking-frontend 1.28.4 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +22 -0
- package/.gitattributes +6 -0
- package/.github/workflows/onPushTest.yml +30 -0
- package/.prettierignore +18 -0
- package/Jenkinsfile +1 -1
- package/LICENSE.md +1 -1
- package/dist/env.js +1 -1
- package/dist/env.template.js +1 -1
- package/dist/index.bundle.js +1 -1
- package/dist/styles.bundle.css +378 -337
- package/eslint.config.mjs +91 -0
- package/package.json +15 -11
- package/slack.json +16 -16
- package/tsconfig.json +16 -0
package/.editorconfig
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
root = true
|
|
2
|
+
|
|
3
|
+
[*]
|
|
4
|
+
charset = utf-8
|
|
5
|
+
end_of_line = lf
|
|
6
|
+
insert_final_newline = false
|
|
7
|
+
trim_trailing_whitespace = true
|
|
8
|
+
|
|
9
|
+
[*.{js,jsx,ts,tsx}]
|
|
10
|
+
indent_style = tab
|
|
11
|
+
indent_size = 2
|
|
12
|
+
|
|
13
|
+
[*.{css,html}]
|
|
14
|
+
indent_style = space
|
|
15
|
+
indent_size = 2
|
|
16
|
+
|
|
17
|
+
[*.{json,yml,yaml}]
|
|
18
|
+
indent_style = space
|
|
19
|
+
indent_size = 2
|
|
20
|
+
|
|
21
|
+
[*.md]
|
|
22
|
+
trim_trailing_whitespace = false
|
package/.gitattributes
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name: On push tests
|
|
2
|
+
run-name: Lint application code
|
|
3
|
+
on: [push]
|
|
4
|
+
jobs:
|
|
5
|
+
run-build:
|
|
6
|
+
runs-on: ubuntu-latest
|
|
7
|
+
steps:
|
|
8
|
+
- uses: actions/checkout@v4
|
|
9
|
+
- uses: actions/setup-node@v4
|
|
10
|
+
with:
|
|
11
|
+
node-version: "20"
|
|
12
|
+
- run: npm install
|
|
13
|
+
- run: npm run build
|
|
14
|
+
run-lint:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
- uses: actions/setup-node@v4
|
|
19
|
+
with:
|
|
20
|
+
node-version: "20"
|
|
21
|
+
- run: npm install
|
|
22
|
+
- run: npm run lint
|
|
23
|
+
run-prettier:
|
|
24
|
+
runs-on: ubuntu-latest
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@v4
|
|
27
|
+
- uses: actions/setup-node@v4
|
|
28
|
+
with:
|
|
29
|
+
node-version: "20"
|
|
30
|
+
- run: npm run prettier
|
package/.prettierignore
ADDED
package/Jenkinsfile
CHANGED
package/LICENSE.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(c) Copyright 2019 Protacon, all rights reserved.
|
|
1
|
+
(c) Copyright 2019 Protacon, all rights reserved.
|
package/dist/env.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(
|
|
1
|
+
!function(n){let t=n.__env=n.__env||{};t.apiurl="http://localhost:5001/v1",t.chainId=6,t.maxStations=5,t.googleMapsApiKey="AIzaSyCHo7F34WsxGcRGewe_vmA6Qwn1PRBS4Jo",t.pbInspection=1,t.lbInspection=101,t.mcInspection=102,t.slapInspection=105,t.slapBrakesInspection=112,t.mopedInspection=7,t.trInspection=111,t.camperAndMotorhomeInspection=10001,t.camperAndMotorhomeInspectionLb=153,t.caravanInspection=1001,t.pbPostInspection=2,t.lbPostInspection=2,t.mcPostInspection=2,t.slapPostInspection=2,t.slapBrakesPostInspection=2,t.mopedPostInspection=2,t.trPostInspection=2,t.camperAndMotorhomePostInspection=2,t.camperAndMotorhomePostInspectionLb=154,t.caravanPostInspection=2,t.trafficSafetyControl=113,t.conditionTestPremium=42,t.conditionTestBasic=43,t.vintageVehicleTest="",t.gasolineTest=10002,t.batteryTestPremium="",t.batteryTestFlash=""}(this);
|
package/dist/env.template.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(
|
|
1
|
+
!function(n){let t=n.__env=n.__env||{};t.apiurl="[apiurl]",t.chainId=[chainId],t.maxStations=5,t.googleMapsApiKey="[googleMapsApiKey]",t.pbInspection=[pbInspection],t.lbInspection=[lbInspection],t.mcInspection=[mcInspection],t.slapInspection=[slapInspection],t.slapBrakesInspection=[slapBrakesInspection],t.mopedInspection=[mopedInspection],t.trInspection=[trInspection],t.camperAndMotorhomeInspection=[camperAndMotorhomeInspection],t.camperAndMotorhomeInspectionLb=[camperAndMotorhomeInspectionLb],t.caravanInspection=[caravanInspection],t.pbPostInspection=[pbPostInspection],t.lbPostInspection=[lbPostInspection],t.mcPostInspection=[mcPostInspection],t.slapPostInspection=[slapPostInspection],t.slapBrakesPostInspection=[slapBrakesPostInspection],t.mopedPostInspection=[mopedPostInspection],t.trPostInspection=[trPostInspection],t.camperAndMotorhomePostInspection=[camperAndMotorhomePostInspection],t.camperAndMotorhomePostInspectionLb=[camperAndMotorhomePostInspectionLb],t.caravanPostInspection=[caravanPostInspection],t.trafficSafetyControl=[trafficSafetyControl],t.conditionTestPremium=[conditionTestPremium],t.conditionTestBasic=[conditionTestBasic],t.vintageVehicleTest=[vintageVehicleTest],t.gasolineTest=[gasolineTest],t.batteryTestPremium=[batteryTestPremium],t.batteryTestFlash=[batteryTestFlash]}(this);
|