beanbagdb 0.5.41 → 0.5.43
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/bundle.browser.js +24052 -0
- package/dist/bundle.node.js +8333 -0
- package/package.json +8 -5
- package/.github/workflows/release.yml +0 -41
- package/dist/beanbagdb.esm.js +0 -153304
- package/dist/beanbagdb.esm.js.map +0 -1
- package/docs/logo.png +0 -0
- package/rollup.config.js +0 -47
- package/src/beanbagdb.js +0 -580
- package/src/couchdb.js +0 -64
- package/src/index.js +0 -6
- package/src/pouchdb.js +0 -68
- package/src/system_schema.js +0 -180
- package/src/utils.js +0 -45
- package/test/init.test.js +0 -219
- package/test/operations.test.js +0 -1
- package/test/test1.js +0 -157
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beanbagdb",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.43",
|
|
4
4
|
"description": "A JS library to introduce a schema layer to a No-SQL local database",
|
|
5
|
-
"main": "dist/
|
|
6
|
-
"module": "dist/
|
|
5
|
+
"main": "dist/bundle.node.js",
|
|
6
|
+
"module": "dist/bundle.browser.js",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"test": "mocha",
|
|
@@ -43,6 +43,9 @@
|
|
|
43
43
|
"@rollup/plugin-terser": "^0.4.4",
|
|
44
44
|
"chai": "^5.1.1",
|
|
45
45
|
"mocha": "^10.7.3",
|
|
46
|
-
"rollup": "^4.21.2"
|
|
47
|
-
|
|
46
|
+
"rollup": "^4.21.2",
|
|
47
|
+
"rollup-plugin-commonjs": "^10.1.0",
|
|
48
|
+
"rollup-plugin-node-resolve": "^5.2.0"
|
|
49
|
+
},
|
|
50
|
+
"files": ["dist"]
|
|
48
51
|
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
name: Release npm Package
|
|
2
|
-
|
|
3
|
-
# Trigger the workflow on push to the "main" branch
|
|
4
|
-
on:
|
|
5
|
-
push:
|
|
6
|
-
branches:
|
|
7
|
-
- main
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
build:
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
permissions:
|
|
13
|
-
contents: read
|
|
14
|
-
id-token: write
|
|
15
|
-
steps:
|
|
16
|
-
# Step 1: Check out the code from the repository
|
|
17
|
-
- name: Checkout code
|
|
18
|
-
uses: actions/checkout@v4
|
|
19
|
-
|
|
20
|
-
# Step 2: Set up Node.js environment
|
|
21
|
-
- name: Setup Node.js
|
|
22
|
-
uses: actions/setup-node@v4
|
|
23
|
-
with:
|
|
24
|
-
node-version: '20.17.0'
|
|
25
|
-
cache: 'npm'
|
|
26
|
-
registry-url: 'https://registry.npmjs.org'
|
|
27
|
-
|
|
28
|
-
# Step 3: Install dependencies
|
|
29
|
-
- name: Install dependencies
|
|
30
|
-
run: npm install
|
|
31
|
-
|
|
32
|
-
# Step 4: Run tests
|
|
33
|
-
- name: Run tests
|
|
34
|
-
run: npm test
|
|
35
|
-
|
|
36
|
-
# Step 5: Publish to npm if tests pass
|
|
37
|
-
- name: Publish to npm
|
|
38
|
-
run: npm publish --access public
|
|
39
|
-
env:
|
|
40
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
41
|
-
|