Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 20d1b9a

Browse files
committed
Updating to version 20
1 parent 2eeb0c1 commit 20d1b9a

File tree

4 files changed

+42
-7
lines changed

4 files changed

+42
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"ng": "ng",
77
"start": "ng serve demo_app",
88
"build": "ng build",
9-
"test": "ng test",
9+
"test": "ng test --watch=false --browsers ChromeHeadless",
1010
"lint": "ng lint"
1111
},
1212
"private": true,

projects/demo_app/karma.conf.js

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Karma configuration file, see link for more information
2+
// https://karma-runner.github.io/1.0/config/configuration-file.html
3+
4+
module.exports = function (config) {
5+
config.set({
6+
basePath: '',
7+
frameworks: ['jasmine', '@angular-devkit/build-angular'],
8+
plugins: [
9+
require('karma-jasmine'),
10+
require('karma-chrome-launcher'),
11+
require('karma-jasmine-html-reporter'),
12+
require('karma-coverage'),
13+
14+
],
15+
client: {
16+
clearContext: false // leave Jasmine Spec Runner output visible in browser
17+
},
18+
coverageReporter: {
19+
dir: require('path').join(__dirname, '../../coverage/demo_app'),
20+
reporters: [
21+
{ type: 'html', subdir: 'report-html' },
22+
{ type: 'lcov', subdir: 'report-lcov' },
23+
{ type: 'text-summary', subdir: '.', file: 'text-summary.txt' },
24+
]
25+
},
26+
reporters: ['progress', 'kjhtml'],
27+
port: 9876,
28+
colors: true,
29+
logLevel: config.LOG_INFO,
30+
autoWatch: true,
31+
browsers: ['ChromeHeadless'],
32+
singleRun: false,
33+
restartOnFileChange: true
34+
});
35+
};

projects/plotly/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "angular-plotly.js",
3-
"version": "6.0.0",
3+
"version": "20.0.0",
44
"license": "MIT",
55
"peerDependencies": {
6-
"@angular/common": ">=16.0.0",
7-
"@angular/core": ">=16.0.0"
6+
"@angular/common": ">=20.0.0",
7+
"@angular/core": ">=20.0.0"
88
},
99
"devDependencies": {
1010
"@types/plotly.js-dist-min": ">2.20.0",

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
"dom"
2323
],
2424
"paths": {
25-
"plotly": [
26-
"dist/plotly/plotly",
27-
"dist/plotly"
25+
"angular-plotly.js": [
26+
"dist/plotly",
27+
"dist/plotly/*"
2828
]
2929
},
3030
"useDefineForClassFields": false

0 commit comments

Comments
 (0)