chat-pane 2.5.1 → 3.0.0-2d02f592
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/dist/create.d.ts +8 -0
- package/dist/create.d.ts.map +1 -0
- package/dist/create.js +149 -0
- package/dist/create.js.map +1 -0
- package/dist/longChatPane.js +250 -71316
- package/dist/longChatPane.js.map +1 -1
- package/dist/main.js +21 -72116
- package/dist/main.js.map +1 -1
- package/dist/shortChatPane.js +75 -71125
- package/dist/shortChatPane.js.map +1 -1
- package/package.json +27 -34
- package/dist/_2b19.js +0 -14
- package/dist/_2b19.js.map +0 -1
- package/dist/index.html +0 -29
- package/dist/vendors-node_modules_jsonld_lib_jsonld_js.js +0 -12247
- package/dist/vendors-node_modules_jsonld_lib_jsonld_js.js.map +0 -1
- package/lib/create.js +0 -303
- package/lib/create.js.map +0 -1
- package/lib/longChatPane.js +0 -498
- package/lib/longChatPane.js.map +0 -1
- package/lib/longChatPane.test.js +0 -11
- package/lib/longChatPane.test.js.map +0 -1
- package/lib/main.js +0 -27
- package/lib/main.js.map +0 -1
- package/lib/shortChatPane.js +0 -145
- package/lib/shortChatPane.js.map +0 -1
- package/src/create.ts +0 -148
- package/src/longChatPane.js +0 -492
- package/src/longChatPane.test.ts +0 -7
- package/src/main.js +0 -3
- package/src/shortChatPane.js +0 -164
package/package.json
CHANGED
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chat-pane",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-2d02f592",
|
|
4
4
|
"description": "Solid-compatible Panes: Chat",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "dist/main.js",
|
|
6
6
|
"files": [
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
7
|
+
"dist/",
|
|
8
|
+
"README.md",
|
|
9
|
+
"LICENSE"
|
|
10
10
|
],
|
|
11
11
|
"scripts": {
|
|
12
|
-
"
|
|
13
|
-
"build
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"lint
|
|
18
|
-
"
|
|
19
|
-
"
|
|
12
|
+
"clean": "rm -rf dist",
|
|
13
|
+
"build": "npm run clean && npm run typecheck && npm run build-dist",
|
|
14
|
+
"build-dist": "npm run build-js && npm run build-types",
|
|
15
|
+
"build-js": "babel src --out-dir dist --extensions '.ts,.js' --source-maps",
|
|
16
|
+
"build-types": "tsc --emitDeclarationOnly",
|
|
17
|
+
"lint": "eslint",
|
|
18
|
+
"lint-fix": "eslint --fix",
|
|
19
|
+
"typecheck": "tsc --noEmit",
|
|
20
|
+
"test": "jest",
|
|
20
21
|
"watch": "webpack --watch",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
22
|
+
"ignore:prepublishOnly": "npm run build && npm run lint && npm run test",
|
|
23
|
+
"preversion": "npm run lint && npm run typecheck && npm run test",
|
|
24
|
+
"ignore:postpublish": "git push origin main --follow-tags",
|
|
25
|
+
"start": "webpack serve --config webpack.dev.config.mjs --open"
|
|
23
26
|
},
|
|
24
27
|
"repository": {
|
|
25
28
|
"type": "git",
|
|
26
|
-
"url": "https://github.com/solid/chat-pane"
|
|
29
|
+
"url": "git+https://github.com/solid/chat-pane.git"
|
|
27
30
|
},
|
|
28
31
|
"keywords": [
|
|
29
32
|
"solid",
|
|
@@ -45,11 +48,10 @@
|
|
|
45
48
|
"url": "https://github.com/solid/chat-pane/issues"
|
|
46
49
|
},
|
|
47
50
|
"homepage": "https://github.com/solid/chat-pane",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"solid-
|
|
52
|
-
"solid-ui": "^2.6.1"
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"rdflib": "^2.3.0",
|
|
53
|
+
"solid-logic": "^4.0.0",
|
|
54
|
+
"solid-ui": "^3.0.0"
|
|
53
55
|
},
|
|
54
56
|
"devDependencies": {
|
|
55
57
|
"@babel/cli": "^7.26.4",
|
|
@@ -59,31 +61,22 @@
|
|
|
59
61
|
"@testing-library/dom": "^10.4.1",
|
|
60
62
|
"@testing-library/jest-dom": "^6.8.0",
|
|
61
63
|
"@types/jest": "^30.0.0",
|
|
64
|
+
"@typescript-eslint/parser": "^8.46.2",
|
|
62
65
|
"babel-jest": "^30.0.5",
|
|
63
66
|
"babel-loader": "^10.0.0",
|
|
64
67
|
"buffer": "^6.0.3",
|
|
65
68
|
"eslint": "^9.33.0",
|
|
66
69
|
"globals": "^16.3.0",
|
|
67
70
|
"html-webpack-plugin": "^5.6.3",
|
|
68
|
-
"
|
|
69
|
-
"jest": "^30.0.5",
|
|
71
|
+
"jest": "^29.7.0",
|
|
70
72
|
"jest-environment-jsdom": "^30.0.5",
|
|
71
73
|
"jest-fetch-mock": "^3.0.3",
|
|
74
|
+
"neostandard": "^0.12.2",
|
|
72
75
|
"node-polyfill-webpack-plugin": "^4.1.0",
|
|
76
|
+
"pane-registry": "^3.0.0",
|
|
73
77
|
"typescript": "^5.9.2",
|
|
74
78
|
"webpack": "^5.101.0",
|
|
75
79
|
"webpack-cli": "^6.0.1",
|
|
76
80
|
"webpack-dev-server": "^5.2.2"
|
|
77
|
-
},
|
|
78
|
-
"husky": {
|
|
79
|
-
"hooks": {
|
|
80
|
-
"pre-commit": "lint-staged",
|
|
81
|
-
"pre-push": "npm test"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"lint-staged": {
|
|
85
|
-
"*.js": [
|
|
86
|
-
"eslint"
|
|
87
|
-
]
|
|
88
81
|
}
|
|
89
82
|
}
|
package/dist/_2b19.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
(self["webpackChunkchat_pane"] = self["webpackChunkchat_pane"] || []).push([["_2b19"],{
|
|
2
|
-
|
|
3
|
-
/***/ "?2b19":
|
|
4
|
-
/*!*************************************!*\
|
|
5
|
-
!*** rdf-canonize-native (ignored) ***!
|
|
6
|
-
\*************************************/
|
|
7
|
-
/***/ (() => {
|
|
8
|
-
|
|
9
|
-
/* (ignored) */
|
|
10
|
-
|
|
11
|
-
/***/ })
|
|
12
|
-
|
|
13
|
-
}]);
|
|
14
|
-
//# sourceMappingURL=_2b19.js.map
|
package/dist/_2b19.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_2b19.js","mappings":";;;;;;;;AAAA,e","sources":["webpack://chat-pane/ignored|/home/runner/work/chat-pane/chat-pane/node_modules/rdf-canonize/lib|rdf-canonize-native"],"sourcesContent":["/* (ignored) */"],"names":[],"sourceRoot":""}
|
package/dist/index.html
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<title>Solid Chat</title>
|
|
6
|
-
<style>
|
|
7
|
-
body {
|
|
8
|
-
margin: 10%;
|
|
9
|
-
}
|
|
10
|
-
input {
|
|
11
|
-
background-color: #eef;
|
|
12
|
-
padding: 0.5em;
|
|
13
|
-
border: 0.5em solid white;
|
|
14
|
-
font-size: 120%;
|
|
15
|
-
}
|
|
16
|
-
</style>
|
|
17
|
-
<script defer src="main.js"></script></head>
|
|
18
|
-
<body>
|
|
19
|
-
<h1>Solid Chat</h1>
|
|
20
|
-
<div>
|
|
21
|
-
<div id="webId"></div>
|
|
22
|
-
</div>
|
|
23
|
-
<div id="loginBanner"></div>
|
|
24
|
-
<p>
|
|
25
|
-
A handy app for chatting with other Solid users
|
|
26
|
-
</p>
|
|
27
|
-
<!-- div from chatPane.render will be inserted here -->
|
|
28
|
-
</body>
|
|
29
|
-
</html>
|