Skip to content

Commit

Permalink
fix: upgrade dependencies and fix --check-env behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Sep 25, 2023
1 parent f619398 commit e0a0bdf
Show file tree
Hide file tree
Showing 8 changed files with 354 additions and 475 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"prettier": "@willbooster/prettier-config",
"devDependencies": {
"@qiwi/multi-semantic-release": "7.0.0",
"@types/eslint": "8.44.2",
"@types/eslint": "8.44.3",
"@typescript-eslint/parser": "6.7.2",
"@willbooster/prettier-config": "9.1.1",
"conventional-changelog-conventionalcommits": "6.1.0",
"conventional-changelog-conventionalcommits": "7.0.2",
"eslint": "8.50.0",
"husky": "8.0.3",
"lint-staged": "14.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/shared-lib-blitz-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
},
"prettier": "@willbooster/prettier-config",
"devDependencies": {
"@types/eslint": "8.44.2",
"@types/eslint": "8.44.3",
"@types/micromatch": "4.0.2",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"@willbooster/eslint-config-ts": "10.5.0",
"@willbooster/prettier-config": "9.1.1",
"blitz": "2.0.0-beta.33",
"build-ts": "9.1.5",
"build-ts": "10.0.1",
"eslint": "8.50.0",
"eslint-config-prettier": "9.0.0",
"eslint-import-resolver-typescript": "3.6.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/shared-lib-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@
"tree-kill": "1.2.2"
},
"devDependencies": {
"@types/eslint": "8.44.2",
"@types/eslint": "8.44.3",
"@types/micromatch": "4.0.2",
"@types/node": "18.17.18",
"@types/node": "20.6.5",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"@willbooster/eslint-config-ts": "10.5.0",
"@willbooster/prettier-config": "9.1.1",
"build-ts": "9.1.5",
"build-ts": "10.0.1",
"eslint": "8.50.0",
"eslint-config-prettier": "9.0.0",
"eslint-import-resolver-typescript": "3.6.1",
Expand Down
4 changes: 3 additions & 1 deletion packages/shared-lib-node/src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ export function loadEnvironmentVariables(argv: Options, cwd: string): Record<str
if (argv.checkEnv) {
const exampleKeys = Object.keys(config({ path: path.join(cwd, argv.checkEnv) }).parsed || {});
const missingKeys = exampleKeys.filter((key) => !(key in envVars));
throw new Error(`Missing environment variables in [${envPaths.join(', ')}]: [${missingKeys.join(', ')}]`);
if (missingKeys.length > 0) {
throw new Error(`Missing environment variables in [${envPaths.join(', ')}]: [${missingKeys.join(', ')}]`);
}
}
return envVars;
}
Expand Down
16 changes: 8 additions & 8 deletions packages/shared-lib-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@
"devDependencies": {
"@babel/core": "7.22.20",
"@mdx-js/react": "2.3.0",
"@storybook/addon-actions": "7.4.4",
"@storybook/addon-docs": "7.4.4",
"@storybook/addon-essentials": "7.4.4",
"@storybook/addon-interactions": "7.4.4",
"@storybook/addon-links": "7.4.4",
"@storybook/addon-actions": "7.4.5",
"@storybook/addon-docs": "7.4.5",
"@storybook/addon-essentials": "7.4.5",
"@storybook/addon-interactions": "7.4.5",
"@storybook/addon-links": "7.4.5",
"@storybook/builder-webpack4": "6.5.16",
"@storybook/manager-webpack4": "6.5.16",
"@storybook/react": "7.4.4",
"@storybook/react": "7.4.5",
"@storybook/testing-library": "0.2.1",
"@types/eslint": "8.44.2",
"@types/eslint": "8.44.3",
"@types/micromatch": "4.0.2",
"@types/react": "18.2.22",
"@types/react-dom": "18.2.7",
Expand All @@ -53,7 +53,7 @@
"@willbooster/eslint-config-ts-react": "10.1.7",
"@willbooster/prettier-config": "9.1.1",
"babel-loader": "9.1.3",
"build-ts": "9.1.5",
"build-ts": "10.0.1",
"eslint": "8.50.0",
"eslint-config-prettier": "9.0.0",
"eslint-import-resolver-typescript": "3.6.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/shared-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
},
"prettier": "@willbooster/prettier-config",
"devDependencies": {
"@types/eslint": "8.44.2",
"@types/eslint": "8.44.3",
"@types/micromatch": "4.0.2",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"@willbooster/eslint-config-ts": "10.5.0",
"@willbooster/prettier-config": "9.1.1",
"build-ts": "9.1.5",
"build-ts": "10.0.1",
"eslint": "8.50.0",
"eslint-config-prettier": "9.0.0",
"eslint-import-resolver-typescript": "3.6.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/wb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@
"tree-kill": "1.2.2"
},
"devDependencies": {
"@types/eslint": "8.44.2",
"@types/eslint": "8.44.3",
"@types/kill-port": "2.0.1",
"@types/micromatch": "4.0.2",
"@types/node": "18.17.18",
"@types/yargs": "17.0.24",
"@types/node": "20.6.5",
"@types/yargs": "17.0.25",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"@willbooster/eslint-config-ts": "10.5.0",
"@willbooster/prettier-config": "9.1.1",
"build-ts": "9.1.5",
"build-ts": "10.0.1",
"eslint": "8.50.0",
"eslint-config-prettier": "9.0.0",
"eslint-import-resolver-typescript": "3.6.1",
Expand Down
Loading

0 comments on commit e0a0bdf

Please sign in to comment.