Skip to content

Commit bc58a5d

Browse files
committed
use bomlint to align deps
1 parent 3c31116 commit bc58a5d

6 files changed

Lines changed: 16 additions & 38 deletions

File tree

.bomlint.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"@types/react": "16.7.22"
2+
"@types/react": "^16.7.22",
3+
"tea-cup-core": "2.2.2",
4+
"react-tea-cup": "2.2.2",
5+
"ts-jest": "^24.1.0",
6+
"bomlint": "1.1.0"
37
}

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
yarn install && \
2+
yarn bomlint && \
23
cd core && \
34
./build.sh && \
45
cd ../tea-cup && \

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
"jest": "24.9.0",
1212
"prettier": "2.0.5",
1313
"rimraf": "^2.6.3",
14-
"ts-jest": "24.0.2",
14+
"ts-jest": "^24.1.0",
1515
"typescript": "~3.9.7",
16-
"bomlint": "file:/home/remi/projects/bomlint"
16+
"bomlint": "1.1.0"
1717
},
1818
"scripts": {
1919
"release:gh": "gren release",
2020
"release:changelog": "gren changelog --tags all --generate --override",
21-
"bomlint": "bomlint"
21+
"bomlint": "bomlint package.json && bomlint ./core/package.json && bomlint ./tea-cup/package.json && bomlint ./samples/package.json"
2222
}
2323
}

samples/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"proxy": "https://api.github.com",
66
"dependencies": {
77
"@types/node": "10.12.19",
8-
"@types/react": "16.7.22",
8+
"@types/react": "^16.7.22",
99
"@types/react-dom": "16.0.11",
1010
"jest-enzyme": "^7.1.1",
1111
"react": "^16.7.0",
@@ -36,7 +36,6 @@
3636
"enzyme": "^3.10.0",
3737
"enzyme-adapter-react-16": "^1.15.1",
3838
"enzyme-to-json": "^3.4.2",
39-
"jest-fetch-mock": "^2.1.2",
40-
"ts-jest": "^24.1.0"
39+
"jest-fetch-mock": "^2.1.2"
4140
}
4241
}

tea-cup/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"dependencies": {},
2424
"peerDependencies": {
2525
"react": "^16.7.0 || ^17.0.1",
26-
"tea-cup-core": "^2.2.2"
26+
"tea-cup-core": "2.2.2"
2727
},
2828
"devDependencies": {
2929
"@types/jsdom": "^16.2.5",

yarn.lock

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1633,14 +1633,6 @@
16331633
"@types/prop-types" "*"
16341634
csstype "^3.0.2"
16351635

1636-
"@types/react@16.7.22":
1637-
version "16.7.22"
1638-
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.7.22.tgz#5bc6d166d5ac34b835756f0b736c7b1af0043e81"
1639-
integrity sha512-j/3tVoY09kHcTfbia4l67ofQn9xvktUvlC/4QN0KuBHAXlbU/wuGKMb8WfEb/vIcWxsOxHv559uYprkFDFfP8Q==
1640-
dependencies:
1641-
"@types/prop-types" "*"
1642-
csstype "^2.2.0"
1643-
16441636
"@types/stack-utils@^1.0.1":
16451637
version "1.0.1"
16461638
resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e"
@@ -2620,8 +2612,10 @@ body-parser@1.20.1:
26202612
type-is "~1.6.18"
26212613
unpipe "1.0.0"
26222614

2623-
"bomlint@file:../bomlint":
2624-
version "1.0.0"
2615+
bomlint@1.1.0:
2616+
version "1.1.0"
2617+
resolved "https://registry.yarnpkg.com/bomlint/-/bomlint-1.1.0.tgz#88ffa3d973beacfd55b5d2ca180bfeaad3254dd5"
2618+
integrity sha512-MWfvIQvI8RZJts7RKVJa8bEbGkrCt5oYC6/IYFM1aRUzY5ytpBzLv0bXtUwu8mL8o6AbMmFzx2oOkiBlV9gneQ==
26252619

26262620
bonjour@^3.5.0:
26272621
version "3.5.0"
@@ -3909,11 +3903,6 @@ cssstyle@^2.3.0:
39093903
dependencies:
39103904
cssom "~0.3.6"
39113905

3912-
csstype@^2.2.0:
3913-
version "2.6.13"
3914-
resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.13.tgz#a6893015b90e84dd6e85d0e3b442a1e84f2dbe0f"
3915-
integrity sha512-ul26pfSQTZW8dcOnD2iiJssfXw0gdNVX9IJDH/X3K5DGPfj+fUYe3kB+swUY6BF3oZDxaID3AJt+9/ojSAE05A==
3916-
39173906
csstype@^3.0.2:
39183907
version "3.0.3"
39193908
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.3.tgz#2b410bbeba38ba9633353aff34b05d9755d065f8"
@@ -12359,21 +12348,6 @@ tr46@~0.0.3:
1235912348
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
1236012349
integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=
1236112350

12362-
ts-jest@24.0.2:
12363-
version "24.0.2"
12364-
resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-24.0.2.tgz#8dde6cece97c31c03e80e474c749753ffd27194d"
12365-
integrity sha512-h6ZCZiA1EQgjczxq+uGLXQlNgeg02WWJBbeT8j6nyIBRQdglqbvzDoHahTEIiS6Eor6x8mK6PfZ7brQ9Q6tzHw==
12366-
dependencies:
12367-
bs-logger "0.x"
12368-
buffer-from "1.x"
12369-
fast-json-stable-stringify "2.x"
12370-
json5 "2.x"
12371-
make-error "1.x"
12372-
mkdirp "0.x"
12373-
resolve "1.x"
12374-
semver "^5.5"
12375-
yargs-parser "10.x"
12376-
1237712351
ts-jest@^24.1.0:
1237812352
version "24.3.0"
1237912353
resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-24.3.0.tgz#b97814e3eab359ea840a1ac112deae68aa440869"

0 commit comments

Comments
 (0)