Skip to content

Commit

Permalink
build(angular-universal): migrate to nx
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-sa committed Sep 11, 2023
1 parent df21c1d commit 48db3d6
Show file tree
Hide file tree
Showing 19 changed files with 136 additions and 2,793 deletions.
28 changes: 28 additions & 0 deletions packages/angular-universal/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"extends": ["../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"parserOptions": {
"project": ["packages/angular-universal/tsconfig.*?.json"]
},
"rules": {}
},
{
"files": ["*.ts", "*.tsx"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"rules": {}
},
{
"files": ["*.json"],
"parser": "jsonc-eslint-parser",
"rules": {
"@nx/dependency-checks": "error"
}
}
]
}
1 change: 0 additions & 1 deletion packages/angular-universal/.npmignore

This file was deleted.

1 change: 0 additions & 1 deletion packages/angular-universal/dist/esm/package.json

This file was deleted.

12 changes: 12 additions & 0 deletions packages/angular-universal/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import type { Config } from 'jest';

export default {
displayName: 'angular-universal',
preset: '../../jest.preset.js',
testEnvironment: 'node',
transform: {
'^.+\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
},
moduleFileExtensions: ['ts', 'js', 'html'],
coverageDirectory: '../../coverage/packages/angular-universal',
} as Config;
Loading

0 comments on commit 48db3d6

Please sign in to comment.