Skip to content

Commit 07f3262

Browse files
Merge pull request #1033 from 10up/update-npm-dependencies
Remove npm dependencies
2 parents e0f2200 + d50a3f7 commit 07f3262

File tree

7 files changed

+3194
-4703
lines changed

7 files changed

+3194
-4703
lines changed

.eslintrc.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,32 @@
2929
"rules": {
3030
"react/jsx-no-undef": "off"
3131
},
32+
"settings": {
33+
"import/core-modules": [
34+
"@wordpress/api-fetch",
35+
"@wordpress/block-editor",
36+
"@wordpress/block-library",
37+
"@wordpress/commands",
38+
"@wordpress/components",
39+
"@wordpress/compose",
40+
"@wordpress/core-data",
41+
"@wordpress/data",
42+
"@wordpress/dom-ready",
43+
"@wordpress/dom",
44+
"@wordpress/editor",
45+
"@wordpress/element",
46+
"@wordpress/hooks",
47+
"@wordpress/html-entities",
48+
"@wordpress/i18n",
49+
"@wordpress/media-utils",
50+
"@wordpress/notices",
51+
"@wordpress/plugins",
52+
"@wordpress/url",
53+
"@wordpress/wordcount",
54+
"react-dom",
55+
"react"
56+
]
57+
},
3258
"extends": ["plugin:@wordpress/eslint-plugin/recommended"],
3359
"ignorePatterns": ["*.json", "webpack.config.js"]
3460
}

.github/workflows/cypress.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
name: ${{ matrix.core.name }}
1515
runs-on: ubuntu-latest
1616
strategy:
17+
fail-fast: false
1718
matrix:
1819
core:
1920
- {name: 'WP latest', version: 'latest'}
@@ -56,7 +57,7 @@ jobs:
5657
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
5758
if: failure()
5859
with:
59-
name: cypress-artifact-classifai
60+
name: cypress-artifact-classifai-wp-${{ matrix.core.name }}
6061
retention-days: 7
6162
path: |
6263
${{ github.workspace }}/tests/cypress/screenshots/

.github/workflows/plugin-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
working-directory: ${{ github.event.repository.name }}
3333

3434
- name: Run plugin check
35-
uses: wordpress/plugin-check-action@ec9b3fe9beaa76bcc4510b7ba2cb5855a5f80f3f # v1.1.4
35+
uses: wordpress/plugin-check-action@6f5a57e173c065a394b78688f75df543e4011902 # v1.1.5
3636
with:
3737
build-dir: ${{ github.event.repository.name }}
3838
exclude-checks: 'plugin_readme,plugin_updater' # Plugin isn't on .org so excluding these for now.

0 commit comments

Comments
 (0)