Project config and more cleanup.

This commit is contained in:
Eric van der Vlist 2022-08-31 20:22:00 +02:00
parent 432e36f9e9
commit 0860516d66
6 changed files with 20 additions and 39 deletions

3
.gitignore vendored
View File

@ -11,6 +11,9 @@
# production # production
/build /build
# wtf ?
/android
# misc # misc
.DS_Store .DS_Store
.env.local .env.local

View File

@ -1,7 +1,7 @@
import { CapacitorConfig } from '@capacitor/cli'; import { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = { const config: CapacitorConfig = {
appId: 'io.ionic.starter', appId: 'com.dyomedea.dyomedea',
appName: 'dyomedea', appName: 'dyomedea',
webDir: 'build', webDir: 'build',
bundledWebRuntime: false bundledWebRuntime: false

15
package-lock.json generated
View File

@ -7,6 +7,7 @@
"": { "": {
"version": "0.0.1", "version": "0.0.1",
"dependencies": { "dependencies": {
"@capacitor/android": "4.1.0",
"@capacitor/app": "4.0.1", "@capacitor/app": "4.0.1",
"@capacitor/core": "4.1.0", "@capacitor/core": "4.1.0",
"@capacitor/haptics": "4.0.1", "@capacitor/haptics": "4.0.1",
@ -1978,6 +1979,14 @@
"resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz",
"integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==" "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": { "node_modules/@capacitor/app": {
"version": "4.0.1", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@capacitor/app/-/app-4.0.1.tgz", "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", "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz",
"integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==" "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": { "@capacitor/app": {
"version": "4.0.1", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@capacitor/app/-/app-4.0.1.tgz", "resolved": "https://registry.npmjs.org/@capacitor/app/-/app-4.0.1.tgz",

View File

@ -3,6 +3,7 @@
"version": "0.0.1", "version": "0.0.1",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@capacitor/android": "4.1.0",
"@capacitor/app": "4.0.1", "@capacitor/app": "4.0.1",
"@capacitor/core": "4.1.0", "@capacitor/core": "4.1.0",
"@capacitor/haptics": "4.0.1", "@capacitor/haptics": "4.0.1",

View File

@ -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;
}

View File

@ -1,14 +0,0 @@
import './ExploreContainer.css';
interface ContainerProps { }
const ExploreContainer: React.FC<ContainerProps> = () => {
return (
<div className="container">
<strong>Ready to create an app?</strong>
<p>Start with Ionic <a target="_blank" rel="noopener noreferrer" href="https://ionicframework.com/docs/components">UI Components</a></p>
</div>
);
};
export default ExploreContainer;