Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
SSen committed Nov 11, 2020
1 parent 88d703a commit e59b5f3
Show file tree
Hide file tree
Showing 14 changed files with 714 additions and 566 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
"@handbook/markdown-source-import": "^1.0.1",
"@ssen/eslint-config": "^1.3.1",
"@ssen/prettier-config": "^1.2.0",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.12.0",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"husky": "^4.3.0",
"lint-staged": "^10.4.0",
"lint-staged": "^10.5.1",
"prettier": "^2.1.2"
}
}
4 changes: 2 additions & 2 deletions packages/.packages.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'@ssen/*':
version: 2.3.1
version: 2.3.2
tag: latest
module: commonjs
rocket-punch:
version: 2.3.1
version: 2.3.2
tag: latest
module: commonjs
packageJson:
Expand Down
2 changes: 1 addition & 1 deletion packages/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
],
globals: {
'ts-jest': {
tsConfig: 'tsconfig.json',
tsconfig: 'tsconfig.json',
},
},
//moduleDirectories: ['<rootDir>/src', '<rootDir>/node_modules', '<rootDir>/../node_modules'],
Expand Down
34 changes: 17 additions & 17 deletions packages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,43 +17,43 @@
]
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/core": "^7.12.3",
"@svgr/plugin-jsx": "^5.4.0",
"@types/babel__core": "^7.1.10",
"@types/fs-extra": "^9.0.1",
"@types/babel__core": "^7.1.12",
"@types/fs-extra": "^9.0.3",
"@types/glob": "^7.1.3",
"@types/jest": "^26.0.14",
"@types/jest": "^26.0.15",
"@types/js-yaml": "^3.12.5",
"@types/node": "^14.11.8",
"@types/node": "^14.14.7",
"@types/node-fetch": "^2.5.7",
"@types/prettier": "^2.1.2",
"@types/prettier": "^2.1.5",
"@types/prompts": "^2.4.0",
"@types/react": "^16.9.51",
"@types/react": "^16.9.56",
"@types/rimraf": "^3.0.0",
"@types/semver": "^7.3.4",
"@types/tmp": "^0.2.0",
"@types/yargs": "^15.0.8",
"@types/yargs": "^15.0.9",
"chalk": "^4.1.0",
"depcheck": "^1.2.0",
"depcheck": "^1.3.1",
"fs-extra": "^9.0.1",
"glob": "^7.1.6",
"jest": "^26.5.2",
"jest": "^26.6.3",
"js-yaml": "^3.14.0",
"lint-staged": "^10.4.0",
"lint-staged": "^10.5.1",
"mini-svg-data-uri": "^1.2.3",
"node-fetch": "^2.6.1",
"package-json": "^6.5.0",
"prettier": "^2.1.2",
"prompts": "^2.3.2",
"react": "^16.13.1",
"prompts": "^2.4.0",
"react": "^17.0.1",
"rimraf": "^3.0.2",
"semver": "^7.3.2",
"tmp": "^0.2.1",
"ts-jest": "^26.4.1",
"ts-jest": "^26.4.4",
"ts-node": "^9.0.0",
"tsconfig-paths": "^3.9.0",
"type-fest": "^0.17.0",
"typescript": "^4.0.3",
"yargs": "^16.0.3"
"type-fest": "^0.18.0",
"typescript": "^4.0.5",
"yargs": "^16.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/src/@ssen/require-typescript/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function requireTypescript<T>(file: string): T & ts.TranspileOutput {

//@ts-ignore hidden api
const paths: string[] = Module._nodeModulePaths(path.dirname(existsFile));
const parent: Module | null = module.parent;
const parent: Module | null | undefined = module.parent;

const m: Module = new Module(existsFile, parent || undefined);
m.filename = existsFile;
Expand Down
2 changes: 1 addition & 1 deletion packages/src/rocket-punch/jest-preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export = {
],
globals: {
'ts-jest': {
tsConfig: 'tsconfig.json',
tsconfig: 'tsconfig.json',
},
},
modulePaths: ['<rootDir>/src/'],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"react": "^16.13.1",
"react": "^17.0.1",
"rimraf": "^3.0.2",
"tmp": "^0.2.1",
"semver": "^7.3.2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"react": "^16.13.1",
"react": "^17.0.1",
"rimraf": "^3.0.2",
"tmp": "^0.2.1",
"semver": "^7.3.2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"react": "^16.13.1",
"react": "^17.0.1",
"rimraf": "^3.0.2",
"tmp": "^0.2.1",
"semver": "^7.3.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/test/fixtures/rocket-punch/bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"build": "rocket-punch build"
},
"dependencies": {
"react": "^16.13.1"
"react": "^17.0.1"
}
}
6 changes: 3 additions & 3 deletions packages/test/fixtures/rocket-punch/group-entry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"start": "npm run app:start"
},
"dependencies": {
"react": "^16.8.6",
"react-app-polyfill": "^1.0.1",
"react-dom": "^16.8.6"
"react": "^17.0.1",
"react-app-polyfill": "^2.0.0",
"react-dom": "^17.0.1"
},
"devDependencies": {
"@types/react": "^16.8.17",
Expand Down
6 changes: 3 additions & 3 deletions packages/test/fixtures/rocket-punch/sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"publish": "rocket-punch publish"
},
"dependencies": {
"react": "^16.8.6",
"react-app-polyfill": "^1.0.1",
"react-dom": "^16.8.6"
"react": "^17.0.1",
"react-app-polyfill": "^2.0.0",
"react-dom": "^17.0.1"
},
"devDependencies": {
"@types/react": "^16.8.17",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"build": "node scripts/build.js"
},
"dependencies": {
"react": "^16.8.6",
"react-app-polyfill": "^1.0.1",
"react-dom": "^16.8.6"
"react": "^17.0.1",
"react-app-polyfill": "^2.0.0",
"react-dom": "^17.0.1"
},
"devDependencies": {
"@types/react": "^16.8.17",
Expand Down
Loading

0 comments on commit e59b5f3

Please sign in to comment.