declapract-typescript-ehmpathy 0.33.11 → 0.33.13

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "devDependencies": {
3
- "simple-artifact-builder": "@declapract{check.minVersion('1.1.12')}"
3
+ "simple-artifact-builder": "@declapract{check.minVersion('1.1.13')}"
4
4
  },
5
5
  "scripts": {
6
6
  "build:artifact": "npx simple-artifact-builder zip"
@@ -1,4 +1,4 @@
1
1
  #!/bin/bash
2
2
 
3
3
  # if exists a .nvmrc, then `nvm use`, to use the specified version
4
- [[ -f ".nvmrc" ]] && nvm use
4
+ # [[ -f ".nvmrc" ]] && nvm use # todo: find a way to share nvm permissions
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "scripts": {
3
- "postinstall": "[ -d .git ] && npx husky install || exit 0"
3
+ "prepare:husky": "npx husky install && chmod ug+x .husky/*",
4
+ "postinstall": "[ -d .git ] && npm run prepare:husky || exit 0"
4
5
  },
5
6
  "devDependencies": {
6
7
  "husky": "@declapract{check.minVersion('8.0.3')}"
@@ -12,7 +12,7 @@ import {
12
12
  *
13
13
  * example usage:
14
14
  * ```
15
- * const findById = withDatabaseConnection(({ id }: { id: string }, context: { dbConnection: DatabaseConnection }) => {
15
+ * const findById = withDatabaseContext(({ id }: { id: string }, context: { dbConnection: DatabaseConnection }) => {
16
16
  * // do logic with dbConnection
17
17
  * });
18
18
  * // ...
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "declapract-typescript-ehmpathy",
3
3
  "author": "ehmpathy",
4
4
  "description": "declapract best practices declarations for typescript",
5
- "version": "0.33.11",
5
+ "version": "0.33.13",
6
6
  "main": "src/index.js",
7
7
  "repository": "ehmpathy/declapract-typescript-ehmpathy",
8
8
  "homepage": "https://github.com/ehmpathy/declapract-typescript-ehmpathy",