Skip to content

Commit

Permalink
fix: clean up nosto dts and fix testing blind spot
Browse files Browse the repository at this point in the history
  • Loading branch information
maijalintunokka committed Jan 20, 2025
1 parent c2dddc4 commit 4313841
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,26 @@
"author": "Nosto",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js",
"types": "./dist/index.d.ts"
"require": "./dist/index.cjs.js"
},
"./client": {
"types": "./dist/client/nosto.d.ts"
},
"./testing": {
"types": "./dist/testing/testing.d.ts",
"import": "./dist/testing.es.js",
"require": "./dist/testing.cjs.js",
"types": "./dist/testing/testing.d.ts"
"require": "./dist/testing.cjs.js"
}
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build && npm run build-dts && npm run typedoc",
"build-dts": "tsc --noEmit false --emitDeclarationOnly && npm run copy-nosto-dts",
"copy-nosto-dts": "copyfiles -u 1 \"src/client/*.d.ts\" dist",
"test": "vitest --run",
"test": "vite build && npm run build-dts && vitest --run",
"test-only": "vitest --run",
"lint": "eslint '{src,test}/**/*.ts'",
"preview": "vite preview",
"typedoc": "typedoc src/index.ts src/client/nosto.d.ts src/testing/testing.ts"
Expand Down
1 change: 0 additions & 1 deletion src/client/nosto.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/** @module client */
// @ts-nocheck
import domReadyCreator from 'domready';

/**
* @group Core
Expand Down

0 comments on commit 4313841

Please sign in to comment.