Skip to content

Commit

Permalink
feat(core): converts app to standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
pavankjadda committed Jan 31, 2024
1 parent 45ae36b commit bd017bd
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 39 deletions.
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/dist
.angular
src/assets/css/vendor
9 changes: 9 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"printWidth": 140,
"singleQuote": true,
"trailingComma": "all",
"semi": true,
"bracketSameLine": true,
"useTabs": true,
"endOfLine": "auto"
}
2 changes: 0 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { MainComponent } from "./layouts/main/main.component";
imports: [RouterLink, RouterOutlet, MainComponent],
})
export class AppComponent {
title = "Home";

constructor() {
console.log(environment.production); // Logs false for default environment
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const SERVER_API_URL = "https://dev89855.service-now.com/";
export const SERVER_API_URL = "https://dev205675.service-now.com/";
export const USER_INFO_URL = "/api/x_19668_test/getuserdetails";

export const OAUTH2_CLIENT_ID = "3e3d87d601a501107d5aadce8576d935";
Expand Down
Empty file modified src/app/layouts/home/home.component.css
100755 → 100644
Empty file.
31 changes: 0 additions & 31 deletions src/karma.conf.js

This file was deleted.

8 changes: 4 additions & 4 deletions src/styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* You can add global styles to this file, and also import other style files */
@import "~bootstrap/dist/css/bootstrap.min.css";
@import "~primeicons/primeicons.css";
@import "~primeng/resources/themes/nova/theme.css";
@import "~primeng/resources/primeng.min.css";
@import "bootstrap/dist/css/bootstrap.min.css";
@import "primeicons/primeicons.css";
@import "primeng/resources/themes/nova/theme.css";
@import "primeng/resources/primeng.min.css";
2 changes: 1 addition & 1 deletion src/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/spec",
"types": ["jasmine", "node"]
"types": ["jest", "node"]
},
"files": ["test.ts", "polyfills.ts"],
"include": ["**/*.spec.ts", "**/*.d.ts"]
Expand Down

0 comments on commit bd017bd

Please sign in to comment.