diff --git a/packages/protobuf/codegenv1/index.js b/packages/protobuf/codegenv1/index.js deleted file mode 100644 index 69b6c9152..000000000 --- a/packages/protobuf/codegenv1/index.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Workaround for bundlers that do not support subpath exports. -// eslint-disable-next-line no-undef -module.exports = require("../dist/cjs/codegenv1/index.js"); diff --git a/packages/protobuf/reflect/index.js b/packages/protobuf/reflect/index.js deleted file mode 100644 index aa02c287d..000000000 --- a/packages/protobuf/reflect/index.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Workaround for bundlers that do not support subpath exports. -// eslint-disable-next-line no-undef -module.exports = require("../dist/cjs/reflect/index.js"); diff --git a/packages/protobuf/wire/index.js b/packages/protobuf/wire/index.js deleted file mode 100644 index 58dbbaf48..000000000 --- a/packages/protobuf/wire/index.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Workaround for bundlers that do not support subpath exports. -// eslint-disable-next-line no-undef -module.exports = require("../dist/cjs/wire/index.js"); diff --git a/packages/protobuf/wkt/index.js b/packages/protobuf/wkt/index.js deleted file mode 100644 index 91236d1d8..000000000 --- a/packages/protobuf/wkt/index.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Workaround for bundlers that do not support subpath exports. -// eslint-disable-next-line no-undef -module.exports = require("../dist/cjs/wkt/index.js"); diff --git a/packages/protoc-gen-es/package.json b/packages/protoc-gen-es/package.json index d196d69d1..d544d8057 100644 --- a/packages/protoc-gen-es/package.json +++ b/packages/protoc-gen-es/package.json @@ -30,5 +30,9 @@ "@bufbuild/protobuf": { "optional": true } - } + }, + "files": [ + "dist/**", + "bin/**" + ] } diff --git a/packages/protoplugin/ecmascript/index.js b/packages/protoplugin/ecmascript/index.js deleted file mode 100644 index e37bae133..000000000 --- a/packages/protoplugin/ecmascript/index.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2021-2024 Buf Technologies, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Workaround for bundlers that do not support subpath exports. -// eslint-disable-next-line no-undef -module.exports = require("../dist/cjs/ecmascript/index.js");