diff --git a/angular/README.md b/angular/README.md index e425b14..cef3c46 100644 --- a/angular/README.md +++ b/angular/README.md @@ -1,4 +1,4 @@ -# CoffeeLike +# CoffeeLikeTest This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.6. diff --git a/angular/angular.json b/angular/angular.json index e10ef21..3223314 100644 --- a/angular/angular.json +++ b/angular/angular.json @@ -4,7 +4,7 @@ "version": 1, "newProjectRoot": "projects", "projects": { - "coffee-like": { + "coffee-like-test": { "projectType": "application", "schematics": { "@schematics/angular:component": { @@ -19,7 +19,7 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { - "outputPath": "/var/www/html/lk.crm4retail.ru/coffee-like", + "outputPath": "/var/www/html/lk.crm4retail.ru/coffee-like-test-test", "baseHref": "/", "index": "src/index.html", "main": "src/main.ts", @@ -84,10 +84,10 @@ "builder": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { - "browserTarget": "coffee-like:build:production" + "browserTarget": "coffee-like-test:build:production" }, "development": { - "browserTarget": "coffee-like:build:development", + "browserTarget": "coffee-like-test:build:development", "proxyConfig": "proxy.confi.json" } }, @@ -96,7 +96,7 @@ "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "browserTarget": "coffee-like:build" + "browserTarget": "coffee-like-test:build" } }, "test": { diff --git a/angular/package-lock.json b/angular/package-lock.json index 8973762..aa03593 100644 --- a/angular/package-lock.json +++ b/angular/package-lock.json @@ -1,11 +1,11 @@ { - "name": "coffee-like", + "name": "coffee-like-test", "version": "0.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "coffee-like", + "name": "coffee-like-test", "version": "0.0.2", "dependencies": { "@angular/animations": "^14.0.0", diff --git a/angular/package.json b/angular/package.json index 4d43308..b945830 100644 --- a/angular/package.json +++ b/angular/package.json @@ -1,5 +1,5 @@ { - "name": "coffee-like", + "name": "coffee-like-test", "version": "0.0.2", "scripts": { "ng": "ng", diff --git a/angular/src/app/app.component.spec.ts b/angular/src/app/app.component.spec.ts index 7a983ae..fc0aeec 100644 --- a/angular/src/app/app.component.spec.ts +++ b/angular/src/app/app.component.spec.ts @@ -20,16 +20,16 @@ describe('AppComponent', () => { expect(app).toBeTruthy(); }); - it(`should have as title 'coffee-like'`, () => { + it(`should have as title 'coffee-like-test'`, () => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.componentInstance; - expect(app.title).toEqual('coffee-like'); + expect(app.title).toEqual('coffee-like-test'); }); it('should render title', () => { const fixture = TestBed.createComponent(AppComponent); fixture.detectChanges(); const compiled = fixture.nativeElement as HTMLElement; - expect(compiled.querySelector('.content span')?.textContent).toContain('coffee-like app is running!'); + expect(compiled.querySelector('.content span')?.textContent).toContain('coffee-like-test app is running!'); }); }); diff --git a/angular/src/app/app.component.ts b/angular/src/app/app.component.ts index 519b236..4e74ee5 100644 --- a/angular/src/app/app.component.ts +++ b/angular/src/app/app.component.ts @@ -10,7 +10,7 @@ import { lastValueFrom } from 'rxjs'; styleUrls: ['./app.component.scss'], }) export class AppComponent implements OnInit { - title = 'Coffee Like'; + title = 'Coffee Like Test'; constructor( private router: Router, diff --git a/angular/src/app/components/invite-friends/invite-friends.component.ts b/angular/src/app/components/invite-friends/invite-friends.component.ts index b05b189..60dcaff 100644 --- a/angular/src/app/components/invite-friends/invite-friends.component.ts +++ b/angular/src/app/components/invite-friends/invite-friends.component.ts @@ -42,7 +42,7 @@ export class InviteFriendsComponent implements OnInit { if (navigator.share) { navigator.share({ title: document.title, - text: "Coffee Like", + text: "Coffee Like Test", url: this.refUrl }) .then(() => console.log('Successful share')) diff --git a/angular/src/app/pages/account/ref-system/ref-system.component.ts b/angular/src/app/pages/account/ref-system/ref-system.component.ts index b6c0a81..8f0ceb5 100644 --- a/angular/src/app/pages/account/ref-system/ref-system.component.ts +++ b/angular/src/app/pages/account/ref-system/ref-system.component.ts @@ -40,7 +40,7 @@ export class RefSystemComponent implements OnInit { if (navigator.share) { navigator.share({ title: document.title, - text: "Coffee Like", + text: "Coffee Like Test", url: this.refUrl }) .then(() => console.log('Successful share')) diff --git a/angular/src/app/presentation-options/default-option/components/invite-friends/invite-friends.component.ts b/angular/src/app/presentation-options/default-option/components/invite-friends/invite-friends.component.ts index b05b189..60dcaff 100644 --- a/angular/src/app/presentation-options/default-option/components/invite-friends/invite-friends.component.ts +++ b/angular/src/app/presentation-options/default-option/components/invite-friends/invite-friends.component.ts @@ -42,7 +42,7 @@ export class InviteFriendsComponent implements OnInit { if (navigator.share) { navigator.share({ title: document.title, - text: "Coffee Like", + text: "Coffee Like Test", url: this.refUrl }) .then(() => console.log('Successful share')) diff --git a/angular/src/app/presentation-options/first-option/components/invite-friends/invite-friends.component.ts b/angular/src/app/presentation-options/first-option/components/invite-friends/invite-friends.component.ts index b05b189..60dcaff 100644 --- a/angular/src/app/presentation-options/first-option/components/invite-friends/invite-friends.component.ts +++ b/angular/src/app/presentation-options/first-option/components/invite-friends/invite-friends.component.ts @@ -42,7 +42,7 @@ export class InviteFriendsComponent implements OnInit { if (navigator.share) { navigator.share({ title: document.title, - text: "Coffee Like", + text: "Coffee Like Test", url: this.refUrl }) .then(() => console.log('Successful share')) diff --git a/angular/src/environments/environment.prod.ts b/angular/src/environments/environment.prod.ts index 86f5ab5..836eadf 100644 --- a/angular/src/environments/environment.prod.ts +++ b/angular/src/environments/environment.prod.ts @@ -7,7 +7,7 @@ export const environment = { appWPEndpoint: 'http://213.239.210.240:4500/wp-json/woofood/v1/', hasBonusProgram: true, systemId: 'tsQ2cu59Xz9qgGTm3z', - defaultUrl: 'https://coffee-like.lk.crm4retail.ru', + defaultUrl: 'https://coffee-like-test.lk.crm4retail.ru', firebase: { apiKey: "AIzaSyCnKvln5itnrBj62POCPHxshAN_Vmd0zds", authDomain: "fashionlogicanotification.firebaseapp.com", @@ -19,7 +19,7 @@ export const environment = { }, version: packageJson.version, appleWalletEndpoint: 'https://apple-push-notifications.it-retail.tech/apns/api', - icardProxy: 'https://coffee-like.lk.crm4retail.ru/api/icard-proxy/', + icardProxy: 'https://coffee-like-test.lk.crm4retail.ru/api/icard-proxy/', appleWalletSecret: 'Token F5mbzEERAznGKVbB6l', clientName: 'coffeeLike' } diff --git a/angular/src/index.html b/angular/src/index.html index 6195f09..598df6e 100644 --- a/angular/src/index.html +++ b/angular/src/index.html @@ -2,7 +2,7 @@
-