Skip to content

Commit 7882c41

Browse files
authored
Use lowercase entry points for event modules (#15535)
Matches npm convention
1 parent 43c4e5f commit 7882c41

File tree

13 files changed

+77
-42
lines changed

13 files changed

+77
-42
lines changed

packages/react-events/drag.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*
7+
* @flow
8+
*/
9+
10+
'use strict';
11+
12+
const Drag = require('./src/Drag');
13+
14+
module.exports = Drag.default || Drag;

packages/react-events/focus.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*
7+
* @flow
8+
*/
9+
10+
'use strict';
11+
12+
const Focus = require('./src/Focus');
13+
14+
module.exports = Focus.default || Focus;

packages/react-events/hover.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*
7+
* @flow
8+
*/
9+
10+
'use strict';
11+
12+
const Hover = require('./src/Hover');
13+
14+
module.exports = Hover.default || Hover;

packages/react-events/npm/Drag.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/react-events/npm/Focus.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/react-events/npm/Hover.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/react-events/npm/Press.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/react-events/npm/Swipe.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/react-events/press.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*
7+
* @flow
8+
*/
9+
10+
'use strict';
11+
12+
const Press = require('./src/Press');
13+
14+
module.exports = Press.default || Press;

0 commit comments

Comments
 (0)