Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Monorepo] import gutenberg-mobile as a package #18159

Closed
wants to merge 4,802 commits into from
Closed
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
4802 commits
Select commit Hold shift + click to select a range
f10c6f4
Update AztecEditor-iOS to 1.9.0
mchowning Sep 20, 2019
965447e
Bump version to 1.13.0
mchowning Sep 20, 2019
719c111
Update bundles
mchowning Sep 20, 2019
8ab38d5
Remove unused require
Tug Sep 20, 2019
fb33f0c
Fix tests
Tug Sep 20, 2019
d0cc756
Merge remote-tracking branch 'origin/develop' into update/fix-store-c…
Tug Sep 20, 2019
8c2c477
Add missing @wordpress/block-directory package in symlinked-packages
Tug Sep 20, 2019
08caa7c
Update gutenberg ref
Tug Sep 20, 2019
fc8eb7d
Only report selection changes if text view is still first responder.
SergioEstevao Sep 20, 2019
e71f34a
Don't allow interactions with URL in Aztec text blocks.
SergioEstevao Sep 20, 2019
ad9edc1
Merge pull request #1372 from wordpress-mobile/release/1.13.0
daniloercoli Sep 23, 2019
e74f4cd
Merge pull request #1376 from wordpress-mobile/master
daniloercoli Sep 23, 2019
ba7d6f0
Updated gutenberg ref
geriux Sep 23, 2019
f84373a
Merge branch 'develop' of github.com:wordpress-mobile/gutenberg-mobil…
geriux Sep 23, 2019
0ba72e8
Update GB reference.
SergioEstevao Sep 23, 2019
8b0bb3a
Update GB reference.
SergioEstevao Sep 23, 2019
88b921c
Pass media filter on media upload
geriux Sep 23, 2019
02965cc
Update gutenberg ref
geriux Sep 23, 2019
1e0ad56
Use real timers for e2e tests
Tug Sep 24, 2019
4dc784e
Update GB reference.
SergioEstevao Sep 24, 2019
25c4488
Move selection to the start of the URL.
SergioEstevao Sep 24, 2019
0fec680
Make sure links selection is still possible.
SergioEstevao Sep 24, 2019
7735be5
Work around for link selection.
SergioEstevao Sep 24, 2019
e930453
Join two guards.
SergioEstevao Sep 24, 2019
e309cd8
Update GB reference.
SergioEstevao Sep 24, 2019
97da943
Use fake timers in unit tests not config
Tug Sep 24, 2019
66b4f92
Enable the CSSUnderlinePlugin on Aztec Android
daniloercoli Sep 25, 2019
8e187d5
Make sure to handle the new available format `underline`, passed from…
daniloercoli Sep 25, 2019
ec4d74c
Update GB ref
daniloercoli Sep 25, 2019
2cf5c1b
Update GB reference.
SergioEstevao Sep 25, 2019
e220399
Merge pull request #1374 from wordpress-mobile/issue/1368_add_link_to…
SergioEstevao Sep 25, 2019
373afe7
Update package version.
SergioEstevao Sep 25, 2019
73d7956
Merge branch 'master' into hotfix/1.11.1
SergioEstevao Sep 25, 2019
36cfcb3
Update GB reference.
SergioEstevao Sep 25, 2019
6c9af81
Merge branch 'develop' into issue/1373_tap_links_opens_safari
SergioEstevao Sep 25, 2019
72cbc1e
Merge pull request #1382 from wordpress-mobile/hotfix/1.11.1
SergioEstevao Sep 25, 2019
0aaeceb
Update GB reference.
SergioEstevao Sep 25, 2019
97b34f0
Update GB reference.
SergioEstevao Sep 25, 2019
dd3a6d6
Merge pull request #1377 from wordpress-mobile/issue/1261_add_missing…
SergioEstevao Sep 25, 2019
091a75e
Merge branch 'develop' into issue/1311_fix_paste_without_formatting
SergioEstevao Sep 25, 2019
5b48d58
Update GB reference.
SergioEstevao Sep 25, 2019
f168710
Merge branch 'develop' into issue/562_add_underline
SergioEstevao Sep 25, 2019
89d265e
Update gutenberg ref
geriux Sep 26, 2019
44b5f6b
Update gutenberg ref
geriux Sep 26, 2019
8500674
Update gutenberg ref
geriux Sep 26, 2019
03cc901
Update gutenberg ref
Tug Sep 26, 2019
47ed605
Update gutenberg ref
Tug Sep 26, 2019
bfe9d35
Update GB reference.
SergioEstevao Sep 26, 2019
042ee2b
Merge remote-tracking branch 'origin/develop' into update/fix-store-c…
Tug Sep 26, 2019
79009b1
Add comment explaining why we need to call jest.runAllTicks();
Tug Sep 26, 2019
82ce8df
Fix lint issue on rmobile/master on gutenberg repo (#1388)
lukewalczak Sep 26, 2019
257733d
Update GB reference.
SergioEstevao Sep 26, 2019
69c339d
Merge remote-tracking branch 'origin/develop' into update/fix-store-c…
Tug Sep 26, 2019
d597760
Merge branch 'develop' into issue/1311_fix_paste_without_formatting
SergioEstevao Sep 26, 2019
b651fbe
Update gutenberg ref
Tug Sep 26, 2019
640455e
Merge pull request #1360 from wordpress-mobile/issue/1311_fix_paste_w…
SergioEstevao Sep 26, 2019
b7d3cfd
Update GB reference.
SergioEstevao Sep 26, 2019
3695a12
Merge branch 'develop' into issue/562_add_underline
SergioEstevao Sep 26, 2019
0a29522
Update gutenberg ref
etoledom Sep 26, 2019
e7e7b7b
Merge remote-tracking branch 'origin/develop' into update/fix-store-c…
Tug Sep 26, 2019
4b6e763
Update gutenberg ref
geriux Sep 26, 2019
169c04e
Update gutenberg ref
geriux Sep 27, 2019
6eb780d
Merge branch 'develop' of github.com:wordpress-mobile/gutenberg-mobil…
geriux Sep 27, 2019
155d694
Gitmodules update
geriux Sep 27, 2019
b390e1d
Update gutenberg ref
geriux Sep 27, 2019
1e3e16a
Update GB reference.
SergioEstevao Sep 27, 2019
c364ab4
Merge pull request #1361 from wordpress-mobile/feature/move-media-upl…
koke Sep 27, 2019
545ab3e
Update GB reference.
SergioEstevao Sep 27, 2019
20a565c
Increase the number of workers so tests don't get queued when calling…
Tug Sep 27, 2019
3b5577f
Reenable disabled e2e tests
Tug Sep 27, 2019
6c75768
Reenable disabled e2e tests
Tug Sep 27, 2019
8c9f4cb
Update gutenberg ref
Tug Sep 27, 2019
81168f5
Update gutenberg ref
Tug Sep 27, 2019
fb6db57
Disable warning notices
Tug Sep 27, 2019
561f27e
Disable warning notices, fix lint
Tug Sep 27, 2019
078e62d
Merge remote-tracking branch 'origin/develop' into update/fix-store-c…
Tug Sep 27, 2019
39856db
Update GB reference.
SergioEstevao Sep 27, 2019
56f8d09
Merge branch 'develop' into issue/1373_tap_links_opens_safari
SergioEstevao Sep 27, 2019
0081ee8
Update gutenberg ref
Tug Sep 27, 2019
71815cb
Update GB reference.
SergioEstevao Sep 27, 2019
be87adf
Revert max workers to 3 and increase timeout in tests for now
Tug Sep 27, 2019
b55f55d
Update gutenberg ref
Tug Sep 27, 2019
36fb499
Merge pull request #1366 from wordpress-mobile/update/fix-store-crash
Tug Sep 27, 2019
9aaa7d6
Update GB reference.
SergioEstevao Sep 29, 2019
57459f9
Add isAppender functionality to MediaPlaceholder (#1327)
lukewalczak Sep 30, 2019
945626e
Only apply selection fix on iOS 13.0.0
SergioEstevao Sep 30, 2019
731b965
Merge branch 'develop' into issue/1373_tap_links_opens_safari
SergioEstevao Sep 30, 2019
fbc1ad1
Update GB reference.
SergioEstevao Sep 30, 2019
2b1673b
Feat: Cross platform InspectorControls (#1341)
jbinda Sep 30, 2019
e0c41aa
Update release notes.
SergioEstevao Sep 30, 2019
040d5ad
Update GB reference.
SergioEstevao Sep 30, 2019
662a3f7
iOS bridge updated with media type
geriux Sep 30, 2019
36c1153
Update GB reference.
SergioEstevao Sep 30, 2019
16283de
Update GB reference.
SergioEstevao Oct 1, 2019
c523a94
Update gutenberg ref
etoledom Oct 1, 2019
e0e76bd
Update GB reference.
SergioEstevao Oct 1, 2019
1ddbc6f
Merge pull request #1393 from wordpress-mobile/master
SergioEstevao Oct 1, 2019
44544a9
Merge branch 'develop' into issue/1373_tap_links_opens_safari
SergioEstevao Oct 1, 2019
3f07a87
Update gutenberg ref
etoledom Oct 1, 2019
638c72e
Merge pull request #1375 from wordpress-mobile/issue/1373_tap_links_o…
SergioEstevao Oct 1, 2019
58ea6d3
Update gutenberg ref
etoledom Oct 1, 2019
d418604
Mock media type for media upload
geriux Oct 1, 2019
c0a9832
Update gutenberg ref
geriux Oct 1, 2019
89f4ba2
Return media type in Android's bridge
geriux Oct 1, 2019
9f01b36
Refactor: BottomSheet controls (#1380)
jbinda Oct 2, 2019
f942586
Fix when multiple media selection adds only one image or video block …
marecar3 Oct 2, 2019
b8e8fe1
Feat: support of multiple selection in media upload (#1331)
dratwas Oct 2, 2019
4932f88
Update gutenberg ref
etoledom Oct 2, 2019
882b290
Merge branch 'develop' into issue/1337-link-to-open-new-tab
etoledom Oct 2, 2019
39bc443
Adding Link Target entry to release notes 1.15.0
etoledom Oct 2, 2019
1100c3d
Update Gutenberg
koke Oct 2, 2019
baf32b3
Update gutenberg ref to master
etoledom Oct 3, 2019
717c69d
Merge remote-tracking branch 'origin/develop' into issue/darkmode-too…
etoledom Oct 3, 2019
488af84
Merge pull request #1357 from wordpress-mobile/issue/darkmode-toolbar…
etoledom Oct 3, 2019
c5e7dcf
Update gutenberg ref to master
etoledom Oct 3, 2019
e13d739
Merge remote-tracking branch 'origin/develop' into issue/1337-link-to…
etoledom Oct 3, 2019
e3d7753
Merge pull request #1394 from wordpress-mobile/issue/1337-link-to-ope…
etoledom Oct 3, 2019
054a92b
Feat: Ungrouping (#1381)
jbinda Oct 3, 2019
70061b2
Add FloatingToolbar component (#1362)
lukewalczak Oct 3, 2019
a154f5c
Merge branch 'develop' of github.com:wordpress-mobile/gutenberg-mobil…
geriux Oct 3, 2019
9e7b2e8
Update to fork
geriux Oct 3, 2019
6149454
Merge branch 'develop' into issue/562_add_underline
SergioEstevao Oct 4, 2019
84db3e6
Update Aztec to version 1.10.1
SergioEstevao Oct 4, 2019
00b7b05
Merge pull request #1370 from wordpress-mobile/issue/562_add_underline
SergioEstevao Oct 4, 2019
d2ab272
Release/1.14.0 (#1392)
marecar3 Oct 4, 2019
e3fc356
Merge branch 'develop' into master-v1.14.0-to-develop
marecar3 Oct 4, 2019
465cdbf
Revert gb ref to latest from develop
marecar3 Oct 4, 2019
a4136a3
Media & Text - Android: Fix return media type
geriux Oct 5, 2019
33f3f22
Update gutenberg ref
geriux Oct 5, 2019
edfae08
Add upload media to button listener interface in glue code
mkevins Oct 7, 2019
56ffdcb
Add "media" MediaType
mkevins Oct 7, 2019
796d3ca
Detect "media" MediaType from filter
mkevins Oct 7, 2019
fc85748
Invoke button listener method for "media" MediaType
mkevins Oct 7, 2019
4097c57
Use MediaType static import consistently
mkevins Oct 7, 2019
58a7345
[RNAztec iOS]: Improve sync of placeholder attributes and typing attr…
etoledom Oct 7, 2019
8a3aa11
Update gutenberg ref
etoledom Oct 7, 2019
fc5ca0b
Update release notes
etoledom Oct 7, 2019
e6dc2db
Update gutenberg ref
geriux Oct 7, 2019
e0fbf04
Feat: Navigation Upward in InnerBlocks (#1371)
jbinda Oct 8, 2019
fff1857
Update gutenberg ref
etoledom Oct 8, 2019
db457da
Merge remote-tracking branch 'origin/develop' into master-v1.14.0-to-…
etoledom Oct 8, 2019
6ceeab3
Update JS Bundles
etoledom Oct 8, 2019
0d13e85
Merge pull request #1410 from wordpress-mobile/master-v1.14.0-to-develop
etoledom Oct 8, 2019
bf332c6
Merge remote-tracking branch 'origin/develop' into issue/1391-ios-dar…
etoledom Oct 9, 2019
b5c2b1c
Update gutenberg ref
etoledom Oct 9, 2019
a2623b9
Merge pull request #1415 from wordpress-mobile/issue/1391-ios-dark-mo…
etoledom Oct 9, 2019
7009c25
Update Gutenberg
koke Oct 9, 2019
370ea44
Merge branch 'develop' into media-text-stacking
koke Oct 9, 2019
8b40aa7
Update Gutenberg
koke Oct 9, 2019
4c435bc
Update to iOS11 and Swift 5.
SergioEstevao Oct 9, 2019
f0012fe
Remove check for iOS 11
SergioEstevao Oct 9, 2019
164281c
Fix SafeArea (#1425)
lukewalczak Oct 9, 2019
e0496dc
Update Gutenberg
koke Oct 10, 2019
6acee9d
Merge branch 'develop' into media-text-stacking
koke Oct 10, 2019
a461fc8
Merge pull request #1400 from wordpress-mobile/media-text-stacking
koke Oct 10, 2019
6523e9d
Merge pull request #1426 from wordpress-mobile/issue/update_to_iOS11_…
SergioEstevao Oct 10, 2019
db7e303
Update Gutenberg
koke Oct 10, 2019
16d03ab
Merge branch 'develop' into feature/media-text-improvements
koke Oct 10, 2019
70b4f7c
Update gutenberg submodule
koke Oct 10, 2019
e9de861
Update gutenberg submodule
koke Oct 10, 2019
c7e573a
Updated bundles
koke Oct 10, 2019
de6141a
Merge pull request #1378 from wordpress-mobile/feature/media-text-imp…
koke Oct 10, 2019
1ec600a
Merge branch 'develop' into try/fix-media-text-device-picker-android
mkevins Oct 10, 2019
2fb8c33
Update gutenberg reference
mkevins Oct 10, 2019
3bfb7aa
Call media library method for media mediatype
mkevins Oct 10, 2019
be4a276
Update deployment target for RNTAztecView to iOS 11
koke Oct 10, 2019
b2a5295
Fix header search path for libmxl2
koke Oct 10, 2019
377f4bb
Bump swift_version to 5.0 on RNTAztecView podspec
etoledom Oct 11, 2019
9c1cfb8
Merge pull request #1434 from wordpress-mobile/rntaztec-ios11
koke Oct 11, 2019
ad425a3
Import new location for base styles
koke Oct 11, 2019
65d8efa
Update gutenberg
koke Oct 11, 2019
5d854d8
Update gutenberg
koke Oct 11, 2019
045af30
Update bundles
koke Oct 11, 2019
2c16ab5
Update release notes
koke Oct 11, 2019
24b7f64
Don't display UngroupingButton for Media&Text block (#1420)
lukewalczak Oct 11, 2019
e228e17
Update gutenberg
koke Oct 11, 2019
1cbdf92
Update gutenberg
koke Oct 11, 2019
8587620
Update gutenberg
koke Oct 11, 2019
6354239
Merge branch 'develop' into issue/fix-scrollViewRef-crash
koke Oct 11, 2019
f5a2739
Merge pull request #1438 from wordpress-mobile/issue/fix-scrollViewRe…
koke Oct 11, 2019
fe20493
Merge branch 'develop' into try/fix-media-text-device-picker-android
mkevins Oct 14, 2019
50ed338
Merge pull request #1412 from wordpress-mobile/try/fix-media-text-dev…
mkevins Oct 14, 2019
9db0e46
Merge pull request #1435 from wordpress-mobile/add/package-base-styles
hypest Oct 14, 2019
6de84cb
Update Gutenberg
koke Oct 14, 2019
1c8c2d8
Merge branch 'develop' into fix/button-active
koke Oct 14, 2019
18876f1
Merge pull request #1440 from wordpress-mobile/fix/button-active
koke Oct 14, 2019
d7cf6f9
Update Gutenberg
koke Oct 14, 2019
8b07ba8
Merge branch 'develop' into enable-media-text
koke Oct 14, 2019
658eeba
Updated bundles
koke Oct 14, 2019
57c630f
Merge pull request #1439 from wordpress-mobile/enable-media-text
koke Oct 14, 2019
df0f112
Update Gutenberg
koke Oct 14, 2019
0ef429f
Add Media & Text block to initial HTML
koke Oct 14, 2019
895edaa
Update Gutenberg
koke Oct 14, 2019
3e9536a
Merge pull request #1443 from wordpress-mobile/issue/1411-media-text-…
koke Oct 14, 2019
fb25c0c
Add 'packages/react-native-editor/' from commit '3e9536a973321c9c7e31…
dratwas Oct 16, 2019
97511b5
move packages to its directories
dratwas Oct 16, 2019
aa8765a
split to packages
dratwas Oct 16, 2019
cd1ebda
add packages to package.json
dratwas Oct 16, 2019
1117263
fix tests
dratwas Oct 16, 2019
2f55a45
fix tests and lint
dratwas Oct 16, 2019
b209fb7
fix image test
dratwas Oct 16, 2019
f1d2457
fix import of aztec
dratwas Oct 16, 2019
1157eb0
update package-lock.json
dratwas Oct 16, 2019
a452c41
remove makepot
dratwas Oct 16, 2019
00d5555
working e2e ios temp
dratwas Oct 17, 2019
812acff
add project root
dratwas Oct 17, 2019
f226470
move podspecs and fix lint issues in aztec
dratwas Oct 21, 2019
37a3275
move proptyopes
dratwas Oct 21, 2019
80435de
remove class properties from aztec
dratwas Oct 21, 2019
6cfabd1
experimental - move podspec to root lvl
dratwas Oct 21, 2019
2456541
fix podspec
dratwas Oct 21, 2019
10232f1
fix paths
dratwas Oct 21, 2019
cdadddd
add bundle
dratwas Oct 21, 2019
d5c67a1
add flow strip types plugin
dratwas Oct 23, 2019
cd1ca78
support wp android script
dratwas Oct 25, 2019
5678175
move jitpack.yml
dratwas Oct 28, 2019
651cb7d
Merge branch 'master' into rnmobile/monorepo
dratwas Oct 28, 2019
0e0a472
add base styles
dratwas Oct 28, 2019
619bb6f
temporary fix for build
dratwas Oct 28, 2019
11510b8
exclude device tests from unit tests
dratwas Oct 28, 2019
9d7bf89
remove unused colors and fix lint
dratwas Oct 28, 2019
dedfbb8
exclude native test from unit tests
dratwas Oct 28, 2019
3961824
revert colors
dratwas Oct 29, 2019
969597f
try ignore react-native-editor in build script
dratwas Oct 29, 2019
0deca2e
tmp - fix lint-types
dratwas Oct 29, 2019
9677a04
fix script to remove globals from r-n types
dratwas Oct 29, 2019
4710287
remove fox types from postinstall
dratwas Oct 29, 2019
6309a8e
change fix-types script
dratwas Oct 29, 2019
695bb7a
fix webpack config
dratwas Oct 30, 2019
3fa5a7a
trigger CI
dratwas Oct 30, 2019
1ed285f
merge with master
dratwas Oct 30, 2019
f16d98c
use patch package to fix types instead of fix-types.sh
dratwas Oct 30, 2019
50ec247
add prepare script
dratwas Oct 30, 2019
8228b4b
change prepare to postinstall
dratwas Oct 30, 2019
faee6b3
fix aztec-example package.json
dratwas Oct 30, 2019
9007a2a
fix package-lock.json
dratwas Oct 30, 2019
016c8c2
update docs
dratwas Oct 30, 2019
689f893
fix package-lock.json
dratwas Oct 30, 2019
7e036cc
move dev dependencies to the root
dratwas Oct 31, 2019
83fccc9
move node-sass to devdeps
dratwas Oct 31, 2019
3ecaf32
change jitpack gradle script
dratwas Oct 31, 2019
542a56d
change from yarn to npm in jitpack
dratwas Oct 31, 2019
1e79b47
remove allow failures for mobile tests
dratwas Oct 31, 2019
046fd8b
fix buildJSBundle script
dratwas Nov 13, 2019
2b0e47b
move native to command
dratwas Nov 13, 2019
2e91b74
try w/o prefix command
dratwas Nov 13, 2019
f971f81
trigger build
dratwas Nov 13, 2019
c22ea2e
put back DependencyGraph patch
dratwas Nov 13, 2019
e97fdb1
Merge with master
dratwas Nov 13, 2019
81843ea
update package.json
dratwas Nov 13, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,3 @@ jobs:
local_dir: playground/dist
on:
branch: master

allow_failures:
- name: JavaScript native mobile tests
26 changes: 26 additions & 0 deletions Gutenberg.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package = JSON.parse(File.read(File.join(__dir__, 'packages', 'react-native-editor', 'package.json')))
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we move this file to @wordpress/react-native-bridge, or could we even?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried to move it to packages/react-native-bridge but couldn't make it works with Wordpress-iOS. I don't know why but cocoapods can not read package.json with that configuration.

# Use the same RN version that the JS tools use
react_native_version = package['dependencies']['react-native']
# Extract the tagged version if package.json points to a tag
react_native_version = react_native_version.split("#v").last if react_native_version.include? "#v"

Pod::Spec.new do |s|
s.name = 'Gutenberg'
s.version = package['version']
s.summary = 'Printing since 1440'
s.homepage = 'https://github.com/WordPress/gutenberg/'
s.license = package['license']
s.authors = 'Automattic'
s.platform = :ios, '11.0'
s.source = { :git => 'https://github.com/WordPress/gutenberg.git' }
s.source_files = 'packages/react-native-bridge/ios/*.{h,m,swift}'
s.requires_arc = true
s.preserve_paths = 'packages/react-native-editor/bundle/ios/*'
s.swift_version = '5.0'

s.dependency 'React', react_native_version
s.dependency 'React-RCTImage', react_native_version

s.dependency 'WordPress-Aztec-iOS'
s.dependency 'RNTAztecView'
end
23 changes: 23 additions & 0 deletions RNTAztecView.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
require 'json'
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, would be awesome if we didn't add new files at the root


package = JSON.parse(File.read(File.join(__dir__, 'packages', 'react-native-editor', 'package.json')))

Pod::Spec.new do |s|
s.name = 'RNTAztecView'
s.version = package['version']
s.summary = 'Aztec editor for React Native'
s.license = package['license']
s.homepage = 'https://github.com/WordPress/gutenberg/'
s.authors = 'Automattic'
s.source = { :git => 'https://github.com/WordPress/gutenberg.git' }
s.source_files = 'packages/react-native-aztec/ios/RNTAztecView/*.{h,m,swift}'
s.public_header_files = 'packages/react-native-aztec/ios/RNTAztecView/*.h'
s.requires_arc = true
s.platforms = { :ios => "11.0" }
s.swift_version = '5.0'
s.xcconfig = {'OTHER_LDFLAGS' => '-lxml2',
'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'}
s.dependency 'React-Core'
s.dependency 'WordPress-Aztec-iOS'

end
10 changes: 5 additions & 5 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const config = process.env.MOBILE ? require( './packages/react-native-editor/babel.config' ) : {
Copy link
Member

Choose a reason for hiding this comment

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

We need to double-check how Babel caching works with envs.

presets: [ '@wordpress/babel-preset-default' ],
plugins: [ 'babel-plugin-inline-json-import', '@babel/plugin-transform-flow-strip-types' ],
};
module.exports = function( api ) {
api.cache( true );

return {
presets: [ '@wordpress/babel-preset-default' ],
plugins: [ 'babel-plugin-inline-json-import' ],
};
return config;
};
1 change: 1 addition & 0 deletions bin/packages/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ if ( files.length ) {
`**/benchmark/**`,
`**/{__mocks__,__tests__,test}/**`,
`**/{storybook,stories}/**`,
`**/react-native-editor/**`,
],
onlyFiles: true,
} );
Expand Down
18 changes: 18 additions & 0 deletions docs/manifest-devhub.json
Original file line number Diff line number Diff line change
Expand Up @@ -1385,6 +1385,24 @@
"markdown_source": "../packages/project-management-automation/README.md",
"parent": "packages"
},
{
"title": "@wordpress/react-native-aztec",
"slug": "packages-react-native-aztec",
"markdown_source": "../packages/react-native-aztec/README.md",
"parent": "packages"
},
{
"title": "@wordpress/react-native-bridge",
"slug": "packages-react-native-bridge",
"markdown_source": "../packages/react-native-bridge/README.md",
"parent": "packages"
},
{
"title": "@wordpress/react-native-editor",
"slug": "packages-react-native-editor",
"markdown_source": "../packages/react-native-editor/README.md",
"parent": "packages"
},
{
"title": "@wordpress/redux-routine",
"slug": "packages-redux-routine",
Expand Down
9 changes: 9 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
before_install:
- yes | $ANDROID_HOME/tools/bin/sdkmanager "platforms;android-27"
- yes | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;27.0.3"
install:
- export TMPDIR=`dirname $(mktemp)`
- echo "Changing into the android folder of the Bridge module"
- pushd packages/react-native-bridge/android && ./gradlew --stacktrace clean -Pgroup=com.github.wordpress.gutenberg -Pversion=$VERSION install && popd
- pushd packages/react-native-aztec/android && ./gradlew --stacktrace clean -Pgroup=com.github.wordpress.gutenberg -Pversion=$VERSION install && popd

Loading