Skip to main content

Introduction

Packages serve as essential components of GenesisX, providing users with a streamlined method for rapidly configuring new applications, utilities, and other essential features.

To expedite application development, the GenesisX packages offer users the capability to furnish boilerplate applications and utilities that are compatible with both Nx and non-Nx environments, leveraging either the npm CLI or Code-shaper.

Ecosystem

tip

You have the flexibility to choose one or multiple packages from GenesisX based on your project requirements, without any obligation to adopt the entire suite.

Below is a pictorial view of a new workspace with some of the GenesisX packages listed at various tiers of an app.

Respective npm package names are mentioned in brackets.

Ecosystem

Current list of GenesisX Packages

Currently, GenesisX offers the following packages to end-users (consumers). However, if you wish to utilize any other package supported by @nx, such as Angular, please refer to the section below this table.

CountPackagenpm packagePurpose
1Create Workspace @genesisx/create-workspaceTo setup a new workspace to create monorepo based microApps
2React Application @genesisx/reactTo generate a react based application (nx based)
3NextJS Application @genesisx/nextTo generate a react based application (nx based)
4Graphql Application @genesisx/graphqlTo generate an app enabling Graphql Federation or Service
5Graphql Utility @genesisx/graphql-utilUtility functions for Graphql application
6Mock-server @genesisx/mock-serverTo generate a mock server to mock apis
7Jenkins Pipeline @genesisx/jenkinsEnables build CI/CD pipeline in the application by adding a configurable jenkins pipeline
8Kubernetes Configuration @genesisx/k8-docker-configEnables dockerizing the application by adding k8 charts and configurations
9React InterApp Routing @genesisx/react-interapp-routingEnables url based routing between two microApps
10Git Hooks @genesisx/git-hooksEnables commit hook for the generated app
11GQL SuperGraph Gateway @genesisx/graphql-supergraph-gatewayTo use supergraph gateway based apps
12GQL SuperGraph router @genesisx/graphql-supergraph-routerTo use supergraph router based apps
13Vanilla JS Apps @genesisx/vanilla-jsTo generate a skeleton JS app with no library / framework
14Git Workflows @genesisx/git-workflowsTo use git workflows based pipelines for your apps
15Mock-api-Server @genesisx/mock-api-serverTo build mock server / node apis using mock-api framework apps
16TestX Web Wdio @genesisx/testx-web-wdioTo provide a seamless integration with TestX accelerator
17React Archetype @genesisx/react-archetypeEnables generation of reactive apps with different rendering patterns
18Design System @genesisx/design-systemProvides a design system starter kit
19MFE Loader @genesisx/mfe-loaderTo load federated remote modules dynamically at runtime
20Nextjs MFE @genesisx/nextjs-mfeTo quickly setup a Nextjs based module federated application setup, using turbo as monorepo workspace

For more details of individual packages, around setup and other commands, please refer the respective section on left panel

Other @nrwl (Nx) packages

In addition to the pre-existing GenesisX packages, you have the option of utilizing any other nrwl packages. It is important to note that the version of any additional packages must be aligned with the current nx version, which is currently 16.6.

Please see Nx Packages Support page on the left menu

Versions

It is advisable to refrain from installing the latest versions of the packages, as they are currently undergoing continuous development. Therefore, it is essential to use a stable combination of packages.

Latest Release

Current LTS Release of GenesisX : 4.0.1 which is using nx version 16.6 for various @nx dependency, along with Nodejs version 18

The packages listed below have been tested successfully and published with respective version as part of this release.

Package NameVersion
@genesisx/create-workspace4.0.3
@genesisx/react4.0.5
@genesisx/next4.0.2
@genesisx/graphql4.0.3
@genesisx/graphql-utils4.0.2
@genesisx/mock-server4.0.3
@genesisx/mock-api-server4.0.1
@genesisx/jenkins4.0.1
@genesisx/react-interapp-routing4.0.1
@genesisx/git-hooks4.0.1
@genesisx/k8-docker-config4.0.1
@genesisx/vanilla-js4.0.4
@genesisx/git-workflows4.0.1
@genesisx/testx-web-wdio4.0.3
@genesisx/design-system1.0.1
@genesisx/react-archetype1.0.0
@genesisx/nextjs-mfe5.1.0
@genesisx/mfe-loader1.0.0
@genesisx/react-archetype1.0.1
@genesisx/design-system3.0.0
info

Note: Below packages are yet to be migrated to Nx15 and Node 18

Package NameVersion
@genesisx/graphql-supergraph-gateway4.0.3
@genesisx/graphql-supergraph-router4.0.3

Previous Release : 3.0.1

GenesisX : 3.0.1 which is using nx version 15.7.2 for various @nrwl dependency,

The packages listed below have been published with their respective versions in a Node.js 18 environment and are functioning perfectly.

Package NameVersion
@genesisx/create-workspace3.1.0
@genesisx/react3.0.2
@genesisx/next3.0.2
@genesisx/graphql3.0.1
@genesisx/graphql-utils3.0.1
@genesisx/mock-server3.0.1
@genesisx/mock-api-server3.0.2
@genesisx/jenkins3.0.1
@genesisx/react-interapp-routing3.0.0
@genesisx/git-hooks3.0.1
@genesisx/git-workflows3.0.1
@genesisx/testx-web-wdio3.0.1
@genesisx/vanilla-js3.0.1
@genesisx/k8-docker-config3.0.1
@genesisx/graphql-supergraph-gateway3.0.1
@genesisx/graphql-supergraph-router3.0.1
@genesisx/design-system1.0.1
@genesisx/react-archetype1.0.0
@genesisx/design-system1.0.1
@genesisx/nextjs-mfe4.1.0
@genesisx/mfe-loader1.0.0

Previous Release : 1.0.0

GenesisX : 1.0.0 which is using nx version 14 for various @nrwl dependency,

The packages listed below have been published with their respective versions in a Node.js 16 environment and are functioning perfectly.

Package NameVersion
@genesisx/create-workspace2.0.0
@genesisx/react2.0.0
@genesisx/next2.0.0
@genesisx/graphql2.0.1
@genesisx/graphql-utils2.0.0
@genesisx/mock-server2.0.1
@genesisx/jenkins2.0.0
@genesisx/react-interapp-routing3.0.0
@genesisx/git-hooks2.0.0
@genesisx/k8-docker-config2.0.0
@genesisx/graphql-supergraph-gateway2.0.0
@genesisx/graphql-supergraph-router2.0.0

Previous Releases : 0.3.0

Previous Release of GenesisX : 0.3.0 which is using nx version 13 for various @nrwl dependency ,

Below packages are published with mentioned version in a nodejs 16 environment and its working perfectly fine.

Package NameVersion
@genesisx/create-workspace0.2.3
@genesisx/react0.2.5
@genesisx/next0.2.9
@genesisx/graphql1.7.23
@genesisx/graphql-utils0.2.7
@genesisx/mock-server0.2.10
@genesisx/jenkins0.2.1
@genesisx/react-interapp-routing2.6.1
@genesisx/git-hooks0.2.1
@genesisx/k8-docker-config0.2.1