Skip to content

Commit

Permalink
chore: update @pob dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Feb 6, 2022
1 parent 20155bd commit 954910c
Show file tree
Hide file tree
Showing 21 changed files with 67 additions and 76 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ jobs:
run: yarn run lint:prettier
if: startsWith(matrix.node-version, '16.')

- name: Eslint
run: yarn run lint:eslint
if: startsWith(matrix.node-version, '16.')

- name: Typescript
run: yarn run tsc
if: startsWith(matrix.node-version, '16.')

- name: Eslint
run: yarn run lint:eslint
if: startsWith(matrix.node-version, '16.')

- name: Generate Test Coverage
run: yarn run test --coverage --coverageReporters=json --coverageReporters=text
if: startsWith(matrix.node-version, '16.')
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@
"sideEffects": false,
"bin": "./bin/check-package-dependencies.js",
"scripts": {
"build": "pob-build && yarn run build:definitions",
"build": "yarn clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",
"build:definitions": "tsc -p tsconfig.build.json",
"checks": "node scripts/check-package.mjs",
"clean": "rm -Rf dist",
"clean": "yarn clean:build",
"clean:build": "rm -Rf dist",
"generate:api": "typedoc --tsconfig tsconfig.doc.json",
"generate:test-coverage": "rm -Rf docs/coverage/ ; NODE_ENV=production BABEL_ENV=test jest --coverage --coverageReporters=pob-lcov-reporter --coverageDirectory=docs/coverage/",
"lint": "yarn run lint:prettier && tsc && yarn run lint:eslint",
Expand All @@ -39,7 +40,7 @@
"postinstallDev": "pob-root-postinstall",
"test": "jest",
"test:watch": "jest --watch",
"watch": "pob-watch"
"watch": "yarn clean:build && rollup --config rollup.config.mjs --watch"
},
"prettier": {
"trailingComma": "all",
Expand Down Expand Up @@ -94,15 +95,15 @@
"devDependencies": {
"@babel/core": "7.17.0",
"@pob/commitlint-config": "4.1.0",
"@pob/eslint-config": "48.1.0",
"@pob/eslint-config-typescript": "48.1.0",
"@pob/root": "6.6.0",
"@pob/eslint-config": "48.1.1",
"@pob/eslint-config-typescript": "48.1.1",
"@pob/root": "6.6.1",
"@types/glob": "7.2.0",
"@types/jest": "27.4.0",
"@types/semver": "7.3.9",
"eslint": "8.8.0",
"jest": "27.5.0",
"pob-babel": "30.0.0",
"pob-babel": "31.0.0",
"prettier": "2.5.1",
"typedoc": "0.22.11",
"typescript": "4.5.5"
Expand Down
4 changes: 3 additions & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import createRollupConfig from 'pob-babel/createRollupConfig.js';

export default createRollupConfig({});
export default createRollupConfig({
cwd: new URL('.', import.meta.url).pathname,
});
10 changes: 4 additions & 6 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
"extends": "./tsconfig.json",

"compilerOptions": {
"noEmit": false,
"emitDeclarationOnly": true,
"rootDirs": [],
"rootDir": "src",
"outDir": "dist",
"isolatedModules": false,
"noEmit": false,
"declaration": true,
"declarationMap": true
"declarationMap": true,
"emitDeclarationOnly": true,
"outDir": "dist"
},

"exclude": [
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@

"compilerOptions": {
"rootDirs": [],
"rootDir": "src",
"isolatedModules": false
"rootDir": "src"
},

"typedocOptions": {
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"include": ["src/**/*.ts"],
"compilerOptions": {
"rootDir": "src",
/* No emit in default config file. See build config file for config to build declaration files */
"noEmit": true,

/* No need to check .d.ts files */
"skipLibCheck": true,

"rootDirs": ["src"],

"target": "esnext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
"module": "esnext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
"lib": [
Expand Down
99 changes: 45 additions & 54 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,9 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-transform-runtime@npm:7.16.10":
version: 7.16.10
resolution: "@babel/plugin-transform-runtime@npm:7.16.10"
"@babel/plugin-transform-runtime@npm:7.17.0":
version: 7.17.0
resolution: "@babel/plugin-transform-runtime@npm:7.17.0"
dependencies:
"@babel/helper-module-imports": ^7.16.7
"@babel/helper-plugin-utils": ^7.16.7
Expand All @@ -491,7 +491,7 @@ __metadata:
semver: ^6.3.0
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: 62ef5fad74d68f444ced382d77f9f123d250cb7758a2a89dc97e92faabd2cb7ff665759f09f99fe2e7ae01af10453e6cc20542f980772f64c768772996b9481b
checksum: 9a469d4389cb265d50f1e83e6b524ceda7abd24a0bd7cda57e54a1e6103ca7c36efc99eebd485cf0a468f048739e21d940126df40b11db34f4692bdd2d5beacd
languageName: node
linkType: hard

Expand Down Expand Up @@ -1106,11 +1106,11 @@ __metadata:
languageName: node
linkType: hard

"@pob/eslint-config-typescript@npm:48.1.0":
version: 48.1.0
resolution: "@pob/eslint-config-typescript@npm:48.1.0"
"@pob/eslint-config-typescript@npm:48.1.1":
version: 48.1.1
resolution: "@pob/eslint-config-typescript@npm:48.1.1"
dependencies:
"@pob/eslint-config": 48.1.0
"@pob/eslint-config": 48.1.1
"@pob/use-eslint-plugin": ^48.0.0
"@typescript-eslint/eslint-plugin": ^5.3.1
"@typescript-eslint/parser": ^5.3.1
Expand All @@ -1132,13 +1132,13 @@ __metadata:
optional: true
eslint-plugin-node:
optional: true
checksum: 1120896215a7d47ca335deaced3e46675bf5965c19225b7c8c172990dcbbc8b53e71144730b108fff576370c48021eae0ebd8da344bcc274cfdd32fa06c3e1d4
checksum: aee45f4fc1d1c18cab88dfa982d45eb198fa43e4255acbccc5e306ebfb27999c7fa0833e961deb47ea86f40a557f0c30e3bbf0737db6df8fccb478e7867f35d5
languageName: node
linkType: hard

"@pob/eslint-config@npm:48.1.0":
version: 48.1.0
resolution: "@pob/eslint-config@npm:48.1.0"
"@pob/eslint-config@npm:48.1.1":
version: 48.1.1
resolution: "@pob/eslint-config@npm:48.1.1"
dependencies:
"@pob/use-eslint-plugin": ^48.0.0
eslint-config-airbnb-base: ^15.0.0
Expand All @@ -1158,7 +1158,7 @@ __metadata:
optional: true
eslint-plugin-unicorn:
optional: true
checksum: 6849697d503df02f6919ed5cce081bd1f71a814e45777ad508ee2500404a1b98c11c8fdb6bdaa15979ad1d9b6365cf60269260857c632abe25fb9208c8213a8a
checksum: 657b84d9c28d94b17e7f119661655bd7369717ac76704955b4fe04aaa0f541ad6c6d3b3dce1f6061cd0ac203974fc691fe00c98cd167a4662abfe75d2ebaa765
languageName: node
linkType: hard

Expand Down Expand Up @@ -1186,15 +1186,15 @@ __metadata:
languageName: node
linkType: hard

"@pob/root@npm:6.6.0":
version: 6.6.0
resolution: "@pob/root@npm:6.6.0"
"@pob/root@npm:6.6.1":
version: 6.6.1
resolution: "@pob/root@npm:6.6.1"
dependencies:
"@commitlint/cli": 16.1.0
"@pob/pretty-eslint-config": 3.0.2
"@pob/pretty-pkg": ^4.0.1
husky: ^7.0.0
lint-staged: 12.3.2
lint-staged: 12.3.3
repository-check-dirty: ^4.0.0
semver: ^7.1.2
which-pm-runs: 1.0.0
Expand All @@ -1206,7 +1206,7 @@ __metadata:
pretty-pkg: bin/pretty-pkg.mjs
repository-check-dirty: bin/repository-check-dirty.js
yarnhook: bin/yarnhook.js
checksum: 53c98e508171b1a28bd559653f77038bc5477842168ac824cb8f90b60c49095584e0c179857e6e8d0ced1232ec8d0b9d6768113ca487120bdae6b00ebd0a30bd
checksum: c8a5b6fb7bc9a9bc993e872f2d2aab2be3faba2b09aa60d1793882530e73ed47ce752312de2bfb879b04b6dd8044be4e934cbcfe6b8f16f6c0c5031a7879390d
languageName: node
linkType: hard

Expand Down Expand Up @@ -2247,9 +2247,9 @@ __metadata:
languageName: node
linkType: hard

"babel-preset-pob-env@npm:7.1.7":
version: 7.1.7
resolution: "babel-preset-pob-env@npm:7.1.7"
"babel-preset-pob-env@npm:7.1.8":
version: 7.1.8
resolution: "babel-preset-pob-env@npm:7.1.8"
dependencies:
"@babel/plugin-proposal-nullish-coalescing-operator": ^7.16.0
"@babel/plugin-proposal-optional-chaining": ^7.16.0
Expand All @@ -2261,7 +2261,7 @@ __metadata:
babel-preset-optimizations: ^2.0.0
peerDependencies:
"@babel/core": ^7.11.6
checksum: 28d3a39a2cd3649e074f2d223761afd82bd81c7446de911e92b96fa6a4b9e6b6d1420d8b8d2384f9c5c5a484277993c02fa1f3b10537b79c055bd55c57b38fce
checksum: 79c6d583fb5f0a29d7ed285f4aad7c4b3aabb7ac556e0928a42a745e0ba3466bd9d5638cd47971031a049a8e158f6271920216a81f914dfc60ee9162f61655bb
languageName: node
linkType: hard

Expand Down Expand Up @@ -2445,17 +2445,17 @@ __metadata:
dependencies:
"@babel/core": 7.17.0
"@pob/commitlint-config": 4.1.0
"@pob/eslint-config": 48.1.0
"@pob/eslint-config-typescript": 48.1.0
"@pob/root": 6.6.0
"@pob/eslint-config": 48.1.1
"@pob/eslint-config-typescript": 48.1.1
"@pob/root": 6.6.1
"@types/glob": 7.2.0
"@types/jest": 27.4.0
"@types/semver": 7.3.9
chalk: ^4.1.0
eslint: 8.8.0
glob: ^7.1.6
jest: 27.5.0
pob-babel: 30.0.0
pob-babel: 31.0.0
prettier: 2.5.1
semver: ^7.3.4
type-fest: ^2.0.0
Expand Down Expand Up @@ -5028,9 +5028,9 @@ __metadata:
languageName: node
linkType: hard

"lint-staged@npm:12.3.2":
version: 12.3.2
resolution: "lint-staged@npm:12.3.2"
"lint-staged@npm:12.3.3":
version: 12.3.3
resolution: "lint-staged@npm:12.3.3"
dependencies:
cli-truncate: ^3.1.0
colorette: ^2.0.16
Expand All @@ -5047,7 +5047,7 @@ __metadata:
yaml: ^1.10.2
bin:
lint-staged: bin/lint-staged.js
checksum: 35cab689dfc967ff95afeeaa7be7d1e19a131f36eeac9ac1d80240e0b20108286ce04f2d6bdf0b77fdf58db3ca5313bcbf2667dc6017335e604ff455caf69e33
checksum: a9147eb5def6345622d1b772d5920b1282808738abf53e6034d8da2d21d6baf80135ea22f799bf4092867a3dba13cd875493b8e32e47f3b4574e4e8871a0aa8e
languageName: node
linkType: hard

Expand Down Expand Up @@ -5312,16 +5312,6 @@ __metadata:
languageName: node
linkType: hard

"minimist-argv@npm:^1.1.0":
version: 1.1.0
resolution: "minimist-argv@npm:1.1.0"
dependencies:
"@types/minimist": ^1.2.0
minimist: ^1.2.0
checksum: 588b5a2eeb64894b1e42b7491bd446746a55500334adece53e34a19a5876df93dc9cc3ecdd66de98a0007c3ea5cc26a4c553b83da8e66530dbb8897f72e00c93
languageName: node
linkType: hard

"minimist-options@npm:4.1.0":
version: 4.1.0
resolution: "minimist-options@npm:4.1.0"
Expand Down Expand Up @@ -5836,31 +5826,32 @@ __metadata:
languageName: node
linkType: hard

"pob-babel@npm:30.0.0":
version: 30.0.0
resolution: "pob-babel@npm:30.0.0"
"pob-babel@npm:31.0.0":
version: 31.0.0
resolution: "pob-babel@npm:31.0.0"
dependencies:
"@babel/core": ^7.16.5
"@babel/plugin-transform-runtime": 7.16.10
"@babel/plugin-transform-runtime": 7.17.0
"@rollup/plugin-babel": 5.3.0
"@rollup/plugin-json": 4.1.0
"@rollup/plugin-node-resolve": 13.1.3
"@rollup/plugin-replace": 3.0.1
"@rollup/plugin-run": 2.1.0
babel-preset-modern-browsers: ^15.0.2
babel-preset-pob-env: 7.1.7
minimist-argv: ^1.1.0
rollup: 2.66.1
babel-preset-pob-env: 7.1.8
rollup: 2.67.0
rollup-config-external-dependencies: ^2.0.0
semver: ^7.3.4
peerDependencies:
"@babel/core": ^7.16.5
rollup: 2.67.0
typescript: ^4.0.3
peerDependenciesMeta:
rollup:
optional: true
bin:
pob-build: bin/pob-build.js
pob-watch: bin/pob-watch.js
rollup: bin/rollup.cjs
checksum: 073d0d137ee4edb93306f04f6526330de1fcd0a1432d27e902be64bcc60aa000a98ff8abe16557e4816795c7d0485ccdc5706072c2cc5ecfd115a3c3be18046b
checksum: d964c9f7ae2f9eb37c9a7db7d0a9bad46bff0cd738931456c2d5296368a5571f73f2b63fabbd0c61efe5a25146e7c26e17fe4e8f4422dc6140941103dcf568f6
languageName: node
linkType: hard

Expand Down Expand Up @@ -6157,17 +6148,17 @@ __metadata:
languageName: node
linkType: hard

"rollup@npm:2.66.1":
version: 2.66.1
resolution: "rollup@npm:2.66.1"
"rollup@npm:2.67.0":
version: 2.67.0
resolution: "rollup@npm:2.67.0"
dependencies:
fsevents: ~2.3.2
dependenciesMeta:
fsevents:
optional: true
bin:
rollup: dist/bin/rollup
checksum: ecd7917deeaa3005ac7cdd64186daf024594bd9ba940e32fc8966602a83349074d0ec999256009dc4475e7c3786ac52cdd824ee9df514b8c356b960fda6bfb34
checksum: 300ddb6c63f1bcaadaac98f705e3804d8d22ddbc595e34c0582850dc1f464bde3edc3312a7cdc5f1544e35df80300d7bc7bf81f56575b24c4124924d140ec947
languageName: node
linkType: hard

Expand Down

0 comments on commit 954910c

Please sign in to comment.