Skip to content

Commit

Permalink
remove node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredrethman committed Dec 10, 2024
1 parent 7b46908 commit 9b090e9
Show file tree
Hide file tree
Showing 7 changed files with 1,464 additions and 2,745 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [20.x, 22.x]

steps:
- uses: actions/checkout@v3
Expand Down
74 changes: 36 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eckode/webpack",
"version": "0.2.1",
"version": "0.3.0",
"description": "JavaScript with TypeScript. CSS with SCSS. Built with Webpack. Serving with Webpack-Dev-Server and HMR.",
"keywords": [
"webpack",
Expand Down Expand Up @@ -32,8 +32,8 @@
"test:jest": "jest --coverage --config=jest.ts"
},
"engines": {
"node": ">=16",
"npm": ">=8"
"node": ">=18",
"npm": ">=9"
},
"files": [
"webpack",
Expand All @@ -46,44 +46,42 @@
"access": "public"
},
"dependencies": {
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@babel/preset-typescript": "^7.21.4",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@eckode/cli": "^0.0.8",
"@types/jest": "^29.5.1",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.13",
"@types/webpack-env": "^1.18.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"babel-loader": "^9.1.2",
"chalk": "^5.2.0",
"css-loader": "^6.7.3",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"express": "^4.18.2",
"@types/jest": "^29.5.14",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.1",
"@types/webpack-env": "^1.18.5",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"@typescript-eslint/parser": "^8.18.0",
"babel-loader": "^9.2.1",
"chalk": "^5.3.0",
"css-loader": "^7.1.2",
"eslint": "^9.16.0",
"eslint-config-love": "^110.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.15.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.2.1",
"express": "^4.21.2",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.1",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"mini-css-extract-plugin": "^2.7.5",
"postcss": "^8.4.23",
"postcss-loader": "^7.2.4",
"prettier": "^2.8.7",
"html-webpack-plugin": "^5.6.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.9.2",
"postcss": "^8.4.49",
"postcss-loader": "^8.1.1",
"prettier": "^3.4.2",
"resolve-bin": "^1.0.1",
"sass": "^1.62.0",
"sass-loader": "^13.2.2",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"webpack": "^5.80.0",
"webpack-cli": "^5.0.2",
"webpack-dev-server": "^4.13.3"
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"webpack": "^5.97.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0"
},
"devDependencies": {}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Imports
import { binarySearch } from './binary-search';
// Load scss
import './scss/index.scss';
import './css/index.css';

(() => {
// eslint-disable-next-line no-console
Expand Down
9 changes: 0 additions & 9 deletions webpack/webpack.common.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@ export const commonConfig = {
test: /\.css$/,
use: [MiniCssExtractPlugin.loader, 'css-loader', 'postcss-loader'],
},
{
test: /\.(scss|sass)$/,
use: [
MiniCssExtractPlugin.loader,
'css-loader',
'postcss-loader',
'sass-loader',
],
},
{
test: /\.(jpe?g|png|gif|svg)$/i,
use: [
Expand Down
9 changes: 0 additions & 9 deletions webpack/webpack.common.mts
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ export const commonConfig: EckodeWebpackConfig = {
test: /\.css$/,
use: [MiniCssExtractPlugin.loader, 'css-loader', 'postcss-loader'],
},
{
test: /\.(scss|sass)$/,
use: [
MiniCssExtractPlugin.loader,
'css-loader',
'postcss-loader',
'sass-loader',
],
},
{
test: /\.(jpe?g|png|gif|svg)$/i,
use: [
Expand Down
Loading

0 comments on commit 9b090e9

Please sign in to comment.