Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
crcn committed May 10, 2022
1 parent 2c92bdf commit aa7e55e
Show file tree
Hide file tree
Showing 1,281 changed files with 203,612 additions and 819,008 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.DS_Store
node_modules
lib/
dist
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx pretty-quick --staged
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/got-npm-6.7.1-f61570d59b-e816306dbd.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/lcid-npm-1.0.0-02d845072b-e8c7a4db07.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/mem-npm-1.1.0-378e93209a-2fbcc5741b.zip
Binary file not shown.
Binary file removed .yarn/cache/meow-npm-3.7.0-5653cc98af-65a412e5d0.zip
Binary file not shown.
Binary file removed .yarn/cache/meow-npm-4.0.1-04410d5b48-cde5539eb5.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/uuid-npm-2.0.3-3ff56c79d0-44adb0e235.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/y18n-npm-3.2.2-f9b6b42101-6154fd7544.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .yarn/install-state.gz
Binary file not shown.
27 changes: 26 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
TODOs:

- get to work on CLI
- convert JSON to readable PC

- PC <> JSON converter
- load PC to JSON
- english readable IDs
- CSS declarations need to be parsed

Milestone 1:

Get working
Expand All @@ -19,4 +29,19 @@ Make user-friendly w/ designers

- CLI tool for loading server
- GIT integration, ability to check out branches
-

MVP:

- GIT integration + online editor
- file format needs to be readable
- variant combos
- trigger architecture re-do
- needs to be part of the paint panel

Milestone X:

- Plugin for Figma (copy to clipboard)

Milestone Y:

- Browser extension for spot-editing UI
16 changes: 16 additions & 0 deletions docs/pseudo/dsl.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<style>
@variant Test media and (max-width: 100px) {
@content;
}
</style>

<div export component as="Component">
<script src="./script.ts" />
<style>
color: red;
@if test {
color: red;
}
</style>
<div></div>
</div>
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
"author": "",
"license": "ISC",
"scripts": {
"test": "lerna exec --parallel -- npm test",
"test": "yarn workspaces foreach run test",
"lint": "eslint packages/*/src/**/*.ts",
"precommit": "lint-staged",
"design": "cd packages/front-end && \"../desktop/node_modules/.bin/electron\" \"../desktop/lib/index.js\"",
"design:front-end": "cd packages/front-end && \"../desktop/node_modules/.bin/electron\" \"../desktop/lib/index.js\" app.tdproject",
"clean": "lerna exec --parallel -- npm run clean",
"bootstrap": "lerna bootstrap",
"clean": "yarn workspaces foreach run clean",
"build": "yarn workspaces foreach -t run build",
"build:watch": "lerna exec --parallel -- npm run build:watch",
"build:watch": "yarn workspaces foreach -pt run build:watch",
"build:dist": "NODE_ENV=production npm run build && cd packages/desktop && npm run build:dist",
"build:dist:win": "npm run build && cd packages/desktop && npm run build:dist:win",
"postinstall": "opencollective-postinstall"
"postinstall": "opencollective-postinstall",
"prepare": "husky install"
},
"lint-staged": {
"*.{ts,tsx,json,css,md}": [
Expand All @@ -36,10 +36,9 @@
"devDependencies": {
"@typescript-eslint/parser": "^1.3.0",
"eslint": "^5.13.0",
"husky": "^1.0.1",
"lerna": "^2.11.0",
"husky": "^7.0.0",
"lint-staged": "^7.2.0",
"prettier": "^1.14.2",
"prettier": "2.6.2",
"pretty-quick": "^3.1.3",
"typescript": "^4.6.4"
},
Expand Down
2 changes: 0 additions & 2 deletions packages/cli/bin/tandem

This file was deleted.

31 changes: 0 additions & 31 deletions packages/cli/lib/cli.js

This file was deleted.

14 changes: 0 additions & 14 deletions packages/cli/lib/constants.js

This file was deleted.

105 changes: 0 additions & 105 deletions packages/cli/lib/init.js

This file was deleted.

89 changes: 0 additions & 89 deletions packages/cli/lib/install.js

This file was deleted.

Loading

0 comments on commit aa7e55e

Please sign in to comment.