Skip to content

Commit d773e86

Browse files
Update dependency eslint-plugin-compat to v4.1.0 (#895)
1 parent 8005c12 commit d773e86

File tree

6 files changed

+633
-2045
lines changed

6 files changed

+633
-2045
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
@@ -207,9 +207,7 @@ npm run build
207207
npm start --env server
208208
```
209209

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

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

@@ -231,7 +229,7 @@ npm run build
231229
</svg>
232230
```
233231

234-
8) All front-end assets are stored in an auto-generated `dist` folder.
232+
7) All front-end assets are stored in an auto-generated `dist` folder.
235233

236234
## Assets
237235

@@ -271,7 +269,6 @@ There are several scripts defined in the `package.json` file:
271269
{
272270
"build": "webpack --mode=production",
273271
"start": "webpack --watch --mode=development",
274-
"optisize": "optisize --src=\"./assets/images\"",
275272
"html": "php index.php > index.html",
276273
"critical": "critical index.html > assets/dist/critical.css",
277274
"rm-html": "rm index.html",
@@ -284,12 +281,11 @@ Here is a bit more about what each script does:
284281

285282
1. `build`: Builds the production version of the javascript and css bundles, regenerates PNG and SVG sprites.
286283
2. `start`: Starts the development sequence, regenerates PNG and SVG sprites, opens your default browser and watches for changes.
287-
3. `optisize`: Optimizes your PNG, JPG and GIF images.
288-
4. `html`: Converts your `index.php` file to `index.html`.
289-
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.
290-
6. `rm-html`: Deletes the `index.html` file.
291-
7. `pwa`: Generates boilerplate files for a PWA. More info [here](https://github.com/scriptex/create-pwa).
292-
8. `prod`: Runs 1, 4, 5, 6. (In this exact order).
284+
3. `html`: Converts your `index.php` file to `index.html`.
285+
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.
286+
5. `rm-html`: Deletes the `index.html` file.
287+
6. `pwa`: Generates boilerplate files for a PWA. More info [here](https://github.com/scriptex/create-pwa).
288+
7. `prod`: Runs 1, 4, 5, 6. (In this exact order).
293289

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

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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",
@@ -45,7 +44,6 @@
4544
"devDependencies": {
4645
"@babel/core": "7.20.12",
4746
"@babel/preset-env": "7.20.2",
48-
"@three11/optisize": "3.0.1",
4947
"autoprefixer": "10.4.13",
5048
"babel-loader": "9.1.2",
5149
"browser-sync": "2.27.11",
@@ -84,6 +82,12 @@
8482
"webpack-shell-plugin-next": "2.3.1",
8583
"webpack-spritesmith": "1.1.0"
8684
},
85+
"resolutions": {
86+
"got": "^11.8.5",
87+
"http-cache-semantics": "^4.1.1",
88+
"semver-regex": "^3.1.4",
89+
"ua-parser-js": "^1.0.33"
90+
},
8791
"bin": {
8892
"wmpa": "./bin/cli.js"
8993
},

0 commit comments

Comments
 (0)