@samanbayaka/core 0.0.7 → 0.0.10

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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @samanbayaka/core
2
2
 
3
+ ## 0.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 6e06019: fixed
8
+ - fixed
9
+
10
+ ## 0.0.9
11
+
12
+ ### Patch Changes
13
+
14
+ - e799c27: fixed
15
+
16
+ ## 0.0.8
17
+
18
+ ### Patch Changes
19
+
20
+ - 2853d1c: fixed
21
+
3
22
  ## 0.0.7
4
23
 
5
24
  ### Patch Changes
@@ -14,11 +14,8 @@ const require = createRequire(import.meta.url)
14
14
  /**
15
15
  * Project absolute path
16
16
  */
17
- export const ABSOLUTE_PATH = path.join(__filename.split('/@samanbayaka/')[0], "samanbayaka")
18
- export const ABSOLUTE_PATH = path.join(__filename, "../..")
19
-
20
- console.log("=================================", ABSOLUTE_PATH)
21
-
17
+ // export const ABSOLUTE_PATH = path.join(__filename.split('/@samanbayaka/')[0], "samanbayaka")
18
+ export const ABSOLUTE_PATH = path.join(__filename, "../../..")
22
19
 
23
20
  /**
24
21
  * Demo services directory
@@ -93,7 +90,8 @@ const pkgMain = readPkg(ABSOLUTE_PATH)
93
90
  * @type {Object}
94
91
  */
95
92
  export const pkgInfo = {
96
- name: pkgMain.name.split('-')[0]
93
+ name: pkgMain.name.split('/')[0]
94
+ .replace(/^@/, "")
97
95
  .split(" ")
98
96
  .map(word => word.charAt(0).toUpperCase() + word.slice(1))
99
97
  .join(" "),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samanbayaka/core",
3
- "version": "0.0.7",
3
+ "version": "0.0.10",
4
4
  "description": "Moleculer Gateway service with kafka transporter",
5
5
  "homepage": "https://gitlab.com/dalal.suvendu/samanbayaka#readme",
6
6
  "bugs": {