Skip to content

Commit 9ee45e2

Browse files
authored
Merge pull request #1 from pawanjenu/feature/migrate_to_angular
Migrating to angular(material UI)
2 parents e08dbe9 + 2165ddd commit 9ee45e2

Some content is hidden

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

72 files changed

+27259
-3969
lines changed

.DS_Store

0 Bytes
Binary file not shown.

.browserslistrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# For the full list of supported browsers by the Angular framework, please see:
6+
# https://angular.io/guide/browser-support
7+
8+
# You can see what browsers were selected by your queries by running:
9+
# npx browserslist
10+
11+
last 1 Chrome version
12+
last 1 Firefox version
13+
last 2 Edge major versions
14+
last 2 Safari major versions
15+
last 2 iOS major versions
16+
Firefox ESR
17+
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Editor configuration, see https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.ts]
12+
quote_type = single
13+
14+
[*.md]
15+
max_line_length = off
16+
trim_trailing_whitespace = false

.gitignore

Lines changed: 46 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
# Only exists if Bazel was run
8+
/bazel-out
9+
10+
# dependencies
11+
/node_modules
12+
13+
# profiling files
14+
chrome-profiler-events*.json
15+
16+
# IDEs and editors
17+
/.idea
18+
.project
19+
.classpath
20+
.c9/
21+
*.launch
22+
.settings/
23+
*.sublime-workspace
24+
25+
# IDE - VSCode
26+
.vscode/*
27+
!.vscode/settings.json
28+
!.vscode/tasks.json
29+
!.vscode/launch.json
30+
!.vscode/extensions.json
31+
.history/*
32+
33+
# misc
34+
/.sass-cache
35+
/connect.lock
36+
/coverage
37+
/libpeerconnection.log
38+
npm-debug.log
39+
yarn-error.log
40+
testem.log
41+
/typings
42+
43+
# System Files
44+
.DS_Store
45+
Thumbs.db
46+
147
.env
2-
node_modules
3-
.vscode
448
web-ext-artifacts
5-

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"cSpell.words": [
3+
"Leetcode"
4+
]
5+
}

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ Please head over to: [Installation section](https://github.com/pawanjenu/Leetcod
1717
* Please make sure that you are logged in to leetcode.com before using the extension.
1818
* On the first run, no session is chosen, so please click on the the drop down and select the desired session.
1919
* your all set, headover to leetcode.com and start solving.
20+
![extension_steps](https://user-images.githubusercontent.com/30225325/148636930-6e37eaab-ebb2-4464-882d-359988eec111.gif)
21+
2022
### Note: in case new sessions are added to your account, please click on `reload session` in the extension to reflect the latest changes if not present.
2123

2224
# ScreenShots:
23-
<img src="assets/screenshots/Screenshot-1.png" width="250" height="200" /> <img src="assets/screenshots/Screenshot-2.png" width="250" height="200" /> <img src="assets/screenshots/Screenshot-3.png" width="250" height="200" />
25+
<img src="src/assets/screenshots/Screenshot-1.png" width="250" height="200" /> <img src="src/assets/screenshots/Screenshot-2.png" width="250" height="200" /> <img src="src/assets/screenshots/Screenshot-3.png" width="250" height="200" />

angular.json

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"LeetcodeSessionManager": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:application": {
10+
"strict": true
11+
}
12+
},
13+
"root": "",
14+
"sourceRoot": "src",
15+
"prefix": "app",
16+
"architect": {
17+
"build": {
18+
"builder": "@angular-builders/custom-webpack:browser",
19+
"options": {
20+
"customWebpackConfig": {
21+
"path": "./custom-webpack.config.ts"
22+
},
23+
"outputPath": "dist/LeetcodeSessionManager",
24+
"index": "src/index.html",
25+
"main": "src/main.ts",
26+
"polyfills": "src/polyfills.ts",
27+
"tsConfig": "tsconfig.app.json",
28+
"assets": [
29+
"src/favicon.ico",
30+
"src/assets",
31+
"src/manifest.json"
32+
],
33+
"styles": [
34+
"src/styles.css"
35+
],
36+
"scripts": []
37+
},
38+
"configurations": {
39+
"production": {
40+
"budgets": [
41+
{
42+
"type": "initial",
43+
"maximumWarning": "500kb",
44+
"maximumError": "1mb"
45+
},
46+
{
47+
"type": "anyComponentStyle",
48+
"maximumWarning": "2kb",
49+
"maximumError": "4kb"
50+
}
51+
],
52+
"fileReplacements": [
53+
{
54+
"replace": "src/environments/environment.ts",
55+
"with": "src/environments/environment.prod.ts"
56+
}
57+
],
58+
"outputHashing": "all"
59+
},
60+
"development": {
61+
"buildOptimizer": false,
62+
"optimization": false,
63+
"vendorChunk": true,
64+
"extractLicenses": false,
65+
"sourceMap": true,
66+
"namedChunks": true,
67+
"customWebpackConfig": {
68+
"path": "./custom-webpack.config.ts"
69+
}
70+
}
71+
},
72+
"defaultConfiguration": "production"
73+
},
74+
"serve": {
75+
"builder": "@angular-devkit/build-angular:dev-server",
76+
"configurations": {
77+
"production": {
78+
"browserTarget": "LeetcodeSessionManager:build:production"
79+
},
80+
"development": {
81+
"browserTarget": "LeetcodeSessionManager:build:development"
82+
}
83+
},
84+
"defaultConfiguration": "development"
85+
},
86+
"extract-i18n": {
87+
"builder": "@angular-devkit/build-angular:extract-i18n",
88+
"options": {
89+
"browserTarget": "LeetcodeSessionManager:build"
90+
}
91+
},
92+
"test": {
93+
"builder": "@angular-devkit/build-angular:karma",
94+
"options": {
95+
"main": "src/test.ts",
96+
"polyfills": "src/polyfills.ts",
97+
"tsConfig": "tsconfig.spec.json",
98+
"karmaConfig": "karma.conf.js",
99+
"assets": [
100+
"src/favicon.ico",
101+
"src/assets"
102+
],
103+
"styles": [
104+
"src/styles.css"
105+
],
106+
"scripts": []
107+
}
108+
}
109+
}
110+
}
111+
},
112+
"defaultProject": "LeetcodeSessionManager"
113+
}

assets/.DS_Store

-6 KB
Binary file not shown.

assets/screenshots/Screenshot-1.png

-172 KB
Binary file not shown.

assets/screenshots/Screenshot-2.png

-224 KB
Binary file not shown.

0 commit comments

Comments
 (0)