Withdrew protobuf from package, ignores, etc.

This commit is contained in:
elweyn 2021-10-27 15:53:12 +02:00
parent af43222736
commit fe15226f6f
4 changed files with 1 additions and 12 deletions

View File

@ -42,8 +42,6 @@ jobs:
##########################################################################
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: true
##########################################################################
# BACKEND ################################################################
##########################################################################

3
.gitmodules vendored
View File

@ -34,6 +34,3 @@
[submodule "login_server/dependencies/protobuf"]
path = login_server/dependencies/protobuf
url = https://github.com/protocolbuffers/protobuf.git
[submodule "backend/src/proto"]
path = backend/src/proto
url = git@github.com:gradido/gradido_protocol.git

View File

@ -1,4 +1,2 @@
node_modules
**/*.min.js
build
src/proto/bundle.d.ts

View File

@ -8,17 +8,14 @@
"license": "MIT",
"private": false,
"scripts": {
"prebuild": "mkdir -p build/proto && pbjs -t static-module -w commonjs -o build/proto/bundle.js src/proto/gradido/*.proto && pbts -o src/proto/bundle.d.ts build/proto/bundle.js",
"build": "tsc --build",
"clean": "tsc --build --clean",
"start": "node build/index.js",
"predev": "pbjs -t static-module -w commonjs -o src/proto/bundle.js src/proto/gradido/*.proto && pbts -o src/proto/bundle.d.ts src/proto/bundle.js",
"dev": "nodemon -w src --ext ts --exec ts-node src/index.ts",
"lint": "eslint . --ext .js,.ts",
"test": "jest --coverage"
},
"dependencies": {
"@apollo/protobufjs": "^1.2.2",
"@types/jest": "^27.0.2",
"apollo-server-express": "^2.25.2",
"axios": "^0.21.1",
@ -56,7 +53,6 @@
"eslint-plugin-promise": "^5.1.0",
"nodemon": "^2.0.7",
"prettier": "^2.3.1",
"protobufjs": "^6.11.2",
"ts-node": "^10.0.0",
"typescript": "^4.3.4"
},