ese to master

nitial setup for moving terminal to react
pull/5370/head
tizah 3 years ago committed by davidzagi93@gmail.com
parent 8728f1f992
commit e8befa8226
  1. 4
      libs/remix-ui/terminal/.babelrc
  2. 19
      libs/remix-ui/terminal/.eslintrc
  3. 7
      libs/remix-ui/terminal/README.md
  4. 4
      libs/remix-ui/terminal/package.json
  5. 1
      libs/remix-ui/terminal/src/index.ts
  6. 0
      libs/remix-ui/terminal/src/lib/remix-ui-terminal.css
  7. 16
      libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
  8. 16
      libs/remix-ui/terminal/tsconfig.json
  9. 13
      libs/remix-ui/terminal/tsconfig.lib.json
  10. 3
      nx.json
  11. 35
      workspace.json

@ -0,0 +1,4 @@
{
"presets": ["@nrwl/react/babel"],
"plugins": []
}

@ -0,0 +1,19 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": "../../../.eslintrc",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error"
}
}

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

@ -0,0 +1,4 @@
{
"name": "remix-ui-terminal",
"version": "0.0.1"
}

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

@ -0,0 +1,16 @@
import React from 'react'
import './remix-ui-terminal.css'
/* eslint-disable-next-line */
export interface RemixUiTerminalProps {}
export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
return (
<div>
<h1>Welcome to remix-ui-terminal!</h1>
</div>
)
}
export default RemixUiTerminal;

@ -0,0 +1,16 @@
{
"extends": "../../../tsconfig.json",
"compilerOptions": {
"jsx": "react",
"allowJs": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": 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"]
}

@ -117,6 +117,9 @@
}, },
"remix-ui-renderer": { "remix-ui-renderer": {
"tags": [] "tags": []
},
"remix-ui-terminal": {
"tags": []
} }
} }
} }

@ -826,6 +826,41 @@
} }
} }
}, },
"remix-ui-terminal": {
"root": "libs/remix-ui/terminal",
"sourceRoot": "libs/remix-ui/terminal/src",
"projectType": "library",
"schematics": {},
"architect": {
"lint": {
"builder": "@nrwl/linter:lint",
"options": {
"linter": "eslint",
"tsConfig": ["libs/remix-ui/terminal/tsconfig.lib.json"],
"exclude": ["**/node_modules/**", "!libs/remix-ui/terminal/**/*"]
}
},
"build": {
"builder": "@nrwl/web:package",
"options": {
"outputPath": "dist/libs/remix-ui/terminal",
"tsConfig": "libs/remix-ui/terminal/tsconfig.lib.json",
"project": "libs/remix-ui/terminal/package.json",
"entryFile": "libs/remix-ui/terminal/src/index.ts",
"external": ["react", "react-dom"],
"babelConfig": "@nrwl/react/plugins/bundle-babel",
"rollupConfig": "@nrwl/react/plugins/bundle-rollup",
"assets": [
{
"glob": "README.md",
"input": ".",
"output": "."
}
]
}
}
}
},
"remix-ui-publish-to-storage": { "remix-ui-publish-to-storage": {
"root": "libs/remix-ui/publish-to-storage", "root": "libs/remix-ui/publish-to-storage",
"sourceRoot": "libs/remix-ui/publish-to-storage/src", "sourceRoot": "libs/remix-ui/publish-to-storage/src",

Loading…
Cancel
Save