Skip to content

Commit a229ba9

Browse files
committed
chore(repo): scaffold packages
1 parent e3f1534 commit a229ba9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+5067
-5290
lines changed

Diff for: .eslintrc.json

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": ["**/*"],
4+
"plugins": ["@nrwl/nx"],
5+
"overrides": [
6+
{
7+
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
8+
"rules": {
9+
"@nrwl/nx/enforce-module-boundaries": [
10+
"error",
11+
{
12+
"enforceBuildableLibDependency": true,
13+
"allow": [],
14+
"depConstraints": [
15+
{
16+
"sourceTag": "*",
17+
"onlyDependOnLibsWithTags": ["*"]
18+
}
19+
]
20+
}
21+
]
22+
}
23+
},
24+
{
25+
"files": ["*.ts", "*.tsx"],
26+
"extends": ["plugin:@nrwl/nx/typescript"],
27+
"rules": {}
28+
},
29+
{
30+
"files": ["*.js", "*.jsx"],
31+
"extends": ["plugin:@nrwl/nx/javascript"],
32+
"rules": {}
33+
}
34+
]
35+
}

Diff for: .vscode/extensions.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"recommendations": [
3-
43
"nrwl.angular-console",
5-
"esbenp.prettier-vscode"
4+
"esbenp.prettier-vscode",
5+
"dbaeumer.vscode-eslint",
6+
"firsttris.vscode-jest-runner"
67
]
78
}

Diff for: jest.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const { getJestProjects } = require('@nrwl/jest');
2+
3+
module.exports = {
4+
projects: getJestProjects(),
5+
};

Diff for: jest.preset.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const nxPreset = require('@nrwl/jest/preset');
2+
3+
module.exports = { ...nxPreset };

Diff for: libs/.gitkeep

Whitespace-only changes.

Diff for: nx.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
22
"npmScope": "code-rub",
3+
"workspaceLayout": {
4+
"appsDir": "",
5+
"libsDir": "packages"
6+
},
37
"affected": {
48
"defaultBase": "main"
59
},
@@ -15,14 +19,10 @@
1519
},
1620
"tasksRunnerOptions": {
1721
"default": {
18-
"runner": "@nrwl/workspace/tasks-runners/default",
22+
"runner": "@nrwl/nx-cloud",
1923
"options": {
20-
"cacheableOperations": [
21-
"build",
22-
"lint",
23-
"test",
24-
"e2e"
25-
]
24+
"cacheableOperations": ["build", "lint", "test", "e2e"],
25+
"accessToken": "YjJmMGQ5NjItYTYxOS00YWQ0LWE2NzYtYTA1YzBhZGViMWNmfHJlYWQtd3JpdGU="
2626
}
2727
}
2828
},

0 commit comments

Comments
 (0)