Skip to content

Commit

Permalink
Merge pull request #19 from unit-mesh/reorgnize
Browse files Browse the repository at this point in the history
extract editor out of studio
  • Loading branch information
phodal authored Dec 6, 2023
2 parents acae9b8 + 5fea2a9 commit d2c77a7
Show file tree
Hide file tree
Showing 100 changed files with 18,783 additions and 22,979 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
42 changes: 42 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nx"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
]
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
},
{
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],
"env": {
"jest": true
},
"rules": {}
}
]
}
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
.idea
.next
next-env.d.ts
out
out
dist
dist-types

.nx
7 changes: 7 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# pnpm
node-linker=isolated
shamefully-hoist=true
# hoist-pattern[]=*!@radix-ui/*
# hoist-pattern[]=*!@tiptap/*
# public-hoist-pattern[]=*!@radix-ui/*
# public-hoist-pattern[]=*!@tiptap/*
84 changes: 0 additions & 84 deletions .nx/nxw.js

This file was deleted.

4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Add files here to ignore them from prettier formatting
/dist
/coverage
/.nx/cache
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"git.ignoreLimitWarning": true
}
15 changes: 15 additions & 0 deletions CONTRIBUTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
First of all, *any* contribution is welcome. If you have any idea, suggestion, bug report, or you want to contribute with code, please feel free to do so.

If you want to contribute with code, please follow these steps:
1. Fork the repository.
2. Create a new branch with a descriptive name of your contribution.
3. Commit and push your changes to your branch.
4. Create a pull request. Please, be descriptive with your contribution.

This project is a monorepo, that means that it contains multiple packages. specifically, it contains two packages:
1. "@studio-b3/web-core" located in the `web/core` directory.
2. "@studio-b3/web-studio" located in the `web/studio` directory.

The first package is the core of the project, it contains the core editor react component. The second package is the studio, it contains the studio logic and the studio components that are built on top of the core.

This project uses NX to manage the monorepo. If you want to know more about NX, please visit their [website](https://nx.dev/). We have a few scripts that you can use to develop the project as well in the root `package.json` file.
11 changes: 0 additions & 11 deletions editor/.env.example

This file was deleted.

9 changes: 0 additions & 9 deletions editor/.eslintrc.json

This file was deleted.

33 changes: 0 additions & 33 deletions editor/.gitignore

This file was deleted.

15 changes: 0 additions & 15 deletions editor/jest.config.js

This file was deleted.

2 changes: 0 additions & 2 deletions editor/jest.setup.js

This file was deleted.

7 changes: 0 additions & 7 deletions editor/next.config.ci.js

This file was deleted.

6 changes: 0 additions & 6 deletions editor/next.config.js

This file was deleted.

Loading

0 comments on commit d2c77a7

Please sign in to comment.