Commit Graph
107 Commits
Author SHA1 Message Date
Ray Schamp 152df65ec9 Update README for public release 2016-11-08 15:57:25 -05:00
Ray Schamp 845d533a84 Fix workspace sizing again 2016-11-04 15:45:33 -04:00
Ray Schamp 481cf3f0df Fix workspace sizing 2016-11-04 15:35:15 -04:00
Ray Schamp 9048ec5a76 Fix modalStyle prop type 2016-11-04 14:02:55 -04:00
Ray Schamp 6ba583f430 Fix canvas ref 2016-11-04 13:50:50 -04:00
Ray Schamp 294e89265e im dum 2016-11-04 13:45:52 -04:00
Ray Schamp c11500f4dc Remove animationFrame 2016-11-04 13:41:34 -04:00
Ray Schamp e36128ebcd Deal with Github's Jekyll update madness 2016-11-04 13:41:21 -04:00
Ray Schamp 1a23ce5c28 Add green flag and stop icons 2016-10-26 22:48:56 -04:00
Ray Schamp 75117a9067 Merge pull request #11 from rschamp/lint-package-json
Set up base eslint config in .eslintrc.js
2016-10-24 17:37:55 -04:00
Ray Schamp 7ea1e35663 Set up base eslint config in .eslintrc.js
After doing this, new rules began applying for some reason:

`eol-last` only began taking the 'always' parameter as of 3.6.0, so I needed to update eslint.
`no-unused-var` started warning about process.env after updating the config structure
`comma-dangle` decided to start working, maybe because of the upgrade to eslint?  Autofixed with --fix
2016-10-24 17:36:56 -04:00
Ray Schamp 55d359a742 Merge pull request #10 from rschamp/lint-2
Actually lint React files
2016-10-24 15:01:15 -04:00
Ray Schamp 620843c5a2 Upgrade eslint-config-scratch to 2.0
Includes rules missed in the first pass of eslint rules
2016-10-24 14:59:35 -04:00
Ray Schamp 368a2a8ae0 Actually lint React files
Previously eslint ignored .jsx files :|
2016-10-24 14:58:53 -04:00
Ray Schamp cdbf45ae91 Merge pull request #9 from rschamp/lint
eslint-config-scratch: React + ES6 Edition
2016-10-24 09:43:49 -04:00
Ray Schamp 97b0f26bef Fix minilog prefix 2016-10-24 09:39:50 -04:00
Ray Schamp 91547c1fb5 No need to supply @return if there's no return 2016-10-24 09:39:35 -04:00
Ray Schamp dc626b13c0 Adjust env for root vs src
node relevant at the root, but not in src. Broser relevant in src, but not in root.
2016-10-23 16:29:22 -04:00
Ray Schamp 5b7c557f89 Fix JSDoc return statements
null !== undefined
2016-10-23 16:25:33 -04:00
Ray Schamp 0bc0f3ae39 Only lint for React/ES6 in src 2016-10-23 11:53:17 -04:00
Ray Schamp 3113f31f46 Add shapeFromPropTypes utility for passed props 2016-10-22 11:44:26 -04:00
Ray Schamp 767721be14 All the rest of the linting 2016-10-22 11:44:23 -04:00
Ray Schamp 7f9d9729c6 Lint: JS -> JSX 2016-10-22 11:07:29 -04:00
Ray Schamp ed63d5250b Update eslint to use shared eslint-config-scratch 2016-10-22 10:58:51 -04:00
Ray Schamp 547ed5599e Merge pull request #8 from rschamp/react-peers
Pin React devDependencies, add peerDependencies
2016-10-21 12:14:02 -04:00
Ray Schamp 534feb9fc2 Pin React devDependencies, add peerDependencies
When the package is installed as a dependency, it should warn the installer that React is a peerDependency.  When installed this way, the devDependencies won't be installed, so only one version of React will be present. However when it's installed as a standalone project, React should be installed automatically as a devDependency.

I think this gives us the best of both worlds — simple development setup as well as supporting usage as an installed package.
2016-10-21 10:57:37 -04:00
Tim Mickel 13efe77bcb Merge pull request #7 from tmickel/feature/libraries
Initial rough sprite/costume/backdrop libraries
2016-10-21 09:54:41 -04:00
Tim Mickel 7fcf71ddea NL for library item 2016-10-20 13:47:43 -04:00
Tim Mickel bd900a937c Fix merge duplication of package.json 2016-10-20 13:46:52 -04:00
Tim Mickel 9cc4dcf48f Fix id for selected item, return when CostumeCanvas draw fails 2016-10-20 13:44:16 -04:00
Tim Mickel bd22602aa7 Fix the props situation 2016-10-20 13:41:14 -04:00
Tim Mickel 7d36701998 Add defaults for library props 2016-10-20 13:34:06 -04:00
Tim Mickel 7c5cecb67f Return the library item object 2016-10-20 13:32:37 -04:00
Tim Mickel 14afd85197 bindAll throughout 2016-10-20 13:31:48 -04:00
Tim Mickel a6bdf09ba6 Various nits 2016-10-20 13:29:00 -04:00
Tim Mickel ee72f23f7b Idiomatic "map" 2016-10-20 13:26:09 -04:00
Tim Mickel 93645ea7e6 CostumeCanvas nits 2016-10-20 13:24:27 -04:00
Tim Mickel 7a675cd82f Merge branch 'master' into feature/libraries
# Conflicts:
#	package.json
#	src/containers/gui.js
2016-10-20 13:10:23 -04:00
Tim Mickel 41c1765242 Initial rough sprite/costume/backdrop libraries 2016-10-19 18:03:42 -04:00
Ray Schamp b1c14cc329 Apply props-passing pattern to all components 2016-10-19 10:23:25 -04:00
Ray Schamp 91e149d51b Allow overriding GUI children 2016-10-19 10:22:06 -04:00
Ray Schamp c1aa2a7e24 Omit projectData from passed props in GUI 2016-10-19 10:21:11 -04:00
Ray Schamp a608d4a23f Update deploy script to match vm
Makes local deployment easier
2016-10-19 09:31:46 -04:00
Ray Schamp 8e5fe959ff Allow configuration of GUI subcomponent props
So that you can adjust them without redefining the entire GUI.
Also allow adjusting props passed to GUIComponent.
2016-10-19 09:26:30 -04:00
Ray Schamp 5fdfdfd56c Allow Blocks and Stage to provide a default VM
So that it's easier to use these standalone.
2016-10-19 09:25:10 -04:00
Ray Schamp 07f5cb4995 Fix scratch-* dependency version updates
`npm update` does what we want and is less hacky than removing the packages entirely first.  Specify latest as the version so we always get the latest version even though I erroneously installed scratch-blocks@0.1.0.
2016-10-19 08:36:23 -04:00
Ray Schamp 111209acd4 Add .gitattributes so eslint can run on Windows 2016-10-18 09:40:17 -04:00
Ray Schamp c2b5c10a33 Move animate timer to Stage component
And use instanceOf for the vm prop type
2016-10-17 16:06:57 -04:00
Ray Schamp 68c0adf90b Account for null editingTarget 2016-10-17 13:58:34 -04:00
Ray Schamp 977aab8218 Fix SpriteSelector value propType 2016-10-17 13:57:41 -04:00