Move angular code to src/client

Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
William Brawner 2021-01-28 20:17:30 -07:00
parent bc58d555c9
commit 03bfd1bed3
141 changed files with 53 additions and 53 deletions

View file

@ -5,7 +5,7 @@
"projects": { "projects": {
"twigs": { "twigs": {
"root": "", "root": "",
"sourceRoot": "src", "sourceRoot": "src/client",
"projectType": "application", "projectType": "application",
"prefix": "app", "prefix": "app",
"schematics": {}, "schematics": {},
@ -14,22 +14,22 @@
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
"options": { "options": {
"outputPath": "dist/twigs", "outputPath": "dist/twigs",
"index": "src/index.html", "index": "src/client/index.html",
"main": "src/main.ts", "main": "src/client/main.ts",
"polyfills": "src/polyfills.ts", "polyfills": "src/client/polyfills.ts",
"tsConfig": "src/tsconfig.app.json", "tsConfig": "src/client/tsconfig.app.json",
"assets": [ "assets": [
"src/browserconfig.xml", "src/client/browserconfig.xml",
"src/favicon-16x16.png", "src/client/favicon-16x16.png",
"src/favicon-32x32.png", "src/client/favicon-32x32.png",
"src/favicon-96x96.png", "src/client/favicon-96x96.png",
"src/favicon.ico", "src/client/favicon.ico",
"src/assets", "src/client/assets",
"src/manifest.json" "src/client/manifest.json"
], ],
"styles": [ "styles": [
"src/styles.css", "src/client/styles.css",
"src/styles.scss" "src/client/styles.scss"
], ],
"scripts": [], "scripts": [],
"vendorChunk": true, "vendorChunk": true,
@ -49,8 +49,8 @@
], ],
"fileReplacements": [ "fileReplacements": [
{ {
"replace": "src/environments/environment.ts", "replace": "src/client/environments/environment.ts",
"with": "src/environments/environment.prod.ts" "with": "src/client/environments/environment.prod.ts"
} }
], ],
"optimization": true, "optimization": true,
@ -71,8 +71,8 @@
], ],
"fileReplacements": [ "fileReplacements": [
{ {
"replace": "src/environments/environment.ts", "replace": "src/client/environments/environment.ts",
"with": "src/environments/environment.codeserver.ts" "with": "src/client/environments/environment.codeserver.ts"
} }
] ]
} }
@ -102,18 +102,18 @@
"test": { "test": {
"builder": "@angular-devkit/build-angular:karma", "builder": "@angular-devkit/build-angular:karma",
"options": { "options": {
"main": "src/test.ts", "main": "src/client/test.ts",
"polyfills": "src/polyfills.ts", "polyfills": "src/client/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json", "tsConfig": "src/client/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js", "karmaConfig": "src/client/karma.conf.js",
"styles": [ "styles": [
"src/styles.css" "src/client/styles.css"
], ],
"scripts": [], "scripts": [],
"assets": [ "assets": [
"src/favicon.ico", "src/client/favicon.ico",
"src/assets", "src/client/assets",
"src/manifest.json" "src/client/manifest.json"
] ]
} }
} }
@ -141,4 +141,4 @@
"cli": { "cli": {
"analytics": "b8304464-255e-47bb-976a-7ed81af63238" "analytics": "b8304464-255e-47bb-976a-7ed81af63238"
} }
} }

View file

@ -6,7 +6,7 @@ const { SpecReporter } = require('jasmine-spec-reporter');
exports.config = { exports.config = {
allScriptsTimeout: 11000, allScriptsTimeout: 11000,
specs: [ specs: [
'./src/**/*.e2e-spec.ts' './src/client/**/*.e2e-spec.ts'
], ],
capabilities: { capabilities: {
'browserName': 'chrome' 'browserName': 'chrome'

View file

@ -36,7 +36,7 @@ import { EditProfileComponent } from './users/edit-profile/edit-profile.componen
import { UserComponent } from './users/user.component'; import { UserComponent } from './users/user.component';
import { NewBudgetComponent } from './budgets/new-budget/new-budget.component'; import { NewBudgetComponent } from './budgets/new-budget/new-budget.component';
import { BudgetDetailsComponent } from './budgets/budget-details/budget-details.component'; import { BudgetDetailsComponent } from './budgets/budget-details/budget-details.component';
import { environment } from 'src/environments/environment'; import { environment } from 'src/client/environments/environment';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { ServiceWorkerModule } from '@angular/service-worker'; import { ServiceWorkerModule } from '@angular/service-worker';
import { CategoryBreakdownComponent } from './categories/category-breakdown/category-breakdown.component'; import { CategoryBreakdownComponent } from './categories/category-breakdown/category-breakdown.component';

View file

@ -1,8 +1,8 @@
import { Component, OnInit, Input, Inject, OnDestroy } from '@angular/core'; import { Component, OnInit, Input, Inject, OnDestroy } from '@angular/core';
import { Budget } from '../budget'; import { Budget } from '../budget';
import { AppComponent } from 'src/app/app.component'; import { AppComponent } from 'src/client/app/app.component';
import { User, UserPermission, Permission } from 'src/app/users/user'; import { User, UserPermission, Permission } from 'src/client/app/users/user';
import { TWIGS_SERVICE, TwigsService } from 'src/app/shared/twigs.service'; import { TWIGS_SERVICE, TwigsService } from 'src/client/app/shared/twigs.service';
@Component({ @Component({
selector: 'app-add-edit-budget', selector: 'app-add-edit-budget',

View file

@ -1,13 +1,13 @@
import { Component, OnInit, Inject, OnDestroy } from '@angular/core'; import { Component, OnInit, Inject, OnDestroy } from '@angular/core';
import { Budget } from '../budget'; import { Budget } from '../budget';
import { ActivatedRoute, Router } from '@angular/router'; import { ActivatedRoute, Router } from '@angular/router';
import { AppComponent } from 'src/app/app.component'; import { AppComponent } from 'src/client/app/app.component';
import { Transaction } from 'src/app/transactions/transaction'; import { Transaction } from 'src/client/app/transactions/transaction';
import { Category } from 'src/app/categories/category'; import { Category } from 'src/client/app/categories/category';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
// import { Label } from 'ng2-charts'; // import { Label } from 'ng2-charts';
import { ChartDataset } from 'chart.js'; import { ChartDataset } from 'chart.js';
import { TWIGS_SERVICE, TwigsService } from 'src/app/shared/twigs.service'; import { TWIGS_SERVICE, TwigsService } from 'src/client/app/shared/twigs.service';
import { Actionable } from '../../shared/actionable'; import { Actionable } from '../../shared/actionable';
@Component({ @Component({

View file

@ -1,7 +1,7 @@
import { Component, OnInit, Input, OnDestroy, Inject } from '@angular/core'; import { Component, OnInit, Input, OnDestroy, Inject } from '@angular/core';
import { Category } from '../category'; import { Category } from '../category';
import { AppComponent } from 'src/app/app.component'; import { AppComponent } from 'src/client/app/app.component';
import { TWIGS_SERVICE, TwigsService } from 'src/app/shared/twigs.service'; import { TWIGS_SERVICE, TwigsService } from 'src/client/app/shared/twigs.service';
@Component({ @Component({
selector: 'app-category-form', selector: 'app-category-form',

View file

@ -1,9 +1,9 @@
import { Component, OnInit, Input, OnChanges, OnDestroy, Inject, SimpleChanges } from '@angular/core'; import { Component, OnInit, Input, OnChanges, OnDestroy, Inject, SimpleChanges } from '@angular/core';
import { Transaction } from '../transaction'; import { Transaction } from '../transaction';
import { TransactionType } from '../transaction.type'; import { TransactionType } from '../transaction.type';
import { Category } from 'src/app/categories/category'; import { Category } from 'src/client/app/categories/category';
import { AppComponent } from 'src/app/app.component'; import { AppComponent } from 'src/client/app/app.component';
import { TWIGS_SERVICE, TwigsService } from 'src/app/shared/twigs.service'; import { TWIGS_SERVICE, TwigsService } from 'src/client/app/shared/twigs.service';
import { MatRadioChange } from '@angular/material/radio'; import { MatRadioChange } from '@angular/material/radio';
@Component({ @Component({

View file

@ -1,7 +1,7 @@
import { Component, OnInit, Input, Inject } from '@angular/core'; import { Component, OnInit, Input, Inject } from '@angular/core';
import { ActivatedRoute } from '@angular/router'; import { ActivatedRoute } from '@angular/router';
import { Transaction } from '../transaction'; import { Transaction } from '../transaction';
import { TWIGS_SERVICE, TwigsService } from 'src/app/shared/twigs.service'; import { TWIGS_SERVICE, TwigsService } from 'src/client/app/shared/twigs.service';
@Component({ @Component({
selector: 'app-transaction-details', selector: 'app-transaction-details',

View file

@ -1,7 +1,7 @@
import { Component, OnInit, OnDestroy, Inject, ChangeDetectorRef } from '@angular/core'; import { Component, OnInit, OnDestroy, Inject, ChangeDetectorRef } from '@angular/core';
import { TwigsService, TWIGS_SERVICE } from '../../shared/twigs.service'; import { TwigsService, TWIGS_SERVICE } from '../../shared/twigs.service';
import { User } from '../user'; import { User } from '../user';
import { AppComponent } from 'src/app/app.component'; import { AppComponent } from 'src/client/app/app.component';
import { ActivatedRoute, Router } from '@angular/router'; import { ActivatedRoute, Router } from '@angular/router';
@Component({ @Component({

View file

@ -1,6 +1,6 @@
import { Component, OnInit, OnDestroy, Inject } from '@angular/core'; import { Component, OnInit, OnDestroy, Inject } from '@angular/core';
import { TwigsService, TWIGS_SERVICE } from '../../shared/twigs.service'; import { TwigsService, TWIGS_SERVICE } from '../../shared/twigs.service';
import { AppComponent } from 'src/app/app.component'; import { AppComponent } from 'src/client/app/app.component';
import { Router } from '@angular/router'; import { Router } from '@angular/router';
@Component({ @Component({

Some files were not shown because too many files have changed in this diff Show more