@ahmadmoussawi/webdb 0.1.4 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ahmadmoussawi/webdb",
3
- "version": "0.1.4",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "Ultra-lean browser-native relational database engine",
6
6
  "license": "MIT",
@@ -30,6 +30,41 @@
30
30
  "types": "./dist/index.d.ts",
31
31
  "import": "./dist/webdb.js",
32
32
  "require": "./dist/webdb.umd.cjs"
33
+ },
34
+ "./react": {
35
+ "types": "./dist/react.d.ts",
36
+ "import": "./dist/react.js",
37
+ "require": "./dist/react.cjs"
38
+ },
39
+ "./angular": {
40
+ "types": "./dist/angular.d.ts",
41
+ "import": "./dist/angular.js",
42
+ "require": "./dist/angular.cjs"
43
+ },
44
+ "./vue": {
45
+ "types": "./dist/vue.d.ts",
46
+ "import": "./dist/vue.js",
47
+ "require": "./dist/vue.cjs"
48
+ }
49
+ },
50
+ "peerDependencies": {
51
+ "@angular/core": ">=16.0.0",
52
+ "react": ">=18.0.0",
53
+ "rxjs": ">=7.0.0",
54
+ "vue": ">=3.0.0"
55
+ },
56
+ "peerDependenciesMeta": {
57
+ "@angular/core": {
58
+ "optional": true
59
+ },
60
+ "react": {
61
+ "optional": true
62
+ },
63
+ "rxjs": {
64
+ "optional": true
65
+ },
66
+ "vue": {
67
+ "optional": true
33
68
  }
34
69
  },
35
70
  "files": [
@@ -41,7 +76,7 @@
41
76
  "transpile:c": "vite-node scripts/transpiler/index.ts --all --write",
42
77
  "build:wasm": "node scripts/build_wasm.js",
43
78
  "prebuild": "node scripts/generate_layouts.js",
44
- "build": "vite build",
79
+ "build": "vite build && vite build --config vite.adapters.config.ts",
45
80
  "prepack": "npm run build",
46
81
  "pretest": "node scripts/generate_layouts.js",
47
82
  "test": "vitest run tests",