@bufbuild/protoplugin 2.0.0-alpha.4 → 2.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bufbuild/protoplugin",
3
- "version": "2.0.0-alpha.4",
3
+ "version": "2.0.0-beta.2",
4
4
  "license": "(Apache-2.0 AND BSD-3-Clause)",
5
5
  "description": "Helps to create your own Protocol Buffers code generators.",
6
6
  "repository": {
@@ -9,10 +9,13 @@
9
9
  "directory": "packages/protoplugin"
10
10
  },
11
11
  "scripts": {
12
- "clean": "rm -rf ./dist/*",
12
+ "prebuild": "rm -rf ./dist/*",
13
13
  "build": "npm run build:cjs && npm run build:esm",
14
- "build:cjs": "../../node_modules/typescript/bin/tsc --project tsconfig.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --outDir ./dist/cjs --declaration --declarationDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
15
- "build:esm": "../../node_modules/typescript/bin/tsc --project tsconfig.json --outDir ./dist/esm --declaration --declarationDir ./dist/esm",
14
+ "build:cjs": "../../node_modules/typescript/bin/tsc --project tsconfig.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
15
+ "build:esm": "../../node_modules/typescript/bin/tsc --project tsconfig.json --outDir ./dist/esm",
16
+ "format": "prettier --write --ignore-unknown '.' '!dist' '!.turbo'",
17
+ "license-header": "license-header",
18
+ "lint": "eslint --max-warnings 0 .",
16
19
  "attw": "attw --pack"
17
20
  },
18
21
  "type": "module",
@@ -25,9 +28,9 @@
25
28
  }
26
29
  },
27
30
  "dependencies": {
28
- "@bufbuild/protobuf": "2.0.0-alpha.4",
29
- "@typescript/vfs": "^1.4.0",
30
- "typescript": "4.5.2"
31
+ "@bufbuild/protobuf": "2.0.0-beta.2",
32
+ "@typescript/vfs": "^1.5.2",
33
+ "typescript": "5.4.5"
31
34
  },
32
35
  "files": [
33
36
  "dist/**"