@enegelai/bot-widget 1.7.6 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,28 +1,22 @@
1
1
  {
2
2
  "name": "@enegelai/bot-widget",
3
- "version": "1.7.6",
3
+ "version": "1.9.0",
4
4
  "description": "Enegel.ai Bot Widget",
5
5
  "scripts": {
6
6
  "dev": "vite",
7
7
  "serve": "vite preview",
8
- "build": "vite build && tsc && npm run build:browser && npm run copy:typings && npm run copy:dist",
8
+ "build": "vite build && tsc && npm run build:browser && npm run copy:typings && npm run copy:index",
9
9
  "build:browser": "vite build -c vite.config.browser.ts",
10
10
  "build:browser:es": "vite build -c vite.config.esm.browser.ts",
11
11
  "copy:typings": "cp -r ./src/typings ./dist/typings",
12
- "copy:dist": "cp -r ./dist ./demo",
13
- "demo": "http-server demo -o",
12
+ "copy:index": "cp -r ./index_preview.html ./dist/index.html",
14
13
  "lint": "npm run lint:lit-analyzer && npm run lint:eslint",
15
14
  "lint:eslint": "eslint 'src/**/*.ts' --fix",
16
15
  "lint:lit-analyzer": "lit-analyzer",
17
16
  "prettier": "prettier --write --ignore-unknown '**/*'",
18
17
  "test": "web-test-runner --group default",
19
18
  "test:component": "web-test-runner -- --watch --group",
20
- "test:watch": "web-test-runner --watch --group default",
21
- "release:dry": "release-it --dry-run --no-npm",
22
- "release:info": "release-it --release-version",
23
- "release:ci:beta": "release-it --ci --preRelease=beta",
24
- "release:ci": "release-it --ci",
25
- "release": "release-it"
19
+ "test:watch": "web-test-runner --watch --group default"
26
20
  },
27
21
  "main": "dist/index.es.js",
28
22
  "module": "dist/index.es.js",
@@ -38,92 +32,60 @@
38
32
  "package.json"
39
33
  ],
40
34
  "dependencies": {
41
- "@lit-app/state": "^0.8.4",
42
- "@lit/localize": "^0.12.1",
43
- "@shoelace-style/shoelace": "^2.12.0",
44
- "ky": "^0.33.3",
45
- "lit": "^3.1.0",
46
- "loglevel": "^1.8.1",
47
- "markdown-it": "^13.0.2",
35
+ "@lit-app/state": "^1.0.0",
36
+ "@lit/localize": "^0.12.2",
37
+ "@shoelace-style/shoelace": "^2.17.1",
38
+ "ky": "^1.7.2",
39
+ "lit": "^3.2.1",
40
+ "loglevel": "^1.9.2",
41
+ "markdown-it": "^14.1.0",
48
42
  "markdown-it-link-attributes": "^4.0.1",
49
- "markdown-it-emoji": "^2.0.2",
50
- "nanoid": "^5.0.4",
51
- "ws": "^8.14.2",
52
- "ramda": "^0.29.1",
53
- "glightbox": "^3.2.0",
54
- "highlight.js": "^11.9.0"
43
+ "markdown-it-emoji": "^3.0.0",
44
+ "nanoid": "^5.0.7",
45
+ "ws": "^8.18.0",
46
+ "ramda": "^0.30.1",
47
+ "glightbox": "^3.3.0",
48
+ "highlight.js": "^11.10.0"
55
49
  },
56
50
  "devDependencies": {
57
- "@custom-elements-manifest/analyzer": "^0.9.0",
58
- "@iconify-json/bi": "^1.1.21",
59
- "@iconify-json/mdi": "^1.1.59",
60
- "@iconify-json/ri": "^1.1.15",
61
- "@lit/localize-tools": "^0.7.1",
51
+ "@custom-elements-manifest/analyzer": "^0.10.3",
52
+ "@iconify-json/bi": "^1.2.0",
53
+ "@iconify-json/mdi": "^1.2.0",
54
+ "@iconify-json/ri": "^1.2.0",
55
+ "@lit/localize-tools": "^0.8.0",
62
56
  "@open-wc/testing": "^4.0.0",
63
- "@rollup/plugin-replace": "^5.0.5",
64
- "@types/markdown-it": "^13.0.7",
65
- "@types/markdown-it-link-attributes": "^3.0.4",
66
- "@types/mocha": "^10.0.6",
67
- "@types/node": "^20.10.3",
68
- "@types/sanitize-html": "^2.9.5",
57
+ "@rollup/plugin-replace": "^5.0.7",
58
+ "@types/markdown-it": "^14.1.2",
59
+ "@types/markdown-it-link-attributes": "^3.0.5",
60
+ "@types/mocha": "^10.0.7",
61
+ "@types/node": "^22.5.4",
62
+ "@types/sanitize-html": "^2.13.0",
69
63
  "@typescript-eslint/eslint-plugin": "^6.13.2",
70
64
  "@typescript-eslint/parser": "^6.13.2",
71
- "@web/dev-server-esbuild": "^1.0.1",
72
- "@web/test-runner": "^0.18.0",
65
+ "@web/dev-server-esbuild": "^1.0.2",
66
+ "@web/test-runner": "^0.18.3",
73
67
  "@web/test-runner-commands": "^0.9.0",
74
- "autoprefixer": "^10.4.16",
68
+ "autoprefixer": "^10.4.20",
75
69
  "eslint": "^8.55.0",
76
70
  "eslint-config-prettier": "^9.1.0",
77
71
  "eslint-plugin-prettier": "^5.0.1",
78
- "globby": "^14.0.0",
79
- "http-server": "^14.1.1",
80
- "lint-staged": "^15.2.0",
81
- "lit-analyzer": "^2.0.1",
82
- "postcss": "^8.4.32",
83
- "prettier": "^3.0.3",
84
- "rollup": "^4.6.1",
85
- "tailwindcss": "^3.3.6",
86
- "ts-lit-plugin": "^2.0.1",
72
+ "globby": "^14.0.2",
73
+ "lint-staged": "^15.2.10",
74
+ "lit-analyzer": "^2.0.3",
75
+ "postcss": "^8.4.45",
76
+ "prettier": "^3.3.3",
77
+ "rollup": "^4.22.5",
78
+ "tailwindcss": "^3.4.10",
79
+ "ts-lit-plugin": "^2.0.2",
87
80
  "typescript": "^5.3.2",
88
- "unocss": "^0.58.0",
89
- "unplugin-icons": "^0.18.1",
90
- "vite": "^5.1.6",
91
- "vite-plugin-html": "^3.2.0",
92
- "vite-plugin-inspect": "^0.8.1",
93
- "rollup-plugin-visualizer": "^5.10.0",
94
- "release-it": "^17.0.0",
95
- "@release-it/conventional-changelog": "^8.0.1"
81
+ "unocss": "^0.62.3",
82
+ "unplugin-icons": "^0.19.3",
83
+ "vite": "^5.4.8",
84
+ "vite-plugin-html": "^3.2.2",
85
+ "vite-plugin-inspect": "^0.8.7",
86
+ "rollup-plugin-visualizer": "^5.12.0"
96
87
  },
97
88
  "engines": {
98
89
  "node": ">=18.0.0"
99
- },
100
- "release-it": {
101
- "git": {
102
- "commitMessage": "Release: v${version}",
103
- "push": true,
104
- "commit": true,
105
- "tag": true,
106
- "requireCommits": false,
107
- "requireCleanWorkingDir": false
108
- },
109
- "github": {
110
- "release": true,
111
- "draft": false
112
- },
113
- "npm": {
114
- "publish": false,
115
- "ignoreVersion": false
116
- },
117
- "plugins": {
118
- "@release-it/conventional-changelog": {
119
- "preset": "angular",
120
- "infile": "CHANGELOG.md",
121
- "header": "# Changelog"
122
- }
123
- },
124
- "hooks": {
125
- "before:init": "npm test",
126
- "after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
127
- }
128
90
  }
129
91
  }