diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c138c198..107f71ef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,4 @@ jobs: run: npm ci - name: Build - run: npm run build --if-present - - - name: List dist directory after build - run: ls -al ./dist \ No newline at end of file + run: npm run build --if-present \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index fb5707b9..ad868ea1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-chatbotify", - "version": "2.0.0-beta.10", + "version": "2.0.0-beta.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "react-chatbotify", - "version": "2.0.0-beta.10", + "version": "2.0.0-beta.11", "license": "MIT", "devDependencies": { "@types/dom-speech-recognition": "^0.0.4", diff --git a/package.json b/package.json index aeeae9ce..c221a50c 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "files": [ "./dist" ], - "version": "2.0.0-beta.10", + "version": "2.0.0-beta.11", "description": "A modern React library for creating a flexible and extensible chatbot.", "type": "module", "main": "./dist/index.cjs", @@ -26,7 +26,7 @@ }, "scripts": { "lint": "eslint --fix . --ext .tsx", - "build": "tsc && vite build", + "build": "tsc && vite build && cp ./dist/index.d.ts ./dist/index.d.cts", "prepublishOnly": "tsc && vite build && cp ./dist/index.d.ts ./dist/index.d.cts", "prepack": "tsc && vite build && cp ./dist/index.d.ts ./dist/index.d.cts", "start": "vite serve",