| #
a9e9eb76 |
| 19-Feb-2021 |
James Ide <[email protected]> |
[ems] Tidy up README and bash directory checks
- Remove stray `=` from readme - Remove unnecessary `$(pwd)` from bash scripts - Fix up order of eslint args (options, then dir path at the end). Teste
[ems] Tidy up README and bash directory checks
- Remove stray `=` from readme - Remove unnecessary `$(pwd)` from bash scripts - Fix up order of eslint args (options, then dir path at the end). Tested by running `yarn lint` in expo-facebook. - Made podspec glob look for <pkg>/*.podspec and <pkg>/ios/**/*.podspec instead of searching everywhere in the package (specifically we don't want to descend into node_modules). Tested by running `yarn expo-module readme` in both expo-facebook and expo-image to test both cases.
show more ...
|
| #
ec4c554e |
| 14-Jan-2021 |
Evan Bacon <[email protected]> |
[EMS] Create dev tooling for config plugins (#11574)
* plugin for stripe
* add plugin clean, build, and lint scripts
* Update index.ts
* remove template
* update naming
* Update READM
[EMS] Create dev tooling for config plugins (#11574)
* plugin for stripe
* add plugin clean, build, and lint scripts
* Update index.ts
* remove template
* update naming
* Update README.md
* Update CHANGELOG.md
* added plugin support to et
* Update app.json
* added testing options
* Update checkPackageAsync.ts
* added payments to NCL
* updated stripe plugin to support iap
* Update PaymentsScreen.tsx
* Update PaymentsScreen.tsx
* Update PaymentsScreen.tsx
* Updated docs
* Apply suggestions from code review
Co-authored-by: James Ide <[email protected]>
Co-authored-by: Brent Vatne <[email protected]>
* updated types
* Update jest-preset-plugin.js
* downgrade node
* Apply suggestions from code review
Co-authored-by: James Ide <[email protected]>
* update syntax
* ignore plugin builds
* unignore
* Update packages/expo-module-scripts/README.md
Co-authored-by: James Ide <[email protected]>
Co-authored-by: James Ide <[email protected]>
Co-authored-by: Brent Vatne <[email protected]>
show more ...
|
| #
3a15479d |
| 20-Oct-2018 |
James Ide <[email protected]> |
[build] Add "expo-module-scripts" package for common scripts
All Expo module packages and the Expo SDK package need common scripts, like running TypeScript, unit tests, compiling the TS before publi
[build] Add "expo-module-scripts" package for common scripts
All Expo module packages and the Expo SDK package need common scripts, like running TypeScript, unit tests, compiling the TS before publishing, and so on. This introduces a package called "expo-module-scripts" that defines a script called `expo-module` with many commands like `test` and `build`. This helps us use consistent commands with consistent dependency versions (e.g. the same version of TypeScript, Jest, etc...) across all modules so that the Expo SDK is unified.
There are commands for common tasks like `build`, `test`, and `clean`. There are also commands for npm lifecycles like `prepare` and `prepublishOnly`. And there are pass-through commands for common development dependencies like `tsc` and `jest`.
The module is invokable through the `expo-module` program: `expo-module test` for instance. In a module's package.json, define a script named "expo-module" that just runs "expo-module" -- this lets us run `yarn expo-module test|build|clean|...`. Also define lifecycle scripts: `"prepare": "expo-module prepare"` for example. And lastly, define tasks for some common commands for convenience: `"test": "expo-module test"`.
The commands like building and testing run in watch mode since they are meant to be run by humans.
Test plan: used this in the Expo SDK module and verified that CI passes.
show more ...
|