Skip to content

Commit 6d6a70c

Browse files
authored
chore(gatsby-image): move to deprecated plugins (#31654)
1 parent 971fa82 commit 6d6a70c

File tree

19 files changed

+53
-295
lines changed

19 files changed

+53
-295
lines changed

.circleci/config.yml

-35
Original file line numberDiff line numberDiff line change
@@ -128,22 +128,6 @@ aliases:
128128
- notify-status:
129129
condition: << parameters.nightly >>
130130

131-
e2e_tests_gatsby-image_alias: &e2e_tests_gatsby-image_alias
132-
<<: *e2e-executor
133-
parameters:
134-
nightly:
135-
type: boolean
136-
default: false
137-
environment:
138-
CYPRESS_PROJECT_ID: ave32k
139-
CYPRESS_RECORD_KEY: fb3cb6e0-a0f9-48b2-aa9a-95e8ef150a85
140-
steps:
141-
- e2e-test:
142-
test_path: e2e-tests/gatsby-image
143-
skip_file_change_test: << parameters.nightly >>
144-
- notify-status:
145-
condition: << parameters.nightly >>
146-
147131
commands:
148132
notify-status:
149133
parameters:
@@ -379,15 +363,6 @@ jobs:
379363
command: 'DEBUG=start-server-and-test yarn start-server-and-test "yarn develop 2>&1 | tee log.txt" :8000 "! cat log.txt | grep -E ''ERROR #|Require stack:''"'
380364
working_directory: /tmp/e2e-tests/gatsby-pnp
381365

382-
e2e_tests_gatsby-image:
383-
<<: *e2e_tests_gatsby-image_alias
384-
385-
e2e_tests_gatsby-image_with_experimental_react:
386-
<<: *e2e_tests_gatsby-image_alias
387-
388-
e2e_tests_gatsby-image_with_next_react:
389-
<<: *e2e_tests_gatsby-image_alias
390-
391366
e2e_tests_development_runtime:
392367
<<: *e2e_tests_development_runtime_alias
393368

@@ -603,10 +578,6 @@ workflows:
603578
jobs:
604579
- bootstrap-with-experimental-react:
605580
version: "next"
606-
- e2e_tests_gatsby-image_with_next_react:
607-
nightly: true
608-
requires:
609-
- bootstrap-with-experimental-react
610581
- e2e_tests_development_runtime_with_next_react:
611582
nightly: true
612583
requires:
@@ -626,10 +597,6 @@ workflows:
626597
jobs:
627598
- bootstrap-with-experimental-react:
628599
version: "experimental"
629-
- e2e_tests_gatsby-image_with_experimental_react:
630-
nightly: true
631-
requires:
632-
- bootstrap-with-experimental-react
633600
- e2e_tests_development_runtime_with_experimental_react:
634601
nightly: true
635602
requires:
@@ -697,8 +664,6 @@ workflows:
697664
<<: *e2e-test-workflow
698665
- e2e_tests_path-prefix:
699666
<<: *e2e-test-workflow
700-
- e2e_tests_gatsby-image:
701-
<<: *e2e-test-workflow
702667
- e2e_tests_gatsby-static-image:
703668
<<: *e2e-test-workflow
704669
- e2e_tests_visual-regression:

.eslintignore

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ integration-tests
2222
packages/*/*.js
2323
packages/gatsby-source-shopify/**/*.js
2424
packages/gatsby-plugin-preload-fonts/prepare/*.js
25-
packages/gatsby-image/withIEPolyfill/index.js
2625
packages/gatsby/cache-dir/commonjs/**/*
2726
packages/gatsby-admin/public
2827
packages/gatsby/gatsby-admin-public
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/gatsby-source-wordpress/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"filesize": "^6.1.0",
3030
"fs-extra": "^9.0.1",
3131
"gatsby-core-utils": "^2.12.0-next.0",
32-
"gatsby-image": "^3.12.0-next.0",
32+
"gatsby-image": "^3.10.0",
3333
"gatsby-plugin-catch-links": "^3.12.0-next.0",
3434
"gatsby-source-filesystem": "^3.12.0-next.0",
3535
"glob": "^7.1.6",

renovate.json5

-244
Original file line numberDiff line numberDiff line change
@@ -3379,250 +3379,6 @@
33793379
"commitMessageSuffix": "{{#unless groupName}} for gatsby-graphiql-explorer{{/unless}}",
33803380
"dependencyDashboardApproval": true
33813381
},
3382-
{
3383-
"matchPaths": [
3384-
"packages/gatsby-image/package.json"
3385-
],
3386-
"matchDepTypes": [
3387-
"devDependencies"
3388-
],
3389-
"matchUpdateTypes": [
3390-
"patch",
3391-
"minor"
3392-
],
3393-
"groupName": "[DEV] minor and patch dependencies for gatsby-image",
3394-
"groupSlug": "gatsby-image-dev-minor",
3395-
"automerge": true,
3396-
"excludePackageNames": [
3397-
"eslint",
3398-
"prettier",
3399-
"cross-env",
3400-
"execa",
3401-
"mini-css-extract-plugin",
3402-
"sharp",
3403-
"@types/sharp",
3404-
"typescript",
3405-
"chalk",
3406-
"fs-extra",
3407-
"@types/fs-extra",
3408-
"cheerio",
3409-
"semver",
3410-
"@types/semver",
3411-
"core-js",
3412-
"core-js-compat",
3413-
"chokidar"
3414-
],
3415-
"excludePackagePatterns": [
3416-
"^@babel",
3417-
"^eslint-",
3418-
"^@typescript-eslint/",
3419-
"^@testing-library/"
3420-
],
3421-
"commitMessageSuffix": "{{#unless groupName}} for gatsby-image{{/unless}}"
3422-
},
3423-
{
3424-
"matchPaths": [
3425-
"packages/gatsby-image/package.json"
3426-
],
3427-
"matchDepTypes": [
3428-
"devDependencies"
3429-
],
3430-
"matchUpdateTypes": [
3431-
"major"
3432-
],
3433-
"groupName": "[DEV] major dependencies for gatsby-image",
3434-
"groupSlug": "gatsby-image-dev-major",
3435-
"automerge": true,
3436-
"dependencyDashboardApproval": false,
3437-
"excludePackageNames": [
3438-
"eslint",
3439-
"prettier",
3440-
"cross-env",
3441-
"execa",
3442-
"mini-css-extract-plugin",
3443-
"sharp",
3444-
"@types/sharp",
3445-
"typescript",
3446-
"chalk",
3447-
"fs-extra",
3448-
"@types/fs-extra",
3449-
"cheerio",
3450-
"semver",
3451-
"@types/semver",
3452-
"core-js",
3453-
"core-js-compat",
3454-
"chokidar"
3455-
],
3456-
"excludePackagePatterns": [
3457-
"^@babel",
3458-
"^eslint-",
3459-
"^@typescript-eslint/",
3460-
"^@testing-library/"
3461-
],
3462-
"commitMessageSuffix": "{{#unless groupName}} for gatsby-image{{/unless}}"
3463-
},
3464-
{
3465-
"matchPaths": [
3466-
"packages/gatsby-image/package.json"
3467-
],
3468-
"matchDepTypes": [
3469-
"dependencies"
3470-
],
3471-
"matchUpdateTypes": [
3472-
"patch",
3473-
"minor"
3474-
],
3475-
"groupName": "minor and patch dependencies for gatsby-image",
3476-
"groupSlug": "gatsby-image-prod-minor",
3477-
"excludePackageNames": [
3478-
"eslint",
3479-
"prettier",
3480-
"cross-env",
3481-
"execa",
3482-
"mini-css-extract-plugin",
3483-
"sharp",
3484-
"@types/sharp",
3485-
"typescript",
3486-
"chalk",
3487-
"fs-extra",
3488-
"@types/fs-extra",
3489-
"cheerio",
3490-
"semver",
3491-
"@types/semver",
3492-
"core-js",
3493-
"core-js-compat",
3494-
"chokidar"
3495-
],
3496-
"excludePackagePatterns": [
3497-
"^@babel",
3498-
"^eslint-",
3499-
"^@typescript-eslint/",
3500-
"^@testing-library/"
3501-
],
3502-
"commitMessageSuffix": "{{#unless groupName}} for gatsby-image{{/unless}}"
3503-
},
3504-
{
3505-
"matchPaths": [
3506-
"packages/gatsby-image/package.json"
3507-
],
3508-
"matchDepTypes": [
3509-
"dependencies"
3510-
],
3511-
"matchUpdateTypes": [
3512-
"major"
3513-
],
3514-
"groupName": "major dependencies for gatsby-image",
3515-
"groupSlug": "gatsby-image-prod-major",
3516-
"excludePackageNames": [
3517-
"eslint",
3518-
"prettier",
3519-
"cross-env",
3520-
"execa",
3521-
"mini-css-extract-plugin",
3522-
"sharp",
3523-
"@types/sharp",
3524-
"typescript",
3525-
"chalk",
3526-
"fs-extra",
3527-
"@types/fs-extra",
3528-
"cheerio",
3529-
"semver",
3530-
"@types/semver",
3531-
"core-js",
3532-
"core-js-compat",
3533-
"chokidar"
3534-
],
3535-
"excludePackagePatterns": [
3536-
"^@babel",
3537-
"^eslint-",
3538-
"^@typescript-eslint/",
3539-
"^@testing-library/"
3540-
],
3541-
"commitMessageSuffix": "{{#unless groupName}} for gatsby-image{{/unless}}",
3542-
"dependencyDashboardApproval": true
3543-
},
3544-
{
3545-
"matchPaths": [
3546-
"packages/gatsby-image/package.json"
3547-
],
3548-
"matchDepTypes": [
3549-
"dependencies"
3550-
],
3551-
"groupName": "minor and patch dependencies for gatsby-image",
3552-
"groupSlug": "gatsby-image-prod-minor",
3553-
"matchPackageNames": [],
3554-
"matchUpdateTypes": [
3555-
"patch"
3556-
],
3557-
"excludePackageNames": [
3558-
"eslint",
3559-
"prettier",
3560-
"cross-env",
3561-
"execa",
3562-
"mini-css-extract-plugin",
3563-
"sharp",
3564-
"@types/sharp",
3565-
"typescript",
3566-
"chalk",
3567-
"fs-extra",
3568-
"@types/fs-extra",
3569-
"cheerio",
3570-
"semver",
3571-
"@types/semver",
3572-
"core-js",
3573-
"core-js-compat",
3574-
"chokidar"
3575-
],
3576-
"excludePackagePatterns": [
3577-
"^@babel",
3578-
"^eslint-",
3579-
"^@typescript-eslint/",
3580-
"^@testing-library/"
3581-
],
3582-
"commitMessageSuffix": "{{#unless groupName}} for gatsby-image{{/unless}}"
3583-
},
3584-
{
3585-
"matchPaths": [
3586-
"packages/gatsby-image/package.json"
3587-
],
3588-
"matchDepTypes": [
3589-
"dependencies"
3590-
],
3591-
"groupName": "major dependencies for gatsby-image",
3592-
"groupSlug": "gatsby-image-prod-major",
3593-
"matchPackageNames": [],
3594-
"matchUpdateTypes": [
3595-
"major",
3596-
"minor"
3597-
],
3598-
"excludePackageNames": [
3599-
"eslint",
3600-
"prettier",
3601-
"cross-env",
3602-
"execa",
3603-
"mini-css-extract-plugin",
3604-
"sharp",
3605-
"@types/sharp",
3606-
"typescript",
3607-
"chalk",
3608-
"fs-extra",
3609-
"@types/fs-extra",
3610-
"cheerio",
3611-
"semver",
3612-
"@types/semver",
3613-
"core-js",
3614-
"core-js-compat",
3615-
"chokidar"
3616-
],
3617-
"excludePackagePatterns": [
3618-
"^@babel",
3619-
"^eslint-",
3620-
"^@typescript-eslint/",
3621-
"^@testing-library/"
3622-
],
3623-
"commitMessageSuffix": "{{#unless groupName}} for gatsby-image{{/unless}}",
3624-
"dependencyDashboardApproval": true
3625-
},
36263382
{
36273383
"matchPaths": [
36283384
"packages/gatsby-legacy-polyfills/package.json"

0 commit comments

Comments
 (0)