chore(repo): fix issues building nx-dev
This commit is contained in:
parent
33154c344f
commit
55c20b81c0
@ -15,7 +15,6 @@ packages/jest/src/schematics/**/files/**/*.json
|
||||
packages/**/schematics/**/files/**/*.html
|
||||
packages/**/generators/**/files/**/*.html
|
||||
nx-dev/nx-dev/.next/
|
||||
docs/generated/
|
||||
/.vscode
|
||||
/.idea
|
||||
/.github
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -38,22 +38,21 @@ Example:
|
||||
mockSchematicsForTesting({
|
||||
'mycollection:myschematic': (tree, params) => {
|
||||
tree.write('README.md');
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| :----------- | :------- |
|
||||
| `schematics` | `Object` |
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
___
|
||||
---
|
||||
|
||||
### overrideCollectionResolutionForTesting
|
||||
|
||||
@ -69,24 +68,26 @@ Example:
|
||||
|
||||
```typescript
|
||||
overrideCollectionResolutionForTesting({
|
||||
'@nrwl/workspace': path.join(__dirname, '../../../../workspace/generators.json'),
|
||||
'@nrwl/workspace': path.join(
|
||||
__dirname,
|
||||
'../../../../workspace/generators.json'
|
||||
),
|
||||
'@nrwl/angular': path.join(__dirname, '../../../../angular/generators.json'),
|
||||
'@nrwl/linter': path.join(__dirname, '../../../../linter/generators.json')
|
||||
'@nrwl/linter': path.join(__dirname, '../../../../linter/generators.json'),
|
||||
});
|
||||
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| :------------ | :------- |
|
||||
| `collections` | `Object` |
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
___
|
||||
---
|
||||
|
||||
### wrapAngularDevkitSchematic
|
||||
|
||||
@ -95,7 +96,7 @@ ___
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| :--------------- | :------- |
|
||||
| `collectionName` | `string` |
|
||||
| `generatorName` | `string` |
|
||||
|
||||
@ -108,7 +109,7 @@ ___
|
||||
##### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| :----------------- | :-------------------------------- |
|
||||
| `host` | [`Tree`](../../devkit/index#tree) |
|
||||
| `generatorOptions` | `Object` |
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
4
nx.json
4
nx.json
@ -24,6 +24,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"workspaceLayout": {
|
||||
"libsDir": "",
|
||||
"appsDir": ""
|
||||
},
|
||||
"namedInputs": {
|
||||
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
||||
"production": [
|
||||
|
||||
@ -311,6 +311,7 @@
|
||||
"nx": {
|
||||
"includedScripts": [
|
||||
"echo",
|
||||
"check-commit",
|
||||
"check-format",
|
||||
"check-imports",
|
||||
"check-lock-files",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user