@molecule-dev/ticketapp-contracts 1.0.0 → 1.0.2
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 +1 -1
- package/gen/auth.ts +1 -1
- package/package.json +9 -2
- package/.claude/settings.local.json +0 -8
- package/.github/workflows/publish.yml +0 -32
- package/.npmginore +0 -40
package/README.md
CHANGED
package/gen/auth.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule-dev/ticketapp-contracts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
9
|
"description": "Protocol Buffer definitions and generated TypeScript code",
|
|
10
|
+
"exports": {
|
|
11
|
+
"./contracts/gen/auth": {
|
|
12
|
+
"types": "./gen/auth.ts",
|
|
13
|
+
"default": "./gen/auth.ts"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
10
16
|
"scripts": {
|
|
11
17
|
"generate": "protoc --proto_path=./proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit ./proto/*.proto"
|
|
12
18
|
},
|
|
13
19
|
"dependencies": {
|
|
14
20
|
"@nestjs/microservices": "^11.1.11",
|
|
15
|
-
"rxjs": "^7.8.2"
|
|
21
|
+
"rxjs": "^7.8.2",
|
|
22
|
+
"ts-proto": "^2.10.1"
|
|
16
23
|
}
|
|
17
24
|
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
name: Publish Package
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
publish:
|
|
10
|
-
name: Publish to NPM
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
|
|
13
|
-
steps:
|
|
14
|
-
- name: Checkout repository
|
|
15
|
-
uses: actions/checkout@v4
|
|
16
|
-
|
|
17
|
-
- name: Setup Node.js
|
|
18
|
-
uses: actions/setup-node@v4
|
|
19
|
-
with:
|
|
20
|
-
node-version: 20
|
|
21
|
-
registry-url: https://registry.npmjs.org/
|
|
22
|
-
|
|
23
|
-
- name: Install deps
|
|
24
|
-
uses: yarn install --frozen-lockfile
|
|
25
|
-
|
|
26
|
-
- name: Generate TS Protobuf
|
|
27
|
-
uses: yarn run generate
|
|
28
|
-
|
|
29
|
-
- name: Publish to NPM
|
|
30
|
-
run: npm publish
|
|
31
|
-
env:
|
|
32
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/.npmginore
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# Node / package managers
|
|
2
|
-
node_modules
|
|
3
|
-
npm-debug.log*
|
|
4
|
-
yarn-debug.log*
|
|
5
|
-
yarn-error.log*
|
|
6
|
-
pnpm-debug.log*
|
|
7
|
-
|
|
8
|
-
# Build tools & configs
|
|
9
|
-
.eslintrc
|
|
10
|
-
.eslintrc.*
|
|
11
|
-
.prettierrc
|
|
12
|
-
.prettierrc.*
|
|
13
|
-
.editorconfig
|
|
14
|
-
tsconfig*.json
|
|
15
|
-
jest.config.*
|
|
16
|
-
vitest.config.*
|
|
17
|
-
webpack.config.*
|
|
18
|
-
rollup.config.*
|
|
19
|
-
vite.config.*
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# Git & GitHub
|
|
23
|
-
.git
|
|
24
|
-
.gitignore
|
|
25
|
-
.github
|
|
26
|
-
|
|
27
|
-
# Environment files
|
|
28
|
-
.env
|
|
29
|
-
.env.*
|
|
30
|
-
.env.local
|
|
31
|
-
|
|
32
|
-
# Docs & misc
|
|
33
|
-
docs
|
|
34
|
-
examples
|
|
35
|
-
*.md
|
|
36
|
-
|
|
37
|
-
# OS / IDE
|
|
38
|
-
.DS_Store
|
|
39
|
-
.idea
|
|
40
|
-
.vscode
|