oplog / ad-cli Goto Github PK
View Code? Open in Web Editor NEWCli tool & frontend app structure using atomic design, typescript, redux and more
License: MIT License
Cli tool & frontend app structure using atomic design, typescript, redux and more
License: MIT License
This command should only create ad-cli.config.json
. It should not modify any other file
ad new <appName>
should generate setupTests.ts
in the __tests__
folder.
App.test.tsx
should be in __tests__
foldertsconfig.json
with package.json
-> jest.moduleNameMapper
expect(wrapper).toHaveLength(1);
and a failing test
Should generate a shallow
ed component which have a passing test case such as;
wrapper = shallow(<Component />)
expect(wrapper.toHaveLength(1));
Should generate a failing test case that is to be fixed. i.e;
expect(true).toBeFalsy();
All generate components should uncomment related exports
// export * from "./atoms";
should be
export * from "./atoms";
ad-cli.config.json
-> ad-cli.config.default.json
should be dumped to app template
cwd/ad-cli.config.json
should
Configurables are the following;
- component paths (atom, molecule, organism, template, page)
- test paths (base test path, i.e `cwd/__tests__`)
- tbd more
Should generate;
App template should be changed as well
Remove/Do not include resource store
Should not modify store state & root reducer initially but print info to add root reducer and store state
Path option defines the workspace folder
i.e src/containers
should be importable by from "@containers"
Change ts.config as well
It should add export to src/components/index.ts
It should give error if at least one of them exists
Required files are;
All folders under templates/app
ad-cli.config.json
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.