Skip to content

Commit b225676

Browse files
Update dependency eslint-plugin-compat to v4.1.0 (#1153)
1 parent 64c5cae commit b225676

File tree

6 files changed

+470
-1802
lines changed

6 files changed

+470
-1802
lines changed

.circleci/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ jobs:
1717
- run:
1818
name: pwa
1919
command: yarn pwa
20-
- run:
21-
name: optisize
22-
command: yarn optisize
2320
- run:
2421
name: prod
2522
command: yarn prod

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
node-version: [14.x, 16.x]
11+
node-version: [18.x]
1212

1313
steps:
1414
- uses: actions/checkout@v3
@@ -19,5 +19,4 @@ jobs:
1919
- run: yarn
2020
- run: yarn lint
2121
- run: yarn pwa
22-
- run: yarn optisize
2322
- run: yarn prod

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ install:
77
script:
88
- yarn lint
99
- yarn pwa
10-
- yarn optisize
1110
- yarn prod

README.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,7 @@ npm run build
205205
npm start --env server
206206
```
207207

208-
6. Images optimization using [Optisize](https://github.com/three11/optisize)
209-
210-
7. SVG Sprite generating using [spritesh](https://www.npmjs.com/package/spritesh)
208+
6. SVG Sprite generating using [spritesh](https://www.npmjs.com/package/spritesh)
211209

212210
All svg files located in `assets/images/svg` are merged into a single `sprite.svg` file in `dist` directory.
213211

@@ -229,7 +227,7 @@ npm run build
229227
</svg>
230228
```
231229

232-
8. All front-end assets are stored in an auto-generated `dist` folder.
230+
7. All front-end assets are stored in an auto-generated `dist` folder.
233231

234232
## Assets
235233

@@ -269,7 +267,6 @@ There are several scripts defined in the `package.json` file:
269267
{
270268
"build": "webpack --mode=production",
271269
"start": "webpack --watch --mode=development",
272-
"optisize": "optisize --src=\"./assets/images\"",
273270
"html": "php index.php > index.html",
274271
"critical": "critical index.html > assets/dist/critical.css",
275272
"rm-html": "rm index.html",
@@ -282,12 +279,11 @@ Here is a bit more about what each script does:
282279

283280
1. `build`: Builds the production version of the javascript and css bundles, regenerates PNG and SVG sprites.
284281
2. `start`: Starts the development sequence, regenerates PNG and SVG sprites, opens your default browser and watches for changes.
285-
3. `optisize`: Optimizes your PNG, JPG and GIF images.
286-
4. `html`: Converts your `index.php` file to `index.html`.
287-
5. `critical`: Using the `index.html` extracts the critical css and generates a `critical.css` file in the `assets/dist` folder which is then inlined in the `index.php` file.
288-
6. `rm-html`: Deletes the `index.html` file.
289-
7. `pwa`: Generates boilerplate files for a PWA. More info [here](https://github.com/scriptex/create-pwa).
290-
8. `prod`: Runs 1, 4, 5, 6. (In this exact order).
282+
3. `html`: Converts your `index.php` file to `index.html`.
283+
4. `critical`: Using the `index.html` extracts the critical css and generates a `critical.css` file in the `assets/dist` folder which is then inlined in the `index.php` file.
284+
5. `rm-html`: Deletes the `index.html` file.
285+
6. `pwa`: Generates boilerplate files for a PWA. More info [here](https://github.com/scriptex/create-pwa).
286+
7. `prod`: Runs 1, 4, 5, 6. (In this exact order).
291287

292288
In order to use the ability to generate critical CSS you must have the `php` binary exposed in your bash terminal.
293289
More about PHP's commandline usage can be found [here](http://php.net/manual/en/features.commandline.php).

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpack-mpa-ts",
3-
"version": "3.12.0",
3+
"version": "4.0.0",
44
"description": "Multi page app setup with webpack",
55
"keywords": [
66
"MPA",
@@ -29,7 +29,6 @@
2929
"scripts": {
3030
"build": "webpack --mode=production",
3131
"start": "webpack --watch --mode=development",
32-
"optisize": "optisize --src=\"./assets/images\"",
3332
"html": "php index.php > index.html",
3433
"critical": "node critical.mjs",
3534
"rm-html": "rm index.html",
@@ -43,7 +42,6 @@
4342
"itscss": "3.1.0"
4443
},
4544
"devDependencies": {
46-
"@three11/optisize": "3.0.1",
4745
"@types/node": "18.11.19",
4846
"@typescript-eslint/eslint-plugin": "5.50.0",
4947
"@typescript-eslint/parser": "5.50.0",
@@ -88,6 +86,12 @@
8886
"webpack-shell-plugin-next": "2.3.1",
8987
"webpack-spritesmith": "1.1.0"
9088
},
89+
"resolutions": {
90+
"got": "^11.8.5",
91+
"http-cache-semantics": "^4.1.1",
92+
"semver-regex": "^3.1.4",
93+
"ua-parser-js": "^1.0.33"
94+
},
9195
"bin": {
9296
"wmpats": "./bin/cli.js"
9397
},

0 commit comments

Comments
 (0)