1.0.0-alpha.41 • Published 2 years ago

@fabernovel/pes-nx-plugin-workspace v1.0.0-alpha.41

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

@fabernovel/pes-nx-plugin-workspace

Fabernovel's plugin for generating your Nx workspace

Usage

:bulb: No need to clone the repo, this plugin in deployed on npm !

pnpm dlx create-nx-workspace@16.1.4 --preset=@fabernovel/pes-nx-plugin-workspace --nxCloud=false --skipGit=true

:warning: You cannot create a new workspace inside PES repo (if you cloned it to contribute for example)

See Nx documentation for other options.

What does it do ?

The previous command will

  • setup Fabernovel's workspace layout (See Guidelines and Limitations)
  • initialize git repository, and perform the first commit
  • setup Pre-commit formatting

Shared library

Here, we refer to a shared library as a library shared between multiple applications. If you want to create a library shared between the libraries of the same application see the nx-plugin-next or nx-plugin-nest readme's.

In order to generate a shared library, run the following command:

pnpm exec nx g @fabernovel/pes-nx-plugin-workspace:shared <name> [options]
ArgumentsDescription
<name>The shared library name (will be requested by the cli if not provided)
OptionsDefaultDescriptionRequired
--directory"/shared/<name>"Library path (string) after /libs
--tagsTags (string separated by commas). For example: --tags="auth, user"

Next step

Now that your workspace is set up, you can add apps to your project! Refer to PES documentation to see all available application generators.

1.0.0-alpha.41

2 years ago

1.0.0-alpha.38

2 years ago

1.0.0-alpha.37

2 years ago

1.0.0-alpha.39

2 years ago

1.0.0-alpha.40

2 years ago

1.0.0-alpha.36

2 years ago

1.0.0-alpha.35

2 years ago

1.0.0-alpha.34

2 years ago

1.0.0-alpha.30

2 years ago

1.0.0-alpha.32

2 years ago

1.0.0-alpha.31

2 years ago

1.0.0-alpha.33

2 years ago

1.0.0-alpha.27

2 years ago

1.0.0-alpha.26

2 years ago

1.0.0-alpha.29

2 years ago

1.0.0-alpha.28

2 years ago

1.0.0-alpha.25

2 years ago

1.0.0-alpha.19

2 years ago

1.0.0-alpha.9

2 years ago

1.0.0-alpha.8

2 years ago

1.0.0-alpha.7

2 years ago

1.0.0-alpha.6

2 years ago

1.0.0-alpha.10

2 years ago

1.0.0-alpha.5

2 years ago

1.0.0-alpha.16

2 years ago

1.0.0-alpha.15

2 years ago

1.0.0-alpha.18

2 years ago

1.0.0-alpha.17

2 years ago

1.0.0-alpha.12

2 years ago

1.0.0-alpha.11

2 years ago

1.0.0-alpha.14

2 years ago

1.0.0-alpha.13

2 years ago

1.0.0-alpha.21

2 years ago

1.0.0-alpha.20

2 years ago

1.0.0-alpha.23

2 years ago

1.0.0-alpha.22

2 years ago

1.0.0-alpha.24

2 years ago

1.0.0-alpha.4

3 years ago

1.0.0-alpha.3

3 years ago

1.0.0-alpha.2

3 years ago

1.0.0-alpha.1

3 years ago

1.0.0-alpha.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago