Skip to content

Commit b090d38

Browse files
committed
fix:Updated Structure of Arc boilerplate as per requirement
1 parent 9b24eab commit b090d38

File tree

292 files changed

+4639
-7688
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

292 files changed

+4639
-7688
lines changed

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,42 +21,47 @@
2121

2222
# Projects
2323

24-
1. Angular-BoilerPlate:
24+
1. Arc:
2525
- This boilerplate project is a project set up that can be easily altered to create new projects. The user
2626
is able to use in the original project, its foundation, and its structure to set up a new one without changing the original.
2727

2828
- This project is based on Angular CLI on version 14.0.0.
2929

3030
FOR further reference you can refer [here]()
3131

32-
2. Shared Library
32+
2. Arc-Lib
3333
- A shared library can include components, services, pipes, directives, and other modules that can be used
3434
by other projects in the workspace. By using a shared library, you can avoid duplicating code and functionality across multiple projects, which can save time and effort.
3535

36-
For further reference you can refer [here]()
36+
For further reference you can refer [here](../arc-sf/projects/arc-lib/README.md)
3737

3838
# Prerequisite
3939

4040
Run `npm install -g @angular/cli` for Angular CLI & NPM installed
4141
Run `npm i @angular/material` for Angular material
4242

43+
# MainProject
44+
45+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.6.
46+
4347
# Code scaffolding
4448

4549
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
4650

51+
1. Create a workspace
52+
ng new <workspace-name> --no-create-application
4753

48-
# MainProject
54+
2. Generate applications/projects
55+
ng generate application <application-name>
56+
57+
3. Generate a library - which will act as a shared util/files/pages
58+
ng generate library <library-name>
4959

50-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.6.
5160

5261
## Development server
5362

5463
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
5564

56-
## Code scaffolding
57-
58-
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
59-
6065
## Build
6166

6267
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.

angular.json

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,39 @@
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
6-
"angular-boilerplate": {
6+
"arc": {
77
"projectType": "application",
88
"schematics": {
99
"@schematics/angular:component": {
1010
"style": "scss"
1111
}
1212
},
13-
"root": "projects/angular-boilerplate",
14-
"sourceRoot": "projects/angular-boilerplate/src",
13+
"root": "projects/arc",
14+
"sourceRoot": "projects/arc/src",
1515
"prefix": "arc",
1616
"architect": {
1717
"build": {
1818
"builder": "@angular-devkit/build-angular:browser",
1919
"options": {
20-
"outputPath": "dist/angular-boilerplate",
21-
"index": "projects/angular-boilerplate/src/index.html",
22-
"main": "projects/angular-boilerplate/src/main.ts",
20+
"outputPath": "dist/arc",
21+
"index": "projects/arc/src/index.html",
22+
"main": "projects/arc/src/main.ts",
2323
"polyfills": ["zone.js"],
24-
"tsConfig": "projects/angular-boilerplate/tsconfig.app.json",
24+
"tsConfig": "projects/arc/tsconfig.app.json",
2525
"inlineStyleLanguage": "scss",
2626
"assets": [
27-
"projects/angular-boilerplate/src/favicon.ico",
27+
"projects/arc/src/favicon.ico",
2828
{
2929
"glob": "**/*",
30-
"input": "projects/shared-library/src/lib/assets/",
30+
"input": "projects/arc-lib/src/lib/assets/",
3131
"output": "/assets/"
3232
}
3333
],
3434
"styles": [
3535
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
3636
"node_modules/eva-icons/style/scss/eva-icons.scss",
3737
"node_modules/@nebular/theme/styles/prebuilt/dark.css",
38-
"projects/angular-boilerplate/src/styles.scss"
38+
"projects/arc/src/styles.scss"
3939
],
4040
"scripts": []
4141
},
@@ -58,12 +58,12 @@
5858
"development": {
5959
"fileReplacements": [
6060
{
61-
"replace": "projects/angular-boilerplate/src/environments/environment.ts",
62-
"with": "projects/angular-boilerplate/src/environments/environment.ts"
61+
"replace": "projects/arc/src/environments/environment.ts",
62+
"with": "projects/arc/src/environments/environment.ts"
6363
}
6464
],
6565
"index": {
66-
"input": "projects/angular-boilerplate/src/index.html",
66+
"input": "projects/arc/src/index.html",
6767
"output": "index.html"
6868
},
6969
"optimization": false,
@@ -76,13 +76,13 @@
7676
"budgets": [
7777
{
7878
"type": "initial",
79-
"maximumWarning": "7mb",
80-
"maximumError": "7mb"
79+
"maximumWarning": "8mb",
80+
"maximumError": "8mb"
8181
},
8282
{
8383
"type": "anyComponentStyle",
84-
"maximumWarning": "6kb",
85-
"maximumError": "10kb"
84+
"maximumWarning": "100kb",
85+
"maximumError": "500kb"
8686
}
8787
]
8888
}
@@ -92,79 +92,79 @@
9292
"serve": {
9393
"builder": "@angular-devkit/build-angular:dev-server",
9494
"options": {
95-
"browserTarget": "angular-boilerplate:build"
95+
"browserTarget": "arc:build"
9696
},
9797
"configurations": {
9898
"production": {
99-
"browserTarget": "angular-boilerplate:build:production"
99+
"browserTarget": "arc:build:production"
100100
},
101101
"development": {
102-
"browserTarget": "angular-boilerplate:build:development"
102+
"browserTarget": "arc:build:development"
103103
}
104104
},
105105
"defaultConfiguration": "development"
106106
},
107107
"extract-i18n": {
108108
"builder": "@angular-devkit/build-angular:extract-i18n",
109109
"options": {
110-
"browserTarget": "angular-boilerplate:build"
110+
"browserTarget": "arc:build"
111111
}
112112
},
113113
"test": {
114114
"builder": "@angular-devkit/build-angular:karma",
115115
"options": {
116116
"polyfills": ["zone.js", "zone.js/testing"],
117-
"tsConfig": "projects/angular-boilerplate/tsconfig.spec.json",
117+
"tsConfig": "projects/arc/tsconfig.spec.json",
118118
"inlineStyleLanguage": "scss",
119119
"assets": [
120-
"projects/angular-boilerplate/src/favicon.ico",
120+
"projects/arc/src/favicon.ico",
121121
{
122122
"glob": "**/*",
123-
"input": "projects/shared-library/src/lib/assets/",
124-
"output": "projects/shared-library/src/lib/assets/"
123+
"input": "projects/arc-lib/src/lib/assets/",
124+
"output": "projects/arc-lib/src/lib/assets/"
125125
}
126126
],
127127
"styles": [
128-
"projects/angular-boilerplate/src/styles.scss",
129-
"projects/shared-library/src/lib/theme/styles/index.scss"
128+
"projects/arc/src/styles.scss",
129+
"projects/arc-lib/src/lib/theme/styles/index.scss"
130130
],
131131
"scripts": []
132132
}
133133
}
134134
}
135135
},
136-
"shared-library": {
136+
"arc-lib": {
137137
"projectType": "library",
138-
"root": "projects/shared-library",
139-
"sourceRoot": "projects/shared-library/src",
138+
"root": "projects/arc-lib",
139+
"sourceRoot": "projects/arc-lib/src",
140140
"prefix": "lib",
141141
"architect": {
142142
"build": {
143143
"builder": "@angular-devkit/build-angular:ng-packagr",
144144
"options": {
145-
"project": "projects/shared-library/ng-package.json"
145+
"project": "projects/arc-lib/ng-package.json"
146146
},
147147
"configurations": {
148148
"production": {
149-
"tsConfig": "projects/shared-library/tsconfig.lib.prod.json"
149+
"tsConfig": "projects/arc-lib/tsconfig.lib.prod.json"
150150
},
151151
"development": {
152-
"tsConfig": "projects/shared-library/tsconfig.lib.json"
152+
"tsConfig": "projects/arc-lib/tsconfig.lib.json"
153153
}
154154
},
155155
"defaultConfiguration": "production"
156156
},
157157
"test": {
158158
"builder": "@angular-devkit/build-angular:karma",
159159
"options": {
160-
"tsConfig": "projects/shared-library/tsconfig.spec.json",
160+
"tsConfig": "projects/arc-lib/tsconfig.spec.json",
161161
"polyfills": ["zone.js", "zone.js/testing"]
162162
}
163163
}
164164
}
165165
}
166166
},
167-
"defaultProject": "angular-boilerplate",
167+
"defaultProject": "arc",
168168
"cli": {
169169
"analytics": "dcf534a6-f2c3-4c9c-99f0-3de66c9162da"
170170
}

0 commit comments

Comments
 (0)