-
-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1433 from flexn-io/chore/release-prep
1.0 release prep
- Loading branch information
Showing
274 changed files
with
2,371 additions
and
2,791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm run lint | ||
npm run sanity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import path from 'path'; | ||
import { executeAsync, logInfo, logError, RnvContext } from '@rnv/core'; | ||
|
||
export default async (c: RnvContext) => { | ||
// TODO: This is a temporary solution. We need to find a better way to handle untyped values | ||
const cfPrivate: any = c.files.workspace.project?.configPrivate; | ||
const certRelativePath = cfPrivate?.apple?.p12?.path; | ||
|
||
if (!certRelativePath) { | ||
return logError('No configPrivate found. You sure you decrypted?', true); | ||
} | ||
const certPass = cfPrivate?.apple?.p12?.password; | ||
const certPath = path.resolve(c.paths.workspace.project.dir, certRelativePath); | ||
|
||
logInfo(`Importing certificate ${certPath}`); | ||
await executeAsync( | ||
`fastlane run import_certificate certificate_path:${certPath} certificate_password:${certPass} keychain_name:login`, | ||
{ privateParams: [certPass] } | ||
); | ||
|
||
const profiles = cfPrivate?.apple?.provisioningProfiles; | ||
|
||
if (!profiles) { | ||
return; | ||
} | ||
|
||
await Promise.all( | ||
profiles.map(async (profile: { path: string }) => { | ||
const profileRelativePath = profile?.path; | ||
const profilePath = path.resolve(c.paths.workspace.project.dir, profileRelativePath); | ||
logInfo(`Installing provisioning profile ${profilePath}`); | ||
await executeAsync(`fastlane run install_provisioning_profile path:${profilePath}`); | ||
}) | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"extends": "@rnv/core/tsconfig.hooks.json", | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
"rootDir": "src" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const { withRNV } = require('@rnv/engine-rn-next'); | ||
const { withRNVNext } = require('@rnv/engine-rn-next'); | ||
|
||
const config = { | ||
compress: false, | ||
}; | ||
|
||
module.exports = withRNV(config); | ||
module.exports = withRNVNext(config); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -183,6 +183,9 @@ | |
} | ||
} | ||
}, | ||
"tvos": { | ||
"disabled": true | ||
}, | ||
"version": "1.11.0" | ||
}, | ||
"react-native": { | ||
|
Oops, something went wrong.