Skip to content

Commit 1d0f5ed

Browse files
committed
mention-support: Removed haul config from example app and add yalc.
1 parent da17178 commit 1d0f5ed

File tree

8 files changed

+23
-21
lines changed

8 files changed

+23
-21
lines changed

example/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ import com.android.build.OutputFile
7878
project.ext.react = [
7979
entryFile: "index.js",
8080
enableHermes: false, // clean and rebuild if changing,
81-
cliPath: "node_modules/@haul-bundler/cli/bin/haul.js"
8281
]
8382

8483
apply from: "../../node_modules/react-native/react.gradle"

example/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: ['module:@haul-bundler/babel-preset-react-native'],
2+
presets: ['module:metro-react-native-babel-preset'],
33
};

example/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cd ..
2+
yalc publish
3+
cd example/
4+
yalc add react-native-zss-rich-text-editor

example/haul.config.js

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

example/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ PODS:
182182
- React-cxxreact (= 0.61.5)
183183
- React-jsi (= 0.61.5)
184184
- React-jsinspector (0.61.5)
185-
- react-native-webview (8.1.2):
185+
- react-native-webview (8.2.1):
186186
- React
187187
- React-RCTActionSheet (0.61.5):
188188
- React-Core/RCTActionSheetHeaders (= 0.61.5)
@@ -326,7 +326,7 @@ SPEC CHECKSUMS:
326326
React-jsi: cb2cd74d7ccf4cffb071a46833613edc79cdf8f7
327327
React-jsiexecutor: d5525f9ed5f782fdbacb64b9b01a43a9323d2386
328328
React-jsinspector: fa0ecc501688c3c4c34f28834a76302233e29dc0
329-
react-native-webview: fcb5f377aadc216273300f452ee0d321fb85809b
329+
react-native-webview: 160ac8d6bb974e2933f2de6bb7464a8e934ff31d
330330
React-RCTActionSheet: 600b4d10e3aea0913b5a92256d2719c0cdd26d76
331331
React-RCTAnimation: 791a87558389c80908ed06cc5dfc5e7920dfa360
332332
React-RCTBlob: d89293cc0236d9cb0933d85e430b0bbe81ad1d72

example/ios/example.xcodeproj/project.pbxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,8 @@
371371
);
372372
runOnlyForDeploymentPostprocessing = 0;
373373
shellPath = /bin/sh;
374-
shellScript = "# added by Haul\nexport CLI_PATH=node_modules/@haul-bundler/cli/bin/haul.js\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
374+
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
375+
375376
};
376377
2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
377378
isa = PBXShellScriptBuildPhase;
@@ -385,7 +386,8 @@
385386
);
386387
runOnlyForDeploymentPostprocessing = 0;
387388
shellPath = /bin/sh;
388-
shellScript = "# added by Haul\nexport CLI_PATH=node_modules/@haul-bundler/cli/bin/haul.js\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
389+
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
390+
389391
};
390392
6235428805B1C264DEBB160C /* [CP] Check Pods Manifest.lock */ = {
391393
isa = PBXShellScriptBuildPhase;

example/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,18 @@
77
"ios": "react-native run-ios",
88
"start": "react-native start",
99
"test": "jest",
10-
"lint": "eslint .",
11-
"haul": "haul start"
10+
"lint": "eslint ."
1211
},
1312
"dependencies": {
1413
"react": "16.9.0",
1514
"react-native": "0.61.5",
1615
"react-native-keyboard-spacer": "^0.4.1",
1716
"react-native-webview": "^8.1.2",
18-
"react-native-zss-rich-text-editor": "file:../"
17+
"react-native-zss-rich-text-editor": "file:.yalc/react-native-zss-rich-text-editor"
1918
},
2019
"devDependencies": {
2120
"@babel/core": "^7.7.7",
2221
"@babel/runtime": "^7.7.7",
23-
"@haul-bundler/babel-preset-react-native": "^0.16.0",
24-
"@haul-bundler/cli": "^0.21.0",
25-
"@haul-bundler/preset-0.60": "^0.18.0",
2622
"@react-native-community/eslint-config": "^0.0.5",
2723
"babel-jest": "^24.9.0",
2824
"eslint": "^6.8.0",

example/yalc.lock

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"version": "v1",
3+
"packages": {
4+
"react-native-zss-rich-text-editor": {
5+
"signature": "11fa5067976e79f35c79198b372b21b8",
6+
"file": true,
7+
"replaced": "file:../react-native-zss-rich-text-editor.tgz"
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)