Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmojicatech committed Jan 21, 2023
1 parent bd79aae commit 8f78aff
Show file tree
Hide file tree
Showing 22 changed files with 8,086 additions and 9,894 deletions.
1 change: 1 addition & 0 deletions apps/fantalytic-mobile-e2e/project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "fantalytic-mobile-e2e",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/fantalytic-mobile-e2e/src",
"projectType": "application",
Expand Down
9 changes: 3 additions & 6 deletions apps/fantalytic-mobile/project.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "fantalytic-mobile",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "apps/fantalytic-mobile/src",
"prefix": "pmt",
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"outputs": [
"{options.outputPath}"
],
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/fantalytic-mobile",
"index": "apps/fantalytic-mobile/src/index.html",
Expand Down Expand Up @@ -98,9 +97,7 @@
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": [
"coverage/apps/fantalytic-mobile"
],
"outputs": ["{workspaceRoot}/coverage/apps/fantalytic-mobile"],
"options": {
"jestConfig": "apps/fantalytic-mobile/jest.config.js",
"passWithNoTests": true
Expand Down
13 changes: 4 additions & 9 deletions apps/fantalytic-public-e2e/project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "fantalytic-public-e2e",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/fantalytic-public-e2e/src",
"projectType": "application",
Expand All @@ -18,18 +19,12 @@
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": [
"{options.outputFile}"
],
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"apps/fantalytic-public-e2e/**/*.{js,ts}"
]
"lintFilePatterns": ["apps/fantalytic-public-e2e/**/*.{js,ts}"]
}
}
},
"tags": [],
"implicitDependencies": [
"fantalytic-public"
]
"implicitDependencies": ["fantalytic-public"]
}
9 changes: 3 additions & 6 deletions apps/fantalytic-public/project.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"name": "fantalytic-public",
"projectType": "application",
"sourceRoot": "apps/fantalytic-public/src",
"prefix": "pmt",
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"outputs": [
"{options.outputPath}"
],
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/fantalytic-public",
"index": "apps/fantalytic-public/src/index.html",
Expand Down Expand Up @@ -90,9 +89,7 @@
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": [
"coverage/apps/fantalytic-public"
],
"outputs": ["{workspaceRoot}/coverage/apps/fantalytic-public"],
"options": {
"jestConfig": "apps/fantalytic-public/jest.config.ts",
"passWithNoTests": true
Expand Down
1 change: 1 addition & 0 deletions apps/grocery-list-e2e/project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "grocery-list-e2e",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/grocery-list-e2e/src",
"projectType": "application",
Expand Down
3 changes: 2 additions & 1 deletion apps/grocery-list/project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "grocery-list",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/grocery-list/src",
"projectType": "application",
Expand Down Expand Up @@ -72,7 +73,7 @@
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/apps/grocery-list"],
"outputs": ["{workspaceRoot}/coverage/apps/grocery-list"],
"options": {
"jestConfig": "apps/grocery-list/jest.config.ts",
"passWithNoTests": true
Expand Down
39 changes: 38 additions & 1 deletion apps/grocery-list/src/app/components/GroceryList.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,44 @@
import { useState } from "react"

export default function GroceryList() {
const [items, setItems] = useState<{datePurchased: string, name: string; qty: number}[]>([]);

return (
<main>
Hello World
<section>

<table>
<thead>
<th>
Date Purchased
</th>
<th>
Item
</th>
<th>
Qty
</th>
</thead>
<tbody>
{
items.map(item => (
<>
<td>
{item.datePurchased}
</td>
<td>
{item.name}
</td>
<td>
{item.qty}
</td>
</>
))
}
</tbody>
</table>
</section>

</main>
)
}
13 changes: 4 additions & 9 deletions apps/marvel-web-e2e/project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "marvel-web-e2e",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/marvel-web-e2e/src",
"projectType": "application",
Expand All @@ -17,18 +18,12 @@
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": [
"{options.outputFile}"
],
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"apps/marvel-web-e2e/**/*.{js,ts}"
]
"lintFilePatterns": ["apps/marvel-web-e2e/**/*.{js,ts}"]
}
}
},
"tags": [],
"implicitDependencies": [
"marvel-web"
]
"implicitDependencies": ["marvel-web"]
}
13 changes: 4 additions & 9 deletions apps/marvel-web/project.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "marvel-web",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "apps/marvel-web/src",
"prefix": "pmt",
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"outputs": [
"{options.outputPath}"
],
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/marvel-web",
"index": "apps/marvel-web/src/index.html",
Expand All @@ -20,9 +19,7 @@
"apps/marvel-web/src/favicon.ico",
"apps/marvel-web/src/assets"
],
"styles": [
"apps/marvel-web/src/styles.scss"
],
"styles": ["apps/marvel-web/src/styles.scss"],
"scripts": []
},
"configurations": {
Expand Down Expand Up @@ -87,9 +84,7 @@
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": [
"coverage/apps/marvel-web"
],
"outputs": ["{workspaceRoot}/coverage/apps/marvel-web"],
"options": {
"jestConfig": "apps/marvel-web/jest.config.js",
"passWithNoTests": true
Expand Down
13 changes: 4 additions & 9 deletions apps/marvintherapy-public-e2e/project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "marvintherapy-public-e2e",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/marvintherapy-public-e2e/src",
"projectType": "application",
Expand All @@ -17,18 +18,12 @@
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": [
"{options.outputFile}"
],
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"apps/marvintherapy-public-e2e/**/*.{js,ts}"
]
"lintFilePatterns": ["apps/marvintherapy-public-e2e/**/*.{js,ts}"]
}
}
},
"tags": [],
"implicitDependencies": [
"marvintherapy-public"
]
"implicitDependencies": ["marvintherapy-public"]
}
17 changes: 5 additions & 12 deletions apps/marvintherapy-public/project.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"name": "marvintherapy-public",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/marvintherapy-public",
"projectType": "application",
"targets": {
"build": {
"executor": "@nrwl/next:build",
"outputs": [
"{options.outputPath}"
],
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"root": "apps/marvintherapy-public",
Expand Down Expand Up @@ -38,23 +37,17 @@
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": [
"coverage/apps/marvintherapy-public"
],
"outputs": ["{workspaceRoot}/coverage/apps/marvintherapy-public"],
"options": {
"jestConfig": "apps/marvintherapy-public/jest.config.js",
"passWithNoTests": true
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": [
"{options.outputFile}"
],
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"apps/marvintherapy-public/**/*.{ts,tsx,js,jsx}"
]
"lintFilePatterns": ["apps/marvintherapy-public/**/*.{ts,tsx,js,jsx}"]
}
}
},
Expand Down
3 changes: 2 additions & 1 deletion libs/fantalytic-shared/project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "fantalytic-shared",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/fantalytic-shared/src",
"projectType": "library",
Expand All @@ -12,7 +13,7 @@
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/fantalytic-shared"],
"outputs": ["{workspaceRoot}/coverage/libs/fantalytic-shared"],
"options": {
"jestConfig": "libs/fantalytic-shared/jest.config.ts",
"passWithNoTests": true
Expand Down
5 changes: 2 additions & 3 deletions libs/marvel-shared-business-logic/project.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "marvel-shared-business-logic",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "libs/marvel-shared-business-logic/src",
"prefix": "pmt",
"targets": {
"test": {
"executor": "@nrwl/jest:jest",
"outputs": [
"coverage/libs/marvel-shared-business-logic"
],
"outputs": ["{workspaceRoot}/coverage/libs/marvel-shared-business-logic"],
"options": {
"jestConfig": "libs/marvel-shared-business-logic/jest.config.js",
"passWithNoTests": true
Expand Down
5 changes: 2 additions & 3 deletions libs/marvel-shared-components/project.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "marvel-shared-components",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "libs/marvel-shared-components/src",
"prefix": "pmt",
"targets": {
"test": {
"executor": "@nrwl/jest:jest",
"outputs": [
"coverage/libs/marvel-shared-components"
],
"outputs": ["{workspaceRoot}/coverage/libs/marvel-shared-components"],
"options": {
"jestConfig": "libs/marvel-shared-components/jest.config.js",
"passWithNoTests": true
Expand Down
5 changes: 2 additions & 3 deletions libs/pmt-autocomplete/project.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "pmt-autocomplete",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "libs/pmt-autocomplete/src",
"prefix": "pmt",
"targets": {
"test": {
"executor": "@nrwl/jest:jest",
"outputs": [
"coverage/libs/pmt-autocomplete"
],
"outputs": ["{workspaceRoot}/coverage/libs/pmt-autocomplete"],
"options": {
"jestConfig": "libs/pmt-autocomplete/jest.config.js",
"passWithNoTests": true
Expand Down
3 changes: 2 additions & 1 deletion libs/pmt-common-angular-components/project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "pmt-common-angular-components",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "libs/pmt-common-angular-components/src",
Expand All @@ -7,7 +8,7 @@
"test": {
"executor": "@nrwl/jest:jest",
"outputs": [
"coverage/libs/pmt-common-angular-components"
"{workspaceRoot}/coverage/libs/pmt-common-angular-components"
],
"options": {
"jestConfig": "libs/pmt-common-angular-components/jest.config.js",
Expand Down
5 changes: 2 additions & 3 deletions libs/pmt-input/project.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "pmt-input",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "libs/pmt-input/src",
"prefix": "pmt",
"targets": {
"test": {
"executor": "@nrwl/jest:jest",
"outputs": [
"coverage/libs/pmt-input"
],
"outputs": ["{workspaceRoot}/coverage/libs/pmt-input"],
"options": {
"jestConfig": "libs/pmt-input/jest.config.js",
"passWithNoTests": true
Expand Down
Loading

0 comments on commit 8f78aff

Please sign in to comment.