Skip to content

Commit

Permalink
Upgrade Rollup
Browse files Browse the repository at this point in the history
Closes #212.
  • Loading branch information
niksy committed Mar 23, 2024
1 parent 08de314 commit f19e35d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
14 changes: 7 additions & 7 deletions generators/app/templates/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"nodemon": "^2.0.6",
"nyc": "^15.1.0"<% } %><% if ( automatedTests && codeCoverage && browserModule && !sassModule ) { %><% if ( bundlingTool === 'webpack' ) { %>,
"@jsdevtools/coverage-istanbul-loader": "^3.0.5"<% } %><% if ( bundlingTool === 'rollup' ) { %>,
"rollup-plugin-istanbul": "^3.0.0"<% } %>,
"rollup-plugin-istanbul": "^5.0.0"<% } %>,
"karma-coverage": "^2.0.3"<% } %><% if ( codeCoverageService ) { %>,
"coveralls": "^2.11.11"<% } %><% if ( manualTests || integrationTests ) { %>,
"del": "^6.0.0",
Expand Down Expand Up @@ -133,15 +133,15 @@
"@babel/runtime": "^7.2.0"<% } %><% if ( automatedTests ) { %><% if ( !browserModule || (browserModule && integrationTests) ) { %>,
"@babel/register": "^7.0.0"<% } %><% if ( codeCoverage ) { %><% if ( !browserModule && !sassModule ) { %>,
"babel-plugin-istanbul": "^6.0.0"<% } %><% } %><% } %><% } %>,
"rollup": "^2.32.1"<% if ( !transpile && typescript && typescriptMode === 'full' ) { %>,
"@rollup/plugin-typescript": "^8.2.3"<% } %><% if ( transpile ) { %>,
"@rollup/plugin-babel": "^5.2.1"<% } %><% if ( bundlingTool === 'rollup' || (transpile && typescript && typescriptMode === 'full') ) { %>,
"@rollup/plugin-node-resolve": "^9.0.0"<% } %><% if ( bundlingTool === 'rollup' ) { %>,
"@rollup/plugin-commonjs": "^15.1.0",
"rollup": "^4.13.0"<% if ( !transpile && typescript && typescriptMode === 'full' ) { %>,
"@rollup/plugin-typescript": "^11.1.6"<% } %><% if ( transpile ) { %>,
"@rollup/plugin-babel": "^6.0.4"<% } %><% if ( bundlingTool === 'rollup' || (transpile && typescript && typescriptMode === 'full') ) { %>,
"@rollup/plugin-node-resolve": "^15.2.3"<% } %><% if ( bundlingTool === 'rollup' ) { %>,
"@rollup/plugin-commonjs": "^25.0.7",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0"<% } %><% if ( vanillaJsWidget ) { %>,
"eslint-plugin-html": "^6.0.0",
"rollup-plugin-svelte": "^6.1.0",
"rollup-plugin-svelte": "^7.2.0",
"svelte": "^2.16.1"<% } %><% if ( typescript ) { %>,
"typescript": "^4.3.5",
"cpy": "^8.1.2",
Expand Down
20 changes: 10 additions & 10 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ describe('Transpile', function () {
prepublishOnly: 'npm run build'
},
devDependencies: {
'rollup': '^2.32.1',
'rollup': '^4.13.0',
'@babel/preset-env': '^7.12.1'
}
});
Expand Down Expand Up @@ -1128,8 +1128,8 @@ describe('ES Modules, transpile', function () {
prepublishOnly: 'npm run build'
},
devDependencies: {
rollup: '^2.32.1',
'@rollup/plugin-babel': '^5.2.1'
rollup: '^4.13.0',
'@rollup/plugin-babel': '^6.0.4'
}
});
});
Expand Down Expand Up @@ -1348,13 +1348,13 @@ describe('Bundling tool, Rollup, automated tests', function () {
it('should fill package.json with correct information', function () {
assert.jsonFileContent('package.json', {
devDependencies: {
rollup: '^2.32.1',
'@rollup/plugin-babel': '^5.2.1',
'@rollup/plugin-node-resolve': '^9.0.0',
'@rollup/plugin-commonjs': '^15.1.0',
rollup: '^4.13.0',
'@rollup/plugin-babel': '^6.0.4',
'@rollup/plugin-node-resolve': '^15.2.3',
'@rollup/plugin-commonjs': '^25.0.7',
'rollup-plugin-node-builtins': '^2.1.2',
'rollup-plugin-node-globals': '^1.4.0',
'rollup-plugin-istanbul': '^3.0.0',
'rollup-plugin-istanbul': '^5.0.0',
'karma-rollup-preprocessor': '^7.0.0'
}
});
Expand Down Expand Up @@ -1384,7 +1384,7 @@ describe('Bundling tool, Rollup, manual tests', function () {
it('should fill package.json with correct information', function () {
assert.jsonFileContent('package.json', {
devDependencies: {
rollup: '^2.32.1',
rollup: '^4.13.0',
'postcss': '^8.3.11',
'rollup-plugin-postcss': '^4.0.1',
'rollup-plugin-serve': '^1.0.3',
Expand Down Expand Up @@ -1447,7 +1447,7 @@ describe('Vanilla JS widget', function () {
it('should fill package.json with correct information', function () {
assert.jsonFileContent('package.json', {
devDependencies: {
'rollup-plugin-svelte': '^6.1.0',
'rollup-plugin-svelte': '^7.2.0',
'svelte': '^2.16.1'
}
});
Expand Down

0 comments on commit f19e35d

Please sign in to comment.