chyz 1.0.13-rc.5 → 1.0.13-rc.6

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/README.md CHANGED
@@ -86,8 +86,7 @@ export class CustomerCLass extends Model {
86
86
  }
87
87
 
88
88
  }
89
- const Customer= new CustomerCLass();
90
- export { Customer };
89
+
91
90
 
92
91
  ```
93
92
  ````typescript
@@ -129,8 +128,7 @@ export class ProductsClass extends Model {
129
128
  }
130
129
  }
131
130
 
132
- const Products = new ProductsClass()
133
- export {Products}
131
+
134
132
  ````
135
133
 
136
134
  ## Http POST ve GET verilerini model'e yükleme
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "chyz",
3
+ "version": " 1.0.13-rc.6",
4
+ "description": "Nodejs MicroServis Framework",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "dev": "nodemon -t --trace-warnings index.ts",
8
+ "debug": "ts-node index.ts",
9
+ "build": "rmdir /S /Q .\\dist && npx tsc && xcopy .\\log .\\dist\\log /e /i /h /Y && copy .\\package.json .\\dist\\package.json",
10
+ "publish": "cd dist && npm publish",
11
+ "test": "echo \"Error: no test specified\" && exit 1",
12
+ "postversion": "git push && git push --tags"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/cihan53/Chy-Nodejs-Framework.git"
17
+ },
18
+ "author": "Cihan Ozturk",
19
+ "license": "MIT",
20
+ "bugs": {
21
+ "url": "https://github.com/cihan53/Chy-Nodejs-Framework/issues"
22
+ },
23
+ "homepage": "https://github.com/cihan53/Chy-Nodejs-Framework#readme",
24
+ "dependencies": {
25
+ "axios": "^0.23.0",
26
+ "babel-plugin-transform-decorators-legacy": "^1.3.5",
27
+ "body-parser": "^1.19.0",
28
+ "dotenv-flow": "^3.2.0",
29
+ "express": "^4.17.1",
30
+ "express-session": "^1.17.2",
31
+ "glob": "^7.1.7",
32
+ "ip": "^1.1.5",
33
+ "jsonwebtoken": "^8.5.1",
34
+ "lodash": "^4.17.21",
35
+ "log4js": "^6.3.0",
36
+ "method-override": "^3.0.0",
37
+ "passport": "^0.4.1",
38
+ "pg": "^8.7.1",
39
+ "pg-hstore": "^2.3.4",
40
+ "reflect-metadata": "^0.1.13",
41
+ "sequelize": "^6.6.5"
42
+ },
43
+ "devDependencies": {
44
+ "@types/express": "^4.17.13",
45
+ "@types/node": "^16.6.1",
46
+ "@types/validator": "^13.6.3",
47
+ "nodemon": "^2.0.12",
48
+ "ts-node": "^10.2.0",
49
+ "typescript": "^4.3.5"
50
+ },
51
+ "keywords": [
52
+ "Framework",
53
+ "RespAPI",
54
+ "microservice"
55
+ ]
56
+ }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "chyz",
3
- "version": " 1.0.13-rc.5",
3
+ "version": " 1.0.13-rc.6",
4
4
  "description": "Nodejs MicroServis Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "dev": "nodemon -t --trace-warnings index.ts",
8
8
  "debug": "ts-node index.ts",
9
- "build": "rmdir /S /Q .\\dist && npx tsc && xcopy .\\log .\\dist\\log /e /i /h /Y",
9
+ "build": "rmdir /S /Q .\\dist && npx tsc && xcopy .\\log .\\dist\\log /e /i /h /Y && copy .\\package.json .\\dist\\package.json",
10
10
  "publish": "cd dist && npm publish",
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "postversion": "git push && git push --tags"