chat-pane 2.4.22-e1580856 → 2.4.23-4ebe2e54

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.
@@ -0,0 +1,3 @@
1
+ /* don't think we need this */
2
+ "use strict";
3
+ //# sourceMappingURL=setup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup.js","names":[],"sources":["../../../src/integration-tests/helpers/setup.ts"],"sourcesContent":["/* don't think we need this */"],"mappings":"AAAA;AAAA"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ describe("chat test", function () {
7
+ it("works", function () {
8
+ expect(2 == 2);
9
+ });
10
+ });
11
+ //# sourceMappingURL=longChatPane.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"longChatPane.test.js","names":["describe","it","expect"],"sources":["../src/longChatPane.test.ts"],"sourcesContent":["import { longChatPane } from \"./longChatPane\";\n\ndescribe(\"chat test\", () => {\n it(\"works\", () => {\n expect(2==2);\n })\n})"],"mappings":";;;;;AAEAA,QAAQ,CAAC,WAAW,EAAE,YAAM;EAC1BC,EAAE,CAAC,OAAO,EAAE,YAAM;IAChBC,MAAM,CAAC,CAAC,IAAE,CAAC,CAAC;EACd,CAAC,CAAC;AACJ,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chat-pane",
3
- "version": "2.4.22-e1580856",
3
+ "version": "2.4.23-4ebe2e54",
4
4
  "description": "Solid-compatible Panes: Chat",
5
5
  "main": "./lib/main.js",
6
6
  "files": [
@@ -12,13 +12,14 @@
12
12
  "build": "npm run clean && webpack && npm run build-lib",
13
13
  "build-lib": "babel src -d lib --source-maps --extensions '.ts,.js'",
14
14
  "clean": "rm -rf lib && rm -rf dist",
15
- "test": "npm run lint",
15
+ "test": "npm run lint && jest",
16
16
  "lint": "eslint '*.js'",
17
17
  "lint-fix": "eslint '*.js' --fix",
18
18
  "ignore:prepublishOnly": "npm test && npm run build && npm run build-lib",
19
19
  "ignore:postpublish": "git push origin main --follow-tags",
20
20
  "watch": "webpack --watch",
21
- "start": "webpack serve --open"
21
+ "start": "webpack serve --open",
22
+ "dev": "webpack serve --config webpack.dev.config.js --open"
22
23
  },
23
24
  "repository": {
24
25
  "type": "git",
@@ -45,26 +46,33 @@
45
46
  },
46
47
  "homepage": "https://github.com/solid/chat-pane",
47
48
  "dependencies": {
48
- "rdflib": "^2.2.28",
49
- "solid-logic": "^3.0.1",
50
- "solid-ui": "^2.4.26"
49
+ "rdflib": "^2.2.30",
50
+ "solid-logic": "^3.0.2",
51
+ "solid-ui": "^2.4.27"
51
52
  },
52
53
  "devDependencies": {
53
54
  "@babel/cli": "^7.21.0",
54
- "@babel/core": "^7.21.0",
55
+ "@babel/core": "^7.21.3",
55
56
  "@babel/preset-env": "^7.20.2",
56
57
  "@babel/preset-typescript": "^7.21.0",
58
+ "@testing-library/dom": "^9.2.0",
59
+ "@testing-library/jest-dom": "^5.16.5",
60
+ "@types/jest": "^29.5.0",
61
+ "babel-jest": "^29.5.0",
57
62
  "babel-loader": "^8.3.0",
58
63
  "buffer": "^6.0.3",
59
- "eslint": "^8.35.0",
64
+ "eslint": "^8.36.0",
60
65
  "html-webpack-plugin": "^5.5.0",
61
66
  "husky": "^7.0.4",
67
+ "jest": "^29.5.0",
68
+ "jest-environment-jsdom": "^29.5.0",
69
+ "jest-fetch-mock": "^3.0.3",
62
70
  "lint-staged": "^12.5.0",
63
71
  "node-polyfill-webpack-plugin": "^2.0.1",
64
72
  "typescript": "^4.9.5",
65
- "webpack": "^5.75.0",
73
+ "webpack": "^5.76.2",
66
74
  "webpack-cli": "^4.10.0",
67
- "webpack-dev-server": "^4.11.1"
75
+ "webpack-dev-server": "^4.12.0"
68
76
  },
69
77
  "husky": {
70
78
  "hooks": {
@@ -0,0 +1 @@
1
+ /* don't think we need this */
@@ -0,0 +1,7 @@
1
+ import { longChatPane } from "./longChatPane";
2
+
3
+ describe("chat test", () => {
4
+ it("works", () => {
5
+ expect(2==2);
6
+ })
7
+ })