Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
remove iot-device-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Feb 8, 2024
1 parent 7facbf5 commit 87a0773
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Binary file modified pkg/platform/bun.lockb
Binary file not shown.
1 change: 0 additions & 1 deletion pkg/platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"@tsconfig/node18": "18.2.2",
"@types/archiver": "6.0.2",
"@types/aws-lambda": "^8.10.133",
"aws-iot-device-sdk": "^2.2.13",
"openai": "4.24.7",
"prettier": "3.1.1",
"vitest": "^1.2.2"
Expand Down
6 changes: 3 additions & 3 deletions pkg/project/deps.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func InstallDeps(version, cfgPath string) error {
return err
}

if version == "dev" {
if version == "dev" && false {
slog.Info("dev mode skipping node_module install")
return nil
}
Expand All @@ -40,8 +40,8 @@ func InstallDeps(version, cfgPath string) error {

cmd := exec.Command("npm", "install", "--omit=dev")
cmd.Dir = platformDir
// cmd.Stderr = os.Stderr
// cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
cmd.Stdout = os.Stdout

err = cmd.Run()
if err != nil {
Expand Down

0 comments on commit 87a0773

Please sign in to comment.