Skip to content

Commit

Permalink
Merge pull request #10668 from murdos/react-adjustments
Browse files Browse the repository at this point in the history
React resources reorg
  • Loading branch information
murdos authored Aug 25, 2024
2 parents f8efc0d + 4a30415 commit 8ccb5bf
Show file tree
Hide file tree
Showing 36 changed files with 6 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

public class ReactCoreModulesFactory {

private static final JHipsterSource SOURCE = from("client/react");
private static final JHipsterSource SOURCE = from("client/react/core");
private static final JHipsterSource SOURCE_COMMON = from("client/common");

private static final JHipsterSource WEBAPP_SOURCE = SOURCE.append("src/main/webapp");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ public class ReactJwtModuleFactory {

private static final String APP = "<App />";

private static final JHipsterSource ROOT = from("client/react");
private static final JHipsterSource ROOT = from("client/react/security/jwt");

private static final JHipsterSource SOURCE = from("client/react/src");
private static final JHipsterSource SOURCE = ROOT.append("src");

private static final JHipsterSource APP_SOURCE = SOURCE.append("main/webapp/app");
private static final JHipsterSource TEST_JAVASCRIPT_SOURCE = SOURCE.append("test/webapp/unit");
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
import tech.jhipster.lite.module.domain.JHipsterModulesFixture;

@UnitTest
public class ReactI18nModuleFactoryTest {

public static final ReactI18nModuleFactory factory = new ReactI18nModuleFactory();
class ReactI18nModuleFactoryTest {

private static final String APP_TSX = "src/main/webapp/app/common/primary/app/App.tsx";

private final ReactI18nModuleFactory factory = new ReactI18nModuleFactory();

@Test
void shouldBuildI18nModule() {
JHipsterModule module = factory.buildModule(
Expand Down

0 comments on commit 8ccb5bf

Please sign in to comment.