Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Jun 27, 2022
1 parent 4db34bb commit b93d1da
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 8 deletions.
35 changes: 35 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nrwl/nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
]
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nrwl/nx/typescript"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nrwl/nx/javascript"],
"rules": {}
}
]
}
5 changes: 5 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { getJestProjects } from '@nrwl/jest';

export default {
projects: getJestProjects(),
};
3 changes: 3 additions & 0 deletions jest.preset.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const nxPreset = require('@nrwl/jest/preset').default;

module.exports = { ...nxPreset };
22 changes: 18 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,32 @@
"private": true,
"devDependencies": {
"@nativescript/nx": "^4.0.1",
"@nativescript/types": "~8.2.0",
"@nativescript/webpack": "~5.0.0",
"@nrwl/cli": "14.3.6",
"@nrwl/devkit": "14.3.6",
"@nrwl/eslint-plugin-nx": "14.3.6",
"@nrwl/jest": "14.3.6",
"@nrwl/linter": "14.3.6",
"@nrwl/workspace": "14.3.6",
"@types/jest": "27.4.1",
"@types/node": "latest",
"@typescript-eslint/eslint-plugin": "~5.24.0",
"@typescript-eslint/parser": "~5.24.0",
"eslint": "~8.15.0",
"eslint-config-prettier": "8.1.0",
"jest": "27.5.1",
"nx": "14.3.6",
"prettier": "^2.6.2",
"typescript": "~4.7.2",
"sass": "^1.32.0",
"@nativescript/webpack": "~5.0.0",
"@nativescript/types": "~8.2.0"
"ts-jest": "27.1.4",
"ts-node": "~10.8.0",
"typescript": "~4.7.2"
},
"dependencies": {
"@nativescript/core": "~8.2.0",
"nativescript-theme-core": "~1.0.4"
"nativescript-theme-core": "~1.0.4",
"tslib": "^2.3.0"
},
"nativescript-nx": {
"prefix": "stackblitz",
Expand Down
8 changes: 4 additions & 4 deletions workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"$schema": "./node_modules/nx/schemas/workspace-schema.json",
"version": 2,
"projects": {
"nativescript-starter-javascript": "apps/nativescript-starter-javascript",
"nativescript-starter-typescript": "apps/nativescript-starter-typescript",
"nativescript-starter-angular": "apps/nativescript-starter-angular",
"nativescript-starter-vue": "apps/nativescript-starter-vue",
"nativescript-starter-javascript": "apps/nativescript-starter-javascript",
"nativescript-starter-react": "apps/nativescript-starter-react",
"nativescript-starter-svelte": "apps/nativescript-starter-svelte",
"nativescript-starter-react": "apps/nativescript-starter-react"
"nativescript-starter-typescript": "apps/nativescript-starter-typescript",
"nativescript-starter-vue": "apps/nativescript-starter-vue"
}
}

0 comments on commit b93d1da

Please sign in to comment.