Skip to content

Commit 84454e1

Browse files
committed
add contributors.md and nx defaults
1 parent 352a8e3 commit 84454e1

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ testem.log
3838
.DS_Store
3939
Thumbs.db
4040

41-
.nx/cache
41+
.nx

CONTRIBUTING.MD

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Contributors Guide
2+
3+
## Contributing to existing plugins
4+
5+
## Creating a new plugin
6+
7+
### Proposal
8+
9+
### Development
10+
11+
#### Setup
12+
13+
To create a new library in the monorepo, run the following command:
14+
15+
```bash
16+
17+
npx nx g @nx/js:lib [package-name] --tags=scope:plugin --projectNameAndRootFormat=derived --unitTestRunner=vitest --bundler=esbuild
18+
19+
```

nx.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
22
"extends": "nx/presets/npm.json",
33
"$schema": "./node_modules/nx/schemas/nx-schema.json",
4-
"nxCloudAccessToken": "OWI2YzgxYTgtZWMzZi00MWFiLWE4YjYtM2Q4MjRjMGNjOTg0fHJlYWQtd3JpdGU="
4+
"nxCloudAccessToken": "OWI2YzgxYTgtZWMzZi00MWFiLWE4YjYtM2Q4MjRjMGNjOTg0fHJlYWQtd3JpdGU=",
5+
"workspaceLayout": {
6+
"appsDir": "packages",
7+
"libsDir": "packages"
8+
}
59
}

0 commit comments

Comments
 (0)