Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wawyed committed Jul 15, 2024
1 parent b3e01d8 commit 1efb86d
Show file tree
Hide file tree
Showing 4 changed files with 612 additions and 1,805 deletions.
13 changes: 11 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Karma configuration file
var karma = require('karma');

module.exports = function(karma) {
module.exports = function (karma) {
var config = {
singleRun: true,
autoWatch: false,
Expand Down Expand Up @@ -49,7 +49,16 @@ module.exports = function(karma) {
},

module: {
rules: [{ test: /\.ts$/, loader: 'ts-loader?configFile=test/tsconfig.json' }],
rules: [
{
test: /\.ts$/,
loader: 'ts-loader',
options: {
configFile: 'test/tsconfig.json',
transpileOnly: true,
},
},
],
},
},

Expand Down
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,20 @@
"@uirouter/core": ">=5.0.1"
},
"devDependencies": {
"@types/jasmine": "3.5.10",
"@types/jasmine": "5.1.4",
"@types/lodash": "4.14.150",
"@uirouter/core": "^6.0.5",
"@uirouter/publish-scripts": "^2.5.5",
"@uirouter/publish-scripts": "^2.6.3",
"husky": "^4.2.5",
"jasmine-core": "^3.1.0",
"karma": "^5.0.2",
"karma-chrome-launcher": "^3.1.0",
"karma-jasmine": "^3.1.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-sourcemap-loader": "^0.4.0",
"karma-super-dots-reporter": "^0.2.0",
"karma-webpack": "^4.0.2",
"lodash": "^4.17.10",
"karma-webpack": "^5.0.1",
"lodash": "^4.17.21",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"rollup": "^2.7.5",
Expand All @@ -69,8 +69,8 @@
"ts-loader": "^7.0.1",
"tslint": "^6.1.2",
"tslint-eslint-rules": "^5.2.0",
"typescript": "^3.2.2",
"webpack": "^4.43.0"
"typescript": "^5.4.5",
"webpack": "^5.93.0"
},
"dependencies": {},
"resolutions": {
Expand All @@ -80,5 +80,6 @@
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
},
"packageManager": "[email protected]+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
}
9 changes: 9 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ uglifyOpts.output.comments = (node, comment) => comment.type === 'comment2' && /

var plugins = [nodeResolve({ jsnext: true }), sourcemaps()];

const onwarn = (warning) => {
// Suppress this error message... https://github.com/rollup/rollup/wiki/Troubleshooting#this-is-undefined
const ignores = ['THIS_IS_UNDEFINED'];
if (!ignores.some((code) => code === warning.code)) {
console.error(warning.message);
}
};

if (MINIFY) plugins.push(uglify(uglifyOpts));

var extension = MINIFY ? '.min.js' : '.js';
Expand All @@ -35,6 +43,7 @@ const CONFIG = {
},
external: '@uirouter/core',
plugins: plugins,
onwarn: onwarn,
};

export default CONFIG;
Loading

0 comments on commit 1efb86d

Please sign in to comment.