@bytebrand/fe-ui-core 4.8.2 → 4.8.3
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/.husky/pre-push +4 -0
- package/package.json +4 -2
- package/.gitlab-ci.yml +0 -62
package/.husky/pre-push
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bytebrand/fe-ui-core",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.3",
|
|
4
4
|
"description": "UI components for the auto.de project",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"module": "dist/common.js",
|
|
@@ -97,12 +97,14 @@
|
|
|
97
97
|
"tslint-config-airbnb": "^5.11.1",
|
|
98
98
|
"tslint-loader": "^3.5.4",
|
|
99
99
|
"typescript": "^3.5.1",
|
|
100
|
-
"webpack-cli": "^3.3.6"
|
|
100
|
+
"webpack-cli": "^3.3.6",
|
|
101
|
+
"husky": "^9.0.11"
|
|
101
102
|
},
|
|
102
103
|
"resolutions": {
|
|
103
104
|
"@types/react": "^16.8.3"
|
|
104
105
|
},
|
|
105
106
|
"scripts": {
|
|
107
|
+
"prepare": "husky",
|
|
106
108
|
"storybook": "start-storybook -p 6006",
|
|
107
109
|
"clean": "rm -rf ./dist/*.*",
|
|
108
110
|
"build:lib": "yarn clean && webpack --config ./webpack.config.js --progress",
|
package/.gitlab-ci.yml
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
stages:
|
|
2
|
-
- build
|
|
3
|
-
- test
|
|
4
|
-
- deploy
|
|
5
|
-
|
|
6
|
-
image: node:16.13.2-buster
|
|
7
|
-
|
|
8
|
-
before_script:
|
|
9
|
-
- "[[ -s $HOME/.nvm/nvm.sh ]] && . $HOME/.nvm/nvm.sh"
|
|
10
|
-
- source ~/.bashrc
|
|
11
|
-
- nvm use 16
|
|
12
|
-
|
|
13
|
-
build:
|
|
14
|
-
stage: build
|
|
15
|
-
script:
|
|
16
|
-
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN_VALUE" >> .npmrc
|
|
17
|
-
- sed -i s/npm_token_value/${NPM_TOKEN_VALUE}/ ./.npmrc
|
|
18
|
-
- yarn
|
|
19
|
-
cache:
|
|
20
|
-
paths:
|
|
21
|
-
- node_modules/
|
|
22
|
-
artifacts:
|
|
23
|
-
expire_in: 1 days
|
|
24
|
-
when: on_success
|
|
25
|
-
paths:
|
|
26
|
-
- node_modules/
|
|
27
|
-
|
|
28
|
-
test:
|
|
29
|
-
stage: test
|
|
30
|
-
script:
|
|
31
|
-
- yarn test:ci
|
|
32
|
-
cache:
|
|
33
|
-
paths:
|
|
34
|
-
- coverage/
|
|
35
|
-
artifacts:
|
|
36
|
-
paths:
|
|
37
|
-
- coverage/
|
|
38
|
-
when: always
|
|
39
|
-
reports:
|
|
40
|
-
junit:
|
|
41
|
-
- junit.xml
|
|
42
|
-
coverage_report:
|
|
43
|
-
coverage_format: cobertura
|
|
44
|
-
path: coverage/cobertura-coverage.xml
|
|
45
|
-
# only:
|
|
46
|
-
# - master
|
|
47
|
-
tags:
|
|
48
|
-
- 01gitlab-runner-gcloud
|
|
49
|
-
|
|
50
|
-
pages:
|
|
51
|
-
stage: deploy
|
|
52
|
-
dependencies:
|
|
53
|
-
- test
|
|
54
|
-
script:
|
|
55
|
-
- mkdir .public
|
|
56
|
-
- cp -r coverage/cobertura-coverage.xml .public/cobertura-coverage.xml
|
|
57
|
-
- mv .public public
|
|
58
|
-
artifacts:
|
|
59
|
-
paths:
|
|
60
|
-
- public
|
|
61
|
-
only:
|
|
62
|
-
- master
|