@zenfs/core 1.0.6 → 1.0.7
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/backends/file_index.d.ts +1 -1
- package/dist/backends/file_index.js +1 -1
- package/package.json +4 -7
- package/readme.md +1 -1
- package/src/backends/file_index.ts +1 -1
- package/dist/browser.min.js +0 -22
- package/dist/browser.min.js.map +0 -7
- package/scripts/build.js +0 -83
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenfs/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "A filesystem, anywhere",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"storage"
|
|
11
11
|
],
|
|
12
12
|
"bin": {
|
|
13
|
-
"make-index": "scripts/make-index.js"
|
|
14
|
-
"build": "scripts/build.js"
|
|
13
|
+
"make-index": "scripts/make-index.js"
|
|
15
14
|
},
|
|
16
15
|
"files": [
|
|
17
16
|
"dist",
|
|
@@ -47,9 +46,9 @@
|
|
|
47
46
|
"scripts": {
|
|
48
47
|
"format": "prettier --write .",
|
|
49
48
|
"format:check": "prettier --check .",
|
|
50
|
-
"lint": "
|
|
49
|
+
"lint": "eslint src tests",
|
|
51
50
|
"test": "tsx --test --experimental-test-coverage",
|
|
52
|
-
"build": "
|
|
51
|
+
"build": "tsc -p tsconfig.json",
|
|
53
52
|
"build:docs": "typedoc",
|
|
54
53
|
"dev": "npm run build -- --watch",
|
|
55
54
|
"prepublishOnly": "npm run build"
|
|
@@ -70,9 +69,7 @@
|
|
|
70
69
|
},
|
|
71
70
|
"devDependencies": {
|
|
72
71
|
"@eslint/js": "^9.8.0",
|
|
73
|
-
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
|
|
74
72
|
"@types/eslint__js": "^8.42.3",
|
|
75
|
-
"esbuild": "^0.21.0",
|
|
76
73
|
"eslint": "^9.8.0",
|
|
77
74
|
"globals": "^15.9.0",
|
|
78
75
|
"lint-staged": "^15.2.7",
|
package/readme.md
CHANGED
|
@@ -30,7 +30,7 @@ npm install @zenfs/core
|
|
|
30
30
|
> [!NOTE]
|
|
31
31
|
> The examples are written in ESM.
|
|
32
32
|
> If you are using CJS, you can `require` the package.
|
|
33
|
-
> If using a browser environment
|
|
33
|
+
> If using a browser environment, you can use a `<script>` with `type=module` (you may need to use import maps)
|
|
34
34
|
|
|
35
35
|
```js
|
|
36
36
|
import fs from '@zenfs/core'; // You can also use the named export, `fs`
|