Skip to content

Commit

Permalink
feat: parse path template using regexes (#823)
Browse files Browse the repository at this point in the history
* get rid of pegjs

* clean up

* comments

* remove pegjs dependency

* error messages

* feedback
  • Loading branch information
xiaozhenliu-gg5 authored May 21, 2020
1 parent d53e169 commit 392a392
Show file tree
Hide file tree
Showing 7 changed files with 163 additions and 1,035 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"mocha": "^7.0.0",
"ncp": "^2.0.0",
"null-loader": "^4.0.0",
"pegjs": "~0.10.0",
"proxyquire": "^2.0.1",
"pumpify": "^2.0.0",
"puppeteer": "^2.0.0",
Expand All @@ -88,7 +87,7 @@
"test": "c8 mocha build/test/unit",
"lint": "gts check",
"clean": "gts clean",
"compile": "tsc -p . && cp src/*.json build/src && cp src/*.js build/src && cp -r test/fixtures build/test",
"compile": "tsc -p . && cp src/*.json build/src && cp -r test/fixtures build/test",
"compile-operation-protos": "pbjs -t json google/longrunning/operations.proto -p ./protos > protos/operations.json && pbjs -t json google/rpc/status.proto google/rpc/error_details.proto google/protobuf/any.proto -p ./protos > protos/status.json && pbjs -t static-module google/longrunning/operations.proto -p ./protos > protos/operations.js && pbts protos/operations.js -o protos/operations.d.ts",
"compile-iam-protos": "pbjs -t json google/iam/v1/iam_policy.proto google/iam/v1/options.proto google/iam/v1/policy.proto google/iam/v1/logging/audit_data.proto -p ./protos > protos/iam_service.json && pbjs -t static-module google/iam/v1/iam_policy.proto google/iam/v1/options.proto google/iam/v1/policy.proto google/iam/v1/logging/audit_data.proto -p ./protos > protos/iam_service.js && pbts protos/iam_service.js -o protos/iam_service.d.ts",
"fix": "gts fix",
Expand Down
97 changes: 0 additions & 97 deletions src/parserExtras.ts

This file was deleted.

Loading

0 comments on commit 392a392

Please sign in to comment.