From 0860516d66b7d7dd95fc4230864ba7247af63799 Mon Sep 17 00:00:00 2001 From: evlist Date: Wed, 31 Aug 2022 20:22:00 +0200 Subject: [PATCH] Project config and more cleanup. --- .gitignore | 3 +++ capacitor.config.ts | 2 +- package-lock.json | 15 +++++++++++++++ package.json | 1 + src/components/ExploreContainer.css | 24 ------------------------ src/components/ExploreContainer.tsx | 14 -------------- 6 files changed, 20 insertions(+), 39 deletions(-) delete mode 100644 src/components/ExploreContainer.css delete mode 100644 src/components/ExploreContainer.tsx diff --git a/.gitignore b/.gitignore index e36333d..3a25de8 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,9 @@ # production /build +# wtf ? +/android + # misc .DS_Store .env.local diff --git a/capacitor.config.ts b/capacitor.config.ts index c173a06..5c58e6e 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -1,7 +1,7 @@ import { CapacitorConfig } from '@capacitor/cli'; const config: CapacitorConfig = { - appId: 'io.ionic.starter', + appId: 'com.dyomedea.dyomedea', appName: 'dyomedea', webDir: 'build', bundledWebRuntime: false diff --git a/package-lock.json b/package-lock.json index 419cebb..882084b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "": { "version": "0.0.1", "dependencies": { + "@capacitor/android": "4.1.0", "@capacitor/app": "4.0.1", "@capacitor/core": "4.1.0", "@capacitor/haptics": "4.0.1", @@ -1978,6 +1979,14 @@ "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==" }, + "node_modules/@capacitor/android": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-4.1.0.tgz", + "integrity": "sha512-aYHvpYVlS6WC+bG9jJfwqgHMxTw3e8f3taNnl/y9qCjglmMmtFcZWFAVLlOleVK4Q7olSirqjx37f0ppvxRTLg==", + "peerDependencies": { + "@capacitor/core": "^4.0.0" + } + }, "node_modules/@capacitor/app": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@capacitor/app/-/app-4.0.1.tgz", @@ -17348,6 +17357,12 @@ "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==" }, + "@capacitor/android": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-4.1.0.tgz", + "integrity": "sha512-aYHvpYVlS6WC+bG9jJfwqgHMxTw3e8f3taNnl/y9qCjglmMmtFcZWFAVLlOleVK4Q7olSirqjx37f0ppvxRTLg==", + "requires": {} + }, "@capacitor/app": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@capacitor/app/-/app-4.0.1.tgz", diff --git a/package.json b/package.json index 8887a68..2078486 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "0.0.1", "private": true, "dependencies": { + "@capacitor/android": "4.1.0", "@capacitor/app": "4.0.1", "@capacitor/core": "4.1.0", "@capacitor/haptics": "4.0.1", diff --git a/src/components/ExploreContainer.css b/src/components/ExploreContainer.css deleted file mode 100644 index e99f514..0000000 --- a/src/components/ExploreContainer.css +++ /dev/null @@ -1,24 +0,0 @@ -.container { - text-align: center; - position: absolute; - left: 0; - right: 0; - top: 50%; - transform: translateY(-50%); -} - -.container strong { - font-size: 20px; - line-height: 26px; -} - -.container p { - font-size: 16px; - line-height: 22px; - color: #8c8c8c; - margin: 0; -} - -.container a { - text-decoration: none; -} \ No newline at end of file diff --git a/src/components/ExploreContainer.tsx b/src/components/ExploreContainer.tsx deleted file mode 100644 index 1b4b3c0..0000000 --- a/src/components/ExploreContainer.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import './ExploreContainer.css'; - -interface ContainerProps { } - -const ExploreContainer: React.FC = () => { - return ( -
- Ready to create an app? -

Start with Ionic UI Components

-
- ); -}; - -export default ExploreContainer;