-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(common,firmware-protocol,firmware-protocol-debugger-shared,firmwa…
…re-protocol-debugger-utils): declaration maps
- Loading branch information
1 parent
de1562a
commit 2aef2cb
Showing
18 changed files
with
452 additions
and
207 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@slimevr/firmware-protocol-debugger-shared': patch | ||
'@slimevr/firmware-protocol-debugger-utils': patch | ||
'@slimevr/firmware-protocol': patch | ||
'@slimevr/common': patch | ||
--- | ||
|
||
fixed declaration maps, allowing to see the source code instead of just types |
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
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
.turbo | ||
CHANGELOG.md | ||
tsconfig.json | ||
src |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"extends": "@slimevr/tsconfig/node.json", | ||
"extends": "@slimevr/tsconfig/node-lib.json", | ||
"include": ["src/**/*.ts"], | ||
"exclude": ["dist", "build", "node_modules"], | ||
"compilerOptions": { | ||
"target": "ES2016", | ||
"outDir": "dist" | ||
"outDir": "dist/esm", | ||
"declarationDir": "dist/dts" | ||
} | ||
} |
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,20 +1,23 @@ | ||
{ | ||
"name": "@slimevr/firmware-protocol-debugger-shared", | ||
"version": "0.0.7", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"module": "dist/index.mjs", | ||
"main": "dist/cjs/index.js", | ||
"types": "dist/dts/index.d.ts", | ||
"module": "dist/esm/index.js", | ||
"type": "module", | ||
"private": true, | ||
"scripts": { | ||
"build": "tsup src/index.ts --format cjs,esm --dts", | ||
"dev": "pnpm run build -- -w src" | ||
"build": "pnpm run build:esm && pnpm run build:cjs", | ||
"build:esm": "tsc", | ||
"build:cjs": "babel dist/esm --plugins @babel/transform-export-namespace-from --plugins @babel/transform-modules-commonjs --out-dir dist/cjs --source-maps", | ||
"dev": "pnpm run build -- -w src", | ||
"clean": "rimraf dist" | ||
}, | ||
"dependencies": { | ||
"@slimevr/firmware-protocol": "workspace:*" | ||
}, | ||
"devDependencies": { | ||
"@slimevr/tsconfig": "workspace:*", | ||
"@types/node": "^18.17.2", | ||
"tsup": "^7.2.0" | ||
"@types/node": "^18.17.2" | ||
} | ||
} |
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,9 +1,9 @@ | ||
{ | ||
"extends": "@slimevr/tsconfig/node.json", | ||
"extends": "@slimevr/tsconfig/node-lib.json", | ||
"include": ["src/**/*.ts"], | ||
"exclude": ["dist", "build", "node_modules"], | ||
"compilerOptions": { | ||
"target": "ES2016", | ||
"outDir": "dist" | ||
"outDir": "dist/esm", | ||
"declarationDir": "dist/dts" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"extends": "@slimevr/tsconfig/node.json", | ||
"extends": "@slimevr/tsconfig/node-lib.json", | ||
"include": ["src/**/*.ts"], | ||
"exclude": ["dist", "build", "node_modules"], | ||
"compilerOptions": { | ||
"target": "ES2020", | ||
"outDir": "dist" | ||
"outDir": "dist/esm", | ||
"declarationDir": "dist/dts" | ||
} | ||
} |
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,3 @@ | ||
.turbo | ||
CHANGELOG.md | ||
tsconfig.json | ||
src |
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
{ | ||
"extends": "@slimevr/tsconfig/node.json", | ||
"extends": "@slimevr/tsconfig/node-lib.json", | ||
"include": ["src/**/*.ts"], | ||
"exclude": ["dist", "build", "node_modules"], | ||
"compilerOptions": { | ||
"outDir": "dist" | ||
"outDir": "dist/esm", | ||
"declarationDir": "dist/dts" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"extends": "./base.json", | ||
"display": "Node.JS", | ||
"compilerOptions": { | ||
"target": "ES2020", | ||
"module": "ES2020", | ||
"moduleResolution": "Node" | ||
} | ||
} |
Oops, something went wrong.