@skyscanner/bpk-foundations-android 19.5.0 → 19.6.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/gulpfile.mjs CHANGED
@@ -21,8 +21,8 @@ import path from 'path';
21
21
  import { fileURLToPath } from 'url';
22
22
 
23
23
  import { deleteAsync } from 'del';
24
+ import { exec } from 'child_process';
24
25
  import gulp from 'gulp';
25
- import jsonLint from 'gulp-jsonlint';
26
26
  import gulpTheo from 'gulp-theo';
27
27
  import _ from 'lodash';
28
28
  import gulpMerge from 'merge2';
@@ -59,13 +59,17 @@ theo.registerTransform('android', ['color/hex8rgba']);
59
59
 
60
60
  gulp.task('clean', (done) => deleteAsync(['tokens'], done));
61
61
 
62
- gulp.task('lint', () =>
63
- gulp
64
- .src('./src/*.json')
65
- .pipe(jsonLint())
66
- .pipe(jsonLint.reporter())
67
- .pipe(jsonLint.failAfterError()),
68
- );
62
+ gulp.task('lint', (done) => {
63
+ exec('eslint ./src --ext json', (err, stdout, _) => {
64
+ if (err) {
65
+ console.error(stdout);
66
+ done(err);
67
+ } else {
68
+ console.log(stdout);
69
+ done();
70
+ }
71
+ });
72
+ });
69
73
 
70
74
  const createTokens = (tokenSets, done) => {
71
75
  const streams = tokenSets.map(({ format, nest, platform }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyscanner/bpk-foundations-android",
3
- "version": "19.5.0",
3
+ "version": "19.6.0",
4
4
  "description": "Android design tokens for colors, spacing, font, etc.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -17,8 +17,8 @@
17
17
  "tokens": "gulp"
18
18
  },
19
19
  "dependencies": {
20
- "@skyscanner/bpk-foundations-common": "^19.5.0",
20
+ "@skyscanner/bpk-foundations-common": "^19.6.0",
21
21
  "color": "^5.0.0"
22
22
  },
23
- "gitHead": "c8e6bfdec3c44f7ecc387aaab19d68949b6a032c"
23
+ "gitHead": "5a2dbb49f77e410b1cbc082061179f49fe0d2a5d"
24
24
  }
@@ -202,7 +202,7 @@
202
202
  "value": "#FEEB87"
203
203
  },
204
204
  "GREY_05": {
205
- "value": "#F7F9FB"
205
+ "value": "#F5F7FA"
206
206
  },
207
207
  "NIGHT_GREEN_SPOT": {
208
208
  "value": "#62F1C6"
@@ -2014,7 +2014,7 @@
2014
2014
  "SURFACE_LOW_CONTRAST_DAY": {
2015
2015
  "type": "color",
2016
2016
  "category": "surface-colors",
2017
- "value": "#f7f9fbff",
2017
+ "value": "#f5f7faff",
2018
2018
  "originalValue": "{!GREY_05}",
2019
2019
  "name": "SURFACE_LOW_CONTRAST_DAY"
2020
2020
  },
@@ -3728,7 +3728,7 @@
3728
3728
  "SURFACE_LOW_CONTRAST_COLOR": {
3729
3729
  "type": "color",
3730
3730
  "category": "surface-colors",
3731
- "value": "#f7f9fbff",
3731
+ "value": "#f5f7faff",
3732
3732
  "originalValue": "{!GREY_05}",
3733
3733
  "name": "SURFACE_LOW_CONTRAST_COLOR",
3734
3734
  "darkValue": "#243346ff",