theme module react lib

pull/1760/merge
Joseph Izang 3 years ago committed by yann300
parent 3d858fbcad
commit 9c88db0e12
  1. 35
      .eslintrc.json
  2. 12
      libs/remix-ui/theme-module/.babelrc
  3. 18
      libs/remix-ui/theme-module/.eslintrc.json
  4. 7
      libs/remix-ui/theme-module/README.md
  5. 1
      libs/remix-ui/theme-module/src/index.ts
  6. 0
      libs/remix-ui/theme-module/src/lib/remix-ui-theme-module.module.css
  7. 14
      libs/remix-ui/theme-module/src/lib/remix-ui-theme-module.tsx
  8. 20
      libs/remix-ui/theme-module/tsconfig.json
  9. 13
      libs/remix-ui/theme-module/tsconfig.lib.json
  10. 11
      nx.json
  11. 1
      package.json
  12. 3
      tsconfig.base.json
  13. 17
      workspace.json

@ -0,0 +1,35 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nrwl/nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
]
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nrwl/nx/typescript"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nrwl/nx/javascript"],
"rules": {}
}
]
}

@ -0,0 +1,12 @@
{
"presets": [
[
"@nrwl/react/babel",
{
"runtime": "automatic",
"useBuiltIns": "usage"
}
]
],
"plugins": []
}

@ -0,0 +1,18 @@
{
"extends": ["plugin:@nrwl/nx/react", "../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {}
},
{
"files": ["*.ts", "*.tsx"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"rules": {}
}
]
}

@ -0,0 +1,7 @@
# remix-ui-theme-module
This library was generated with [Nx](https://nx.dev).
## Running unit tests
Run `nx test remix-ui-theme-module` to execute the unit tests via [Jest](https://jestjs.io).

@ -0,0 +1 @@
export * from './lib/remix-ui-theme-module';

@ -0,0 +1,14 @@
import './remix-ui-theme-module.module.css';
/* eslint-disable-next-line */
export interface RemixUiThemeModuleProps {}
export function RemixUiThemeModule(props: RemixUiThemeModuleProps) {
return (
<div>
<h1>Welcome to remix-ui-theme-module!</h1>
</div>
);
}
export default RemixUiThemeModule;

@ -0,0 +1,20 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"jsx": "react-jsx",
"allowJs": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true
},
"files": [],
"include": [],
"references": [
{
"path": "./tsconfig.lib.json"
}
]
}

@ -0,0 +1,13 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../../dist/out-tsc",
"types": ["node"]
},
"files": [
"../../../node_modules/@nrwl/react/typings/cssmodule.d.ts",
"../../../node_modules/@nrwl/react/typings/image.d.ts"
],
"exclude": ["**/*.spec.ts", "**/*.spec.tsx"],
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"]
}

@ -141,14 +141,9 @@
},
"remix-ui-tabs": {
"tags": []
},
"remix-ui-theme-module": {
"tags": []
}
},
"targetDependencies": {
"build": [
{
"target": "build",
"projects": "dependencies"
}
]
}
}

@ -188,6 +188,7 @@
"react-dom": "^17.0.2",
"react-draggable": "^4.4.4",
"react-tabs": "^3.2.2",
"regenerator-runtime": "0.13.7",
"selenium": "^2.20.0",
"signale": "^1.4.0",
"string-similarity": "^4.0.4",

@ -70,7 +70,8 @@
"@remix-ui/app": ["libs/remix-ui/app/src/index.ts"],
"@remix-ui/vertical-icons-panel": [
"libs/remix-ui/vertical-icons-panel/src/index.ts"
]
],
"@remix-ui/theme-module": ["libs/remix-ui/theme-module/src/index.ts"]
}
},
"exclude": ["node_modules", "tmp"]

@ -1086,6 +1086,21 @@
}
}
},
"remix-ui-theme-module": {
"root": "libs/remix-ui/theme-module",
"sourceRoot": "libs/remix-ui/theme-module/src",
"projectType": "library",
"architect": {
"lint": {
"builder": "@nrwl/linter:lint",
"options": {
"linter": "eslint",
"tsConfig": ["libs/remix-ui/vertical-icons-panel/tsconfig.lib.json"],
"exclude": ["**/node_modules/**", "!libs/remix-ui/vertical-icons-panel/**/*"]
}
}
}
},
"remix-ui-editor": {
"root": "libs/remix-ui/editor",
"sourceRoot": "libs/remix-ui/editor/src",
@ -1167,4 +1182,4 @@
}
},
"defaultProject": "remix-ide"
}
}
Loading…
Cancel
Save