From e59ad64a42b1e04eed071ab211eaf7353603c17e Mon Sep 17 00:00:00 2001 From: Kevin Van Lierde Date: Sat, 6 Aug 2022 01:00:05 +0200 Subject: [PATCH] chore: package.json fix types path + eslint fix --- package.json | 2 +- test/index.cjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 295871f..8e4fe16 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "lib", "CHANGELOG.md" ], - "types": "lib/types.d.ts", + "types": "lib/index.d.ts", "scripts": { "changelog": "auto-changelog -u --starting-version v1.1.1 --commit-limit false --ignore-commit-pattern '(dev|ci|chore|Release|Merge)'", "coverage": "nyc report --reporter=text-lcov > ./coverage.info", diff --git a/test/index.cjs b/test/index.cjs index 73b07cc..d08aa6b 100644 --- a/test/index.cjs +++ b/test/index.cjs @@ -3,7 +3,7 @@ const equal = require('assert-dir-equal') const Metalsmith = require('metalsmith') -/* eslint-disable-next-line import/no-internal-modules */ +/* eslint-disable-next-line node/no-missing-require */ const drafts = require('../lib/index.cjs') describe('@metalsmith/drafts', function () {