@madgex/design-system 1.7.0 → 1.7.1
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/delivery/jenkinsfile
CHANGED
|
@@ -29,6 +29,11 @@ pipeline {
|
|
|
29
29
|
buildDiscarder(logRotator(daysToKeepStr: '5', numToKeepStr: '3'))
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
environment {
|
|
33
|
+
GITHUB_TOKEN = credentials('MDS_GITHUB_TOKEN')
|
|
34
|
+
NPM_TOKEN = credentials('MDS_NPM_TOKEN')
|
|
35
|
+
}
|
|
36
|
+
|
|
32
37
|
stages {
|
|
33
38
|
stage('SCM') {
|
|
34
39
|
steps {
|
|
@@ -38,10 +43,20 @@ pipeline {
|
|
|
38
43
|
}
|
|
39
44
|
}
|
|
40
45
|
|
|
46
|
+
stage("Run tests") {
|
|
47
|
+
steps {
|
|
48
|
+
sh """
|
|
49
|
+
node --version
|
|
50
|
+
npm --version
|
|
51
|
+
npm ci
|
|
52
|
+
npm run test
|
|
53
|
+
"""
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
41
57
|
stage('Build') {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
NPM_TOKEN = credentials('MDS_NPM_TOKEN')
|
|
58
|
+
when {
|
|
59
|
+
branch 'master'
|
|
45
60
|
}
|
|
46
61
|
steps {
|
|
47
62
|
script {
|
|
@@ -61,9 +76,6 @@ pipeline {
|
|
|
61
76
|
def tarpackage = "${productName}.${subProductName}.${versionNumber}.tar"
|
|
62
77
|
println(tarpackage)
|
|
63
78
|
sh """
|
|
64
|
-
node --version
|
|
65
|
-
npm --version
|
|
66
|
-
npm ci
|
|
67
79
|
npm run semantic-release
|
|
68
80
|
cd $WORKSPACE
|
|
69
81
|
tar -cvf ${tarpackage} ./public
|
package/dist/css/index.css
CHANGED
package/gulpfile.js
CHANGED
|
@@ -17,7 +17,7 @@ function watchFiles() {
|
|
|
17
17
|
gulp.watch(['src/scss/core/**/*.scss', 'src/components/**/*.scss'], { awaitWriteFinish: true }, gulp.series(css));
|
|
18
18
|
gulp.watch('src/tokens/**/*.json', gulp.series(tokens));
|
|
19
19
|
gulp.watch('src/icons/**/*.svg', gulp.series(svgsprite, fractalBuild));
|
|
20
|
-
gulp.watch('
|
|
20
|
+
gulp.watch('src/js/**/*', gulp.series(jsbundle));
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const watch = gulp.parallel(watchFiles);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@madgex/design-system",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"clean": "rimraf dist public tokens/build",
|
|
6
6
|
"commit": "commit",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"build:fractal": "NODE_ENV=production fractal build",
|
|
14
14
|
"prepublishOnly": "npm run build",
|
|
15
15
|
"lint": "eslint .",
|
|
16
|
-
"lint-fix": "eslint . --fix"
|
|
16
|
+
"lint-fix": "eslint . --fix",
|
|
17
|
+
"test": "echo \"[Warning] No tests currently exist\" && exit 0"
|
|
17
18
|
},
|
|
18
19
|
"repository": {
|
|
19
20
|
"type": "git",
|