Skip to content

Commit ab0114a

Browse files
authored
Release v0.1.3: Fix CLI 404 error with dedicated Vite configuration (#78) (#79)
* Release v0.1.1: Package metadata improvements (#71) (#72) * Release (#65) * chore: prepare for npm package release - Update version to 0.1.0 for initial release - Add CHANGELOG.md for version tracking - Add favicon and logo files to fix browser tab icon * feat: update project screenshot image - Replace chatbot-flow-editor.webp with new updated version - Update both root and docs/static/img versions * Chore/prepare npm release (#63) (#64) - Remove push event trigger from quality-check.yml - Focus CI execution on pull request workflow only - Aligns with branch protection rules for proper review process * fix: resolve critical package.json main field and build configuration issues - Fix package.json main field pointing to correct entry file (dist/index.js) - Configure Vite to generate fixed entry file names instead of hashed names - Properly externalize React and RadixUI dependencies to prevent bundling - Remove unnecessary UMD globals configuration for ES modules build - Update version consistency across all package.json files to 0.1.0 - Optimize package size by excluding test files and dev artifacts - Add npm pack output to .gitignore * Release v0.1.0: build fixes and npm publish preparation (#67) * chore: prepare for npm package release - Update version to 0.1.0 for initial release - Add CHANGELOG.md for version tracking - Add favicon and logo files to fix browser tab icon * feat: update project screenshot image - Replace chatbot-flow-editor.webp with new updated version - Update both root and docs/static/img versions * Chore/prepare npm release (#63) (#64) - Remove push event trigger from quality-check.yml - Focus CI execution on pull request workflow only - Aligns with branch protection rules for proper review process * fix: resolve critical package.json main field and build configuration issues - Fix package.json main field pointing to correct entry file (dist/index.js) - Configure Vite to generate fixed entry file names instead of hashed names - Properly externalize React and RadixUI dependencies to prevent bundling - Remove unnecessary UMD globals configuration for ES modules build - Update version consistency across all package.json files to 0.1.0 - Optimize package size by excluding test files and dev artifacts - Add npm pack output to .gitignore * fix: add README and update package metadata for npm display - Add README.md to package files for npm page display - Update homepage URL to documentation site - Optimize keywords for better discoverability - Bump version to 0.1.1 for patch release * fix: add shebang to CLI for npm package execution (#75) * Release v0.1.1: Package metadata improvements (#71) * Release (#65) * chore: prepare for npm package release - Update version to 0.1.0 for initial release - Add CHANGELOG.md for version tracking - Add favicon and logo files to fix browser tab icon * feat: update project screenshot image - Replace chatbot-flow-editor.webp with new updated version - Update both root and docs/static/img versions * Chore/prepare npm release (#63) (#64) - Remove push event trigger from quality-check.yml - Focus CI execution on pull request workflow only - Aligns with branch protection rules for proper review process * fix: resolve critical package.json main field and build configuration issues - Fix package.json main field pointing to correct entry file (dist/index.js) - Configure Vite to generate fixed entry file names instead of hashed names - Properly externalize React and RadixUI dependencies to prevent bundling - Remove unnecessary UMD globals configuration for ES modules build - Update version consistency across all package.json files to 0.1.0 - Optimize package size by excluding test files and dev artifacts - Add npm pack output to .gitignore * Release v0.1.0: build fixes and npm publish preparation (#67) * chore: prepare for npm package release - Update version to 0.1.0 for initial release - Add CHANGELOG.md for version tracking - Add favicon and logo files to fix browser tab icon * feat: update project screenshot image - Replace chatbot-flow-editor.webp with new updated version - Update both root and docs/static/img versions * Chore/prepare npm release (#63) (#64) - Remove push event trigger from quality-check.yml - Focus CI execution on pull request workflow only - Aligns with branch protection rules for proper review process * fix: resolve critical package.json main field and build configuration issues - Fix package.json main field pointing to correct entry file (dist/index.js) - Configure Vite to generate fixed entry file names instead of hashed names - Properly externalize React and RadixUI dependencies to prevent bundling - Remove unnecessary UMD globals configuration for ES modules build - Update version consistency across all package.json files to 0.1.0 - Optimize package size by excluding test files and dev artifacts - Add npm pack output to .gitignore * fix: add README and update package metadata for npm display - Add README.md to package files for npm page display - Update homepage URL to documentation site - Optimize keywords for better discoverability - Bump version to 0.1.1 for patch release * fix: add shebang to CLI for npm package execution (#74) * Release (#65) * chore: prepare for npm package release - Update version to 0.1.0 for initial release - Add CHANGELOG.md for version tracking - Add favicon and logo files to fix browser tab icon * feat: update project screenshot image - Replace chatbot-flow-editor.webp with new updated version - Update both root and docs/static/img versions * Chore/prepare npm release (#63) (#64) - Remove push event trigger from quality-check.yml - Focus CI execution on pull request workflow only - Aligns with branch protection rules for proper review process * fix: resolve critical package.json main field and build configuration issues - Fix package.json main field pointing to correct entry file (dist/index.js) - Configure Vite to generate fixed entry file names instead of hashed names - Properly externalize React and RadixUI dependencies to prevent bundling - Remove unnecessary UMD globals configuration for ES modules build - Update version consistency across all package.json files to 0.1.0 - Optimize package size by excluding test files and dev artifacts - Add npm pack output to .gitignore * Release v0.1.0: build fixes and npm publish preparation (#67) * chore: prepare for npm package release - Update version to 0.1.0 for initial release - Add CHANGELOG.md for version tracking - Add favicon and logo files to fix browser tab icon * feat: update project screenshot image - Replace chatbot-flow-editor.webp with new updated version - Update both root and docs/static/img versions * Chore/prepare npm release (#63) (#64) - Remove push event trigger from quality-check.yml - Focus CI execution on pull request workflow only - Aligns with branch protection rules for proper review process * fix: resolve critical package.json main field and build configuration issues - Fix package.json main field pointing to correct entry file (dist/index.js) - Configure Vite to generate fixed entry file names instead of hashed names - Properly externalize React and RadixUI dependencies to prevent bundling - Remove unnecessary UMD globals configuration for ES modules build - Update version consistency across all package.json files to 0.1.0 - Optimize package size by excluding test files and dev artifacts - Add npm pack output to .gitignore * fix: add README and update package metadata for npm display - Add README.md to package files for npm page display - Update homepage URL to documentation site - Optimize keywords for better discoverability - Bump version to 0.1.1 for patch release * fix: add shebang * fix: resolve CLI 404 error with dedicated vite config * chore: update root package.json version to 0.1.3
1 parent 7a967fd commit ab0114a

File tree

4 files changed

+26
-3
lines changed

4 files changed

+26
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "chatbot-flow-editor",
3-
"version": "0.1.0",
3+
"version": "0.1.3",
44
"description": "A React-based chatbot flow editor library",
55
"private": true,
66
"workspaces": [

packages/core/bin/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { dirname, join } from 'path'
66
const __dirname = dirname(fileURLToPath(import.meta.url))
77
const packageRoot = join(__dirname, '..')
88

9-
const vite = spawn('npx', ['vite', '--port', '3001', '--open'], {
9+
const vite = spawn('npx', ['vite', '--config', 'vite.cli.config.ts', '--port', '3001', '--open'], {
1010
cwd: packageRoot,
1111
stdio: 'inherit'
1212
})

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "chatbot-flow-editor",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Visual chatbot flow editor - Development tool for creating conversational flows",
55
"funding": "https://github.com/sponsors/enumura1",
66
"type": "module",

packages/core/vite.cli.config.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/// <reference types="vitest" />
2+
import { defineConfig } from 'vite'
3+
import react from '@vitejs/plugin-react'
4+
import { resolve } from 'path'
5+
import tailwindcss from '@tailwindcss/vite'
6+
7+
// Vite configuration for CLI development server
8+
export default defineConfig({
9+
plugins: [
10+
react(),
11+
tailwindcss(),
12+
],
13+
resolve: {
14+
alias: {
15+
'@': resolve(__dirname, './src'),
16+
},
17+
},
18+
// Standard dev server mode (lib mode disabled)
19+
server: {
20+
port: 3001,
21+
open: true,
22+
},
23+
})

0 commit comments

Comments
 (0)