@codfish/actions-playground 6.3.0 → 6.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +7 -0
- package/.github/workflows/release.yml +6 -1
- package/Dockerfile +1 -1
- package/app.config.ts +82 -0
- package/package.json +6 -2
- package/provisioning/Chart.yml +2 -2
- package/tsconfig.eslint.json +9 -0
- package/tsconfig.json +21 -0
package/.eslintrc.js
ADDED
|
@@ -80,7 +80,7 @@ jobs:
|
|
|
80
80
|
{
|
|
81
81
|
'replacements': [
|
|
82
82
|
{
|
|
83
|
-
'files': ['Dockerfile'],
|
|
83
|
+
'files': ['Dockerfile'],
|
|
84
84
|
'from': 'RELEASE_VERSION=.*',
|
|
85
85
|
'to': 'RELEASE_VERSION=${nextRelease.version}'
|
|
86
86
|
},
|
|
@@ -88,6 +88,11 @@ jobs:
|
|
|
88
88
|
'files': ['provisioning/Chart.yml'],
|
|
89
89
|
'from': 'ersion: .*',
|
|
90
90
|
'to': 'ersion: ${nextRelease.version}'
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
'files': ['app.config.ts'],
|
|
94
|
+
'from': 'version: \'.*\'',
|
|
95
|
+
'to': 'version: \'${nextRelease.version}\''
|
|
91
96
|
}
|
|
92
97
|
]
|
|
93
98
|
}
|
package/Dockerfile
CHANGED
package/app.config.ts
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { ConfigContext, ExpoConfig } from 'expo/config';
|
|
2
|
+
|
|
3
|
+
const getAppIdSuffix = () => {
|
|
4
|
+
if (!process.env.APP_ENV || process.env.APP_ENV === 'production') {
|
|
5
|
+
return '';
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
return `.${process.env.APP_ENV}`; // e.g. '.beta'
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
const getAppNameSuffix = () => {
|
|
12
|
+
if (!process.env.APP_ENV || process.env.APP_ENV === 'production') {
|
|
13
|
+
return '';
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return ` (${process.env.APP_ENV.toUpperCase()})`; // e.g. ' (Beta)'
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const getAppLogo = () => {
|
|
20
|
+
if (process.env.APP_ENV === 'production') {
|
|
21
|
+
return './src/assets/logos/foo-app-icon.png';
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return './src/assets/logos/foo-app-icon-beta.png';
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export default ({ config }: ConfigContext): ExpoConfig => ({
|
|
28
|
+
...config,
|
|
29
|
+
name: `Foo Mobile${getAppNameSuffix()}`,
|
|
30
|
+
slug: 'foomobile',
|
|
31
|
+
version: '6.4.0-beta.1',
|
|
32
|
+
orientation: 'portrait',
|
|
33
|
+
icon: getAppLogo(),
|
|
34
|
+
scheme: 'foomobile',
|
|
35
|
+
userInterfaceStyle: 'automatic',
|
|
36
|
+
splash: {
|
|
37
|
+
image: './src/assets/logos/splash.png',
|
|
38
|
+
resizeMode: 'contain',
|
|
39
|
+
backgroundColor: '#FFFFFF',
|
|
40
|
+
},
|
|
41
|
+
ios: {
|
|
42
|
+
supportsTablet: true,
|
|
43
|
+
bundleIdentifier: `com.foo.oacmobile${getAppIdSuffix()}`,
|
|
44
|
+
entitlements: {
|
|
45
|
+
'com.apple.developer.networking.wifi-info': true,
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
android: {
|
|
49
|
+
package: `com.foo.oac${getAppIdSuffix()}`,
|
|
50
|
+
},
|
|
51
|
+
plugins: [
|
|
52
|
+
'expo-router',
|
|
53
|
+
[
|
|
54
|
+
'react-native-auth0',
|
|
55
|
+
{
|
|
56
|
+
domain: 'foo-foo-testing-temporary.us.auth0.com',
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
'expo-secure-store',
|
|
60
|
+
'expo-font',
|
|
61
|
+
[
|
|
62
|
+
'@sentry/react-native/expo',
|
|
63
|
+
{
|
|
64
|
+
url: 'https://sentry.io/',
|
|
65
|
+
project: 'foo-mobile',
|
|
66
|
+
organization: 'foo',
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
],
|
|
70
|
+
experiments: {
|
|
71
|
+
typedRoutes: true,
|
|
72
|
+
},
|
|
73
|
+
extra: {
|
|
74
|
+
eas: {
|
|
75
|
+
projectId: 'c4d7f3e1-9a2b-4d8f-b5e6-8c1f2a3b4d5e',
|
|
76
|
+
},
|
|
77
|
+
router: {
|
|
78
|
+
origin: false,
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
owner: 'foo',
|
|
82
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codfish/actions-playground",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0-beta.1",
|
|
4
4
|
"description": "My own testing ground for messing around with GitHub Actions.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -34,9 +34,13 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@commitlint/cli": "^8.2.0",
|
|
36
36
|
"@commitlint/config-conventional": "^8.2.0",
|
|
37
|
+
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
38
|
+
"@typescript-eslint/parser": "^5.62.0",
|
|
37
39
|
"cod-scripts": "^12.0.0",
|
|
40
|
+
"eslint": "^8.56.0",
|
|
38
41
|
"jsdoc": "^3.6.3",
|
|
39
|
-
"markdownlint-cli": "^0.18.0"
|
|
42
|
+
"markdownlint-cli": "^0.18.0",
|
|
43
|
+
"typescript": "^4.9.5"
|
|
40
44
|
},
|
|
41
45
|
"dependencies": {
|
|
42
46
|
"@babel/runtime": "^7.7.4",
|
package/provisioning/Chart.yml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
appVersion: 6.
|
|
1
|
+
appVersion: 6.4.0-beta.1
|
|
2
2
|
name: actions-playground
|
|
3
|
-
version: 6.
|
|
3
|
+
version: 6.4.0-beta.1
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es5",
|
|
4
|
+
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
|
+
"allowJs": true,
|
|
6
|
+
"skipLibCheck": true,
|
|
7
|
+
"esModuleInterop": true,
|
|
8
|
+
"allowSyntheticDefaultImports": true,
|
|
9
|
+
"strict": true,
|
|
10
|
+
"forceConsistentCasingInFileNames": true,
|
|
11
|
+
"noFallthroughCasesInSwitch": true,
|
|
12
|
+
"module": "esnext",
|
|
13
|
+
"moduleResolution": "node",
|
|
14
|
+
"resolveJsonModule": true,
|
|
15
|
+
"isolatedModules": true,
|
|
16
|
+
"noEmit": true,
|
|
17
|
+
"jsx": "react-jsx"
|
|
18
|
+
},
|
|
19
|
+
"include": ["src", "app.config.ts"],
|
|
20
|
+
"exclude": ["node_modules"]
|
|
21
|
+
}
|