Skip to content

Commit

Permalink
Merge pull request #12 from pioneers/protos2
Browse files Browse the repository at this point in the history
Protos2
  • Loading branch information
snowNnik authored Aug 19, 2024
2 parents 58502c7 + ce37c03 commit 1e1e89b
Show file tree
Hide file tree
Showing 8 changed files with 4,460 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ npm-debug.log.*
!.erb

docs

# Ignore protos auto-generated files
protos-main
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ npm-debug.log.*
*.scss.d.ts

docs/

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
protos-main
111 changes: 111 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"start:main": "cross-env NODE_ENV=development electronmon -r ts-node/register/transpile-only .",
"start:preload": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.preload.dev.ts",
"start:renderer": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack serve --config ./.erb/configs/webpack.config.renderer.dev.ts",
"test": "jest"
"test": "jest",
"build-protos": "pbjs -t static-module -w es6 -o protos-main/protos.js protos-main/protos/*.proto && pbts -o protos-main/protos.d.ts protos-main/protos.js "
},
"browserslist": [],
"prettier": {
Expand Down Expand Up @@ -104,6 +105,7 @@
"electron-debug": "^3.2.0",
"electron-log": "^4.4.8",
"electron-updater": "^6.1.4",
"protobufjs": "^6.10.3",
"react": "^18.2.0",
"react-ace": "^12.0.0",
"react-dom": "^18.2.0",
Expand Down Expand Up @@ -157,6 +159,7 @@
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.7.6",
"prettier": "^3.0.3",
"protobufjs": "git://github.com/VitalyName/protobuf.js.git#236a7c757a5eada7926fdff149d0b49ada838275",
"react-refresh": "^0.14.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^5.0.1",
Expand Down
1 change: 1 addition & 0 deletions protos-main/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './protos';
Loading

0 comments on commit 1e1e89b

Please sign in to comment.