Skip to content

Commit 3860960

Browse files
authored
Merge pull request #23 from ghiscoding/feat/new-angular
WIP feat(angular): rewrote the entire code base to support Angular 4+
2 parents 808364d + 1f17c1a commit 3860960

File tree

94 files changed

+3075
-1002
lines changed

Some content is hidden

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

94 files changed

+3075
-1002
lines changed

.angular-cli.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"project": {
4+
"name": "angular-markdown-editor"
5+
},
6+
"apps": [
7+
{
8+
"root": "src",
9+
"outDir": "dist-demo",
10+
"assets": [
11+
"assets",
12+
"favicon.ico"
13+
],
14+
"index": "index.html",
15+
"main": "main.ts",
16+
"polyfills": "polyfills.ts",
17+
"test": "test.ts",
18+
"tsconfig": "tsconfig.app.json",
19+
"testTsconfig": "tsconfig.spec.json",
20+
"prefix": "app",
21+
"styles": [
22+
"../node_modules/bootstrap/dist/css/bootstrap.css",
23+
"../node_modules/font-awesome/css/font-awesome.css",
24+
"../node_modules/bootstrap-markdown/css/bootstrap-markdown.min.css",
25+
"../node_modules/prismjs/themes/prism.css",
26+
"styles.scss"
27+
],
28+
"scripts": [
29+
"../node_modules/jquery/dist/jquery.js",
30+
"../node_modules/bootstrap-markdown/js/bootstrap-markdown.js",
31+
"../node_modules/prismjs/prism.js",
32+
"../node_modules/prismjs/components/prism-css.min.js",
33+
"../node_modules/prismjs/components/prism-javascript.min.js",
34+
"../node_modules/prismjs/components/prism-typescript.min.js"
35+
],
36+
"environmentSource": "environments/environment.ts",
37+
"environments": {
38+
"dev": "environments/environment.ts",
39+
"prod": "environments/environment.prod.ts"
40+
}
41+
}
42+
],
43+
"e2e": {
44+
"protractor": {
45+
"config": "./protractor.conf.js"
46+
}
47+
},
48+
"lint": [
49+
{
50+
"project": "src/tsconfig.app.json",
51+
"exclude": "**/node_modules/**"
52+
},
53+
{
54+
"project": "src/tsconfig.spec.json",
55+
"exclude": "**/node_modules/**"
56+
},
57+
{
58+
"project": "e2e/tsconfig.e2e.json",
59+
"exclude": "**/node_modules/**"
60+
}
61+
],
62+
"test": {
63+
"karma": {
64+
"config": "./karma.conf.js"
65+
}
66+
},
67+
"defaults": {
68+
"styleExt": "scss",
69+
"component": {}
70+
}
71+
}

.angulardoc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"repoId": "09416e29-039d-4fa6-965e-9d6d756bbaf7",
3+
"lastSync": 0
4+
}

.editorconfig

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_style = space
8+
indent_size = 4
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
[*.{js,json,ts,css,scss}]
13+
indent_style = space
14+
indent_size = 2
15+
16+
[*.md]
17+
max_line_length = 0
18+
trim_trailing_whitespace = false
19+
indent_style = space
20+
indent_size = 2

.gitattributes

Lines changed: 0 additions & 17 deletions
This file was deleted.

.gitignore

Lines changed: 40 additions & 219 deletions
Original file line numberDiff line numberDiff line change
@@ -1,226 +1,47 @@
1-
#################
2-
## bower Package
3-
#################
4-
bower_components/
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
52

6-
#################
7-
## NPM Package
8-
#################
9-
node_modules/
3+
# compiled output
4+
/tmp
5+
/out-tsc
6+
/.ng_build
7+
.ng_build
108

11-
#################
12-
## Eclipse
13-
#################
9+
# dependencies
10+
/node_modules
1411

15-
*.pydevproject
12+
# IDEs and editors
13+
/.idea
1614
.project
17-
.metadata
18-
bin/
19-
tmp/
20-
*.tmp
21-
*.bak
22-
*.swp
23-
*~.nib
24-
local.properties
2515
.classpath
26-
.settings/
27-
.loadpath
28-
29-
# External tool builders
30-
.externalToolBuilders/
31-
32-
# Locally stored "Eclipse launch configurations"
16+
.c9/
3317
*.launch
34-
35-
# CDT-specific
36-
.cproject
37-
38-
# PDT-specific
39-
.buildpath
40-
41-
42-
#################
43-
## Visual Studio
44-
#################
45-
46-
## Ignore Visual Studio temporary files, build results, and
47-
## files generated by popular Visual Studio add-ons.
48-
49-
# User-specific files
50-
*.suo
51-
*.user
52-
*.sln.docstates
53-
54-
# Build results
55-
56-
[Dd]ebug/
57-
[Rr]elease/
58-
x64/
59-
build/
60-
[Bb]in/
61-
[Oo]bj/
62-
63-
# MSTest test Results
64-
[Tt]est[Rr]esult*/
65-
[Bb]uild[Ll]og.*
66-
67-
*_i.c
68-
*_p.c
69-
*.ilk
70-
*.meta
71-
*.obj
72-
*.pch
73-
*.pdb
74-
*.pgc
75-
*.pgd
76-
*.rsp
77-
*.sbr
78-
*.tlb
79-
*.tli
80-
*.tlh
81-
*.tmp
82-
*.tmp_proj
83-
*.log
84-
*.vspscc
85-
*.vssscc
86-
.builds
87-
*.pidb
88-
*.log
89-
*.scc
90-
91-
# Visual C++ cache files
92-
ipch/
93-
*.aps
94-
*.ncb
95-
*.opensdf
96-
*.sdf
97-
*.cachefile
98-
99-
# Visual Studio profiler
100-
*.psess
101-
*.vsp
102-
*.vspx
103-
104-
# Guidance Automation Toolkit
105-
*.gpState
106-
107-
# ReSharper is a .NET coding add-in
108-
_ReSharper*/
109-
*.[Rr]e[Ss]harper
110-
111-
# TeamCity is a build add-in
112-
_TeamCity*
113-
114-
# DotCover is a Code Coverage Tool
115-
*.dotCover
116-
117-
# NCrunch
118-
*.ncrunch*
119-
.*crunch*.local.xml
120-
121-
# Installshield output folder
122-
[Ee]xpress/
123-
124-
# DocProject is a documentation generator add-in
125-
DocProject/buildhelp/
126-
DocProject/Help/*.HxT
127-
DocProject/Help/*.HxC
128-
DocProject/Help/*.hhc
129-
DocProject/Help/*.hhk
130-
DocProject/Help/*.hhp
131-
DocProject/Help/Html2
132-
DocProject/Help/html
133-
134-
# Click-Once directory
135-
publish/
136-
137-
# Publish Web Output
138-
*.Publish.xml
139-
*.pubxml
140-
141-
# NuGet Packages Directory
142-
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
143-
#packages/
144-
145-
# Windows Azure Build Output
146-
csx
147-
*.build.csdef
148-
149-
# Windows Store app package directory
150-
AppPackages/
151-
152-
# Others
153-
sql/
154-
*.Cache
155-
ClientBin/
156-
[Ss]tyle[Cc]op.*
157-
~$*
158-
*~
159-
*.dbmdl
160-
*.[Pp]ublish.xml
161-
*.pfx
162-
*.publishsettings
163-
164-
# RIA/Silverlight projects
165-
Generated_Code/
166-
167-
# Backup & report files from converting an old project file to a newer
168-
# Visual Studio version. Backup files are not needed, because we have git ;-)
169-
_UpgradeReport_Files/
170-
Backup*/
171-
UpgradeLog*.XML
172-
UpgradeLog*.htm
173-
174-
# SQL Server files
175-
App_Data/*.mdf
176-
App_Data/*.ldf
177-
178-
#############
179-
## Windows detritus
180-
#############
181-
182-
# Windows image file caches
183-
Thumbs.db
184-
ehthumbs.db
185-
186-
# Folder config file
187-
Desktop.ini
188-
189-
# Recycle Bin used on file shares
190-
$RECYCLE.BIN/
191-
192-
# Mac crap
18+
.settings/
19+
*.sublime-workspace
20+
21+
# IDE - VSCode
22+
.vscode/*
23+
!.vscode/settings.json
24+
!.vscode/tasks.json
25+
!.vscode/launch.json
26+
!.vscode/extensions.json
27+
.chrome
28+
29+
# misc
30+
/.sass-cache
31+
/connect.lock
32+
/coverage
33+
/libpeerconnection.log
34+
npm-debug.log
35+
testem.log
36+
/typings
37+
yarn-error.log
38+
package-lock.json
39+
yarn.lock
40+
41+
# e2e
42+
/e2e/*.js
43+
/e2e/*.map
44+
45+
# System Files
19346
.DS_Store
194-
195-
196-
#############
197-
## Python
198-
#############
199-
200-
*.py[co]
201-
202-
# Packages
203-
*.egg
204-
*.egg-info
205-
build/
206-
eggs/
207-
parts/
208-
var/
209-
sdist/
210-
develop-eggs/
211-
.installed.cfg
212-
213-
# Installer logs
214-
pip-log.txt
215-
216-
# Unit test / coverage reports
217-
.coverage
218-
.tox
219-
220-
#Translations
221-
*.mo
222-
223-
#Mr Developer
224-
.mr.developer.cfg
225-
226-
package-lock.json
47+
Thumbs.db

0 commit comments

Comments
 (0)