Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

chore: migrate to standalone project config #977

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,039 changes: 0 additions & 1,039 deletions 1,039 angular.json

This file was deleted.

29 changes: 29 additions & 0 deletions 29 apps/demos-e2e/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"root": "apps/demos-e2e",
"sourceRoot": "apps/demos-e2e/src",
"projectType": "application",
"targets": {
"e2e": {
"executor": "@nrwl/cypress:cypress",
"options": {
"cypressConfig": "apps/demos-e2e/cypress.json",
"tsConfig": "apps/demos-e2e/tsconfig.e2e.json",
"devServerTarget": "demos:serve"
},
"configurations": {
"production": {
"devServerTarget": "demos:serve:production"
}
}
},
"lint": {
"executor": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["apps/demos-e2e/tsconfig.e2e.json"],
"exclude": ["**/node_modules/**", "!apps/demos-e2e/**/*"]
}
}
},
"tags": [],
"implicitDependencies": ["demos"]
}
132 changes: 132 additions & 0 deletions 132 apps/demos/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
{
"projectType": "application",
"generators": {
"@schematics/angular:component": {
"style": "css"
}
},
"root": "apps/demos",
"sourceRoot": "apps/demos/src",
"prefix": "rxa",
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "docs/demos",
"baseHref": "/rx-angular/demos/",
"index": "apps/demos/src/index.html",
"main": "apps/demos/src/main.ts",
"polyfills": "apps/demos/src/polyfills.ts",
"tsConfig": "apps/demos/tsconfig.app.json",
"assets": ["apps/demos/src/favicon.ico", "apps/demos/src/assets"],
"styles": ["apps/demos/src/styles.scss"],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "apps/demos/src/environments/environment.ts",
"with": "apps/demos/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
},
"npm": {
"optimization": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
],
"tsConfig": "apps/demos/tsconfig.app.npm.json"
},
"zoneless": {
"fileReplacements": [
{
"replace": "apps/demos/src/environments/environment.ts",
"with": "apps/demos/src/environments/environment.zoneless.ts"
}
],
"polyfills": ""
}
},
"outputs": ["{options.outputPath}"]
},
"serve": {
"executor": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "demos:build"
},
"configurations": {
"production": {
"browserTarget": "demos:build:production"
},
"npm": {
"browserTarget": "demos:build:npm"
},
"zoneless": {
"browserTarget": "demos:build:zoneless"
}
}
},
"extract-i18n": {
"executor": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "demos:build"
}
},
"lint": {
"executor": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"apps/demos/tsconfig.app.json",
"apps/demos/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**", "!apps/demos/**/*"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "apps/demos/jest.config.js",
"passWithNoTests": true
},
"outputs": ["coverage/apps/demos"]
}
},
"tags": ["type:app"]
}
117 changes: 117 additions & 0 deletions 117 apps/docs/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"projectType": "application",
"root": "apps/docs",
"sourceRoot": "apps/docs",
"prefix": "rx-angular",
"targets": {
"serve-admin": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"parallel": true,
"commands": [
{
"command": "npx serve docs/admin"
},
{
"command": "npx netlify-cms-proxy-server"
}
]
}
},
"serve-docsify": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "npx docsify-cli serve docs"
}
]
}
},
"build": {
"executor": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/apps/docs",
"index": "apps/docs/src/index.html",
"main": "apps/docs/src/main.ts",
"polyfills": "apps/docs/src/polyfills.ts",
"tsConfig": "apps/docs/tsconfig.app.json",
"assets": ["apps/docs/src/favicon.ico", "apps/docs/src/assets"],
"styles": ["apps/docs/src/styles.scss"],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "apps/docs/src/environments/environment.ts",
"with": "apps/docs/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
},
"outputs": ["{options.outputPath}"]
},
"serve": {
"executor": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "docs:build"
},
"configurations": {
"production": {
"browserTarget": "docs:build:production"
}
}
},
"extract-i18n": {
"executor": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "docs:build"
}
},
"lint": {
"executor": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"apps/docs/tsconfig.app.json",
"apps/docs/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**", "!apps/docs/**/*"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "apps/docs/jest.config.js",
"passWithNoTests": true
},
"outputs": ["coverage/apps/docs"]
}
},
"tags": ["type:app"]
}
23 changes: 23 additions & 0 deletions 23 apps/ssr-e2e/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"root": "apps/ssr-e2e",
"sourceRoot": "apps/ssr-e2e/src",
"projectType": "application",
"targets": {
"e2e": {
"executor": "@nrwl/cypress:cypress",
"options": {
"cypressConfig": "apps/ssr-e2e/cypress.json",
"tsConfig": "apps/ssr-e2e/tsconfig.e2e.json",
"devServerTarget": "ssr:serve-ssr"
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["apps/ssr-e2e/**/*.{js,ts}"]
}
}
},
"tags": [],
"implicitDependencies": ["ssr"]
}
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.