Skip to content

Commit

Permalink
feat(ivy)!: add support for angular ivy
Browse files Browse the repository at this point in the history
BREAKING CHANGE: drop support for angular < 14
  • Loading branch information
Badisi committed Mar 7, 2024
1 parent 598440f commit 290b6eb
Show file tree
Hide file tree
Showing 63 changed files with 34,812 additions and 53,463 deletions.
5 changes: 0 additions & 5 deletions babel.config.json

This file was deleted.

5 changes: 0 additions & 5 deletions jest.config.js

This file was deleted.

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 '@nx/jest';

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

module.exports = { ...nxPreset };
90 changes: 53 additions & 37 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,8 @@
{
"npmScope": "badisi",
"affected": {
"defaultBase": "main"
},
"workspaceLayout": {
"appsDir": "projects",
"libsDir": "projects"
},
"cli": {
"defaultCollection": "@nrwl/angular"
},
"implicitDependencies": {
"package.json": {
"dependencies": {
"oidc-client-ts": [
"auth-js"
],
"lodash-es": [
"auth-js"
]
},
"devDependencies": "*"
},
".eslintrc.json": "*"
},
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"tasksRunnerOptions": {
"default": {
"runner": "@nrwl/workspace/tasks-runners/default",
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build",
Expand All @@ -37,29 +13,69 @@
}
}
},
"targetDependencies": {
"build": [
{
"target": "build",
"projects": "dependencies"
}
]
"namedInputs": {
"default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"production": [
"default",
"!{projectRoot}/.eslintrc.json",
"!{projectRoot}/eslint.config.js",
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/jest.config.[jt]s",
"!{projectRoot}/src/test-setup.[jt]s",
"!{projectRoot}/test-setup.[jt]s"
],
"sharedGlobals": []
},
"targetDefaults": {
"build": {
"dependsOn": [
"^build"
],
"inputs": [
"production",
"^production"
]
},
"test": {
"inputs": [
"default",
"^production",
"{workspaceRoot}/jest.preset.js"
]
},
"e2e": {
"inputs": [
"default",
"^production"
]
},
"lint": {
"inputs": [
"default",
"{workspaceRoot}/.eslintrc.json",
"{workspaceRoot}/.eslintignore"
]
}
},
"generators": {
"@nrwl/angular:application": {
"@nx/angular:application": {
"style": "scss",
"linter": "eslint",
"unitTestRunner": "jest",
"e2eTestRunner": "none"
},
"@nrwl/angular:library": {
"@nx/angular:library": {
"linter": "eslint",
"unitTestRunner": "jest"
},
"@nrwl/angular:component": {
"@nx/angular:component": {
"style": "scss"
},
"@nrwl/web:application": {
"@nx/web:application": {
"style": "scss",
"linter": "eslint",
"unitTestRunner": "jest",
Expand Down
Loading

0 comments on commit 290b6eb

Please sign in to comment.