Skip to content

Commit

Permalink
chore: update package json
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonxiang committed Sep 23, 2024
1 parent c9af9f1 commit f9e0caa
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 8 deletions.
21 changes: 21 additions & 0 deletions packages/vscode/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 BrandonX

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
12 changes: 9 additions & 3 deletions packages/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-protobuf-to-typescript",
"displayName": "Protobuf To Typescript",
"description": "Convert protobuf struct to typescript type",
"version": "0.0.7",
"version": "0.0.8",
"private": true,
"icon": "icon.png",
"publisher": "yishi",
Expand All @@ -17,6 +17,11 @@
"type": "git",
"url": "git+https://github.com/brandonxiang/protobuf-to-typescript.git"
},
"activationEvents": [
"onCommand:pbToTypescript.fromSelection",
"onCommand:pbToTypescript.fromClipboard",
"onCommand:pbToTypescript.convertOnAir"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
Expand Down Expand Up @@ -92,7 +97,8 @@
"watch": "npm run -S esbuild-base -- --sourcemap --watch",
"pretest": "npm run build && npm run lint",
"lint": "eslint src --ext ts",
"will-test": "node ./out/test/runTest.js"
"will-test": "node ./out/test/runTest.js",
"publish": "pnpm vsce publish --no-dependencies"
},
"devDependencies": {
"@types/copy-paste": "^1.1.30",
Expand All @@ -112,7 +118,7 @@
"rimraf": "^3.0.2"
},
"dependencies": {
"pbts": "^4.0.5",
"pbts": "^4.0.6",
"copy-paste": "1.3.0"
}
}
2 changes: 1 addition & 1 deletion packages/web/app/pages/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ message MyResponse {
let dest = '';
let selectedDefinition = localStorage.getItem('selectedDefinition') || 'typescript';
let selectedMode = localStorage.getItem('selectedMode') || 'normal';
let selectedMode = localStorage.getItem('selectedMode') || 'strict';
let isWarning = false;
Expand Down
2 changes: 1 addition & 1 deletion packages/web/app/pages/mock.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ message HelloReply {
let isWarning = false;
let methodNames = [];
let selectedMode = localStorage.getItem('selectedMode') || 'normal';
let selectedMode = localStorage.getItem('selectedMode') || 'strict';
function onProtobuf() {
const methods = pbToTypescript.getAllMethods('syntax = "proto3";' + src);
Expand Down
2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"svelte": "^4.2.18",
"pbts": "^4.0.5",
"pbts": "^4.0.6",
"clipboard": "^2.0.11",
"protobufjs": "^7.3.3",
"svelte-codemirror-editor": "^1.4.0",
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

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

0 comments on commit f9e0caa

Please sign in to comment.