diff --git a/packages/alfa-applicative/package.json b/packages/alfa-applicative/package.json index c41402e6da..929d7bc236 100644 --- a/packages/alfa-applicative/package.json +++ b/packages/alfa-applicative/package.json @@ -15,10 +15,8 @@ "node": ">=20.0.0" }, "type": "module", - "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ - "dist/**/*.js", "dist/**/*.d.ts" ], "dependencies": { diff --git a/packages/alfa-applicative/src/index.ts b/packages/alfa-applicative/src/index.ts deleted file mode 100644 index 1e4b0f5485..0000000000 --- a/packages/alfa-applicative/src/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This package provides types for modelling - * {@link https://en.wikipedia.org/wiki/Applicative_functor | applicative functors}. - * - * @packageDocumentation - */ -export * from "./applicative.js"; diff --git a/packages/alfa-applicative/src/tsconfig.json b/packages/alfa-applicative/src/tsconfig.json index 7b51e6c634..ceaca51090 100644 --- a/packages/alfa-applicative/src/tsconfig.json +++ b/packages/alfa-applicative/src/tsconfig.json @@ -1,7 +1,7 @@ { "$schema": "http://json.schemastore.org/tsconfig", "extends": "../tsconfig.json", - "compilerOptions": { "outDir": "../dist" }, + "compilerOptions": { "outDir": "../dist", "emitDeclarationOnly": true }, "files": ["./applicative.ts", "./index.ts"], "references": [ { "path": "../../alfa-functor" },