Skip to content

Commit

Permalink
chore: change dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lukascivil committed Feb 3, 2024
1 parent 08a6ed1 commit 9e2cab5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
13 changes: 13 additions & 0 deletions libs/json-difference-cli/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "../../.eslintrc.base.json",
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": ["package.json"],
"parser": "jsonc-eslint-parser",
"rules": {
"@nx/dependency-checks": "error"
}
}
]
}
1 change: 0 additions & 1 deletion libs/json-difference-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"json-difference-cli": "./bin/src/index.js"
},
"dependencies": {
"json-difference": "*",
"yargs": "^17.7.2"
}
}
2 changes: 1 addition & 1 deletion libs/json-difference-cli/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

import yargs from 'yargs'
import { getDiff } from 'json-difference'
import { getDiff } from '@json-difference'

Check failure on line 4 in libs/json-difference-cli/src/index.ts

View workflow job for this annotation

GitHub Actions / build

Cannot find module '@Json-Difference' or its corresponding type declarations.

/**
* @description This is a cli tool to get the difference between two json strings
Expand Down
12 changes: 3 additions & 9 deletions libs/json-difference-cli/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
{
"compilerOptions": {
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true
}
"extends": "../../tsconfig.base.json",
"files": [],
"include": ["src/**/*"]
}

0 comments on commit 9e2cab5

Please sign in to comment.