Skip to content

Commit

Permalink
Update sort-package-json to 2.4.1
Browse files Browse the repository at this point in the history
Fixes this TypeScript error on newly initialized Remix projects:

```
node_modules/@types/glob/index.d.ts:29:42 - error TS2694: Namespace '"/private/tmp/my-remix-app/node_modules/minimatch/dist/cjs/index"' has no exported member 'IOptions'.

29     interface IOptions extends minimatch.IOptions {
                                            ~~~~~~~~

node_modules/@types/glob/index.d.ts:74:30 - error TS2724: '"/private/tmp/my-remix-app/node_modules/minimatch/dist/cjs/index"' has no exported member named 'IMinimatch'. Did you mean 'Minimatch'?

74         minimatch: minimatch.IMinimatch;
                                ~~~~~~~~~~
```

Partially addresses remix-run#6296.
  • Loading branch information
lpsinger committed Jun 16, 2023
1 parent 12440f3 commit dbb8ae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"semver": "^7.3.7",
"serialize-javascript": "^6.0.1",
"simple-git": "^3.16.0",
"sort-package-json": "^1.55.0",
"sort-package-json": "^2.4.1",
"strip-indent": "^3.0.0",
"tailwindcss": "^3.3.0",
"to-vfile": "7.2.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/remix-dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"remark-frontmatter": "4.0.1",
"remark-mdx-frontmatter": "^1.0.1",
"semver": "^7.3.7",
"sort-package-json": "^1.55.0",
"sort-package-json": "^2.4.1",
"tar-fs": "^2.1.1",
"tsconfig-paths": "^4.0.0",
"ws": "^7.4.5",
Expand Down

0 comments on commit dbb8ae1

Please sign in to comment.