-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from OpenNative/feat/update-workspace
feat: workspace updates
- Loading branch information
Showing
38 changed files
with
5,721 additions
and
6,287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,7 @@ npm-debug.log | |
yarn-error.log | ||
testem.log | ||
/typings | ||
.nx | ||
|
||
# System Files | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,6 @@ | |
/dist | ||
/coverage | ||
native-src | ||
|
||
/.nx/workspace-data | ||
/.nx/cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<Page xmlns="http://schemas.nativescript.org/tns.xsd" xmlns:ui="./view" navigatingTo="navigatingTo" class="page"> | ||
<Page xmlns="http://schemas.nativescript.org/tns.xsd" xmlns:ui="./view" navigatingTo="navigatingTo"> | ||
<Page.actionBar> | ||
<ActionBar title="React Native Modules" icon="" class="action-bar"> | ||
<ActionBar title="React Native Modules" icon=""> | ||
</ActionBar> | ||
</Page.actionBar> | ||
|
||
<StackLayout> | ||
<Button text="Test Primitives" tap="{{ testPrimitives }}" class="btn btn-primary"/> | ||
<Button text="Test Promise" tap="{{ testPromise }}" class="btn btn-primary"/> | ||
<Button text="Test Callback" tap="{{ testCallback }}" class="btn btn-primary"/> | ||
<ui:ModuleTestView style="width:100%;height:200px;background-color:#f0f0f0;"> | ||
<Label text="I am a RN view with children" /> | ||
<StackLayout class="p-6"> | ||
<Button text="Test Primitives" tap="{{ testPrimitives }}" class="bg-blue-500 rounded-full text-white p-4 mb-4"/> | ||
<Button text="Test Promise" tap="{{ testPromise }}" class="bg-blue-500 rounded-full text-white p-4 mb-4"/> | ||
<Button text="Test Callback" tap="{{ testCallback }}" class="bg-blue-500 rounded-full text-white p-4 mb-4"/> | ||
<ui:ModuleTestView class="w-full h-[100] bg-gray-300 p-2"> | ||
<Label text="I am a RN view with children" class="text-xl" /> | ||
</ui:ModuleTestView> | ||
</StackLayout> | ||
</Page> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: ['./src/**/*.{css,xml,html,vue,svelte,ts,tsx}'], | ||
// use the .ns-dark class to control dark mode (applied by NativeScript) - since 'media' (default) is not supported. | ||
darkMode: ['class', '.ns-dark'], | ||
theme: { | ||
extend: {}, | ||
}, | ||
plugins: [], | ||
corePlugins: { | ||
preflight: false, // disables browser-specific resets | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
const { getJestProjects } = require('@nrwl/jest'); | ||
const { getJestProjects } = require('@nx/jest'); | ||
|
||
export default { projects: [...getJestProjects()] }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,42 @@ | ||
{ | ||
"npmScope": "open-native", | ||
"affected": { | ||
"defaultBase": "master" | ||
}, | ||
"implicitDependencies": { | ||
"workspace.json": "*", | ||
"package.json": { | ||
"dependencies": "*", | ||
"devDependencies": "*" | ||
}, | ||
"tsconfig.base.json": "*", | ||
"tslint.json": "*", | ||
"nx.json": "*" | ||
}, | ||
"namedInputs": { | ||
"default": ["{projectRoot}/**/*", "sharedGlobals"], | ||
"sharedGlobals": ["{workspaceRoot}/workspace.json", "{workspaceRoot}/tsconfig.base.json", "{workspaceRoot}/tslint.json", "{workspaceRoot}/nx.json"], | ||
"production": ["default", "!{projectRoot}/.eslintrc.json", "!{projectRoot}/src/test-setup.[jt]s"] | ||
}, | ||
"workspaceLayout": { | ||
"appsDir": "apps", | ||
"libsDir": "packages" | ||
}, | ||
"tasksRunnerOptions": { | ||
"default": { | ||
"runner": "nx/tasks-runners/default", | ||
"options": { | ||
"cacheableOperations": ["build", "build.all", "build.hooks", "lint", "test", "e2e"], | ||
"runtimeCacheInputs": ["node -v"], | ||
"parallel": 1, | ||
"useDaemonProcess": false | ||
"runtimeCacheInputs": ["node -v"] | ||
} | ||
} | ||
}, | ||
"$schema": "./node_modules/nx/schemas/nx-schema.json" | ||
"$schema": "./node_modules/nx/schemas/nx-schema.json", | ||
"useDaemonProcess": false, | ||
"parallel": 1, | ||
"targetDefaults": { | ||
"build": { | ||
"cache": true | ||
}, | ||
"build.all": { | ||
"cache": true | ||
}, | ||
"build.hooks": { | ||
"cache": true | ||
}, | ||
"lint": { | ||
"cache": true | ||
}, | ||
"test": { | ||
"cache": true | ||
}, | ||
"e2e": { | ||
"cache": true | ||
} | ||
}, | ||
"defaultBase": "master" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.