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/package.json CHANGED
@@ -1,29 +1,32 @@
1
1
  {
2
2
  "name": "chat-pane",
3
- "version": "2.5.1",
3
+ "version": "3.0.0-2d02f592",
4
4
  "description": "Solid-compatible Panes: Chat",
5
- "main": "./lib/main.js",
5
+ "main": "dist/main.js",
6
6
  "files": [
7
- "src",
8
- "lib",
9
- "dist"
7
+ "dist/",
8
+ "README.md",
9
+ "LICENSE"
10
10
  ],
11
11
  "scripts": {
12
- "build": "npm run clean && webpack && npm run build-lib",
13
- "build-lib": "babel src -d lib --source-maps --extensions '.ts,.js'",
14
- "clean": "rm -rf lib && rm -rf dist",
15
- "test": "npm run lint && jest",
16
- "lint": "eslint '*.js'",
17
- "lint-fix": "eslint '*.js' --fix",
18
- "ignore:prepublishOnly": "npm test && npm run build && npm run build-lib",
19
- "ignore:postpublish": "git push origin main --follow-tags",
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
- "start": "webpack serve --open",
22
- "dev": "webpack serve --config webpack.dev.config.js --open"
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
- "dependencies": {
49
- "lint-staged": "^16.2.0",
50
- "rdflib": "^2.2.37",
51
- "solid-logic": "^3.1.1",
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
- "husky": "^9.1.7",
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>