wintercounter / mhy Goto Github PK
View Code? Open in Web Editor NEW🧩 A zero-config, out-of-the-box, multi-purpose toolbox and development environment
Home Page: https://mhy.js.org
License: MIT License
🧩 A zero-config, out-of-the-box, multi-purpose toolbox and development environment
Home Page: https://mhy.js.org
License: MIT License
Hi,
Is it possible to add the support for propTypes from a TS React components (e.g. with https://github.com/strothj/react-docgen-typescript-loader)?
Thanks.
Windows 10
Docker Desktop 2.1.0.1
Following instructions here:
https://mhy.js.org/basics/usage
Looks like some other permission is needed.
I'm curioius for what purpuse your using mhy, how you use it and what is your overall experience with it?
When running /mhy config typescript
, I get the following output:
{ compilerOptions:
{ module: 'esNext',
target: 'esnext',
moduleResolution: 'node',
allowJs: false,
emitDeclarationOnly: true,
strict: true,
jsx: 'preserve',
resolveJsonModule: true,
esModuleInterop: true,
noImplicitAny: false,
declaration: true,
baseUrl: '/path/redacted',
skipLibCheck: true,
incremental: true,
outDir: 'src',
paths:
{ '*': [Array],
'@': [Array],
'@/*': [Array],
'@/mhy': [Array],
'@/mhy/*': [Array] },
typeRoots:
[ '/path/redacted/node_modules/mhy/node_modules/@types',
'/path/redacted/node_modules/@types' ] },
include:
[ '/path/redacted/src/**/*' ],
files:
[ '/path/redacted/node_modules/mhy/dist/configs/typescript/mhy.d.ts' ] }
Notice how the paths contain [Array]
only.
Not sure if this is by design, but IMHO there could be a depth flag similar to node's util.inspect()
. For example --depth 0
or just no depth flag should print the full object (this would change the default behaviour of the command though).
WDYT?
I'm thinking about using mhy for myself, but i don't like few things:
the list of dependencies is huge, and beside babel, ts, webpack and react i don't need others (so i would love to have something like search with autocomplete here) or some presets with checkboxes, i see what https://www.npmjs.com/package/inquirer has good menu constructors with autocomplete.
i don't think what it's a good idea to update packages.json
all the time when the new version of some package is updated, i guess it should just fetch the latest versions with npm install
if we not specifying the special one
when the port is busy i recommend to search for free one with something like this https://www.npmjs.com/package/get-port
@wintercounter what do you think about this?
In the dashboard UI, when I scroll in a box, it makes the dashboard not responding, or too slow (like at least 10 seconds).
I am not mac os and I use iTerm2. I tested using Terminal also, it's the same.
Typescript
support -> configpostcss-cssnext
in the favor of postcss-preset-env
mhy
Prettier
refakt: detach from Babel, use ProcessPrettier
to all available extensions it is supporting*Storm
configuration docsVSCode
configuration docsmhy
config, single source for stuffs like extensions, directories, etc.webpack-bundle-analyzer
processtslint
processstandalone storybook
supportNODE_ENV
babel-loader
cache options if compilation can be speed upjimp
process (cancelled)svgr-loader
instead of react-svg-loader
(also investigate the removal of svgx extension)GraphQL
toys (with GraphQL Codegen)VueJS
supportAngluar
supportsvgo
processpresets
react-docgen-typescript-loader
parcel
supportrollup
supportbabel-plugin-redux-saga
(only macro maybe?)mhy
versionsnpm i mhy
will still have everything together but there can be a choice to use @mhy/core
only and install @mhy/preset-react
separately for example.mhyDependencies
?storybook-addon-react-live-edit
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.