querymongo 1.4.0 → 1.4.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/dist/application/MongoConverter.d.ts.map +1 -0
  3. package/dist/application/MongoConverter.spec.d.ts.map +1 -0
  4. package/dist/{types/cli → cli}/main.d.ts.map +1 -1
  5. package/dist/domain/interfaces/Converter.d.ts.map +1 -0
  6. package/dist/index.d.ts.map +1 -0
  7. package/dist/infrastructure/converters/ConverterFactory.d.ts.map +1 -0
  8. package/dist/infrastructure/converters/ConverterFactory.spec.d.ts.map +1 -0
  9. package/dist/infrastructure/converters/CreateConverter.d.ts.map +1 -0
  10. package/dist/infrastructure/converters/DeleteConverter.d.ts.map +1 -0
  11. package/dist/infrastructure/converters/JoinConverter.d.ts.map +1 -0
  12. package/dist/infrastructure/converters/SelectConverter.d.ts.map +1 -0
  13. package/dist/infrastructure/converters/UpdateConverter.d.ts.map +1 -0
  14. package/dist/infrastructure/parser/sqlParser.d.ts.map +1 -0
  15. package/dist/infrastructure/utils/queryUtils.d.ts.map +1 -0
  16. package/dist/infrastructure/utils/queryUtils.spec.d.ts.map +1 -0
  17. package/package.json +6 -2
  18. package/dist/types/application/MongoConverter.d.ts.map +0 -1
  19. package/dist/types/application/MongoConverter.spec.d.ts.map +0 -1
  20. package/dist/types/domain/interfaces/Converter.d.ts.map +0 -1
  21. package/dist/types/index.d.ts.map +0 -1
  22. package/dist/types/infrastructure/converters/ConverterFactory.d.ts.map +0 -1
  23. package/dist/types/infrastructure/converters/ConverterFactory.spec.d.ts.map +0 -1
  24. package/dist/types/infrastructure/converters/CreateConverter.d.ts.map +0 -1
  25. package/dist/types/infrastructure/converters/DeleteConverter.d.ts.map +0 -1
  26. package/dist/types/infrastructure/converters/JoinConverter.d.ts.map +0 -1
  27. package/dist/types/infrastructure/converters/SelectConverter.d.ts.map +0 -1
  28. package/dist/types/infrastructure/converters/UpdateConverter.d.ts.map +0 -1
  29. package/dist/types/infrastructure/parser/sqlParser.d.ts.map +0 -1
  30. package/dist/types/infrastructure/utils/queryUtils.d.ts.map +0 -1
  31. package/dist/types/infrastructure/utils/queryUtils.spec.d.ts.map +0 -1
  32. /package/dist/{types/application → application}/MongoConverter.d.ts +0 -0
  33. /package/dist/{types/application → application}/MongoConverter.spec.d.ts +0 -0
  34. /package/dist/{types/cli → cli}/main.d.ts +0 -0
  35. /package/dist/{types/domain → domain}/interfaces/Converter.d.ts +0 -0
  36. /package/dist/{types/index.d.ts → index.d.ts} +0 -0
  37. /package/dist/{types/infrastructure → infrastructure}/converters/ConverterFactory.d.ts +0 -0
  38. /package/dist/{types/infrastructure → infrastructure}/converters/ConverterFactory.spec.d.ts +0 -0
  39. /package/dist/{types/infrastructure → infrastructure}/converters/CreateConverter.d.ts +0 -0
  40. /package/dist/{types/infrastructure → infrastructure}/converters/DeleteConverter.d.ts +0 -0
  41. /package/dist/{types/infrastructure → infrastructure}/converters/JoinConverter.d.ts +0 -0
  42. /package/dist/{types/infrastructure → infrastructure}/converters/SelectConverter.d.ts +0 -0
  43. /package/dist/{types/infrastructure → infrastructure}/converters/UpdateConverter.d.ts +0 -0
  44. /package/dist/{types/infrastructure → infrastructure}/parser/sqlParser.d.ts +0 -0
  45. /package/dist/{types/infrastructure → infrastructure}/utils/queryUtils.d.ts +0 -0
  46. /package/dist/{types/infrastructure → infrastructure}/utils/queryUtils.spec.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- # [1.4.0](https://github.com/rubsuadav/querymongo/compare/v1.3.0...v1.4.0) (2026-09-21)
1
+ ## [1.4.2](https://github.com/rubsuadav/querymongo/compare/v1.4.1...v1.4.2) (2026-09-21)
2
2
 
3
3
 
4
- ### Features
4
+ ### Bug Fixes
5
5
 
6
- * enhance README with detailed SQL to MongoDB conversion examples and features ([9cefc9f](https://github.com/rubsuadav/querymongo/commit/9cefc9f6c9b24ff5afa18dc1ff46c8e6e712e33d))
6
+ * update declarationDir in tsconfig.json to point directly to ./dist ([c315b8c](https://github.com/rubsuadav/querymongo/commit/c315b8cff2227698f5d8deff91a9ea1846003a11))
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MongoConverter.d.ts","sourceRoot":"","sources":["../../src/application/MongoConverter.ts"],"names":[],"mappings":"AAUA,cAAM,cAAc;IAClB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAcxC;CACF;AAED,eAAO,MAAM,cAAc,gBAAuB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MongoConverter.spec.d.ts","sourceRoot":"","sources":["../../src/application/MongoConverter.spec.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/cli/main.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/cli/main.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Converter.d.ts","sourceRoot":"","sources":["../../../src/domain/interfaces/Converter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,OAAO,CAAC,KAAK,EAAE,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC1C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,YAAY,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConverterFactory.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/converters/ConverterFactory.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAevE,eAAO,MAAM,YAAY,cAAe,MAAM,KAAG,UAAU,GAAG,IAE7D,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConverterFactory.spec.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/converters/ConverterFactory.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateConverter.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/converters/CreateConverter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAGvE,eAAO,MAAM,eAAe,EAAE,UA6B7B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteConverter.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/converters/DeleteConverter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAOvE,eAAO,MAAM,eAAe,EAAE,UAoB7B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JoinConverter.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/converters/JoinConverter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAQvE,eAAO,MAAM,aAAa,EAAE,UAoD3B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectConverter.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/converters/SelectConverter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAQvE,eAAO,MAAM,eAAe,EAAE,UAuB7B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateConverter.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/converters/UpdateConverter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAOvE,eAAO,MAAM,eAAe,EAAE,UAwB7B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlParser.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/parser/sqlParser.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,SAAS,MAAM,iBAAiB,CAAC;AAExC,QAAA,MAAM,MAAM,kBAAyB,CAAC;AAEtC,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;AAE1D,eAAO,MAAM,aAAa,QAAS,MAAM,KAAG,WAAW,GAAG,WAAW,EAEpE,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW,MAAM,KAAG,MAE9C,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queryUtils.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/utils/queryUtils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,eAAO,MAAM,qBAAqB,QAC3B,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,KACrB,CAAC,CAAC,UAAU,CAAC,GAAG,CAElB,CAAC;AAeF,eAAO,MAAM,oBAAoB,YAAa,GAAG,EAAE,KAAG,MAAM,EAS3D,CAAC;AAEF,eAAO,MAAM,eAAe,WAClB,MAAM,EAAE,GAAG,GAAG,KACrB,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAStB,CAAC;AAEF,eAAO,MAAM,WAAW,cAAe,GAAG,KAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAsC9D,CAAC;AAEF,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,GAAG,EACV,UAAU,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACxC,MAAM,CAmBR"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queryUtils.spec.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/utils/queryUtils.spec.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "querymongo",
3
3
  "type": "module",
4
- "version": "1.4.0",
4
+ "version": "1.4.2",
5
5
  "description": "SQL to MongoDB Query Converter CLI",
6
- "main": "dist/cli/main.js",
6
+ "main": "dist/index.js",
7
7
  "bin": "dist/cli/main.js",
8
+ "exports": {
9
+ ".": "./dist/index.js",
10
+ "./cli": "./dist/cli/main.js"
11
+ },
8
12
  "scripts": {
9
13
  "prepare": "npm run build",
10
14
  "clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
@@ -1 +0,0 @@
1
- {"version":3,"file":"MongoConverter.d.ts","sourceRoot":"","sources":["../../../src/application/MongoConverter.ts"],"names":[],"mappings":"AAUA,cAAM,cAAc;IAClB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAcxC;CACF;AAED,eAAO,MAAM,cAAc,gBAAuB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MongoConverter.spec.d.ts","sourceRoot":"","sources":["../../../src/application/MongoConverter.spec.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Converter.d.ts","sourceRoot":"","sources":["../../../../src/domain/interfaces/Converter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,OAAO,CAAC,KAAK,EAAE,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC1C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,YAAY,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConverterFactory.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/converters/ConverterFactory.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAevE,eAAO,MAAM,YAAY,cAAe,MAAM,KAAG,UAAU,GAAG,IAE7D,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConverterFactory.spec.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/converters/ConverterFactory.spec.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateConverter.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/converters/CreateConverter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAGvE,eAAO,MAAM,eAAe,EAAE,UA6B7B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DeleteConverter.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/converters/DeleteConverter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAOvE,eAAO,MAAM,eAAe,EAAE,UAoB7B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"JoinConverter.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/converters/JoinConverter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAQvE,eAAO,MAAM,aAAa,EAAE,UAoD3B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectConverter.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/converters/SelectConverter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAQvE,eAAO,MAAM,eAAe,EAAE,UAuB7B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"UpdateConverter.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/converters/UpdateConverter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAOvE,eAAO,MAAM,eAAe,EAAE,UAwB7B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"sqlParser.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/parser/sqlParser.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,SAAS,MAAM,iBAAiB,CAAC;AAExC,QAAA,MAAM,MAAM,kBAAyB,CAAC;AAEtC,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;AAE1D,eAAO,MAAM,aAAa,QAAS,MAAM,KAAG,WAAW,GAAG,WAAW,EAEpE,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW,MAAM,KAAG,MAE9C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryUtils.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/utils/queryUtils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,eAAO,MAAM,qBAAqB,QAC3B,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,KACrB,CAAC,CAAC,UAAU,CAAC,GAAG,CAElB,CAAC;AAeF,eAAO,MAAM,oBAAoB,YAAa,GAAG,EAAE,KAAG,MAAM,EAS3D,CAAC;AAEF,eAAO,MAAM,eAAe,WAClB,MAAM,EAAE,GAAG,GAAG,KACrB,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAStB,CAAC;AAEF,eAAO,MAAM,WAAW,cAAe,GAAG,KAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAsC9D,CAAC;AAEF,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,GAAG,EACV,UAAU,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACxC,MAAM,CAmBR"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryUtils.spec.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/utils/queryUtils.spec.ts"],"names":[],"mappings":""}
File without changes
File without changes