Skip to content

Update the webpack config and package.json#2

Merged
KMchaudhary merged 2 commits into
masterfrom
feat/webpack-config
Dec 11, 2024
Merged

Update the webpack config and package.json#2
KMchaudhary merged 2 commits into
masterfrom
feat/webpack-config

Conversation

@KMchaudhary
Copy link
Copy Markdown
Collaborator

  • Update the package.json and webpack that will work as a base for easyDAM features development.
  • Add EasyDAM Video block.

Update the package.json and webpack that will wor
k as a base for easyDAM features development
@KMchaudhary KMchaudhary requested a review from elifvish December 11, 2024 09:10
@KMchaudhary KMchaudhary self-assigned this Dec 11, 2024
Copy link
Copy Markdown
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code analysis identified issues

action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.

phpcs scanning turned up:

🚫 16 errors


skipped-files

Maximum number of lines exceeded (15000):

  • assets/build/blocks/easydam-player/frontend.js
  • assets/build/blocks/easydam-player/index.js

Note that the above file(s) were not analyzed due to their length.


Powered by rtCamp's GitHub Actions Library

Posting will continue in further review(s)

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'e2d23771ba2d814f829e');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Missing file doc comment (Squiz.Commenting.FileComment.Missing).

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'e2d23771ba2d814f829e');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space after the array opener in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceAfterArrayOpenerSingleLine).

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'e2d23771ba2d814f829e');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: When a multi-item array uses associative keys, each value should start on a new line (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound).

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'e2d23771ba2d814f829e');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space before the array closer in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceBeforeArrayCloserSingleLine).

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-primitives'), 'version' => 'c3fda1483d8ff073fe8d');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Missing file doc comment (Squiz.Commenting.FileComment.Missing).

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-primitives'), 'version' => 'c3fda1483d8ff073fe8d');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space after the array opener in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceAfterArrayOpenerSingleLine).

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-primitives'), 'version' => 'c3fda1483d8ff073fe8d');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space before the array closer in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceBeforeArrayCloserSingleLine).

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-primitives'), 'version' => 'c3fda1483d8ff073fe8d');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: When a multi-item array uses associative keys, each value should start on a new line (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound).

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '6ceb6cf9faa42622bc89');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Missing file doc comment (Squiz.Commenting.FileComment.Missing).

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '6ceb6cf9faa42622bc89');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space after the array opener in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceAfterArrayOpenerSingleLine).

Copy link
Copy Markdown
Contributor

@rtBot rtBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '6ceb6cf9faa42622bc89');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: When a multi-item array uses associative keys, each value should start on a new line (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound).

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => '6ceb6cf9faa42622bc89');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space before the array closer in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceBeforeArrayCloserSingleLine).

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'd30a32a27c47da7979ee');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Missing file doc comment (Squiz.Commenting.FileComment.Missing).

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'd30a32a27c47da7979ee');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space after the array opener in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceAfterArrayOpenerSingleLine).

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'd30a32a27c47da7979ee');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: When a multi-item array uses associative keys, each value should start on a new line (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound).

@@ -0,0 +1 @@
<?php return array('dependencies' => array(), 'version' => 'd30a32a27c47da7979ee');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 space before the array closer in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceBeforeArrayCloserSingleLine).

@KMchaudhary KMchaudhary merged commit 371908f into master Dec 11, 2024
@KMchaudhary KMchaudhary deleted the feat/webpack-config branch March 10, 2025 03:18
rtBot added a commit that referenced this pull request Jan 1, 2026
- Add permissions block to phpcs_on_pull_request.yml (contents: read, pull-requests: write)
- Add permissions block to release_on_tag.yml (contents: write)
- Add permissions block to deploy_on_push.yml (contents: read)

This follows the principle of least privilege and resolves GitHub code scanning alerts #1, #2, and #3.

Fixes: rtCamp/support#245
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants