Skip to content

Commit

Permalink
- Config module
Browse files Browse the repository at this point in the history
  • Loading branch information
Kien Tran committed Oct 5, 2018
1 parent ae3ed2b commit 8886e0e
Show file tree
Hide file tree
Showing 97 changed files with 4,570 additions and 6,486 deletions.
43 changes: 0 additions & 43 deletions core/package.json

This file was deleted.

16 changes: 0 additions & 16 deletions core/repositories/location/__tests__/LocationRepository.test.ts

This file was deleted.

4 changes: 2 additions & 2 deletions core/domain/entities/Location.ts → domain/lib/entities/Location.ts
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

export class Location {
name: string
country: string
public name: string
public country: string

constructor(name: string, country: string) {
this.name = name
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
25 changes: 25 additions & 0 deletions domain/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "weather-domain",
"version": "0.0.3",
"description": "Domain",
"main": "./dist/index.js",
"scripts": {
"test": "jest"
},
"keywords": [
"domain",
"weather"
],
"author": "Kien Tran",
"license": "MIT",
"files": [
"lib"
],
"devDependencies": {
"@types/node": "^10.11.4",
"typescript": "^3.1.1"
},
"dependencies": {
"rxjs": "^6.3.3"
}
}
19 changes: 12 additions & 7 deletions native/tsconfig.json → domain/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
/* Basic Options */
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
// "lib": [], /* Specify library files to be included in the compilation. */
"lib": [
"es2015"
], /* Specify library files to be included in the compilation. */
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
"jsx": "react", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
// "declaration": true, /* Generates corresponding '.d.ts' file. */
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
// "outDir": "./", /* Redirect output structure to the directory. */
"outDir": "./dist", /* Redirect output structure to the directory. */
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "composite": true, /* Enable project compilation */
// "removeComments": true, /* Do not emit comments to output. */
Expand All @@ -22,7 +24,7 @@

/* Strict Type-Checking Options */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
// "strictNullChecks": true, /* Enable strict null checks. */
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
Expand All @@ -42,7 +44,7 @@
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */
"allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */

Expand All @@ -55,5 +57,8 @@
/* Experimental Options */
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
}
},
"include": [
"./lib/**/*"
]
}
Binary file removed native/.README.txt.swp
Binary file not shown.
50 changes: 0 additions & 50 deletions native/App.tsx

This file was deleted.

21 changes: 0 additions & 21 deletions native/LICENSE

This file was deleted.

6 changes: 0 additions & 6 deletions native/README.txt

This file was deleted.

3 changes: 0 additions & 3 deletions native/android/app/src/main/res/values/strings.xml

This file was deleted.

3 changes: 0 additions & 3 deletions native/android/settings.gradle

This file was deleted.

4 changes: 0 additions & 4 deletions native/app.json

This file was deleted.

27 changes: 0 additions & 27 deletions native/package.json

This file was deleted.

8 changes: 0 additions & 8 deletions native/rn-cli.config.js

This file was deleted.

Loading

0 comments on commit 8886e0e

Please sign in to comment.