@outlyapp/contracts 1.0.0 → 1.0.3

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,3 +1,6 @@
1
+
1
2
  export * as auth from "./auth/auth";
2
3
  export * as listings from "./listings/listings";
3
4
  export * as users from "./users/users";
5
+
6
+ export * from "./paths";
@@ -0,0 +1,5 @@
1
+ import { join } from "path";
2
+
3
+ export const AUTH_PROTO_PATH = join(__dirname, "../auth/auth.proto");
4
+ export const LISTINGS_PROTO_PATH = join(__dirname, "../listings/listings.proto");
5
+ export const USERS_PROTO_PATH = join(__dirname, "../users/users.proto");
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@outlyapp/contracts",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
7
7
  "generated"
8
8
  ],
9
- "main": "generated/index.js",
9
+ "main": "generated/index.js",
10
10
  "types": "generated/index.d.ts",
11
11
  "publishConfig": {
12
- "access": "public"
13
- },
14
- "scripts": {
15
- "clean": "rm -rf generated",
16
- "gen": "pnpm clean && node scripts/gen.js",
17
- "publish:contracts": "pnpm gen && npm publish --access public ."
18
- },
12
+ "access": "public"
13
+ },
14
+ "scripts": {
15
+ "clean": "rm -rf generated",
16
+ "gen": "pnpm clean && node scripts/gen.js",
17
+ "publish:contracts": "pnpm gen && git add . && git commit -m 'chore: update generated contracts' && npm version patch && npm publish --access public"
18
+ },
19
19
  "devDependencies": {
20
20
  "protobufjs": "^7.0.0",
21
21
  "ts-proto": "^1.173.0",
@@ -26,4 +26,4 @@
26
26
  "@nestjs/microservices": "^11.1.14",
27
27
  "rxjs": "^7.8.2"
28
28
  }
29
- }
29
+ }