@muze-nl/jsfs-solid 0.1.11 → 0.2.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/CONTRIBUTING.md +127 -0
- package/README.md +129 -0
- package/dist/browser.js +178 -96
- package/dist/browser.js.map +4 -4
- package/dist/browser.min.js +10 -10
- package/dist/browser.min.js.map +4 -4
- package/package.json +3 -3
- package/package.json~ +3 -3
- package/src/SolidClient.js +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muze-nl/jsfs-solid",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"author": "auke@muze.nl",
|
|
5
5
|
"source": "src/SolidAdapter.js",
|
|
6
6
|
"main": "dist/browser.js",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"description": "A filesystem adapter for JSFS that can read/write Solid Storage PODs",
|
|
15
15
|
"scripts": {
|
|
16
16
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
17
|
-
"build-dev": "esbuild --bundle src/
|
|
18
|
-
"build": "esbuild --bundle src/
|
|
17
|
+
"build-dev": "esbuild --bundle src/SolidClient.js --outfile=dist/browser.js --sourcemap;",
|
|
18
|
+
"build": "esbuild --bundle src/SolidClient.js --outfile=dist/browser.min.js --minify --sourcemap;"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
package/package.json~
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muze-nl/jsfs-solid",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"author": "auke@muze.nl",
|
|
5
5
|
"source": "src/SolidAdapter.js",
|
|
6
6
|
"main": "dist/browser.js",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"description": "A filesystem adapter for JSFS that can read/write Solid Storage PODs",
|
|
15
15
|
"scripts": {
|
|
16
16
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
17
|
-
"build-dev": "esbuild --bundle src/
|
|
18
|
-
"build": "esbuild --bundle src/
|
|
17
|
+
"build-dev": "esbuild --bundle src/SolidClient.js --outfile=dist/browser.js --sourcemap;",
|
|
18
|
+
"build": "esbuild --bundle src/SolidClient.js --outfile=dist/browser.min.js --minify --sourcemap;"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import '@muze-nl/jsfs'
|
|
2
|
+
import metro from '@muze-nl/metro'
|
|
3
|
+
import oidc from '@muze-nl/metro-oidc'
|
|
4
|
+
import '@muze-nl/oldm'
|
|
5
|
+
import '@muze-nl/jaqt'
|
|
6
|
+
import * as assert from '@muze-nl/assert'
|
|
7
|
+
import SolidAdapter from './SolidAdapter.js'
|
|
8
|
+
|
|
9
|
+
export function solidClient(...options) {
|
|
10
|
+
return new jsfs.fs(new SolidAdapter(...options))
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default SolidAdapter
|
|
14
|
+
|
|
15
|
+
globalThis.solidClient = solidClient
|
|
16
|
+
globalThis.SolidAdapter = SolidAdapter
|