Skip to content

Commit 1945373

Browse files
committed
Default the project_directory to "." instead of the output_directory
1 parent 52bcb65 commit 1945373

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [1.2.3] - 2026-01-24
2+
3+
- Default the project_directory to "." instead of the output_directory
4+
15
## [1.2.2] - 2026-01-24
26

37
- Add support for an app model named Model, which collide's with Foobara's Model

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
foobara-typescript-remote-command-generator (1.2.2)
4+
foobara-typescript-remote-command-generator (1.2.3)
55
foobara (>= 0.1.16, < 2.0.0)
66
foobara-files-generator (< 2.0.0)
77

src/remote_generator/write_typescript_to_disk.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ def self.generator_key = "typescript-remote-commands"
99
raw_manifest :associative_array, :allow_nil
1010
manifest_url :string, :allow_nil
1111
# TODO: should be able to delete this and inherit it
12-
project_directory :string, :allow_nil, "This lets you specify a directory to run the linter or npm run build in"
12+
project_directory :string,
13+
default: ".",
14+
description: "This lets you specify a directory to run the linter or npm run build in"
1315
output_directory :string, default: "src/domains"
1416
fail_if_does_not_pass_linter :boolean, default: false
1517
end

version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Foobara
22
module TypescriptRemoteCommandGenerator
33
module Version
4-
VERSION = "1.2.2".freeze
4+
VERSION = "1.2.3".freeze
55
MINIMUM_RUBY_VERSION = ">= 3.4.0".freeze
66
end
77
end

0 commit comments

Comments
 (0)