@enspirit/bmg-js 1.0.0 → 1.0.2
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/LICENSE.md +21 -0
- package/dist/Relation/Memory.d.ts +45 -0
- package/dist/Relation/index.d.ts +1 -0
- package/dist/bmg.cjs +2 -0
- package/dist/bmg.cjs.map +1 -0
- package/dist/bmg.modern.js +2 -0
- package/dist/bmg.modern.js.map +1 -0
- package/dist/bmg.module.js +2 -0
- package/dist/bmg.module.js.map +1 -0
- package/dist/bmg.umd.js +2 -0
- package/dist/bmg.umd.js.map +1 -0
- package/dist/index.d.ts +27 -0
- package/dist/lib-definitions.d.ts +1 -0
- package/dist/operators/_helpers.d.ts +142 -0
- package/dist/operators/allbut.d.ts +2 -0
- package/dist/operators/autowrap.d.ts +2 -0
- package/dist/operators/constants.d.ts +2 -0
- package/dist/operators/cross_product.d.ts +3 -0
- package/dist/operators/exclude.d.ts +2 -0
- package/dist/operators/extend.d.ts +2 -0
- package/dist/operators/group.d.ts +2 -0
- package/dist/operators/image.d.ts +2 -0
- package/dist/operators/index.d.ts +30 -0
- package/dist/operators/intersect.d.ts +2 -0
- package/dist/operators/isEqual.d.ts +2 -0
- package/dist/operators/isRelation.d.ts +1 -0
- package/dist/operators/join.d.ts +2 -0
- package/dist/operators/left_join.d.ts +2 -0
- package/dist/operators/matching.d.ts +2 -0
- package/dist/operators/minus.d.ts +2 -0
- package/dist/operators/not_matching.d.ts +2 -0
- package/dist/operators/one.d.ts +2 -0
- package/dist/operators/prefix.d.ts +2 -0
- package/dist/operators/project.d.ts +2 -0
- package/dist/operators/rename.d.ts +2 -0
- package/dist/operators/restrict.d.ts +2 -0
- package/dist/operators/suffix.d.ts +2 -0
- package/dist/operators/summarize.d.ts +2 -0
- package/dist/operators/transform.d.ts +2 -0
- package/dist/operators/ungroup.d.ts +2 -0
- package/dist/operators/union.d.ts +2 -0
- package/dist/operators/unwrap.d.ts +2 -0
- package/dist/operators/where.d.ts +1 -0
- package/dist/operators/wrap.d.ts +2 -0
- package/dist/operators/yByX.d.ts +2 -0
- package/dist/support/toPredicateFunc.d.ts +2 -0
- package/dist/types.d.ts +162 -0
- package/package.json +20 -6
- package/src/Relation/Memory.ts +13 -12
- package/src/index.ts +1 -1
- package/src/lib-definitions.ts +281 -0
- package/src/types.ts +142 -54
- package/.claude/safe-setup/.env.example +0 -3
- package/.claude/safe-setup/Dockerfile.claude +0 -36
- package/.claude/safe-setup/HACKING.md +0 -63
- package/.claude/safe-setup/Makefile +0 -22
- package/.claude/safe-setup/docker-compose.yml +0 -18
- package/.claude/safe-setup/entrypoint.sh +0 -13
- package/.claude/settings.local.json +0 -9
- package/.claude/typescript-annotations.md +0 -273
- package/.github/workflows/test.yml +0 -26
- package/CLAUDE.md +0 -48
- package/Makefile +0 -2
- package/example/README.md +0 -22
- package/example/index.ts +0 -316
- package/example/package.json +0 -16
- package/example/tsconfig.json +0 -11
- package/src/utility-types.ts +0 -77
- package/tests/bmg.test.ts +0 -16
- package/tests/fixtures.ts +0 -9
- package/tests/operators/allbut.test.ts +0 -51
- package/tests/operators/autowrap.test.ts +0 -82
- package/tests/operators/constants.test.ts +0 -37
- package/tests/operators/cross_product.test.ts +0 -90
- package/tests/operators/exclude.test.ts +0 -43
- package/tests/operators/extend.test.ts +0 -45
- package/tests/operators/group.test.ts +0 -69
- package/tests/operators/image.test.ts +0 -152
- package/tests/operators/intersect.test.ts +0 -53
- package/tests/operators/isEqual.test.ts +0 -111
- package/tests/operators/join.test.ts +0 -116
- package/tests/operators/left_join.test.ts +0 -116
- package/tests/operators/matching.test.ts +0 -91
- package/tests/operators/minus.test.ts +0 -47
- package/tests/operators/not_matching.test.ts +0 -104
- package/tests/operators/one.test.ts +0 -19
- package/tests/operators/prefix.test.ts +0 -37
- package/tests/operators/project.test.ts +0 -48
- package/tests/operators/rename.test.ts +0 -39
- package/tests/operators/restrict.test.ts +0 -27
- package/tests/operators/suffix.test.ts +0 -37
- package/tests/operators/summarize.test.ts +0 -109
- package/tests/operators/transform.test.ts +0 -94
- package/tests/operators/ungroup.test.ts +0 -67
- package/tests/operators/union.test.ts +0 -51
- package/tests/operators/unwrap.test.ts +0 -50
- package/tests/operators/where.test.ts +0 -33
- package/tests/operators/wrap.test.ts +0 -54
- package/tests/operators/yByX.test.ts +0 -32
- package/tests/types/relation.test.ts +0 -296
- package/tsconfig.json +0 -37
- package/tsconfig.node.json +0 -9
- package/vitest.config.ts +0 -15
package/tsconfig.json
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"module": "ESNext",
|
|
5
|
-
"baseUrl": "./",
|
|
6
|
-
"outDir": "dist",
|
|
7
|
-
"lib": ["esnext", "dom", "dom.iterable"],
|
|
8
|
-
|
|
9
|
-
"useDefineForClassFields": true,
|
|
10
|
-
|
|
11
|
-
"skipLibCheck": true,
|
|
12
|
-
"allowJs": true,
|
|
13
|
-
|
|
14
|
-
/* Bundler mode */
|
|
15
|
-
"moduleResolution": "node",
|
|
16
|
-
"resolveJsonModule": true,
|
|
17
|
-
"isolatedModules": true,
|
|
18
|
-
"noEmit": true,
|
|
19
|
-
"jsx": "preserve",
|
|
20
|
-
|
|
21
|
-
/* Linting */
|
|
22
|
-
"strict": true,
|
|
23
|
-
"noUnusedLocals": true,
|
|
24
|
-
"noUnusedParameters": true,
|
|
25
|
-
"noFallthroughCasesInSwitch": true,
|
|
26
|
-
"noImplicitAny": false,
|
|
27
|
-
"strictNullChecks": true,
|
|
28
|
-
"strictFunctionTypes": false,
|
|
29
|
-
"strictPropertyInitialization": true,
|
|
30
|
-
|
|
31
|
-
"paths": {
|
|
32
|
-
"@/*": ["./src/*"]
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
"include": ["src/**/*.ts", "tests/**/*.ts"],
|
|
36
|
-
"references": [{ "path": "./tsconfig.node.json" }]
|
|
37
|
-
}
|
package/tsconfig.node.json
DELETED
package/vitest.config.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vitest/config';
|
|
2
|
-
import path from 'path';
|
|
3
|
-
|
|
4
|
-
export default defineConfig({
|
|
5
|
-
resolve: {
|
|
6
|
-
alias: {
|
|
7
|
-
'@': path.resolve(__dirname, 'src'),
|
|
8
|
-
},
|
|
9
|
-
},
|
|
10
|
-
test: {
|
|
11
|
-
globals: true,
|
|
12
|
-
include: ['tests/**/*.test.ts'],
|
|
13
|
-
environment: 'node',
|
|
14
|
-
},
|
|
15
|
-
});
|