@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.
@@ -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
- environment {
43
- GITHUB_TOKEN = credentials('MDS_GITHUB_TOKEN')
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
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 24 Jun 2019 15:26:32 GMT
3
+ * Generated on Tue, 25 Jun 2019 09:28:25 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 24 Jun 2019 15:26:32 GMT
3
+ * Generated on Tue, 25 Jun 2019 09:28:25 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,7 +1,7 @@
1
1
 
2
2
  /*
3
3
  Do not edit directly
4
- Generated on Mon, 24 Jun 2019 15:26:32 GMT
4
+ Generated on Tue, 25 Jun 2019 09:28:25 GMT
5
5
  */
6
6
 
7
7
  $mds-color-base: #71767a !default; // Base colour
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  Do not edit directly
3
- Generated on Mon, 24 Jun 2019 15:26:32 GMT
3
+ Generated on Tue, 25 Jun 2019 09:28:25 GMT
4
4
  */
5
5
  /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
6
6
  /* Document
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('./assets/js/**/*', gulp.series(jsbundle));
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.0",
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",