Skip to content

Commit

Permalink
chore: ⬆️ update dependencies, eslint config update to latest and usa…
Browse files Browse the repository at this point in the history
…ge of auto-changelog
  • Loading branch information
luffynando committed Sep 11, 2024
1 parent 40061eb commit 6ab7f27
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 47 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* text=auto eol=lf

# Do not put this files on a distribution package
/.changeset/ export-ignore
/.github/ export-ignore
/.husky/ export-ignore
/.vscode/ export-ignore
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ yarn.lock
shrinkwrap.yaml
package-lock.json
.tshy
.tshy-build
2 changes: 0 additions & 2 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
package-lock=false
tag-version-prefix="v"
message="chore(release): :tada: %s"
22 changes: 0 additions & 22 deletions CHANGELOG.md

This file was deleted.

7 changes: 4 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// @ts-check
import { nodecfdiConfig } from '@nodecfdi/eslint-config';
import { defineFlatConfig } from 'eslint-define-config';
import nodecfdiConfig from '@nodecfdi/eslint-config';

export default defineFlatConfig([...nodecfdiConfig({ vitest: true })]);
const { defineConfig } = nodecfdiConfig(import.meta.dirname, { vitest: true });

export default defineConfig();
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nodecfdi/credentials",
"version": "3.1.0",
"description": "Librería para usar eFirma (fiel) y CSD (sellos) para el SAT",
"version": "3.1.0",
"type": "module",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
Expand Down Expand Up @@ -66,37 +66,34 @@
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"gen:docs": "typedoc --options typedoc.json",
"gen:changelog": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -s -r 0",
"changelog": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -s && git add CHANGELOG.md",
"changelog": "auto-changelog -p && git add CHANGELOG.md",
"prebuild": "pnpm lint:check && pnpm typecheck",
"build": "tshy",
"postbuild": "pnpm run gen:docs && git add docs/*",
"release": "np",
"version": "pnpm run build && pnpm run changelog"
},
"devDependencies": {
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@jsprismarine/typedoc-material-theme": "^1.0.4",
"@nodecfdi/eslint-config": "^1.9.3",
"@nodecfdi/prettier-config": "^1.1.1",
"@nodecfdi/tsconfig": "^1.5.0",
"@nodecfdi/eslint-config": "^2.0.2",
"@nodecfdi/prettier-config": "^1.2.0",
"@nodecfdi/tsconfig": "^1.7.2",
"@types/luxon": "^3.4.2",
"@types/node": "^20.14.15",
"@types/node": "^20.16.5",
"@vitest/coverage-istanbul": "^2.0.5",
"conventional-changelog-cli": "^5.0.0",
"conventional-changelog-conventionalcommits": "^8.0.0",
"eslint": "^8.57.0",
"eslint-define-config": "^2.1.0",
"husky": "^9.1.4",
"auto-changelog": "^2.4.0",
"eslint": "^9.10.0",
"husky": "^9.1.5",
"is-in-ci": "^1.0.0",
"np": "^10.0.7",
"prettier": "^3.3.3",
"tshy": "^3.0.2",
"typedoc": "^0.26.5",
"typescript": "^5.5.4",
"typedoc": "^0.26.7",
"typescript": "^5.6.2",
"vitest": "^2.0.5",
"vitest-mock-extended": "^2.0.0"
"vitest-mock-extended": "^2.0.2"
},
"dependencies": {
"@nodecfdi/base-converter": "^1.0.6",
Expand Down Expand Up @@ -148,16 +145,19 @@
]
},
"prettier": "@nodecfdi/prettier-config",
"packageManager": "pnpm@9.7.0",
"packageManager": "pnpm@9.10.0",
"publishConfig": {
"access": "public",
"tag": "latest"
},
"auto-changelog": {
"template": "keepachangelog",
"hideCredit": true
},
"np": {
"message": "chore(release): :tada: %s",
"tag": "latest",
"branch": "main",
"anyBranch": false,
"testScript": "test:run"
},
"tshy": {
Expand Down

0 comments on commit 6ab7f27

Please sign in to comment.