Skip to content

Commit

Permalink
🏗 🐛 Rename rename src/bento/components/jwplayer to`src/bento/compon…
Browse files Browse the repository at this point in the history
…ents/bento-jwplayer` (#37519)

* the name set in the bundle config file actually needed to include either amp or bento...

* rename src/bento/components/jwplayer -> src/bento/components/bento-jwplayer
  • Loading branch information
rileyajones authored Feb 1, 2022
1 parent 3d2b6b9 commit 6e60d79
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build-system/compile/bundles.config.bento.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"name": "jwplayer",
"name": "bento-jwplayer",
"version": "1.0",
"options": {
"hasCss": true
Expand Down
4 changes: 2 additions & 2 deletions build-system/test-configs/dep-check-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,8 @@ exports.rules = [
allowlist: [
// Do not add to this allowlist.
// These files are here temporarily while all the bento components are moved out of extensions.
'src/bento/components/jwplayer/1.0/component.js->extensions/amp-video/1.0/video-iframe.js',
'src/bento/components/jwplayer/1.0/base-element.js->extensions/amp-video/1.0/base-element.js',
'src/bento/components/bento-jwplayer/1.0/component.js->extensions/amp-video/1.0/video-iframe.js',
'src/bento/components/bento-jwplayer/1.0/base-element.js->extensions/amp-video/1.0/base-element.js',
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion extensions/amp-jwplayer/1.0/amp-jwplayer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {BaseElement} from '#bento/components/jwplayer/1.0/base-element';
import {BaseElement} from '#bento/components/bento-jwplayer/1.0/base-element';

import {isExperimentOn} from '#experiments';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {BentoJwplayer} from '#bento/components/jwplayer/1.0/component';
import {BentoJwplayer} from '#bento/components/bento-jwplayer/1.0/component';

import * as Preact from '#preact';
import {useRef} from '#preact';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {mount} from 'enzyme';

import {BentoJwplayer} from '#bento/components/jwplayer/1.0/component';
import {BentoJwplayer} from '#bento/components/bento-jwplayer/1.0/component';

import * as Preact from '#preact';

Expand Down
File renamed without changes.

0 comments on commit 6e60d79

Please sign in to comment.