Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit 1a24141

Browse files
committed
chore: Update files structure
1 parent cee5fec commit 1a24141

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+86
-54
lines changed

angular.json

+24-25
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
22
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json",
33
"version": 1,
4-
"defaultProject": "app",
54
"newProjectRoot": "libs",
65
"projects": {
76
"app": {
8-
"root": "",
9-
"sourceRoot": "src",
7+
"root": "apps/demo/",
8+
"sourceRoot": "apps/demo/src",
109
"projectType": "application",
1110
"prefix": "",
1211
"schematics": {
@@ -20,14 +19,14 @@
2019
"options": {
2120
"progress": false,
2221
"outputPath": "dist/demo",
23-
"index": "src/index.html",
24-
"main": "src/main.ts",
25-
"polyfills": "src/polyfills.ts",
26-
"tsConfig": "src/tsconfig.app.json",
22+
"index": "apps/demo/src/index.html",
23+
"main": "apps/demo/src/main.ts",
24+
"polyfills": "apps/demo/src/polyfills.ts",
25+
"tsConfig": "apps/demo/tsconfig.app.json",
2726
"assets": [
2827
{
2928
"glob": "**/*",
30-
"input": "src/assets",
29+
"input": "apps/demo/src/assets",
3130
"output": "assets"
3231
},
3332
{
@@ -38,10 +37,10 @@
3837
],
3938
"styles": [
4039
{
41-
"input": "src/theme/variables.scss"
40+
"input": "apps/demo/src/theme/variables.scss"
4241
},
4342
{
44-
"input": "src/global.scss"
43+
"input": "apps/demo/src/global.scss"
4544
}
4645
],
4746
"scripts": []
@@ -50,8 +49,8 @@
5049
"dev": {
5150
"fileReplacements": [
5251
{
53-
"replace": "src/environments/environment.ts",
54-
"with": "src/environments/environment.ts"
52+
"replace": "apps/demo/src/environments/environment.ts",
53+
"with": "apps/demo/src/environments/environment.ts"
5554
}
5655
],
5756
"optimization": true,
@@ -67,8 +66,8 @@
6766
"production": {
6867
"fileReplacements": [
6968
{
70-
"replace": "src/environments/environment.ts",
71-
"with": "src/environments/environment.prod.ts"
69+
"replace": "apps/demo/src/environments/environment.ts",
70+
"with": "apps/demo/src/environments/environment.prod.ts"
7271
}
7372
],
7473
"optimization": true,
@@ -106,20 +105,20 @@
106105
"test": {
107106
"builder": "@angular-devkit/build-angular:karma",
108107
"options": {
109-
"main": "src/test.ts",
110-
"polyfills": "src/polyfills.ts",
111-
"tsConfig": "src/tsconfig.spec.json",
112-
"karmaConfig": "src/karma.conf.js",
108+
"main": "apps/demo/src/test.ts",
109+
"polyfills": "apps/demo/src/polyfills.ts",
110+
"tsConfig": "apps/demo/tsconfig.spec.json",
111+
"karmaConfig": "apps/demo/src/karma.conf.js",
113112
"scripts": [],
114113
"assets": [
115114
{
116115
"glob": "favicon.ico",
117-
"input": "src/",
116+
"input": "apps/demo/src/",
118117
"output": "/"
119118
},
120119
{
121120
"glob": "**/*",
122-
"input": "src/assets",
121+
"input": "apps/demo/src/assets",
123122
"output": "/assets"
124123
}
125124
]
@@ -129,8 +128,8 @@
129128
"builder": "@angular-devkit/build-angular:tslint",
130129
"options": {
131130
"tsConfig": [
132-
"src/tsconfig.app.json",
133-
"src/tsconfig.spec.json"
131+
"apps/demo/tsconfig.app.json",
132+
"apps/demo/tsconfig.spec.json"
134133
],
135134
"exclude": [
136135
"**/node_modules/**"
@@ -164,13 +163,13 @@
164163
}
165164
},
166165
"app-e2e": {
167-
"root": "e2e/",
166+
"root": "apps/demo-e2e/",
168167
"projectType": "application",
169168
"architect": {
170169
"e2e": {
171170
"builder": "@angular-devkit/build-angular:protractor",
172171
"options": {
173-
"protractorConfig": "e2e/protractor.conf.js",
172+
"protractorConfig": "apps/demo-e2e/protractor.conf.js",
174173
"devServerTarget": "app:serve"
175174
},
176175
"configurations": {
@@ -185,7 +184,7 @@
185184
"lint": {
186185
"builder": "@angular-devkit/build-angular:tslint",
187186
"options": {
188-
"tsConfig": "e2e/tsconfig.e2e.json",
187+
"tsConfig": "apps/demo-e2e/tsconfig.e2e.json",
189188
"exclude": [
190189
"**/node_modules/**"
191190
]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/app/pages/home-page/home-page.component.ts apps/demo/src/app/pages/home-page/home-page.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ declare var require: any;
1111
changeDetection: ChangeDetectionStrategy.OnPush
1212
})
1313
export class HomePageComponent {
14-
public readme = require('html-loader!markdown-loader!./../../../../README.md').replace(
14+
public readme = require('html-loader!markdown-loader!./../../../../../../README.md').replace(
1515
'<h1 id="rucken-ionic">rucken-ionic/h1>',
1616
''
1717
);
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/index.html apps/demo/src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<title>Ionic App</title>
5+
<title>Rucken Ionic</title>
66

77
<base href="/">
88

src/main.ts apps/demo/src/main.ts

File renamed without changes.
File renamed without changes.

src/test.ts apps/demo/src/test.ts

File renamed without changes.
File renamed without changes.

src/tsconfig.app.json apps/demo/tsconfig.app.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/app",
55
"module": "es2015"

src/tsconfig.spec.json apps/demo/tsconfig.spec.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/spec",
55
"module": "commonjs",
@@ -9,10 +9,10 @@
99
]
1010
},
1111
"files": [
12-
"test.ts"
12+
"src/test.ts"
1313
],
1414
"include": [
15-
"polyfills.ts",
15+
"src/polyfills.ts",
1616
"**/*.spec.ts",
1717
"**/*.d.ts"
1818
]

config.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<plugin name="cordova-plugin-device" spec="^2.0.2" />
8080
<plugin name="cordova-plugin-splashscreen" spec="^5.0.2" />
8181
<plugin name="cordova-plugin-ionic-webview" spec="^3.0.0">
82-
<variable name="ANDROID_SUPPORT_ANNOTATIONS_VERSION" value="21.+" />
82+
<variable name="ANDROID_SUPPORT_ANNOTATIONS_VERSION" value="27.+" />
8383
</plugin>
8484
<plugin name="cordova-plugin-ionic-keyboard" spec="^2.1.3" />
8585
<plugin name="cordova-sqlite-storage" spec="2.6.0" />

0 commit comments

Comments
 (0)