Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
[configure-splash-sceen]<feat>: Add missing --version, -V (#2785)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbarthec authored Oct 14, 2020
1 parent 1964deb commit fa3f3b0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This is the log of notable changes to Expo CLI and related packages.

### 🎉 New features

- [configure-splash-screen] Added `--version, -V` option for version printing. ([#2785](https://github.com/expo/expo-cli/pull/2785))
- [pkcs12] new package for PKCS#12 utility functions

### 🐛 Bug fixes
Expand Down
4 changes: 2 additions & 2 deletions packages/configure-splash-screen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.2.1",
"description": "Supplementary module for 'expo-splash-screen' providing cli configuration command",
"bin": {
"configure-splash-screen": "./build/index-cli.js",
"expo-splash-screen": "./build/index-cli.js"
"configure-splash-screen": "./build/src/index-cli.js",
"expo-splash-screen": "./build/src/index-cli.js"
},
"main": "./build/index.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions packages/configure-splash-screen/src/cli-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export default () =>
.description(
'Idempotent operation that configures native splash screens using provided backgroundColor and optional .png file. Supports light and dark modes configuration. Dark mode is supported only on iOS 13+ and Android 10+.'
)
.version(require('../package.json').version)
.allowUnknownOption(false)
.passCommandToAction(false)
.option(
Expand Down
5 changes: 3 additions & 2 deletions packages/configure-splash-screen/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"lib": ["es2018", "es2020.string"],
"rootDir": "./src",
"outDir": "./build",
"esModuleInterop": true
"esModuleInterop": true,
"resolveJsonModule": false
},
"include": ["./src"],
"include": ["src/**/*"],
"exclude": ["**/__mocks__/*", "**/__tests__/*"]
}

0 comments on commit fa3f3b0

Please sign in to comment.