Skip to content

Commit

Permalink
add designer package
Browse files Browse the repository at this point in the history
  • Loading branch information
crcn committed May 21, 2022
1 parent 9eebdab commit 2f90b68
Show file tree
Hide file tree
Showing 405 changed files with 78,212 additions and 0 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pc
2 changes: 2 additions & 0 deletions packages/tandem-designer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lib
*.pc.d.ts
674 changes: 674 additions & 0 deletions packages/tandem-designer/LICENSE

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions packages/tandem-designer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Front-end for Tandem visual editor.

TODO:

```javascript
import { Designer } from "tandem-designer";

const designer = new Designer({
io: {
async openProject(projectId) {},
},
});
```
9 changes: 9 additions & 0 deletions packages/tandem-designer/app.tdproject
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"exclude": [
"node_modules"
],
"globalFilePath": "./src/global.pc",
"rootDir": ".",
"scripts": {
}
}
Binary file added packages/tandem-designer/design/app.sketch
Binary file not shown.
1 change: 1 addition & 0 deletions packages/tandem-designer/design/split-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/tandem-designer/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./src";
1 change: 1 addition & 0 deletions packages/tandem-designer/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require("./lib/front-end/index.bundle.js");
83 changes: 83 additions & 0 deletions packages/tandem-designer/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"name": "tandem-designer",
"version": "10.1.35",
"description": "Visual editor for web components",
"main": "index.js",
"scripts": {
"test": "mocha ./lib/**/*-test.js",
"build": "npm run build:types && webpack",
"build:types": "paperclip-react-compiler \"src/**/*.pc\" --definition --write",
"build:watch": "concurrently \"paperclip-react-compiler \\\"src/**/*.pc\\\" --definition --write --watch\" \"webpack --watch\"",
"start": "node lib/back-end/entry",
"tandem-preview-server": "tandem-webpack-preview-server --config=webpack-tandem-preview.config.js --include-script=node_modules/react/dist/react.min.js --include-script=node_modules/react-dom/dist/react-dom.min.js",
"clean": "rm -rf lib && rm -rf node_modules",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/crcn/aerial.git"
},
"author": "",
"license": "GNU v3",
"bugs": {
"url": "https://github.com/tandemcode/aerial/issues"
},
"homepage": "https://github.com/tandemcode/aerial#readme",
"devDependencies": {
"@types/chai": "^4.0.0",
"@types/express": "^4.0.36",
"@types/http-proxy": "^1.12.1",
"@types/lodash": "^4.14.106",
"@types/mocha": "^2.2.41",
"@types/react": "^16.4.11",
"@types/react-dom": "^16.0.7",
"@types/recompose": "0.x.x",
"@types/request": "^2.0.0",
"buffer": "^6.0.3",
"chai": "^4.0.2",
"concurrently": "4.1.x",
"css-loader": "^0.28.4",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^5.5.0",
"mocha": "^3.4.2",
"node-sass": "^7.0.1",
"paperclip-react-compiler": "^10.1.33",
"paperclip-react-loader": "^10.1.33",
"path-browserify": "^1.0.1",
"process": "^0.11.10",
"react-hot-loader": "^3.1.2",
"sass-loader": "^12.6.0",
"script-ext-html-webpack-plugin": "^2.1.3",
"stream-browserify": "^3.0.0",
"style-loader": "^0.18.2",
"text-loader": "^0.0.1",
"ts-loader": "^5.1.0",
"url-loader": "^1.0.1",
"util": "^0.12.4",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"worker-loader": "^2.0.0",
"wrapper-webpack-plugin": "^2.0.0"
},
"dependencies": {
"classnames": "^2.2.5",
"crc32": "^0.2.2",
"fsbox": "^10.1.33",
"lodash": "^4.17.10",
"mime-types": "^2.1.20",
"paperclip": "^10.1.33",
"paperclip-migrator": "^10.1.33",
"react": "^16.4.2",
"react-dnd": "^5.0.0",
"react-dnd-html5-backend": "^5.0.1",
"react-dom": "^16.4.2",
"react-hammerjs": "^1.0.1",
"recompose": "^0.28.2",
"redux": "^4.0.0",
"redux-saga": "^0.16.0",
"scroll-into-view-if-needed": "^2.2.16",
"tandem-common": "^10.1.33",
"tandem-starter-kits": "^10.1.33"
},
"gitHead": "62ff73f435d5ddc97b8ff23b2356ed36f69c1486"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2f90b68

Please sign in to comment.