Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
niksy committed Mar 25, 2024
1 parent 0dcb152 commit 0ffb2cd
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 49 deletions.
44 changes: 22 additions & 22 deletions generators/app/templates/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@istanbuljs/esm-loader-hook": "^0.2.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"np": "^7.6.0",<% if ( prettier ) { %>
"np": "^10.0.2",<% if ( prettier ) { %>
"prettier": "^2.4.0",<% } %>
"eslint": "^8.5.0",
"eslint-config-nitpick": "^11.1.0"<% if ( typescript && typescriptMode === 'full' ) { %>,
Expand All @@ -86,52 +86,52 @@
"karma-rollup-preprocessor": "^7.0.0"<% } %><% if ( cloudBrowsers ) { %>,
"karma-browserstack-launcher": "^1.6.0"<% } %>,
"karma-chrome-launcher": "^3.1.0",<% if ( browserTestType === 'headless' ) { %>
"puppeteer": "^5.4.0",<% } %><% if ( usesHtmlFixtures ) { %>
"puppeteer": "^22.6.1",<% } %><% if ( usesHtmlFixtures ) { %>
"karma-html2js-preprocessor": "^1.1.0",
"karma-fixture": "^0.2.6",<% } %>
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5"<% } %><% if ( automatedTests || integrationTests ) { %>,
"mocha": "^10.3.0"<% } %><% if ( automatedTests && codeCoverage && !browserModule ) { %>,
"nodemon": "^2.0.6",
"nodemon": "^3.1.0",
"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": "^5.0.0"<% } %>,
"karma-coverage": "^2.0.3"<% } %><% if ( codeCoverageService ) { %>,
"coveralls": "^2.11.11"<% } %><% if ( manualTests || integrationTests ) { %>,
"del": "^6.0.0",
"coveralls": "^3.1.1"<% } %><% if ( manualTests || integrationTests ) { %>,
"del": "^7.1.0",
"postcss": "^8.3.11",
"globby": "^11.0.1",<% if ( bundlingTool === 'webpack' ) { %>
"css-loader": "^5.0.0",
"html-webpack-plugin": "^4.5.0",
"mini-css-extract-plugin": "^1.2.0",
"postcss-loader": "^6.2.0",
"webpack-cli": "^4.1.0",
"webpack-dev-server": "^3.11.0",<% } %><% if ( bundlingTool === 'rollup' ) { %>
"globby": "^14.0.1",<% if ( bundlingTool === 'webpack' ) { %>
"css-loader": "^6.10.0",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.8.1",
"postcss-loader": "^8.1.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",<% } %><% if ( bundlingTool === 'rollup' ) { %>
"rollup-plugin-postcss": "^4.0.1",
"rollup-plugin-serve": "^1.0.3",
"rollup-plugin-static-site": "0.1.0",<% } %>
"postcss-import": "^14.0.2",
"postcss-preset-env": "^7.0.0",
"postcss-import": "^16.1.0",
"postcss-preset-env": "^9.5.2",
"suitcss-components-test": "^1.0.0"<% } %><% if ( (manualTests || integrationTests) && browserModule && !sassModule && bundlingTool === 'rollup' ) { %>,
"minimist": "^1.2.0"<% } %><% if ( (manualTests || integrationTests) || ((browserModule && !sassModule) && (transpile || automatedTests)) ) { %><% if ( bundlingTool === 'webpack' ) { %>,
"webpack": "^5.2.0",<% if ( typescript && typescriptMode === 'full' ) { %>
"ts-loader": "^9.2.3",<% } %>
"node-stdlib-browser": "^1.2.0"<% } %><% } %><% if ( sassModule ) { %>,
"sass-true": "^2.1.3"<% } %><% if ( integrationTests ) { %><% if ( cloudBrowsers ) { %>,
"sass-true": "^8.0.0"<% } %><% if ( integrationTests ) { %><% if ( cloudBrowsers ) { %>,
"@wdio/browserstack-service": "^8.35.1"<% } %>,
"wdio-docker-service": "^3.0.0",
"@wdio/mocha-framework": "^8.35.0",
"@wdio/spec-reporter": "^8.32.4",
"@wdio/cli": "^8.35.1",
"webdriverio": "^8.35.1",
"local-web-server": "^4.2.1",
"local-web-server": "^5.3.1",
"http-shutdown": "^1.0.3"<% } %><% if ( transpile ) { %>,
"@babel/core": "^7.2.2",<% if ( !browserModule && !styles && !bundleCjs ) { %>
"@babel/cli": "^7.2.3",<% } %>
"core-js": "^2.6.5",
"core-js": "^3.36.1",
"@babel/preset-env": "^7.12.1"<% if ( typescript && typescriptMode === 'full' ) { %>,
"@babel/preset-typescript": "^7.14.5"<% } %><% if ( browserModule && !sassModule ) { %><% if ( bundlingTool === 'webpack' ) { %>,
"babel-loader": "^8.1.0"<% } %><% } %><% if ( (automatedTests || manualTests) && browserModule && !sassModule ) { %>,
"babel-loader": "^9.1.3"<% } %><% } %><% if ( (automatedTests || manualTests) && browserModule && !sassModule ) { %>,
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/runtime": "^7.2.0"<% } %><% if ( automatedTests ) { %><% if ( !browserModule || (browserModule && integrationTests) ) { %>,
"@babel/register": "^7.0.0"<% } %><% if ( codeCoverage ) { %><% if ( !browserModule && !sassModule ) { %>,
Expand All @@ -145,13 +145,13 @@
"rollup-plugin-node-globals": "^1.4.0"<% } %><% if ( vanillaJsWidget ) { %>,
"eslint-plugin-html": "^6.0.0",
"rollup-plugin-svelte": "^7.2.0",
"svelte": "^2.16.1"<% } %><% if ( typescript ) { %>,
"svelte": "^4.2.12"<% } %><% if ( typescript ) { %>,
"typescript": "^5.4.3",
"cpy": "^8.1.2",
"execa": "^5.1.1",<% if ( !transpile && typescriptMode === 'full' && (!browserModule || (browserModule && integrationTests)) ) { %>
"cpy": "^11.0.1",
"execa": "^8.0.1",<% if ( !transpile && typescriptMode === 'full' && (!browserModule || (browserModule && integrationTests)) ) { %>
"ts-node": "^10.1.0",<% } %><% if ( browserModule && usesHtmlFixtures ) { %>
"@types/karma-fixture": "^0.2.5",<% } %>
"@types/node": "^16.3.0"<% if ( automatedTests || integrationTests ) { %>,
"@types/node": "^20.11.30"<% if ( automatedTests || integrationTests ) { %>,
"@types/mocha": "^10.0.6"<% } %><% } %>
},<% if ( isScopedPackage ) { %>
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion generators/app/templates/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import path from 'node:path';
import svelte from 'rollup-plugin-svelte';
import babelCore from '@babel/core';<% } %><% if ( typescript ) { %>
import execa from 'execa';
import { execa } from 'execa';
import cpy from 'cpy';<% if ( !transpile && typescriptMode === 'full' ) { %>
import typescript from '@rollup/plugin-typescript';<% } %><% if ( transpile && typescriptMode === 'full' ) { %>
import resolve from '@rollup/plugin-node-resolve';<% } %><% } %>
Expand Down
6 changes: 3 additions & 3 deletions generators/app/templates/test/manual/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import path from 'node:path';
import del from 'del';
import globby from 'globby';
import { deleteAsync } from 'del';
import { globby } from 'globby';
import minimist from 'minimist';
import staticSite from 'rollup-plugin-static-site';
import postcss from 'rollup-plugin-postcss';
Expand Down Expand Up @@ -29,7 +29,7 @@ const config = async () => {
});
}

await del(['./test-dist']);
await deleteAsync(['./test-dist']);

const files = await globby(['./test/manual/**/*.<%= extension || 'js' %>', '!./test/manual/rollup.config.js']);

Expand Down
6 changes: 3 additions & 3 deletions generators/app/templates/test/manual/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import del from 'del';
import globby from 'globby';
import { deleteAsync } from 'del';
import { globby } from 'globby';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
import atImport from 'postcss-import';
Expand All @@ -11,7 +11,7 @@ export default async () => {

const port = 0;

await del(['./test-dist']);
await deleteAsync(['./test-dist']);

const files = await globby(['./test/manual/**/*.<%= extension || 'js' %>', '!./test/manual/webpack.config.js']);

Expand Down
40 changes: 20 additions & 20 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe('New project', function () {
prerelease: 'npm run lint'
},
devDependencies: {
np: '^7.6.0'
np: '^10.0.2'
}
});
});
Expand Down Expand Up @@ -158,17 +158,17 @@ describe('Manual tests', function () {
},
devDependencies: {
webpack: '^5.2.0',
del: '^6.0.0',
globby: '^11.0.1',
'css-loader': '^5.0.0',
'html-webpack-plugin': '^4.5.0',
'mini-css-extract-plugin': '^1.2.0',
del: '^7.1.0',
globby: '^14.0.1',
'css-loader': '^6.10.0',
'html-webpack-plugin': '^5.6.0',
'mini-css-extract-plugin': '^2.8.1',
'postcss': '^8.3.11',
'postcss-import': '^14.0.2',
'postcss-preset-env': '^7.0.0',
'postcss-loader': '^6.2.0',
'webpack-cli': '^4.1.0',
'webpack-dev-server': '^3.11.0'
'postcss-import': '^16.1.0',
'postcss-preset-env': '^9.5.2',
'postcss-loader': '^8.1.1',
'webpack-cli': '^5.1.4',
'webpack-dev-server': '^5.0.4'
}
});
});
Expand Down Expand Up @@ -293,7 +293,7 @@ describe('Automated tests, browser module, headless browser', function () {
it('should fill package.json with correct information', function () {
assert.jsonFileContent('package.json', {
devDependencies: {
puppeteer: '^5.4.0'
puppeteer: '^22.6.1'
}
});
});
Expand Down Expand Up @@ -337,7 +337,7 @@ describe('Integration tests', function () {
test: 'npm run test:automated && npm run test:integration'
},
devDependencies: {
'local-web-server': '^4.2.1',
'local-web-server': '^5.3.1',
'@wdio/browserstack-service': '^8.35.1',
'@wdio/mocha-framework': '^8.35.0',
'@wdio/spec-reporter': '^8.32.4',
Expand Down Expand Up @@ -593,7 +593,7 @@ describe('Code coverage', function () {
},
devDependencies: {
nyc: '^15.1.0',
nodemon: '^2.0.6'
nodemon: '^3.1.0'
}
});
});
Expand Down Expand Up @@ -664,7 +664,7 @@ describe('Code coverage service', function () {
'posttest:ci': 'cat ./coverage/lcov.info | coveralls'
},
devDependencies: {
coveralls: '^2.11.11'
coveralls: '^3.1.1'
}
});
});
Expand Down Expand Up @@ -795,7 +795,7 @@ describe('Sass module', function () {
'test:watch': 'npm test -- --watch'
},
devDependencies: {
'sass-true': '^2.1.3'
'sass-true': '^8.0.0'
}
});
});
Expand Down Expand Up @@ -973,7 +973,7 @@ describe('Transpile, browser module', function () {
assert.jsonFileContent('package.json', {
devDependencies: {
'@babel/core': '^7.2.2',
'babel-loader': '^8.1.0',
'babel-loader': '^9.1.3',
webpack: '^5.2.0'
}
});
Expand Down Expand Up @@ -1037,7 +1037,7 @@ describe('Transpile, with automated tests and code coverage', function () {
devDependencies: {
'@babel/register': '^7.0.0',
'babel-plugin-istanbul': '^6.0.0',
'nodemon': '^2.0.6'
'nodemon': '^3.1.0'
}
});
});
Expand Down Expand Up @@ -1290,7 +1290,7 @@ describe('Vanilla JS widget', function () {
assert.jsonFileContent('package.json', {
devDependencies: {
'rollup-plugin-svelte': '^7.2.0',
'svelte': '^2.16.1'
'svelte': '^4.2.12'
}
});
});
Expand Down Expand Up @@ -1325,7 +1325,7 @@ describe('TypeScript, with comments', function () {
},
devDependencies: {
'typescript': '^5.4.3',
'@types/node': '^16.3.0',
'@types/node': '^20.11.30',
'@types/mocha': '^10.0.6'
}
});
Expand Down

0 comments on commit 0ffb2cd

Please sign in to comment.