foobara-typescript-react-command-form-generator 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b3a0eee91dbe6d598135887380acf13b23b16a7cd419d2ca6bcd46b969ec662
4
- data.tar.gz: '088203fc6af7cf3e6739d3a3d5e99f75971e143ef07670ca0ea7842114d24a0f'
3
+ metadata.gz: f18b9a30777f3848ff7cbc0d74f8b8c819fb5f19e5a1487c736bd71639fe1a7d
4
+ data.tar.gz: 1dbff7b46bb3b2ca78023d951c6f90002c00dbeb5ddb4b486b00063b9ae3a134
5
5
  SHA512:
6
- metadata.gz: 2ac56dec6029a5cf14fe94230a04603f40daec90969df75455eb58f591aa50121ab5a6b59f1b9ffb6565463f4333271ba9231910e1869c879209ffe6e2f060d5
7
- data.tar.gz: 8c89184cc31cb2a277a15e248006f6319ab8ca15e0dd9c98837be6c3e20c5d49ecdc6889f60badf5295fe6e4c89709a1d4dd270c09c8bae34a9d037e6230dfb3
6
+ metadata.gz: 8d292d1f9aa4eb2cc318717bfe64b349ffa93f3f5f5ca501d519f888d31d81bcfd297b35feed7a57830b4fdb7f585a3cd2a901946c3ed13f134603d9dd20d9a8
7
+ data.tar.gz: a6f7cfec9844a2c974df232d1aea237fe30e2ef4056e4deaf6256e083dae4e90dafeb821653012d28ba21cf1cc4d1c50234a1d1376f65b948b6cc4a1f965b152
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [1.3.0] - 2026-03-19
2
+
3
+ - Handle recent lint rules related to the Vite -> CRA move
4
+
1
5
  ## [1.2.0] - 2026-02-26
2
6
 
3
7
  - Handle recent changes in foobara-typescript-remote-command-generator
@@ -1,14 +1,14 @@
1
- import React, { useState, JSX } from 'react'
1
+ import { useState, type JSX } from 'react'
2
2
 
3
3
  import { Outcome } from "<%= path_to_root %>base/Outcome"
4
4
 
5
5
  import { <%= command_name %> } from "<%= path_to_root %><%= command_generator.import_path %>"
6
6
  <% unless empty_inputs? %>
7
- import <%= inputs_class_name %> from "<%= path_to_root %><%= command_generator.import_path %>/Inputs"
7
+ import type <%= inputs_class_name %> from "<%= path_to_root %><%= command_generator.import_path %>/Inputs"
8
8
  <% end %>
9
9
  <%# TODO: why isn't the result type handled via dependency_roots to avoid collisions with other types? %>
10
- import <%= result_class_name %> from "<%= path_to_root %><%= command_generator.import_path %>/Result"
11
- import { Error as <%= error_class_name %> } from "<%= path_to_root %><%= command_generator.import_path %>/Errors"
10
+ import type <%= result_class_name %> from "<%= path_to_root %><%= command_generator.import_path %>/Result"
11
+ import { type Error as <%= error_class_name %> } from "<%= path_to_root %><%= command_generator.import_path %>/Errors"
12
12
 
13
13
  <% dependency_roots.each do |dependency_root| %>
14
14
  import <%= dependency_root.import_destructure %> from "<%= path_to_root %><%= dependency_root.import_path %>"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-typescript-react-command-form-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi