@e22m4u/js-repository-mongodb-adapter 0.1.5 → 0.1.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/.husky/pre-commit CHANGED
@@ -1,5 +1,6 @@
1
1
  npm run lint:fix
2
2
  npm run format
3
3
  npm run test
4
+ npm run build:cjs
4
5
 
5
6
  git add -A
package/README.md CHANGED
@@ -4,13 +4,10 @@ MongoDB адаптер для [@e22m4u/js-repository](https://www.npmjs.com/pack
4
4
 
5
5
  ## Установка
6
6
 
7
-
8
7
  ```bash
9
8
  npm install @e22m4u/js-repository-mongodb-adapter
10
9
  ```
11
10
 
12
- *требует пакет [js-repository](https://www.npmjs.com/package/@e22m4u/js-repository)*
13
-
14
11
  ## Параметры
15
12
 
16
13
  Все указанные параметры опциональны:
package/build-cjs.js ADDED
@@ -0,0 +1,11 @@
1
+ import * as esbuild from 'esbuild';
2
+
3
+ await esbuild.build({
4
+ entryPoints: ['src/index.js'],
5
+ outfile: 'dist/cjs/index.cjs',
6
+ format: 'cjs',
7
+ platform: 'node',
8
+ target: ['node14'],
9
+ bundle: true,
10
+ keepNames: true,
11
+ });