Skip to content

Commit

Permalink
build(common): add theme module
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Yorsh committed Oct 31, 2018
1 parent 7b45ad7 commit 2f8df0f
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/framework/theme/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const description = '@rk-kit/theme';
13 changes: 13 additions & 0 deletions src/framework/theme/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "@rk-kit/theme",
"version": "0.0.1",
"description": "rk-kit theme providing module",
"main": "index.ts",
"repository": "git+https://github.com/akveo/react-native-ui-kitten.git",
"author": "akveo <contact@akveo.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/akveo/react-native-ui-kitten/issues"
},
"homepage": "https://github.com/akveo/react-native-ui-kitten#readme"
}
6 changes: 5 additions & 1 deletion src/framework/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
"target": "es2017",
"lib": [
"es2017"
]
],
"paths": {
"@rk-kit/theme": ["./theme"],
"@rk-kit/ui": ["./ui"]
}
},
"typeRoots": [
"../../node_modules/@types"
Expand Down
1 change: 1 addition & 0 deletions src/framework/ui/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {Sample} from './sample/sample.component';
15 changes: 15 additions & 0 deletions src/framework/ui/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "@rk-kit/ui",
"version": "0.0.1",
"description": "rk-kit ui components",
"repository": "git+https://github.com/akveo/react-native-ui-kitten.git",
"author": "akveo <contact@akveo.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/akveo/react-native-ui-kitten/issues"
},
"homepage": "https://github.com/akveo/react-native-ui-kitten#readme",
"peerDependencies": {
"@rk-kit/theme": "file:../theme"
}
}
2 changes: 1 addition & 1 deletion src/playground/src/App.component.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import {Sample} from '../../framework/ui/sample/sample.component';
import {Sample} from '@rk-kit/ui';

export default class App extends React.Component {
render() {
Expand Down
5 changes: 4 additions & 1 deletion src/playground/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
"target": "es2017",
"lib": [
"es2017"
]
],
"paths": {
"@rk-kit/*": ["../framework/*"]
}
},
"typeRoots": [
"../../node_modules/@types"
Expand Down

0 comments on commit 2f8df0f

Please sign in to comment.