Repository: stephenh/ts-proto
Pull request #1040 (2024-05-13 20:59:54)

feat: optionally output versions used to generate files
### Description

- Add the `annotateFilesWithVersion` option so that changes are correctly captured in CI (eliminating noise on each file)
- Added this option to the README

stephenh: This is great, thanks @lukealvoeiro !

Patch:
diff --git a/README.markdown b/README.markdown
index 7fe36872..07c84c65 100644
--- a/README.markdown
+++ b/README.markdown
@@ -432,6 +432,8 @@ Generated code will be placed in the Gradle build directory.
 
 - With `--ts_proto_opt=useMongoObjectId=true`, fields of a type called ObjectId where the message is constructed to have on field called value that is a string will be mapped to type `mongodb.ObjectId` in the generated types. This will require your project to install the mongodb npm package. See [ObjectId](#objectid) for more details.
 
+- With `--ts_proto_opt=annotateFilesWithVersion=false`, the generated files will not contain the versions of `protoc` and `ts-proto` used to generate the file. This option is normally set to `true`, such that files list the versions used.
+
 - With `--ts_proto_opt=outputSchema=true`, meta typings will be generated that can later be used in other code generators.
 
 - With `--ts_proto_opt=outputTypeAnnotations=true`, each message will be given a `$type` field containing its fully-qualified name. You can use `--ts_proto_opt=outputTypeAnnotations=static-only` to omit it from the `interface` declaration, or `--ts_proto_opt=outputTypeAnnotations=optional` to make it an optional property on the `interface` definition. The latter option may be useful if you want to use the `$type` field for runtime type checking on responses from a server.
@@ -787,9 +789,7 @@ The following helper types may make it easier to work with the types generated f
 type OneOfCases<T> = T extends { $case: infer U extends string } ? U : never;
 
 /** Extracts a union of all the value types from a oneOf field */
-type OneOfValues<T> = T extends { $case: infer U extends string; [key: string]: unknown }
-  ? T[U]
-  : never;
+type OneOfValues<T> = T extends { $case: infer U extends string; [key: string]: unknown } ? T[U] : never;
 
 /** Extracts the specific type of a oneOf case based on its field name */
 type OneOfCase<T, K extends OneOfCases<T>> = T extends {
diff --git a/integration/angular/simple-message.ts b/integration/angular/simple-message.ts
index c199d432..ced8744d 100644
--- a/integration/angular/simple-message.ts
+++ b/integration/angular/simple-message.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple-message.proto
 
 /* eslint-disable */
diff --git a/integration/async-iterable-services-abort-signal/simple.ts b/integration/async-iterable-services-abort-signal/simple.ts
index 028d5156..262a90ff 100644
--- a/integration/async-iterable-services-abort-signal/simple.ts
+++ b/integration/async-iterable-services-abort-signal/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/async-iterable-services/simple.ts b/integration/async-iterable-services/simple.ts
index 1d3c2edd..778d0d35 100644
--- a/integration/async-iterable-services/simple.ts
+++ b/integration/async-iterable-services/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/avoid-import-conflicts-folder-name/ui.ts b/integration/avoid-import-conflicts-folder-name/ui.ts
index e540b4f5..a21ef448 100644
--- a/integration/avoid-import-conflicts-folder-name/ui.ts
+++ b/integration/avoid-import-conflicts-folder-name/ui.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: ui.proto
 
 /* eslint-disable */
diff --git a/integration/avoid-import-conflicts-folder-name/ui/simple.ts b/integration/avoid-import-conflicts-folder-name/ui/simple.ts
index 853fad2c..6c78adf9 100644
--- a/integration/avoid-import-conflicts-folder-name/ui/simple.ts
+++ b/integration/avoid-import-conflicts-folder-name/ui/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: ui/simple.proto
 
 /* eslint-disable */
diff --git a/integration/avoid-import-conflicts-types-only/simple.ts b/integration/avoid-import-conflicts-types-only/simple.ts
index 1601e532..c3985415 100644
--- a/integration/avoid-import-conflicts-types-only/simple.ts
+++ b/integration/avoid-import-conflicts-types-only/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/avoid-import-conflicts-types-only/simple2.ts b/integration/avoid-import-conflicts-types-only/simple2.ts
index c9aa26b6..2750c858 100644
--- a/integration/avoid-import-conflicts-types-only/simple2.ts
+++ b/integration/avoid-import-conflicts-types-only/simple2.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple2.proto
 
 /* eslint-disable */
diff --git a/integration/avoid-import-conflicts/simple.ts b/integration/avoid-import-conflicts/simple.ts
index e359f97f..874442f9 100644
--- a/integration/avoid-import-conflicts/simple.ts
+++ b/integration/avoid-import-conflicts/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/avoid-import-conflicts/simple2.ts b/integration/avoid-import-conflicts/simple2.ts
index fbbdee77..2551dc40 100644
--- a/integration/avoid-import-conflicts/simple2.ts
+++ b/integration/avoid-import-conflicts/simple2.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple2.proto
 
 /* eslint-disable */
diff --git a/integration/barrel-imports/bar.ts b/integration/barrel-imports/bar.ts
index 8f5bf172..25079c63 100644
--- a/integration/barrel-imports/bar.ts
+++ b/integration/barrel-imports/bar.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: bar.proto
 
 /* eslint-disable */
diff --git a/integration/barrel-imports/foo.ts b/integration/barrel-imports/foo.ts
index 289b9533..d6697000 100644
--- a/integration/barrel-imports/foo.ts
+++ b/integration/barrel-imports/foo.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: foo.proto
 
 /* eslint-disable */
diff --git a/integration/batching-with-context-esModuleInterop/batching.ts b/integration/batching-with-context-esModuleInterop/batching.ts
index a9751aa6..ab4d868f 100644
--- a/integration/batching-with-context-esModuleInterop/batching.ts
+++ b/integration/batching-with-context-esModuleInterop/batching.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: batching.proto
 
 /* eslint-disable */
diff --git a/integration/batching-with-context/batching.ts b/integration/batching-with-context/batching.ts
index 6cfef064..f76ac3be 100644
--- a/integration/batching-with-context/batching.ts
+++ b/integration/batching-with-context/batching.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: batching.proto
 
 /* eslint-disable */
diff --git a/integration/batching/batching.ts b/integration/batching/batching.ts
index 9045190f..5b68015e 100644
--- a/integration/batching/batching.ts
+++ b/integration/batching/batching.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: batching.proto
 
 /* eslint-disable */
diff --git a/integration/before-after-request-streaming/example.ts b/integration/before-after-request-streaming/example.ts
index 1f75445f..a442d91f 100644
--- a/integration/before-after-request-streaming/example.ts
+++ b/integration/before-after-request-streaming/example.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: example.proto
 
 /* eslint-disable */
diff --git a/integration/before-after-request-streaming/google/protobuf/wrappers.ts b/integration/before-after-request-streaming/google/protobuf/wrappers.ts
index 6159c1b4..f7516ba9 100644
--- a/integration/before-after-request-streaming/google/protobuf/wrappers.ts
+++ b/integration/before-after-request-streaming/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/before-after-request/simple.ts b/integration/before-after-request/simple.ts
index acb3188c..3306eafc 100644
--- a/integration/before-after-request/simple.ts
+++ b/integration/before-after-request/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/before-after-request/simple2.ts b/integration/before-after-request/simple2.ts
index fbbdee77..2551dc40 100644
--- a/integration/before-after-request/simple2.ts
+++ b/integration/before-after-request/simple2.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple2.proto
 
 /* eslint-disable */
diff --git a/integration/bytes-as-base64-browser/message.ts b/integration/bytes-as-base64-browser/message.ts
index b0d3cd51..f525e87d 100644
--- a/integration/bytes-as-base64-browser/message.ts
+++ b/integration/bytes-as-base64-browser/message.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: message.proto
 
 /* eslint-disable */
diff --git a/integration/bytes-as-base64-node/message.ts b/integration/bytes-as-base64-node/message.ts
index f464f96e..b1c8248c 100644
--- a/integration/bytes-as-base64-node/message.ts
+++ b/integration/bytes-as-base64-node/message.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: message.proto
 
 /* eslint-disable */
diff --git a/integration/bytes-as-base64/message.ts b/integration/bytes-as-base64/message.ts
index fb1932c7..eadf1a34 100644
--- a/integration/bytes-as-base64/message.ts
+++ b/integration/bytes-as-base64/message.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: message.proto
 
 /* eslint-disable */
diff --git a/integration/bytes-node/google/protobuf/wrappers.ts b/integration/bytes-node/google/protobuf/wrappers.ts
index 79e4d941..4f87f798 100644
--- a/integration/bytes-node/google/protobuf/wrappers.ts
+++ b/integration/bytes-node/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/bytes-node/point.ts b/integration/bytes-node/point.ts
index b6c48b55..7baa7f7c 100644
--- a/integration/bytes-node/point.ts
+++ b/integration/bytes-node/point.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: point.proto
 
 /* eslint-disable */
diff --git a/integration/codegen.ts b/integration/codegen.ts
index f531cbc9..71312b59 100644
--- a/integration/codegen.ts
+++ b/integration/codegen.ts
@@ -31,6 +31,16 @@ async function generate(binFile: string, baseDir: string, parameter: string) {
   const { protocVersion, tsProtoVersion } = await getVersions(request);
 
   const options = optionsFromParameter(parameter || "");
+
+  // we have to check for the parameter as a string here because the
+  // default value of the parameter is true.
+  if (parameter.includes("annotateFilesWithVersion=true")) {
+    options.annotateFilesWithVersion = true;
+  } else {
+    // we practically always want to not annotate files with version in tests
+    // as this will make snapshots fail on every version bump
+    options.annotateFilesWithVersion = false;
+  }
   const typeMap = createTypeMap(request, options);
 
   for (let file of request.protoFile) {
diff --git a/integration/const-enum/const-enum.ts b/integration/const-enum/const-enum.ts
index 5fdb2a63..2c73f9be 100644
--- a/integration/const-enum/const-enum.ts
+++ b/integration/const-enum/const-enum.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: const-enum.proto
 
 /* eslint-disable */
diff --git a/integration/default-with-custom-metadata/default-with-custom-metadata.ts b/integration/default-with-custom-metadata/default-with-custom-metadata.ts
index 0970df7f..289ea45a 100644
--- a/integration/default-with-custom-metadata/default-with-custom-metadata.ts
+++ b/integration/default-with-custom-metadata/default-with-custom-metadata.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: default-with-custom-metadata.proto
 
 /* eslint-disable */
diff --git a/integration/default-with-metadata/default-with-metadata.ts b/integration/default-with-metadata/default-with-metadata.ts
index 1e29437d..e920fb53 100644
--- a/integration/default-with-metadata/default-with-metadata.ts
+++ b/integration/default-with-metadata/default-with-metadata.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: default-with-metadata.proto
 
 /* eslint-disable */
diff --git a/integration/emit-default-values-json/google/protobuf/timestamp.ts b/integration/emit-default-values-json/google/protobuf/timestamp.ts
index 2f859c4c..8b52fafe 100644
--- a/integration/emit-default-values-json/google/protobuf/timestamp.ts
+++ b/integration/emit-default-values-json/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/enums-as-literals-with-string-enums/enums-as-literals-with-string-enums.ts b/integration/enums-as-literals-with-string-enums/enums-as-literals-with-string-enums.ts
index 9886183c..9ac5512a 100644
--- a/integration/enums-as-literals-with-string-enums/enums-as-literals-with-string-enums.ts
+++ b/integration/enums-as-literals-with-string-enums/enums-as-literals-with-string-enums.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: enums-as-literals-with-string-enums.proto
 
 /* eslint-disable */
diff --git a/integration/enums-as-literals/enums-as-literals.ts b/integration/enums-as-literals/enums-as-literals.ts
index 81796eb2..addcfe3e 100644
--- a/integration/enums-as-literals/enums-as-literals.ts
+++ b/integration/enums-as-literals/enums-as-literals.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: enums-as-literals.proto
 
 /* eslint-disable */
diff --git a/integration/fieldmask-optional-all/fieldmask-optional.ts b/integration/fieldmask-optional-all/fieldmask-optional.ts
index 56ce0d4a..58a4d9c5 100644
--- a/integration/fieldmask-optional-all/fieldmask-optional.ts
+++ b/integration/fieldmask-optional-all/fieldmask-optional.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: fieldmask-optional.proto
 
 /* eslint-disable */
diff --git a/integration/fieldmask-optional-all/google/protobuf/field_mask.ts b/integration/fieldmask-optional-all/google/protobuf/field_mask.ts
index 2b8645d2..e56f93d8 100644
--- a/integration/fieldmask-optional-all/google/protobuf/field_mask.ts
+++ b/integration/fieldmask-optional-all/google/protobuf/field_mask.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/field_mask.proto
 
 /* eslint-disable */
diff --git a/integration/fieldmask/fieldmask.ts b/integration/fieldmask/fieldmask.ts
index 86972954..5cf3a8a1 100644
--- a/integration/fieldmask/fieldmask.ts
+++ b/integration/fieldmask/fieldmask.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: fieldmask.proto
 
 /* eslint-disable */
diff --git a/integration/fieldmask/google/protobuf/field_mask.ts b/integration/fieldmask/google/protobuf/field_mask.ts
index a74cfa99..f949705d 100644
--- a/integration/fieldmask/google/protobuf/field_mask.ts
+++ b/integration/fieldmask/google/protobuf/field_mask.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/field_mask.proto
 
 /* eslint-disable */
diff --git a/integration/fieldoption-jstype-with-forcelong-bigint/fieldoption-jstype-with-forcelong-bigint.ts b/integration/fieldoption-jstype-with-forcelong-bigint/fieldoption-jstype-with-forcelong-bigint.ts
index 212b1106..b2f152b8 100644
--- a/integration/fieldoption-jstype-with-forcelong-bigint/fieldoption-jstype-with-forcelong-bigint.ts
+++ b/integration/fieldoption-jstype-with-forcelong-bigint/fieldoption-jstype-with-forcelong-bigint.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: fieldoption-jstype-with-forcelong-bigint.proto
 
 /* eslint-disable */
diff --git a/integration/fieldoption-jstype-with-forcelong-long/fieldoption-jstype-with-forcelong-long.ts b/integration/fieldoption-jstype-with-forcelong-long/fieldoption-jstype-with-forcelong-long.ts
index 59b97df5..45eee1cc 100644
--- a/integration/fieldoption-jstype-with-forcelong-long/fieldoption-jstype-with-forcelong-long.ts
+++ b/integration/fieldoption-jstype-with-forcelong-long/fieldoption-jstype-with-forcelong-long.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: fieldoption-jstype-with-forcelong-long.proto
 
 /* eslint-disable */
diff --git a/integration/fieldoption-jstype-with-forcelong-number/fieldoption-jstype-with-forcelong-number.ts b/integration/fieldoption-jstype-with-forcelong-number/fieldoption-jstype-with-forcelong-number.ts
index a286ac40..7d2d080f 100644
--- a/integration/fieldoption-jstype-with-forcelong-number/fieldoption-jstype-with-forcelong-number.ts
+++ b/integration/fieldoption-jstype-with-forcelong-number/fieldoption-jstype-with-forcelong-number.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: fieldoption-jstype-with-forcelong-number.proto
 
 /* eslint-disable */
diff --git a/integration/fieldoption-jstype-with-forcelong-string/fieldoption-jstype-with-forcelong-string.ts b/integration/fieldoption-jstype-with-forcelong-string/fieldoption-jstype-with-forcelong-string.ts
index 3382c0d9..53ee01a6 100644
--- a/integration/fieldoption-jstype-with-forcelong-string/fieldoption-jstype-with-forcelong-string.ts
+++ b/integration/fieldoption-jstype-with-forcelong-string/fieldoption-jstype-with-forcelong-string.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: fieldoption-jstype-with-forcelong-string.proto
 
 /* eslint-disable */
diff --git a/integration/fieldoption-jstype/fieldoption-jstype.ts b/integration/fieldoption-jstype/fieldoption-jstype.ts
index 67cb3c9f..9daccd4c 100644
--- a/integration/fieldoption-jstype/fieldoption-jstype.ts
+++ b/integration/fieldoption-jstype/fieldoption-jstype.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: fieldoption-jstype.proto
 
 /* eslint-disable */
diff --git a/integration/file-suffix/child.pb.ts b/integration/file-suffix/child.pb.ts
index 3713b2cc..26a04b03 100644
--- a/integration/file-suffix/child.pb.ts
+++ b/integration/file-suffix/child.pb.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: child.proto
 
 /* eslint-disable */
diff --git a/integration/file-suffix/google/protobuf/timestamp.pb.ts b/integration/file-suffix/google/protobuf/timestamp.pb.ts
index 835f3f18..150d84f3 100644
--- a/integration/file-suffix/google/protobuf/timestamp.pb.ts
+++ b/integration/file-suffix/google/protobuf/timestamp.pb.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/file-suffix/parent.pb.ts b/integration/file-suffix/parent.pb.ts
index fca471e3..158bc701 100644
--- a/integration/file-suffix/parent.pb.ts
+++ b/integration/file-suffix/parent.pb.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: parent.proto
 
 /* eslint-disable */
diff --git a/integration/fromJson-enums/from-json.ts b/integration/fromJson-enums/from-json.ts
index 25fbbe60..bdbeaeb2 100644
--- a/integration/fromJson-enums/from-json.ts
+++ b/integration/fromJson-enums/from-json.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: from-json.proto
 
 /* eslint-disable */
diff --git a/integration/generic-metadata/hero.ts b/integration/generic-metadata/hero.ts
index 0d7f13b3..ff70e637 100644
--- a/integration/generic-metadata/hero.ts
+++ b/integration/generic-metadata/hero.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: hero.proto
 
 /* eslint-disable */
diff --git a/integration/generic-service-definitions-and-services/simple.ts b/integration/generic-service-definitions-and-services/simple.ts
index 6adbda5f..7b93fdc6 100644
--- a/integration/generic-service-definitions-and-services/simple.ts
+++ b/integration/generic-service-definitions-and-services/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/generic-service-definitions/simple.ts b/integration/generic-service-definitions/simple.ts
index 6adbda5f..7b93fdc6 100644
--- a/integration/generic-service-definitions/simple.ts
+++ b/integration/generic-service-definitions/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/global-this/global-this.ts b/integration/global-this/global-this.ts
index 67b76a04..058ce33a 100644
--- a/integration/global-this/global-this.ts
+++ b/integration/global-this/global-this.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: global-this.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-js-use-date-false/google/protobuf/timestamp.ts b/integration/grpc-js-use-date-false/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/grpc-js-use-date-false/google/protobuf/timestamp.ts
+++ b/integration/grpc-js-use-date-false/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-js-use-date-false/grpc-js-use-date-false.ts b/integration/grpc-js-use-date-false/grpc-js-use-date-false.ts
index 4e9e2d3c..59b66b95 100644
--- a/integration/grpc-js-use-date-false/grpc-js-use-date-false.ts
+++ b/integration/grpc-js-use-date-false/grpc-js-use-date-false.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: grpc-js-use-date-false.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-js-use-date-string-nano/google/protobuf/timestamp.ts b/integration/grpc-js-use-date-string-nano/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/grpc-js-use-date-string-nano/google/protobuf/timestamp.ts
+++ b/integration/grpc-js-use-date-string-nano/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-js-use-date-string-nano/grpc-js-use-date-string-nano.ts b/integration/grpc-js-use-date-string-nano/grpc-js-use-date-string-nano.ts
index f1cd2c35..486a2d8b 100644
--- a/integration/grpc-js-use-date-string-nano/grpc-js-use-date-string-nano.ts
+++ b/integration/grpc-js-use-date-string-nano/grpc-js-use-date-string-nano.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: grpc-js-use-date-string-nano.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-js-use-date-string/google/protobuf/timestamp.ts b/integration/grpc-js-use-date-string/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/grpc-js-use-date-string/google/protobuf/timestamp.ts
+++ b/integration/grpc-js-use-date-string/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-js-use-date-string/grpc-js-use-date-string.ts b/integration/grpc-js-use-date-string/grpc-js-use-date-string.ts
index cf74ba65..61f03fde 100644
--- a/integration/grpc-js-use-date-string/grpc-js-use-date-string.ts
+++ b/integration/grpc-js-use-date-string/grpc-js-use-date-string.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: grpc-js-use-date-string.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-js-use-date-true/google/protobuf/timestamp.ts b/integration/grpc-js-use-date-true/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/grpc-js-use-date-true/google/protobuf/timestamp.ts
+++ b/integration/grpc-js-use-date-true/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-js-use-date-true/grpc-js-use-date-true.ts b/integration/grpc-js-use-date-true/grpc-js-use-date-true.ts
index 3969c3a3..8bea123a 100644
--- a/integration/grpc-js-use-date-true/grpc-js-use-date-true.ts
+++ b/integration/grpc-js-use-date-true/grpc-js-use-date-true.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: grpc-js-use-date-true.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-js/google/protobuf/empty.ts b/integration/grpc-js/google/protobuf/empty.ts
index 2c276461..6264973e 100644
--- a/integration/grpc-js/google/protobuf/empty.ts
+++ b/integration/grpc-js/google/protobuf/empty.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/empty.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-js/google/protobuf/struct.ts b/integration/grpc-js/google/protobuf/struct.ts
index 48c8311c..b8047720 100644
--- a/integration/grpc-js/google/protobuf/struct.ts
+++ b/integration/grpc-js/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-js/google/protobuf/timestamp.ts b/integration/grpc-js/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/grpc-js/google/protobuf/timestamp.ts
+++ b/integration/grpc-js/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-js/google/protobuf/wrappers.ts b/integration/grpc-js/google/protobuf/wrappers.ts
index 6159c1b4..f7516ba9 100644
--- a/integration/grpc-js/google/protobuf/wrappers.ts
+++ b/integration/grpc-js/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-js/simple.ts b/integration/grpc-js/simple.ts
index 9667cd58..23748d11 100644
--- a/integration/grpc-js/simple.ts
+++ b/integration/grpc-js/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-web-abort-signal/example.ts b/integration/grpc-web-abort-signal/example.ts
index f3487df2..e11aa1d1 100644
--- a/integration/grpc-web-abort-signal/example.ts
+++ b/integration/grpc-web-abort-signal/example.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: example.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-web-go-server/example.ts b/integration/grpc-web-go-server/example.ts
index d900d743..d13126d6 100644
--- a/integration/grpc-web-go-server/example.ts
+++ b/integration/grpc-web-go-server/example.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: example.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-web-no-streaming-observable/example.ts b/integration/grpc-web-no-streaming-observable/example.ts
index 3c1cca45..9ddf1b41 100644
--- a/integration/grpc-web-no-streaming-observable/example.ts
+++ b/integration/grpc-web-no-streaming-observable/example.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: example.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-web-no-streaming/example.ts b/integration/grpc-web-no-streaming/example.ts
index 422b9c36..9bceac0b 100644
--- a/integration/grpc-web-no-streaming/example.ts
+++ b/integration/grpc-web-no-streaming/example.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: example.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-web/example.ts b/integration/grpc-web/example.ts
index b6f9828b..041db834 100644
--- a/integration/grpc-web/example.ts
+++ b/integration/grpc-web/example.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: example.proto
 
 /* eslint-disable */
diff --git a/integration/grpc-web/google/protobuf/wrappers.ts b/integration/grpc-web/google/protobuf/wrappers.ts
index 6159c1b4..f7516ba9 100644
--- a/integration/grpc-web/google/protobuf/wrappers.ts
+++ b/integration/grpc-web/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/handle-error-in-default-service/simple.ts b/integration/handle-error-in-default-service/simple.ts
index 7958d508..e75c8ddf 100644
--- a/integration/handle-error-in-default-service/simple.ts
+++ b/integration/handle-error-in-default-service/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/handle-error-with-after-response/simple.ts b/integration/handle-error-with-after-response/simple.ts
index 3520ddf4..f7224df6 100644
--- a/integration/handle-error-with-after-response/simple.ts
+++ b/integration/handle-error-with-after-response/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/import-mapping/google/protobuf/timestamp.ts b/integration/import-mapping/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/import-mapping/google/protobuf/timestamp.ts
+++ b/integration/import-mapping/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/import-mapping/mapping.ts b/integration/import-mapping/mapping.ts
index b5124fc6..16739295 100644
--- a/integration/import-mapping/mapping.ts
+++ b/integration/import-mapping/mapping.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: mapping.proto
 
 /* eslint-disable */
diff --git a/integration/import-suffix/child.pb.ts b/integration/import-suffix/child.pb.ts
index e91f5784..2cf86141 100644
--- a/integration/import-suffix/child.pb.ts
+++ b/integration/import-suffix/child.pb.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: child.proto
 
 /* eslint-disable */
diff --git a/integration/import-suffix/google/protobuf/timestamp.pb.ts b/integration/import-suffix/google/protobuf/timestamp.pb.ts
index 48e7003f..0bc22a51 100644
--- a/integration/import-suffix/google/protobuf/timestamp.pb.ts
+++ b/integration/import-suffix/google/protobuf/timestamp.pb.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/import-suffix/parent.pb.ts b/integration/import-suffix/parent.pb.ts
index 578dc0a2..fc7f7314 100644
--- a/integration/import-suffix/parent.pb.ts
+++ b/integration/import-suffix/parent.pb.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: parent.proto
 
 /* eslint-disable */
diff --git a/integration/lower-case-svc-methods/math.ts b/integration/lower-case-svc-methods/math.ts
index d49a1922..c917b42e 100644
--- a/integration/lower-case-svc-methods/math.ts
+++ b/integration/lower-case-svc-methods/math.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: math.proto
 
 /* eslint-disable */
diff --git a/integration/meta-typings/google/protobuf/timestamp.ts b/integration/meta-typings/google/protobuf/timestamp.ts
index f5c64d39..f0abd8f1 100644
--- a/integration/meta-typings/google/protobuf/timestamp.ts
+++ b/integration/meta-typings/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/meta-typings/google/protobuf/wrappers.ts b/integration/meta-typings/google/protobuf/wrappers.ts
index eff22351..47ab03de 100644
--- a/integration/meta-typings/google/protobuf/wrappers.ts
+++ b/integration/meta-typings/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/meta-typings/google/type/date.ts b/integration/meta-typings/google/type/date.ts
index bc7cf499..b2fd9fc8 100644
--- a/integration/meta-typings/google/type/date.ts
+++ b/integration/meta-typings/google/type/date.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/type/date.proto
 
 /* eslint-disable */
diff --git a/integration/meta-typings/import_dir/thing.ts b/integration/meta-typings/import_dir/thing.ts
index 5edeb36c..f22df454 100644
--- a/integration/meta-typings/import_dir/thing.ts
+++ b/integration/meta-typings/import_dir/thing.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: import_dir/thing.proto
 
 /* eslint-disable */
diff --git a/integration/meta-typings/simple.ts b/integration/meta-typings/simple.ts
index 2f4b35db..3d20affc 100644
--- a/integration/meta-typings/simple.ts
+++ b/integration/meta-typings/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-metadata-grpc-js/hero.ts b/integration/nestjs-metadata-grpc-js/hero.ts
index 42676706..4f9fd2c7 100644
--- a/integration/nestjs-metadata-grpc-js/hero.ts
+++ b/integration/nestjs-metadata-grpc-js/hero.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: hero.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-metadata-observables/hero.ts b/integration/nestjs-metadata-observables/hero.ts
index 70412b64..3bbf6ca6 100644
--- a/integration/nestjs-metadata-observables/hero.ts
+++ b/integration/nestjs-metadata-observables/hero.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: hero.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-metadata-restparameters/hero.ts b/integration/nestjs-metadata-restparameters/hero.ts
index 14bc93d0..ae9a35d2 100644
--- a/integration/nestjs-metadata-restparameters/hero.ts
+++ b/integration/nestjs-metadata-restparameters/hero.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: hero.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-metadata/hero.ts b/integration/nestjs-metadata/hero.ts
index 3204f894..b0b4cfbf 100644
--- a/integration/nestjs-metadata/hero.ts
+++ b/integration/nestjs-metadata/hero.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: hero.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-restparameters/hero.ts b/integration/nestjs-restparameters/hero.ts
index 81aa6a4e..073a718a 100644
--- a/integration/nestjs-restparameters/hero.ts
+++ b/integration/nestjs-restparameters/hero.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: hero.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-simple-observables/hero.ts b/integration/nestjs-simple-observables/hero.ts
index b9a352bc..9ca7756d 100644
--- a/integration/nestjs-simple-observables/hero.ts
+++ b/integration/nestjs-simple-observables/hero.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: hero.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-simple-restparameters/google/protobuf/empty.ts b/integration/nestjs-simple-restparameters/google/protobuf/empty.ts
index 48d25a19..edaa6843 100644
--- a/integration/nestjs-simple-restparameters/google/protobuf/empty.ts
+++ b/integration/nestjs-simple-restparameters/google/protobuf/empty.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/empty.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-simple-restparameters/hero.ts b/integration/nestjs-simple-restparameters/hero.ts
index 82970a0e..93e7f6da 100644
--- a/integration/nestjs-simple-restparameters/hero.ts
+++ b/integration/nestjs-simple-restparameters/hero.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: hero.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-simple-usedate/google/protobuf/empty.ts b/integration/nestjs-simple-usedate/google/protobuf/empty.ts
index 48d25a19..edaa6843 100644
--- a/integration/nestjs-simple-usedate/google/protobuf/empty.ts
+++ b/integration/nestjs-simple-usedate/google/protobuf/empty.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/empty.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-simple-usedate/google/protobuf/timestamp.ts b/integration/nestjs-simple-usedate/google/protobuf/timestamp.ts
index a11b3e54..f318b72b 100644
--- a/integration/nestjs-simple-usedate/google/protobuf/timestamp.ts
+++ b/integration/nestjs-simple-usedate/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-simple-usedate/hero.ts b/integration/nestjs-simple-usedate/hero.ts
index 61a2de97..e4a81558 100644
--- a/integration/nestjs-simple-usedate/hero.ts
+++ b/integration/nestjs-simple-usedate/hero.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: hero.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-simple/google/protobuf/empty.ts b/integration/nestjs-simple/google/protobuf/empty.ts
index 48d25a19..edaa6843 100644
--- a/integration/nestjs-simple/google/protobuf/empty.ts
+++ b/integration/nestjs-simple/google/protobuf/empty.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/empty.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-simple/google/protobuf/struct.ts b/integration/nestjs-simple/google/protobuf/struct.ts
index 7a839ecb..5d837581 100644
--- a/integration/nestjs-simple/google/protobuf/struct.ts
+++ b/integration/nestjs-simple/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-simple/google/protobuf/timestamp.ts b/integration/nestjs-simple/google/protobuf/timestamp.ts
index 3b4f1846..20e07e5d 100644
--- a/integration/nestjs-simple/google/protobuf/timestamp.ts
+++ b/integration/nestjs-simple/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/nestjs-simple/hero.ts b/integration/nestjs-simple/hero.ts
index 39dc689f..bad14959 100644
--- a/integration/nestjs-simple/hero.ts
+++ b/integration/nestjs-simple/hero.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: hero.proto
 
 /* eslint-disable */
diff --git a/integration/nice-grpc/google/protobuf/empty.ts b/integration/nice-grpc/google/protobuf/empty.ts
index b5e06f41..45124417 100644
--- a/integration/nice-grpc/google/protobuf/empty.ts
+++ b/integration/nice-grpc/google/protobuf/empty.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/empty.proto
 
 /* eslint-disable */
diff --git a/integration/nice-grpc/google/protobuf/struct.ts b/integration/nice-grpc/google/protobuf/struct.ts
index 301efda6..ef6bde9f 100644
--- a/integration/nice-grpc/google/protobuf/struct.ts
+++ b/integration/nice-grpc/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/nice-grpc/google/protobuf/timestamp.ts b/integration/nice-grpc/google/protobuf/timestamp.ts
index db61d802..62599cfa 100644
--- a/integration/nice-grpc/google/protobuf/timestamp.ts
+++ b/integration/nice-grpc/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/nice-grpc/google/protobuf/wrappers.ts b/integration/nice-grpc/google/protobuf/wrappers.ts
index 898e5b10..f947bfa2 100644
--- a/integration/nice-grpc/google/protobuf/wrappers.ts
+++ b/integration/nice-grpc/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/nice-grpc/simple.ts b/integration/nice-grpc/simple.ts
index 273be1b4..2f1b018e 100644
--- a/integration/nice-grpc/simple.ts
+++ b/integration/nice-grpc/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/no-comments/simple.ts b/integration/no-comments/simple.ts
index daadcba0..faaf85a7 100644
--- a/integration/no-comments/simple.ts
+++ b/integration/no-comments/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/no-proto-package/no-proto-package.ts b/integration/no-proto-package/no-proto-package.ts
index 9e8de579..c6551381 100644
--- a/integration/no-proto-package/no-proto-package.ts
+++ b/integration/no-proto-package/no-proto-package.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: no-proto-package.proto
 
 /* eslint-disable */
diff --git a/integration/omit-optionals/simple.ts b/integration/omit-optionals/simple.ts
index ffd1a055..7536132d 100644
--- a/integration/omit-optionals/simple.ts
+++ b/integration/omit-optionals/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/oneof-properties/oneof.ts b/integration/oneof-properties/oneof.ts
index 3b39e539..241260b6 100644
--- a/integration/oneof-properties/oneof.ts
+++ b/integration/oneof-properties/oneof.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: oneof.proto
 
 /* eslint-disable */
diff --git a/integration/oneof-unions-snake/google/protobuf/struct.ts b/integration/oneof-unions-snake/google/protobuf/struct.ts
index a018129b..00add916 100644
--- a/integration/oneof-unions-snake/google/protobuf/struct.ts
+++ b/integration/oneof-unions-snake/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/oneof-unions-snake/simple.ts b/integration/oneof-unions-snake/simple.ts
index 800de2d6..39f8acae 100644
--- a/integration/oneof-unions-snake/simple.ts
+++ b/integration/oneof-unions-snake/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/oneof-unions/google/protobuf/struct.ts b/integration/oneof-unions/google/protobuf/struct.ts
index f296b811..5127d462 100644
--- a/integration/oneof-unions/google/protobuf/struct.ts
+++ b/integration/oneof-unions/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/oneof-unions/oneof.ts b/integration/oneof-unions/oneof.ts
index dd30a7c3..168d3a34 100644
--- a/integration/oneof-unions/oneof.ts
+++ b/integration/oneof-unions/oneof.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: oneof.proto
 
 /* eslint-disable */
diff --git a/integration/only-types-grpc-metadata/only-types-grpc-metadata.ts b/integration/only-types-grpc-metadata/only-types-grpc-metadata.ts
index 169efc3d..678a48b2 100644
--- a/integration/only-types-grpc-metadata/only-types-grpc-metadata.ts
+++ b/integration/only-types-grpc-metadata/only-types-grpc-metadata.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: only-types-grpc-metadata.proto
 
 /* eslint-disable */
diff --git a/integration/only-types/google/protobuf/any.ts b/integration/only-types/google/protobuf/any.ts
index dadb0468..4903598d 100644
--- a/integration/only-types/google/protobuf/any.ts
+++ b/integration/only-types/google/protobuf/any.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/any.proto
 
 /* eslint-disable */
diff --git a/integration/only-types/google/protobuf/timestamp.ts b/integration/only-types/google/protobuf/timestamp.ts
index 58aeb6a0..9dd04640 100644
--- a/integration/only-types/google/protobuf/timestamp.ts
+++ b/integration/only-types/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/only-types/reservation.ts b/integration/only-types/reservation.ts
index 3e5a2aa8..d4ea3c5e 100644
--- a/integration/only-types/reservation.ts
+++ b/integration/only-types/reservation.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: reservation.proto
 
 /* eslint-disable */
diff --git a/integration/optional-long/google/protobuf/timestamp.ts b/integration/optional-long/google/protobuf/timestamp.ts
index a91a5d15..4546e531 100644
--- a/integration/optional-long/google/protobuf/timestamp.ts
+++ b/integration/optional-long/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/optional-type-definitions/simple.ts b/integration/optional-type-definitions/simple.ts
index e28589f0..11309bf3 100644
--- a/integration/optional-type-definitions/simple.ts
+++ b/integration/optional-type-definitions/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/options/google/protobuf/descriptor.ts b/integration/options/google/protobuf/descriptor.ts
index f997cad9..659a41d1 100644
--- a/integration/options/google/protobuf/descriptor.ts
+++ b/integration/options/google/protobuf/descriptor.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/descriptor.proto
 
 /* eslint-disable */
diff --git a/integration/options/options.ts b/integration/options/options.ts
index 04da3b0c..e9d412a9 100644
--- a/integration/options/options.ts
+++ b/integration/options/options.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: options.proto
 
 /* eslint-disable */
diff --git a/integration/options/something/something.ts b/integration/options/something/something.ts
index 439217a3..f8527dbb 100644
--- a/integration/options/something/something.ts
+++ b/integration/options/something/something.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: something/something.proto
 
 /* eslint-disable */
diff --git a/integration/output-decode-only/encode.ts b/integration/output-decode-only/encode.ts
index 5e750e60..4518d05a 100644
--- a/integration/output-decode-only/encode.ts
+++ b/integration/output-decode-only/encode.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: encode.proto
 
 /* eslint-disable */
diff --git a/integration/output-decode-only/google/protobuf/wrappers.ts b/integration/output-decode-only/google/protobuf/wrappers.ts
index 7a9df04c..e440a56e 100644
--- a/integration/output-decode-only/google/protobuf/wrappers.ts
+++ b/integration/output-decode-only/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/output-encode-no-creation-methods/encode.ts b/integration/output-encode-no-creation-methods/encode.ts
index c567e811..1bc3c404 100644
--- a/integration/output-encode-no-creation-methods/encode.ts
+++ b/integration/output-encode-no-creation-methods/encode.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: encode.proto
 
 /* eslint-disable */
diff --git a/integration/output-encode-no-creation-methods/google/protobuf/wrappers.ts b/integration/output-encode-no-creation-methods/google/protobuf/wrappers.ts
index 39159a59..875c260d 100644
--- a/integration/output-encode-no-creation-methods/google/protobuf/wrappers.ts
+++ b/integration/output-encode-no-creation-methods/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/output-encode-only/encode.ts b/integration/output-encode-only/encode.ts
index a29ac991..ac1af218 100644
--- a/integration/output-encode-only/encode.ts
+++ b/integration/output-encode-only/encode.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: encode.proto
 
 /* eslint-disable */
diff --git a/integration/output-encode-only/google/protobuf/wrappers.ts b/integration/output-encode-only/google/protobuf/wrappers.ts
index 0aff0748..ee27d0be 100644
--- a/integration/output-encode-only/google/protobuf/wrappers.ts
+++ b/integration/output-encode-only/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/output-fromJSON-only/decode.ts b/integration/output-fromJSON-only/decode.ts
index 7182a9ec..cd2b8802 100644
--- a/integration/output-fromJSON-only/decode.ts
+++ b/integration/output-fromJSON-only/decode.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: decode.proto
 
 /* eslint-disable */
diff --git a/integration/output-fromJSON-only/google/protobuf/wrappers.ts b/integration/output-fromJSON-only/google/protobuf/wrappers.ts
index e5150d99..d79ede9b 100644
--- a/integration/output-fromJSON-only/google/protobuf/wrappers.ts
+++ b/integration/output-fromJSON-only/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/output-index/a.ts b/integration/output-index/a.ts
index 6063787c..9b8833fc 100644
--- a/integration/output-index/a.ts
+++ b/integration/output-index/a.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: a.proto
 
 /* eslint-disable */
diff --git a/integration/output-index/index.base.ts b/integration/output-index/index.base.ts
index 1fdd1888..4be1c1f5 100644
--- a/integration/output-index/index.base.ts
+++ b/integration/output-index/index.base.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 
 /* eslint-disable */
 
diff --git a/integration/output-index/index.ts b/integration/output-index/index.ts
index 9d2ecb93..bc9555e1 100644
--- a/integration/output-index/index.ts
+++ b/integration/output-index/index.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 
 /* eslint-disable */
 
diff --git a/integration/output-toJSON-only/encode.ts b/integration/output-toJSON-only/encode.ts
index 24ffc140..e2c5342f 100644
--- a/integration/output-toJSON-only/encode.ts
+++ b/integration/output-toJSON-only/encode.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: encode.proto
 
 /* eslint-disable */
diff --git a/integration/output-toJSON-only/google/protobuf/wrappers.ts b/integration/output-toJSON-only/google/protobuf/wrappers.ts
index 07e760cf..dc314bc8 100644
--- a/integration/output-toJSON-only/google/protobuf/wrappers.ts
+++ b/integration/output-toJSON-only/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/point/point.ts b/integration/point/point.ts
index 1b27e681..393e46d8 100644
--- a/integration/point/point.ts
+++ b/integration/point/point.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: point.proto
 
 /* eslint-disable */
diff --git a/integration/proto2-long/simple.ts b/integration/proto2-long/simple.ts
index db6a1a18..11e1807c 100644
--- a/integration/proto2-long/simple.ts
+++ b/integration/proto2-long/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/proto2-no-default-vals/simple.ts b/integration/proto2-no-default-vals/simple.ts
index c29b07d7..0af1a7db 100644
--- a/integration/proto2-no-default-vals/simple.ts
+++ b/integration/proto2-no-default-vals/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/proto2-no-optionals/simple.ts b/integration/proto2-no-optionals/simple.ts
index a73fa800..cce54503 100644
--- a/integration/proto2-no-optionals/simple.ts
+++ b/integration/proto2-no-optionals/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/proto2/simple.ts b/integration/proto2/simple.ts
index 88c86c29..48ca11fe 100644
--- a/integration/proto2/simple.ts
+++ b/integration/proto2/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/remove-enum-prefix-string-enums/remove-enum-prefix-string-enums.ts b/integration/remove-enum-prefix-string-enums/remove-enum-prefix-string-enums.ts
index d2c0a9ab..8b1ded6f 100644
--- a/integration/remove-enum-prefix-string-enums/remove-enum-prefix-string-enums.ts
+++ b/integration/remove-enum-prefix-string-enums/remove-enum-prefix-string-enums.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: remove-enum-prefix-string-enums.proto
 
 /* eslint-disable */
diff --git a/integration/remove-enum-prefix/remove-enum-prefix.ts b/integration/remove-enum-prefix/remove-enum-prefix.ts
index ff6c6ce3..51a04f6d 100644
--- a/integration/remove-enum-prefix/remove-enum-prefix.ts
+++ b/integration/remove-enum-prefix/remove-enum-prefix.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: remove-enum-prefix.proto
 
 /* eslint-disable */
diff --git a/integration/reserved-words/reserved-words.ts b/integration/reserved-words/reserved-words.ts
index 3c400515..64e8e8d7 100644
--- a/integration/reserved-words/reserved-words.ts
+++ b/integration/reserved-words/reserved-words.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: reserved-words.proto
 
 /* eslint-disable */
diff --git a/integration/return-observable/observable.ts b/integration/return-observable/observable.ts
index 943b07da..76f132eb 100644
--- a/integration/return-observable/observable.ts
+++ b/integration/return-observable/observable.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: observable.proto
 
 /* eslint-disable */
diff --git a/integration/simple-deprecated-fields/simple.ts b/integration/simple-deprecated-fields/simple.ts
index d01693e2..2217edeb 100644
--- a/integration/simple-deprecated-fields/simple.ts
+++ b/integration/simple-deprecated-fields/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/simple-esmodule-interop/empty.ts b/integration/simple-esmodule-interop/empty.ts
index aedecce1..11425c47 100644
--- a/integration/simple-esmodule-interop/empty.ts
+++ b/integration/simple-esmodule-interop/empty.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: empty.proto
 
 /* eslint-disable */
diff --git a/integration/simple-esmodule-interop/simple.ts b/integration/simple-esmodule-interop/simple.ts
index 4e2688ac..979b9cf6 100644
--- a/integration/simple-esmodule-interop/simple.ts
+++ b/integration/simple-esmodule-interop/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/simple-json-name/google/protobuf/timestamp.ts b/integration/simple-json-name/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/simple-json-name/google/protobuf/timestamp.ts
+++ b/integration/simple-json-name/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/simple-json-name/simple.ts b/integration/simple-json-name/simple.ts
index ce0e6f08..b7a96c1e 100644
--- a/integration/simple-json-name/simple.ts
+++ b/integration/simple-json-name/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/simple-long-bigint/google/protobuf/timestamp.ts b/integration/simple-long-bigint/google/protobuf/timestamp.ts
index 123b0bad..1760585b 100644
--- a/integration/simple-long-bigint/google/protobuf/timestamp.ts
+++ b/integration/simple-long-bigint/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/simple-long-bigint/google/protobuf/wrappers.ts b/integration/simple-long-bigint/google/protobuf/wrappers.ts
index 8154688f..97fd120c 100644
--- a/integration/simple-long-bigint/google/protobuf/wrappers.ts
+++ b/integration/simple-long-bigint/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/simple-long-bigint/simple.ts b/integration/simple-long-bigint/simple.ts
index 1970c644..8e2cd627 100644
--- a/integration/simple-long-bigint/simple.ts
+++ b/integration/simple-long-bigint/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/simple-long-string/google/protobuf/timestamp.ts b/integration/simple-long-string/google/protobuf/timestamp.ts
index 4b3e1067..5c253170 100644
--- a/integration/simple-long-string/google/protobuf/timestamp.ts
+++ b/integration/simple-long-string/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/simple-long-string/google/protobuf/wrappers.ts b/integration/simple-long-string/google/protobuf/wrappers.ts
index 15dceeab..2c5c38b6 100644
--- a/integration/simple-long-string/google/protobuf/wrappers.ts
+++ b/integration/simple-long-string/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/simple-long-string/simple.ts b/integration/simple-long-string/simple.ts
index fc526acb..3d72a250 100644
--- a/integration/simple-long-string/simple.ts
+++ b/integration/simple-long-string/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/simple-long/google/protobuf/wrappers.ts b/integration/simple-long/google/protobuf/wrappers.ts
index 31482595..804df9e2 100644
--- a/integration/simple-long/google/protobuf/wrappers.ts
+++ b/integration/simple-long/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/simple-long/simple.ts b/integration/simple-long/simple.ts
index c121f825..3e64ca9a 100644
--- a/integration/simple-long/simple.ts
+++ b/integration/simple-long/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/simple-optionals/google/protobuf/timestamp.ts b/integration/simple-optionals/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/simple-optionals/google/protobuf/timestamp.ts
+++ b/integration/simple-optionals/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/simple-optionals/google/protobuf/wrappers.ts b/integration/simple-optionals/google/protobuf/wrappers.ts
index 6159c1b4..f7516ba9 100644
--- a/integration/simple-optionals/google/protobuf/wrappers.ts
+++ b/integration/simple-optionals/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/simple-optionals/import_dir/thing.ts b/integration/simple-optionals/import_dir/thing.ts
index 0326d2e5..abc9ab39 100644
--- a/integration/simple-optionals/import_dir/thing.ts
+++ b/integration/simple-optionals/import_dir/thing.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: import_dir/thing.proto
 
 /* eslint-disable */
diff --git a/integration/simple-optionals/simple.ts b/integration/simple-optionals/simple.ts
index c8a7ce87..2c0d94e3 100644
--- a/integration/simple-optionals/simple.ts
+++ b/integration/simple-optionals/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/simple-optionals/thing.ts b/integration/simple-optionals/thing.ts
index 11078f83..935ea812 100644
--- a/integration/simple-optionals/thing.ts
+++ b/integration/simple-optionals/thing.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: thing.proto
 
 /* eslint-disable */
diff --git a/integration/simple-proto2/simple.ts b/integration/simple-proto2/simple.ts
index 9756e8bf..2580f3e5 100644
--- a/integration/simple-proto2/simple.ts
+++ b/integration/simple-proto2/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/simple-prototype-defaults/google/protobuf/timestamp.ts b/integration/simple-prototype-defaults/google/protobuf/timestamp.ts
index 83512916..d7dcadac 100644
--- a/integration/simple-prototype-defaults/google/protobuf/timestamp.ts
+++ b/integration/simple-prototype-defaults/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/simple-prototype-defaults/google/protobuf/wrappers.ts b/integration/simple-prototype-defaults/google/protobuf/wrappers.ts
index b180a1c1..f0601fce 100644
--- a/integration/simple-prototype-defaults/google/protobuf/wrappers.ts
+++ b/integration/simple-prototype-defaults/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/simple-prototype-defaults/google/type/date.ts b/integration/simple-prototype-defaults/google/type/date.ts
index 9ba0e2f4..6a6a679b 100644
--- a/integration/simple-prototype-defaults/google/type/date.ts
+++ b/integration/simple-prototype-defaults/google/type/date.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/type/date.proto
 
 /* eslint-disable */
diff --git a/integration/simple-prototype-defaults/import_dir/thing.ts b/integration/simple-prototype-defaults/import_dir/thing.ts
index 79cbc625..a73ee12a 100644
--- a/integration/simple-prototype-defaults/import_dir/thing.ts
+++ b/integration/simple-prototype-defaults/import_dir/thing.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: import_dir/thing.proto
 
 /* eslint-disable */
diff --git a/integration/simple-prototype-defaults/simple.ts b/integration/simple-prototype-defaults/simple.ts
index 9e8cf3cc..0e3fbe31 100644
--- a/integration/simple-prototype-defaults/simple.ts
+++ b/integration/simple-prototype-defaults/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/simple-snake/google/protobuf/struct.ts b/integration/simple-snake/google/protobuf/struct.ts
index 38401a8a..ea5d8562 100644
--- a/integration/simple-snake/google/protobuf/struct.ts
+++ b/integration/simple-snake/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/simple-snake/google/protobuf/timestamp.ts b/integration/simple-snake/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/simple-snake/google/protobuf/timestamp.ts
+++ b/integration/simple-snake/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/simple-snake/google/protobuf/wrappers.ts b/integration/simple-snake/google/protobuf/wrappers.ts
index 6159c1b4..f7516ba9 100644
--- a/integration/simple-snake/google/protobuf/wrappers.ts
+++ b/integration/simple-snake/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/simple-snake/import_dir/thing.ts b/integration/simple-snake/import_dir/thing.ts
index c34a8905..36bcff76 100644
--- a/integration/simple-snake/import_dir/thing.ts
+++ b/integration/simple-snake/import_dir/thing.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: import_dir/thing.proto
 
 /* eslint-disable */
diff --git a/integration/simple-snake/simple.ts b/integration/simple-snake/simple.ts
index 508d1e61..719bd280 100644
--- a/integration/simple-snake/simple.ts
+++ b/integration/simple-snake/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/simple-string-enums/google/protobuf/struct.ts b/integration/simple-string-enums/google/protobuf/struct.ts
index 6ccda248..b7f27c1d 100644
--- a/integration/simple-string-enums/google/protobuf/struct.ts
+++ b/integration/simple-string-enums/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/simple-string-enums/simple.ts b/integration/simple-string-enums/simple.ts
index 220ca16d..1f86aeed 100644
--- a/integration/simple-string-enums/simple.ts
+++ b/integration/simple-string-enums/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/simple-unrecognized-enum/google/protobuf/timestamp.ts b/integration/simple-unrecognized-enum/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/simple-unrecognized-enum/google/protobuf/timestamp.ts
+++ b/integration/simple-unrecognized-enum/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/simple-unrecognized-enum/google/protobuf/wrappers.ts b/integration/simple-unrecognized-enum/google/protobuf/wrappers.ts
index 6159c1b4..f7516ba9 100644
--- a/integration/simple-unrecognized-enum/google/protobuf/wrappers.ts
+++ b/integration/simple-unrecognized-enum/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/simple-unrecognized-enum/import_dir/thing.ts b/integration/simple-unrecognized-enum/import_dir/thing.ts
index 18146e9f..71c5f6ca 100644
--- a/integration/simple-unrecognized-enum/import_dir/thing.ts
+++ b/integration/simple-unrecognized-enum/import_dir/thing.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: import_dir/thing.proto
 
 /* eslint-disable */
diff --git a/integration/simple-unrecognized-enum/simple.ts b/integration/simple-unrecognized-enum/simple.ts
index e8e1b931..4747ba47 100644
--- a/integration/simple-unrecognized-enum/simple.ts
+++ b/integration/simple-unrecognized-enum/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/simple/google/protobuf/timestamp.ts b/integration/simple/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/simple/google/protobuf/timestamp.ts
+++ b/integration/simple/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/simple/google/protobuf/wrappers.ts b/integration/simple/google/protobuf/wrappers.ts
index 6159c1b4..f7516ba9 100644
--- a/integration/simple/google/protobuf/wrappers.ts
+++ b/integration/simple/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/simple/google/type/date.ts b/integration/simple/google/type/date.ts
index a2b00344..4b5eb3f8 100644
--- a/integration/simple/google/type/date.ts
+++ b/integration/simple/google/type/date.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/type/date.proto
 
 /* eslint-disable */
diff --git a/integration/simple/import_dir/thing.ts b/integration/simple/import_dir/thing.ts
index 18146e9f..71c5f6ca 100644
--- a/integration/simple/import_dir/thing.ts
+++ b/integration/simple/import_dir/thing.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: import_dir/thing.proto
 
 /* eslint-disable */
diff --git a/integration/simple/simple.ts b/integration/simple/simple.ts
index e433aca2..957d00ab 100644
--- a/integration/simple/simple.ts
+++ b/integration/simple/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/static-only-type-registry/bar/bar.ts b/integration/static-only-type-registry/bar/bar.ts
index eb020ac8..2784023b 100644
--- a/integration/static-only-type-registry/bar/bar.ts
+++ b/integration/static-only-type-registry/bar/bar.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: bar/bar.proto
 
 /* eslint-disable */
diff --git a/integration/static-only-type-registry/foo.ts b/integration/static-only-type-registry/foo.ts
index 4e44c439..6b6b5286 100644
--- a/integration/static-only-type-registry/foo.ts
+++ b/integration/static-only-type-registry/foo.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: foo.proto
 
 /* eslint-disable */
diff --git a/integration/static-only-type-registry/google/protobuf/struct.ts b/integration/static-only-type-registry/google/protobuf/struct.ts
index 48c42819..693c4c9d 100644
--- a/integration/static-only-type-registry/google/protobuf/struct.ts
+++ b/integration/static-only-type-registry/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/static-only-type-registry/google/protobuf/timestamp.ts b/integration/static-only-type-registry/google/protobuf/timestamp.ts
index 221a2282..6a9471ac 100644
--- a/integration/static-only-type-registry/google/protobuf/timestamp.ts
+++ b/integration/static-only-type-registry/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/static-only-type-registry/typeRegistry.ts b/integration/static-only-type-registry/typeRegistry.ts
index 4b8608c2..12476563 100644
--- a/integration/static-only-type-registry/typeRegistry.ts
+++ b/integration/static-only-type-registry/typeRegistry.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 
 /* eslint-disable */
 import * as _m0 from "protobufjs/minimal";
diff --git a/integration/static-only/bar/bar.ts b/integration/static-only/bar/bar.ts
index 9c6fc820..0648118c 100644
--- a/integration/static-only/bar/bar.ts
+++ b/integration/static-only/bar/bar.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: bar/bar.proto
 
 /* eslint-disable */
diff --git a/integration/static-only/foo.ts b/integration/static-only/foo.ts
index 972cd8c1..e6a30365 100644
--- a/integration/static-only/foo.ts
+++ b/integration/static-only/foo.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: foo.proto
 
 /* eslint-disable */
diff --git a/integration/static-only/google/protobuf/struct.ts b/integration/static-only/google/protobuf/struct.ts
index e4e46a15..979f04e8 100644
--- a/integration/static-only/google/protobuf/struct.ts
+++ b/integration/static-only/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/static-only/google/protobuf/timestamp.ts b/integration/static-only/google/protobuf/timestamp.ts
index b088f57a..f058013a 100644
--- a/integration/static-only/google/protobuf/timestamp.ts
+++ b/integration/static-only/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/struct/google/protobuf/struct.ts b/integration/struct/google/protobuf/struct.ts
index 48c8311c..b8047720 100644
--- a/integration/struct/google/protobuf/struct.ts
+++ b/integration/struct/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/struct/struct.ts b/integration/struct/struct.ts
index aeb68161..1ee8b6c1 100644
--- a/integration/struct/struct.ts
+++ b/integration/struct/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: struct.proto
 
 /* eslint-disable */
diff --git a/integration/type-annotations/bar/bar.ts b/integration/type-annotations/bar/bar.ts
index 8c8eef1b..66185307 100644
--- a/integration/type-annotations/bar/bar.ts
+++ b/integration/type-annotations/bar/bar.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: bar/bar.proto
 
 /* eslint-disable */
diff --git a/integration/type-annotations/foo.ts b/integration/type-annotations/foo.ts
index 464a50ed..a17d998c 100644
--- a/integration/type-annotations/foo.ts
+++ b/integration/type-annotations/foo.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: foo.proto
 
 /* eslint-disable */
diff --git a/integration/type-annotations/google/protobuf/struct.ts b/integration/type-annotations/google/protobuf/struct.ts
index 5d9ff690..ed4d7382 100644
--- a/integration/type-annotations/google/protobuf/struct.ts
+++ b/integration/type-annotations/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/type-annotations/google/protobuf/timestamp.ts b/integration/type-annotations/google/protobuf/timestamp.ts
index c85b82ad..91118336 100644
--- a/integration/type-annotations/google/protobuf/timestamp.ts
+++ b/integration/type-annotations/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/type-registry/bar/bar.ts b/integration/type-registry/bar/bar.ts
index 7e5f7d15..f489846f 100644
--- a/integration/type-registry/bar/bar.ts
+++ b/integration/type-registry/bar/bar.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: bar/bar.proto
 
 /* eslint-disable */
diff --git a/integration/type-registry/foo.ts b/integration/type-registry/foo.ts
index 8a9448fa..2fd59561 100644
--- a/integration/type-registry/foo.ts
+++ b/integration/type-registry/foo.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: foo.proto
 
 /* eslint-disable */
diff --git a/integration/type-registry/google/protobuf/struct.ts b/integration/type-registry/google/protobuf/struct.ts
index 0f245129..b79e5daa 100644
--- a/integration/type-registry/google/protobuf/struct.ts
+++ b/integration/type-registry/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/type-registry/google/protobuf/timestamp.ts b/integration/type-registry/google/protobuf/timestamp.ts
index 7f67f09e..82402694 100644
--- a/integration/type-registry/google/protobuf/timestamp.ts
+++ b/integration/type-registry/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/type-registry/typeRegistry.ts b/integration/type-registry/typeRegistry.ts
index 81f268f8..83d298f6 100644
--- a/integration/type-registry/typeRegistry.ts
+++ b/integration/type-registry/typeRegistry.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 
 /* eslint-disable */
 import * as _m0 from "protobufjs/minimal";
diff --git a/integration/types-with-underscores/file.ts b/integration/types-with-underscores/file.ts
index eab83f81..f424bf91 100644
--- a/integration/types-with-underscores/file.ts
+++ b/integration/types-with-underscores/file.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: file.proto
 
 /* eslint-disable */
diff --git a/integration/unknown-fields/google/protobuf/compiler/plugin.ts b/integration/unknown-fields/google/protobuf/compiler/plugin.ts
index c7af20d6..e450011d 100644
--- a/integration/unknown-fields/google/protobuf/compiler/plugin.ts
+++ b/integration/unknown-fields/google/protobuf/compiler/plugin.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/compiler/plugin.proto
 
 /* eslint-disable */
diff --git a/integration/unknown-fields/google/protobuf/descriptor.ts b/integration/unknown-fields/google/protobuf/descriptor.ts
index 5c3fea5e..719a457b 100644
--- a/integration/unknown-fields/google/protobuf/descriptor.ts
+++ b/integration/unknown-fields/google/protobuf/descriptor.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/descriptor.proto
 
 /* eslint-disable */
diff --git a/integration/unknown-fields/options.ts b/integration/unknown-fields/options.ts
index 593c8448..24262e33 100644
--- a/integration/unknown-fields/options.ts
+++ b/integration/unknown-fields/options.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: options.proto
 
 /* eslint-disable */
diff --git a/integration/unknown-fields/something/something.ts b/integration/unknown-fields/something/something.ts
index 9e924be0..48ecf87e 100644
--- a/integration/unknown-fields/something/something.ts
+++ b/integration/unknown-fields/something/something.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: something/something.proto
 
 /* eslint-disable */
diff --git a/integration/use-date-false/google/protobuf/timestamp.ts b/integration/use-date-false/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/use-date-false/google/protobuf/timestamp.ts
+++ b/integration/use-date-false/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/use-date-false/metadata.ts b/integration/use-date-false/metadata.ts
index 47971f34..3b4e46f9 100644
--- a/integration/use-date-false/metadata.ts
+++ b/integration/use-date-false/metadata.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: metadata.proto
 
 /* eslint-disable */
diff --git a/integration/use-date-string/google/protobuf/timestamp.ts b/integration/use-date-string/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/use-date-string/google/protobuf/timestamp.ts
+++ b/integration/use-date-string/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/use-date-string/use-date-string.ts b/integration/use-date-string/use-date-string.ts
index 609289a4..c2c43e3e 100644
--- a/integration/use-date-string/use-date-string.ts
+++ b/integration/use-date-string/use-date-string.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: use-date-string.proto
 
 /* eslint-disable */
diff --git a/integration/use-date-true/google/protobuf/empty.ts b/integration/use-date-true/google/protobuf/empty.ts
index 2c276461..6264973e 100644
--- a/integration/use-date-true/google/protobuf/empty.ts
+++ b/integration/use-date-true/google/protobuf/empty.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/empty.proto
 
 /* eslint-disable */
diff --git a/integration/use-date-true/google/protobuf/timestamp.ts b/integration/use-date-true/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/use-date-true/google/protobuf/timestamp.ts
+++ b/integration/use-date-true/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/use-date-true/use-date-true.ts b/integration/use-date-true/use-date-true.ts
index 837454a9..8f207c31 100644
--- a/integration/use-date-true/use-date-true.ts
+++ b/integration/use-date-true/use-date-true.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: use-date-true.proto
 
 /* eslint-disable */
diff --git a/integration/use-exact-types-false/foo.ts b/integration/use-exact-types-false/foo.ts
index c5722a17..0bc8650a 100644
--- a/integration/use-exact-types-false/foo.ts
+++ b/integration/use-exact-types-false/foo.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: foo.proto
 
 /* eslint-disable */
diff --git a/integration/use-json-name/google/protobuf/timestamp.ts b/integration/use-json-name/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/use-json-name/google/protobuf/timestamp.ts
+++ b/integration/use-json-name/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/use-json-name/use-json-name.ts b/integration/use-json-name/use-json-name.ts
index 7605db92..c3c57779 100644
--- a/integration/use-json-name/use-json-name.ts
+++ b/integration/use-json-name/use-json-name.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: use-json-name.proto
 
 /* eslint-disable */
diff --git a/integration/use-json-timestamp-raw/google/protobuf/timestamp.ts b/integration/use-json-timestamp-raw/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/use-json-timestamp-raw/google/protobuf/timestamp.ts
+++ b/integration/use-json-timestamp-raw/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/use-json-timestamp-raw/metadata.ts b/integration/use-json-timestamp-raw/metadata.ts
index 0ed5b061..0cc42195 100644
--- a/integration/use-json-timestamp-raw/metadata.ts
+++ b/integration/use-json-timestamp-raw/metadata.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: metadata.proto
 
 /* eslint-disable */
diff --git a/integration/use-json-wire-format/google/protobuf/duration.ts b/integration/use-json-wire-format/google/protobuf/duration.ts
index 8cf10aff..d9f1e3bd 100644
--- a/integration/use-json-wire-format/google/protobuf/duration.ts
+++ b/integration/use-json-wire-format/google/protobuf/duration.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/duration.proto
 
 /* eslint-disable */
diff --git a/integration/use-json-wire-format/google/protobuf/field_mask.ts b/integration/use-json-wire-format/google/protobuf/field_mask.ts
index f41f5699..e589e11b 100644
--- a/integration/use-json-wire-format/google/protobuf/field_mask.ts
+++ b/integration/use-json-wire-format/google/protobuf/field_mask.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/field_mask.proto
 
 /* eslint-disable */
diff --git a/integration/use-json-wire-format/google/protobuf/timestamp.ts b/integration/use-json-wire-format/google/protobuf/timestamp.ts
index 2b989ac1..3bcae79c 100644
--- a/integration/use-json-wire-format/google/protobuf/timestamp.ts
+++ b/integration/use-json-wire-format/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/use-json-wire-format/use-json-wire-format.ts b/integration/use-json-wire-format/use-json-wire-format.ts
index cebcd2d2..83b240d0 100644
--- a/integration/use-json-wire-format/use-json-wire-format.ts
+++ b/integration/use-json-wire-format/use-json-wire-format.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: use-json-wire-format.proto
 
 /* eslint-disable */
diff --git a/integration/use-map-type/google/protobuf/struct.ts b/integration/use-map-type/google/protobuf/struct.ts
index 8461925d..039d74d6 100644
--- a/integration/use-map-type/google/protobuf/struct.ts
+++ b/integration/use-map-type/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/use-map-type/google/protobuf/timestamp.ts b/integration/use-map-type/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/use-map-type/google/protobuf/timestamp.ts
+++ b/integration/use-map-type/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/use-map-type/use-map-type.ts b/integration/use-map-type/use-map-type.ts
index 6a099f17..718fc25c 100644
--- a/integration/use-map-type/use-map-type.ts
+++ b/integration/use-map-type/use-map-type.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: use-map-type.proto
 
 /* eslint-disable */
diff --git a/integration/use-null-as-optional/use-null-as-optional.ts b/integration/use-null-as-optional/use-null-as-optional.ts
index d10d74f2..d64ad3cd 100644
--- a/integration/use-null-as-optional/use-null-as-optional.ts
+++ b/integration/use-null-as-optional/use-null-as-optional.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: use-null-as-optional.proto
 
 /* eslint-disable */
diff --git a/integration/use-null-nestjs-simple/google/protobuf/empty.ts b/integration/use-null-nestjs-simple/google/protobuf/empty.ts
index 48d25a19..edaa6843 100644
--- a/integration/use-null-nestjs-simple/google/protobuf/empty.ts
+++ b/integration/use-null-nestjs-simple/google/protobuf/empty.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/empty.proto
 
 /* eslint-disable */
diff --git a/integration/use-null-nestjs-simple/user.ts b/integration/use-null-nestjs-simple/user.ts
index 2cbe16a3..564c18e3 100644
--- a/integration/use-null-nestjs-simple/user.ts
+++ b/integration/use-null-nestjs-simple/user.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: user.proto
 
 /* eslint-disable */
diff --git a/integration/use-numeric-enum-json/google/protobuf/struct.ts b/integration/use-numeric-enum-json/google/protobuf/struct.ts
index e82ceb4f..cbfa5191 100644
--- a/integration/use-numeric-enum-json/google/protobuf/struct.ts
+++ b/integration/use-numeric-enum-json/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/use-numeric-enum-json/simple.ts b/integration/use-numeric-enum-json/simple.ts
index c659d094..e714b0c2 100644
--- a/integration/use-numeric-enum-json/simple.ts
+++ b/integration/use-numeric-enum-json/simple.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: simple.proto
 
 /* eslint-disable */
diff --git a/integration/use-objectid-true-external-import/objectid/objectid.ts b/integration/use-objectid-true-external-import/objectid/objectid.ts
index f2837719..889ca62b 100644
--- a/integration/use-objectid-true-external-import/objectid/objectid.ts
+++ b/integration/use-objectid-true-external-import/objectid/objectid.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: objectid/objectid.proto
 
 /* eslint-disable */
diff --git a/integration/use-objectid-true-external-import/use-objectid-true.ts b/integration/use-objectid-true-external-import/use-objectid-true.ts
index cc97145d..d9d0d4fd 100644
--- a/integration/use-objectid-true-external-import/use-objectid-true.ts
+++ b/integration/use-objectid-true-external-import/use-objectid-true.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: use-objectid-true.proto
 
 /* eslint-disable */
diff --git a/integration/use-optionals-all/google/protobuf/struct.ts b/integration/use-optionals-all/google/protobuf/struct.ts
index c9b24a2b..16b580e7 100644
--- a/integration/use-optionals-all/google/protobuf/struct.ts
+++ b/integration/use-optionals-all/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/use-optionals-all/google/protobuf/timestamp.ts b/integration/use-optionals-all/google/protobuf/timestamp.ts
index a37e650e..4608ed24 100644
--- a/integration/use-optionals-all/google/protobuf/timestamp.ts
+++ b/integration/use-optionals-all/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/use-optionals-no-undefined/google/protobuf/struct.ts b/integration/use-optionals-no-undefined/google/protobuf/struct.ts
index b043bf18..ab27eb7e 100644
--- a/integration/use-optionals-no-undefined/google/protobuf/struct.ts
+++ b/integration/use-optionals-no-undefined/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/use-readonly-types/google/protobuf/field_mask.ts b/integration/use-readonly-types/google/protobuf/field_mask.ts
index 74c714c9..168205b6 100644
--- a/integration/use-readonly-types/google/protobuf/field_mask.ts
+++ b/integration/use-readonly-types/google/protobuf/field_mask.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/field_mask.proto
 
 /* eslint-disable */
diff --git a/integration/use-readonly-types/google/protobuf/struct.ts b/integration/use-readonly-types/google/protobuf/struct.ts
index 95de394c..b3c4ae2d 100644
--- a/integration/use-readonly-types/google/protobuf/struct.ts
+++ b/integration/use-readonly-types/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/use-readonly-types/use-readonly-types.ts b/integration/use-readonly-types/use-readonly-types.ts
index b7783cba..96077781 100644
--- a/integration/use-readonly-types/use-readonly-types.ts
+++ b/integration/use-readonly-types/use-readonly-types.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: use-readonly-types.proto
 
 /* eslint-disable */
diff --git a/integration/value/google/protobuf/struct.ts b/integration/value/google/protobuf/struct.ts
index 48c8311c..b8047720 100644
--- a/integration/value/google/protobuf/struct.ts
+++ b/integration/value/google/protobuf/struct.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/struct.proto
 
 /* eslint-disable */
diff --git a/integration/value/google/protobuf/wrappers.ts b/integration/value/google/protobuf/wrappers.ts
index 6159c1b4..f7516ba9 100644
--- a/integration/value/google/protobuf/wrappers.ts
+++ b/integration/value/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/value/value.ts b/integration/value/value.ts
index 876ca689..fa420ed4 100644
--- a/integration/value/value.ts
+++ b/integration/value/value.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: value.proto
 
 /* eslint-disable */
diff --git a/integration/vector-tile/vector_tile.ts b/integration/vector-tile/vector_tile.ts
index 479942d1..7d46fd60 100644
--- a/integration/vector-tile/vector_tile.ts
+++ b/integration/vector-tile/vector_tile.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: vector_tile.proto
 
 /* eslint-disable */
diff --git a/integration/wrappers-regression/google/protobuf/empty.ts b/integration/wrappers-regression/google/protobuf/empty.ts
index 2c276461..6264973e 100644
--- a/integration/wrappers-regression/google/protobuf/empty.ts
+++ b/integration/wrappers-regression/google/protobuf/empty.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/empty.proto
 
 /* eslint-disable */
diff --git a/integration/wrappers-regression/google/protobuf/timestamp.ts b/integration/wrappers-regression/google/protobuf/timestamp.ts
index 835f3f18..150d84f3 100644
--- a/integration/wrappers-regression/google/protobuf/timestamp.ts
+++ b/integration/wrappers-regression/google/protobuf/timestamp.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/timestamp.proto
 
 /* eslint-disable */
diff --git a/integration/wrappers-regression/google/protobuf/wrappers.ts b/integration/wrappers-regression/google/protobuf/wrappers.ts
index 6159c1b4..f7516ba9 100644
--- a/integration/wrappers-regression/google/protobuf/wrappers.ts
+++ b/integration/wrappers-regression/google/protobuf/wrappers.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: google/protobuf/wrappers.proto
 
 /* eslint-disable */
diff --git a/integration/wrappers-regression/wrappers-regression.ts b/integration/wrappers-regression/wrappers-regression.ts
index e8efb57a..e2372be6 100644
--- a/integration/wrappers-regression/wrappers-regression.ts
+++ b/integration/wrappers-regression/wrappers-regression.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: wrappers-regression.proto
 
 /* eslint-disable */
diff --git a/src/options.ts b/src/options.ts
index f47fd774..4998e344 100644
--- a/src/options.ts
+++ b/src/options.ts
@@ -100,6 +100,7 @@ export type Options = {
   disableProto2Optionals: boolean;
   disableProto2DefaultValues: boolean;
   useNullAsOptional: boolean;
+  annotateFilesWithVersion: boolean;
 };
 
 export function defaultOptions(): Options {
@@ -165,6 +166,7 @@ export function defaultOptions(): Options {
     disableProto2Optionals: false,
     disableProto2DefaultValues: false,
     useNullAsOptional: false,
+    annotateFilesWithVersion: true,
   };
 }
 
@@ -324,14 +326,19 @@ export function getTsPoetOpts(
 ): ToStringOpts {
   const { importSuffix, esModuleInterop } = options;
   const pbjs = "protobufjs/minimal" + importSuffix;
+
   return {
     // Comment block at the top of every source file, since these comments require specific
     // syntax incompatible with ts-poet, we will hard-code the string and prepend to the
     // generator output.
-    prefix: `// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
+    prefix: `// Code generated by protoc-gen-ts_proto. DO NOT EDIT.${
+      options.annotateFilesWithVersion
+        ? `
 // versions:
 //   protoc-gen-ts_proto  ${tsProtoVersion}
-//   protoc               ${protocVersion}
+//   protoc               ${protocVersion}`
+        : ""
+    }
 ${fileName ? `// source: ${fileName}` : ""}
 
     /* eslint-disable */`,


Test patch:
diff --git a/integration/emit-default-values-json/test.ts b/integration/emit-default-values-json/test.ts
index 09ba1913..7228938e 100644
--- a/integration/emit-default-values-json/test.ts
+++ b/integration/emit-default-values-json/test.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: test.proto
 
 /* eslint-disable */
diff --git a/integration/enums-with-unrecognized-name-value/test.ts b/integration/enums-with-unrecognized-name-value/test.ts
index d034088c..37512449 100644
--- a/integration/enums-with-unrecognized-name-value/test.ts
+++ b/integration/enums-with-unrecognized-name-value/test.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: test.proto
 
 /* eslint-disable */
diff --git a/integration/extensions/test.ts b/integration/extensions/test.ts
index 40ed0e4c..4915cb8e 100644
--- a/integration/extensions/test.ts
+++ b/integration/extensions/test.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: test.proto
 
 /* eslint-disable */
diff --git a/integration/from-partial-no-initialize/test.ts b/integration/from-partial-no-initialize/test.ts
index a34b5648..fef0c3fe 100644
--- a/integration/from-partial-no-initialize/test.ts
+++ b/integration/from-partial-no-initialize/test.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: test.proto
 
 /* eslint-disable */
diff --git a/integration/groups/test.ts b/integration/groups/test.ts
index bb3e0b14..530a53c0 100644
--- a/integration/groups/test.ts
+++ b/integration/groups/test.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: test.proto
 
 /* eslint-disable */
diff --git a/integration/map-bigint-optional/test.ts b/integration/map-bigint-optional/test.ts
index 83292953..7a3b541d 100644
--- a/integration/map-bigint-optional/test.ts
+++ b/integration/map-bigint-optional/test.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: test.proto
 
 /* eslint-disable */
diff --git a/integration/map-long-optional/test.ts b/integration/map-long-optional/test.ts
index b0d5c822..ead0bf04 100644
--- a/integration/map-long-optional/test.ts
+++ b/integration/map-long-optional/test.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: test.proto
 
 /* eslint-disable */
diff --git a/integration/map-longstring-optional/test.ts b/integration/map-longstring-optional/test.ts
index 58f4a99d..05ee48ef 100644
--- a/integration/map-longstring-optional/test.ts
+++ b/integration/map-longstring-optional/test.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: test.proto
 
 /* eslint-disable */
diff --git a/integration/optional-long/test.ts b/integration/optional-long/test.ts
index d163eec0..3d2aa95f 100644
--- a/integration/optional-long/test.ts
+++ b/integration/optional-long/test.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: test.proto
 
 /* eslint-disable */
diff --git a/integration/use-optionals-all/test.ts b/integration/use-optionals-all/test.ts
index 37635b96..09106efa 100644
--- a/integration/use-optionals-all/test.ts
+++ b/integration/use-optionals-all/test.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: test.proto
 
 /* eslint-disable */
diff --git a/integration/use-optionals-deprecated-only/test.ts b/integration/use-optionals-deprecated-only/test.ts
index 958836e6..52c573ab 100644
--- a/integration/use-optionals-deprecated-only/test.ts
+++ b/integration/use-optionals-deprecated-only/test.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: test.proto
 
 /* eslint-disable */
diff --git a/integration/use-optionals-no-undefined/test.ts b/integration/use-optionals-no-undefined/test.ts
index 17b535ff..110ee73e 100644
--- a/integration/use-optionals-no-undefined/test.ts
+++ b/integration/use-optionals-no-undefined/test.ts
@@ -1,7 +1,4 @@
 // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
-// versions:
-//   protoc-gen-ts_proto  v1.173.0
-//   protoc               v3.19.1
 // source: test.proto
 
 /* eslint-disable */
diff --git a/tests/options-test.ts b/tests/options-test.ts
index 4db6fc33..ffaea66c 100644
--- a/tests/options-test.ts
+++ b/tests/options-test.ts
@@ -7,6 +7,7 @@ describe("options", () => {
         "M": {},
         "addGrpcMetadata": false,
         "addNestjsRestParameter": false,
+        "annotateFilesWithVersion": true,
         "comments": true,
         "constEnums": false,
         "context": false,