Skip to content

Commit 1e29b5c

Browse files
authored
Merge pull request #165 from fusioncharts/appwrk3.20-2245
Fusion Chart 3.20
2 parents b3e4e3c + d3b13b8 commit 1e29b5c

Some content is hidden

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

51 files changed

+8603
-21014
lines changed

.browserslistrc

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
# You can see what browsers were selected by your queries by running:
6+
# npx browserslist
7+
8+
> 0.5%
9+
last 2 versions
10+
Firefox ESR
11+
not dead
12+
not IE 9-11 # For IE 9-11 support, remove 'not'.

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
!.vscode/extensions.json
2525

2626
# misc
27+
/.angular/cache
2728
/.sass-cache
2829
/connect.lock
2930
/coverage

LICENSE.md

-21
This file was deleted.

README.md

+2-16
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ A simple and lightweight official Angular component for FusionCharts JavaScript
1313
- Issues: [https://github.com/fusioncharts/angular-fusioncharts/issues](https://github.com/fusioncharts/angular-fusioncharts/issues)
1414

1515
---
16-
## Validation and Verification
17-
18-
The FusionCharts Angular integration component have been verified and validated with different versions of Fusioncharts (3.19 / 3.18 / 3.17) with Angular versions 11/12/13
19-
2016

2117
## Table of Contents
2218

@@ -369,19 +365,9 @@ Useful links for FusionTime
369365

370366
```
371367
$ git clone https://github.com/fusioncharts/angular-fusioncharts.git
372-
$ cd angular-fusioncharts
368+
$ cd angular-component
373369
$ npm i
374370
$ npm start
375-
$ npm run build
376-
377-
```
378-
379-
- For publishing
380-
381-
```
382-
$ npm run build
383-
$ npm publish dist
384-
385371
```
386372

387373
## Going Beyond Charts
@@ -391,4 +377,4 @@ $ npm publish dist
391377

392378
## Licensing
393379

394-
The FusionCharts Angular integration component is open-source and distributed under the terms of the MIT/X11 License. However, you will need to download and include FusionCharts library in your page separately, which has a [separate license](https://www.fusioncharts.com/buy).
380+
The FusionCharts React component is open-source and distributed under the terms of the MIT/X11 License. However, you will need to download and include FusionCharts library in your page separately, which has a [separate license](https://www.fusioncharts.com/buy).

angular.json

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

dist/README.md

+2-12
Original file line numberDiff line numberDiff line change
@@ -365,19 +365,9 @@ Useful links for FusionTime
365365

366366
```
367367
$ git clone https://github.com/fusioncharts/angular-fusioncharts.git
368-
$ cd angular-fusioncharts
368+
$ cd angular-component
369369
$ npm i
370370
$ npm start
371-
$ npm run build
372-
373-
```
374-
375-
- For publishing
376-
377-
```
378-
$ npm run build
379-
$ npm publish dist
380-
381371
```
382372

383373
## Going Beyond Charts
@@ -387,4 +377,4 @@ $ npm publish dist
387377

388378
## Licensing
389379

390-
The FusionCharts Angular integration component is open-source and distributed under the terms of the MIT/X11 License. However, you will need to download and include FusionCharts library in your page separately, which has a [separate license](https://www.fusioncharts.com/buy).
380+
The FusionCharts React component is open-source and distributed under the terms of the MIT/X11 License. However, you will need to download and include FusionCharts library in your page separately, which has a [separate license](https://www.fusioncharts.com/buy).

0 commit comments

Comments
 (0)