Skip to content
Permalink
Browse files
rebase
  • Loading branch information
Touchless Inc committed Aug 11, 2022
1 parent d4add00 commit c89ec897d70ec0c55bc71da005002ac57b50a0d6
Show file tree
Hide file tree
Showing 105 changed files with 7,685 additions and 9,936 deletions.
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false

This file was deleted.

@@ -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": {}
}
]
}
@@ -1,13 +1,43 @@
.DS_Store
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc

# dependencies
node_modules
.turbo
*.log
dist
dist-ssr
*.local
.env
.cache
server/dist
public/dist
.turbo
public

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings

# System Files
.DS_Store
Thumbs.db

/apps/gatsby/node_modules
/apps/gatsby/public
/apps/gatsby/.cache

This file was deleted.

This file was deleted.

This file was deleted.

@@ -0,0 +1,8 @@
# Add files here to ignore them from prettier formatting

/dist
/coverage

/apps/gatsby/node_modules
/apps/gatsby/public
/apps/gatsby/.cache
@@ -1,4 +1,3 @@
{
"semi": false,
"singleQuote": true
}
@@ -0,0 +1,8 @@
{
"recommendations": [
"nrwl.angular-console",
"esbenp.prettier-vscode",
"firsttris.vscode-jest-runner",
"dbaeumer.vscode-eslint"
]
}

This file was deleted.

103 README.md
@@ -1,33 +1,94 @@
<h1 align="center">EXO</h1>
<p align="center">A blueprint for a more open, accessible, future-proof world.</p>

## :hear_no_evil: What's this about?

EXO is the scaffolding required to make a more accessible world. It's comprised of a few key pieces:
# MyOrg

1. A universal data schema
2. A lightweight smart loader to enable those with autism to use the web without frustration
3. A bottomless ReactJS web shell which connects to headless systems and APIs
This project was generated using [Nx](https://nx.dev).

## :zap: Roadmap
<p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="450"></p>

EXO is a collaboration of folks who care about making the world usable for people with autism. It turns out when we do that, the business metrics improve too. We're excited to have Gatsby, Rudderstack, Sanity and others involved in us building a true enterprise-grade, scalable and open-source framework we continually will improve.
🔎 **Smart, Fast and Extensible Build System**

### Now:
## Adding capabilities to your workspace

Beta release signups are accepted as of March 2. Register interest at [email protected].
Nx supports many plugins which add capabilities for developing different types of applications and different tools.

- EXO for GatsbyJS, which will be maintained in <a href="https://www.touchless.inc/touchlesscode/exo/tree/main/packages/gatsby-theme-exo">/packages/gatsby-theme-exo</a>
These capabilities include generating applications, libraries, etc as well as the devtools to test, and build projects as well.

- Pre-alpha, with full production-readiness planned for July 2022.
- We'll be merging in code from recent projects for large companies that will likely be useful to most. All Touchless projects are to contibute back to this repo.
Below are our core plugins:

- Making our documentation public in here for Touchless Identity and EXO APIs.
- [React](https://reactjs.org)
- `npm install --save-dev @nrwl/react`
- Web (no framework frontends)
- `npm install --save-dev @nrwl/web`
- [Angular](https://angular.io)
- `npm install --save-dev @nrwl/angular`
- [Nest](https://nestjs.com)
- `npm install --save-dev @nrwl/nest`
- [Express](https://expressjs.com)
- `npm install --save-dev @nrwl/express`
- [Node](https://nodejs.org)
- `npm install --save-dev @nrwl/node`

### Next:
There are also many [community plugins](https://nx.dev/community) you could add.

- RFC on the Touchless Schema spec for Person, Accomodation
- EXO for Remix
- EXO for NextJS
- EXO for Svelte
- Schema for Entity, Relationship, Location, Identity
## Generate an application

Run `nx g @nrwl/react:app my-app` to generate an application.

> You can use any of the plugins above to generate applications as well.
When using Nx, you can create multiple applications and libraries in the same workspace.

## Generate a library

Run `nx g @nrwl/react:lib my-lib` to generate a library.

> You can also use any of the plugins above to generate libraries as well.
Libraries are shareable across libraries and applications. They can be imported from `@my-org/mylib`.

## Development server

Run `nx serve my-app` for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `nx g @nrwl/react:component my-component --project=my-app` to generate a new component.

## Build

Run `nx build my-app` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.

## Running unit tests

Run `nx test my-app` to execute the unit tests via [Jest](https://jestjs.io).

Run `nx affected:test` to execute the unit tests affected by a change.

## Running end-to-end tests

Run `nx e2e my-app` to execute the end-to-end tests via [Cypress](https://www.cypress.io).

Run `nx affected:e2e` to execute the end-to-end tests affected by a change.

## Understand your workspace

Run `nx graph` to see a diagram of the dependencies of your projects.

## Further help

Visit the [Nx Documentation](https://nx.dev) to learn more.



## ☁ Nx Cloud

### Distributed Computation Caching & Distributed Task Execution

<p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-cloud-card.png"></p>

Nx Cloud pairs with Nx in order to enable you to build and test code more rapidly, by up to 10 times. Even teams that are new to Nx can connect to Nx Cloud and start saving time instantly.

Teams using Nx gain the advantage of building full-stack applications with their preferred framework alongside Nx’s advanced code generation and project dependency graph, plus a unified experience for both frontend and backend developers.

Visit [Nx Cloud](https://nx.app/) to learn more.
Empty file.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

@@ -0,0 +1,17 @@
{
"extends": ["plugin:cypress/recommended", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {}
},
{
"files": ["src/plugins/index.js"],
"rules": {
"@typescript-eslint/no-var-requires": "off",
"no-undef": "off"
}
}
]
}
@@ -0,0 +1,6 @@
import { defineConfig } from 'cypress';
import { nxE2EPreset } from '@nrwl/cypress/plugins/cypress-preset';

export default defineConfig({
e2e: nxE2EPreset(__dirname),
});
@@ -0,0 +1,29 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/gatsby-e2e/src",
"projectType": "application",
"targets": {
"e2e": {
"executor": "@nrwl/cypress:cypress",
"options": {
"cypressConfig": "apps/gatsby-e2e/cypress.config.ts",
"devServerTarget": "gatsby:serve",
"testingType": "e2e"
},
"configurations": {
"production": {
"devServerTarget": "gatsby:serve:production"
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/gatsby-e2e/**/*.{js,ts}"]
}
}
},
"tags": [],
"implicitDependencies": ["gatsby"]
}

0 comments on commit c89ec89

Please sign in to comment.