Skip to content

Commit

Permalink
TypeScript samples (#88)
Browse files Browse the repository at this point in the history
* Issue #60 (minor)

* Issue 62

* Revert "Issue #60 (minor)"

This reverts commit 01a91dd.

* Revert "Issue 62"

This reverts commit 1bf88bd.

* WIP:
 * adding TypeScript sample

* WIP:
 * Typescript sample

* WIP:
 * TypeScript sample

* WIP:
 * TypeScript sample

* WIP:
 * TypeScript getting_started sample

* WIP:
 * Update README for TypeScript samples

* WIP:
 * Update README for TypeScript samples

* WIP:
 * Add TypeScript samples (telemetry)

* README updates for TypeScript samples

* WIP:
 * TypeScript samples for getting_started and telemetry

* WIP:
 * TypeScript sample for telemetry scenario

* WIP:
 * TypeScript sample for command scenario

* WIP:
 * TypeScript sample for command scenario

* Delete package-lock.json

Stray file

* WIP:
 * npm workspaces, TS references

* WIP:
 * change build artifacts from 'dist' to 'built'
 * Rename TypeScript folders to ts

* WIP:
 * clean up root files

* WIP:
 * npm workspaces and ts references

* WIP:
 * connectionSettings

* WIP:
 * tsconfig references eslint recommended

* Delete mqttclients/ts/mqttjsClientExtensions/tsconfig.tsbuildinfo

* WIP:
 * npm workspaces and TypeScript references

* WIP:
 * npm workspaces and TypeScript references

* WIP:
 * Update specific setup for eslint and typescript references

* WIP:
 * start to abstract client extensions

* WIP:
 * align mqttconnectionsettings with DotNet version

* WIP:
 * qos param

* WIP: TypeScript and Intellisense config

* Pino logger with custom serializer

* WIP: Align TypeScript folders with DotNet structure

* WIP: Telemetry producer
 * positionTelemetryProducer
 * telemetryProducer
 * telemetryMessage
 * messageSerializer
 * utf8JsonSerializer

* WIP: TelemetryConsumer
 * positionTelemetryConsumer
 * telemetryConsumer

* WIP: commands with proto project

* WIP: command samples with protobuf

* TS Command server client scenarios with protobuf

* README - Alert sample coming soon

* Fixes tied to PR comments

* Setup.MD protobuf compiler install instructions

* Change to @protobuf-ts/plugin

* Protobuf build steps for command scenario

* Update README for Command protobuf

* Remove unused package
  • Loading branch information
sseiber authored Feb 23, 2024
1 parent ded020c commit 6f1a14c
Show file tree
Hide file tree
Showing 53 changed files with 2,043 additions and 34 deletions.
32 changes: 32 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked"
],
"plugins": [
"@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": true
},
"root": true,
"ignorePatterns": [
"**/dist/**"
],
"rules": {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/semi": [
"error",
"always"
]
}
}
28 changes: 24 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,6 @@ FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml

# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/

# Visual Studio 6 build log
*.plg

Expand Down Expand Up @@ -368,3 +364,27 @@ MigrationBackup/

# Generated C protobuf files
*.pb-c.*

# Generated TS protobuf type files
**/generated
*-pb.js
*-pb.d.ts

# TypeScript/Node/JS related files
node_modules/
.node_modules/
**/dist/
scripts/eslint/built/
scripts/debug.bat
scripts/run.bat
scripts/**/*.js
scripts/**/*.js.map
**/.DS_Store
.settings
yarn.lock
yarn-error.log
package-lock.json
.eslintcache
*v8.log
**/tsconfig.tsbuildinfo
notes.md
Loading

0 comments on commit 6f1a14c

Please sign in to comment.