-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7dba7f7
commit 0f2f8cb
Showing
8 changed files
with
307 additions
and
602 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,4 +77,4 @@ jobs: | |
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build ${{ inputs.node-version }} | ||
path: dist | ||
path: build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export default { | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
collectCoverage: true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,27 +15,16 @@ | |
"[email protected]" | ||
], | ||
"license": "MIT", | ||
"main": "./dist/cjs/lib/index.js", | ||
"module": "./dist/esm/lib/index.js", | ||
"types": "./dist/types/lib/index.d.ts", | ||
"main": "build/lib/index.js", | ||
"files": [ | ||
"dist" | ||
"build/lib", | ||
"build/generated" | ||
], | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"types": "./dist/types/lib/index.d.ts", | ||
"import": "./dist/esm/lib/index.js", | ||
"require": "./dist/cjs/lib/index.js" | ||
} | ||
}, | ||
"type": "module", | ||
"scripts": { | ||
"test": "jest --runInBand --no-cache", | ||
"test:cov": "npm run test && coveralls < coverage/lcov.info", | ||
"prebuild": "rimraf dist", | ||
"prebuild": "rimraf build", | ||
"build": "tsc", | ||
"postbuild": "esm2cjs --in dist/esm --out dist/cjs -l error", | ||
"generate": "./scripts/generate.sh" | ||
}, | ||
"dependencies": { | ||
|
@@ -45,23 +34,26 @@ | |
"protobufjs": "^7.3.2" | ||
}, | ||
"devDependencies": { | ||
"@alcalzone/esm2cjs": "^1.1.2", | ||
"@types/glob": "^8.1.0", | ||
"@types/jest": "^29.5.12", | ||
"@types/node": "^20.14.5", | ||
"coveralls-next": "^4.2.1", | ||
"glob": "^10.4.2", | ||
"googleapis": "^140.0.0", | ||
"@types/node": "^20.11.30", | ||
"coveralls-next": "^4.2.0", | ||
"glob": "^10.3.10", | ||
"googleapis": "^134.0.0", | ||
"jest": "^29.7.0", | ||
"jest-junit": "^16.0.0", | ||
"rimraf": "^5.0.7", | ||
"ts-jest": "^29.1.5", | ||
"rimraf": "^5.0.5", | ||
"string-width": "^4.2.0", | ||
"ts-jest": "^29.1.2", | ||
"ts-node": "^10.9.2", | ||
"ts-proto": "^1.180.0", | ||
"typescript": "5.4.5" | ||
"ts-proto": "^1.170.0", | ||
"typescript": "5.4.3" | ||
}, | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org" | ||
}, | ||
"resolutions": { | ||
"string-width": "^4.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.