Skip to content

Commit

Permalink
deps(moon/dev): Update to v2.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Mar 6, 2023
1 parent 34e897c commit af52002
Show file tree
Hide file tree
Showing 5 changed files with 538 additions and 529 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.0",
"@moonrepo/cli": "^0.25.3",
"@moonrepo/dev": "^1.3.1",
"@moonrepo/dev": "^2.0.0",
"@types/fs-extra": "^11.0.1",
"@types/jest": "^29.4.0",
"@types/micromatch": "^4.0.2",
"@types/node": "^16.18.11",
"@types/node": "^16.18.14",
"@types/react": "^17.0.53",
"@types/semver": "^7.3.13",
"babel-preset-moon": "^1.1.4",
"babel-preset-moon": "^2.0.0",
"chokidar": "^3.5.3",
"electron-to-chromium": "^1.4.284",
"eslint": "^8.33.0",
"eslint-config-moon": "^1.4.2",
"jest": "^29.4.1",
"jest-preset-moon": "^1.1.4",
"electron-to-chromium": "^1.4.320",
"eslint": "^8.35.0",
"eslint-config-moon": "^2.0.0",
"jest": "^29.4.3",
"jest-preset-moon": "^2.0.0",
"lerna": "^6.4.1",
"prettier": "^2.8.3",
"prettier": "^2.8.4",
"prettier-config-moon": "^1.1.1",
"ts-node": "^10.9.1",
"tsconfig-moon": "^1.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/packemon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
},
"devDependencies": {
"@swc/cli": "^0.1.60",
"@typescript-eslint/types": "^5.49.0"
"@typescript-eslint/types": "^5.54.0"
},
"peerDependencies": {
"chokidar": "^3.5.1",
Expand Down
6 changes: 1 addition & 5 deletions packages/packemon/src/helpers/sortExportConditions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ export function flattenExportConditions(paths: PackageExportPaths): PackageExpor

const key = path as keyof PackageExportPaths;

if (typeof condition === 'string') {
map[key] = condition;
} else {
map[key] = flattenExportConditions(condition);
}
map[key] = typeof condition === 'string' ? condition : flattenExportConditions(condition);

count += 1;
});
Expand Down
4 changes: 2 additions & 2 deletions scenarios/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"test": "jest ."
},
"devDependencies": {
"jest": "^29.4.1",
"jest-environment-jsdom": "^29.4.1"
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3"
}
}
Loading

0 comments on commit af52002

Please sign in to comment.