UNPKG

@toptal/davinci-code

Version:

Code generation package for frontend applications

484 lines (260 loc) • 19.7 kB
# Change Log ## 2.0.18 ### Patch Changes - [#2490](https://github.com/toptal/davinci/pull/2490) [`ff111727`](https://github.com/toptal/davinci/commit/ff1117271b3a58928485f867a94631b1a069645b) Thanks [@sashuk](https://github.com/sashuk)! - bump `@toptal/davinci-cli-shared` version ## 2.0.17 ### Patch Changes - [#2400](https://github.com/toptal/davinci/pull/2400) [`718c44b7`](https://github.com/toptal/davinci/commit/718c44b7cbfc58672443369a88dafa55471b8322) Thanks [@mkrl](https://github.com/mkrl)! - bump `@toptal/davinci-cli-shared` cli-shared version ## 2.0.16 ### Patch Changes - [#2376](https://github.com/toptal/davinci/pull/2376) [`edcf6971`](https://github.com/toptal/davinci/commit/edcf6971a1b97af0f38424e3174dad75e50f5aed) Thanks [@augustobmoura](https://github.com/augustobmoura)! - bump new version of davinci-cli-shared on all projects ## 2.0.15 ### Patch Changes - [#2215](https://github.com/toptal/davinci/pull/2215) [`7736531e`](https://github.com/toptal/davinci/commit/7736531ebe7d77990f096136f1662c446362428b) Thanks [@TomasSlama](https://github.com/TomasSlama)! - bump davinci-cli-shared ## 2.0.14 ### Patch Changes - Updated dependencies [[`0e449097`](https://github.com/toptal/davinci/commit/0e44909716410e4bda7a1693c4f2a771b27e5c53)]: - @toptal/davinci-cli-shared@2.3.7 ## 2.0.13 ### Patch Changes - Updated dependencies [[`d6c99a48`](https://github.com/toptal/davinci/commit/d6c99a4839540b88b33dd398bfad0812029d625a)]: - @toptal/davinci-cli-shared@2.3.6 ## 2.0.12 ### Patch Changes - Updated dependencies [[`a4f66cef`](https://github.com/toptal/davinci/commit/a4f66cefbf938a55d4543a745a43f311fac7ed1a)]: - @toptal/davinci-cli-shared@2.3.5 ## 2.0.11 ### Patch Changes - Updated dependencies [[`d0e203fb`](https://github.com/toptal/davinci/commit/d0e203fbad51110a0e25e979b8b16d8ef137b1a3)]: - @toptal/davinci-cli-shared@2.3.4 ## 2.0.10 ### Patch Changes - Updated dependencies [[`1f5aa922`](https://github.com/toptal/davinci/commit/1f5aa922273631b639c5e2be4a16b4d31997e9ae)]: - @toptal/davinci-cli-shared@2.3.3 ## 2.0.9 ### Patch Changes - Updated dependencies [[`6fb9dafc`](https://github.com/toptal/davinci/commit/6fb9dafc018ccc0d05e2aea217b5a56133ccddfe)]: - @toptal/davinci-cli-shared@2.3.2 ## 2.0.8 ### Patch Changes - [#2021](https://github.com/toptal/davinci/pull/2021) [`97abce92`](https://github.com/toptal/davinci/commit/97abce922d3a0720e0806ae9cd2f2866f355a1bc) Thanks [@dmaklygin](https://github.com/dmaklygin)! --- - standardize command syntax for consistency - Updated dependencies [[`97abce92`](https://github.com/toptal/davinci/commit/97abce922d3a0720e0806ae9cd2f2866f355a1bc)]: - @toptal/davinci-cli-shared@2.3.1 ## 2.0.7 ### Patch Changes - Updated dependencies [[`e39c8b4e`](https://github.com/toptal/davinci/commit/e39c8b4e88e0e931bc21b22f0de34b517638eb86)]: - @toptal/davinci-cli-shared@2.3.0 ## 2.0.6 ### Patch Changes - [#1937](https://github.com/toptal/davinci/pull/1937) [`8b6806a6`](https://github.com/toptal/davinci/commit/8b6806a6ad1ef3f190e1e9e6a287aed12970b27f) Thanks [@dmaklygin](https://github.com/dmaklygin)! - --- - apply identical formatting and success messages to all command logs. - Updated dependencies [[`8b6806a6`](https://github.com/toptal/davinci/commit/8b6806a6ad1ef3f190e1e9e6a287aed12970b27f)]: - @toptal/davinci-cli-shared@2.2.3 ## 2.0.5 ### Patch Changes - Updated dependencies [[`b3b691f4`](https://github.com/toptal/davinci/commit/b3b691f4bdfcd2c4d05133bb61c69c45bc3c06a6)]: - @toptal/davinci-cli-shared@2.2.2 ## 2.0.4 ### Patch Changes - Updated dependencies [[`89f71b13`](https://github.com/toptal/davinci/commit/89f71b1367be41a1ae79e445abc2b74e22327982)]: - @toptal/davinci-cli-shared@2.2.1 ## 2.0.3 ### Patch Changes - Updated dependencies [[`d2b25141`](https://github.com/toptal/davinci/commit/d2b25141b5c25f4cefa35f5d7df289401566eb03)]: - @toptal/davinci-cli-shared@2.2.0 ## 2.0.2 ### Patch Changes - Updated dependencies [[`de1d21ca`](https://github.com/toptal/davinci/commit/de1d21cac8b6a4ee63bdbb38924d26b75735f88a)]: - @toptal/davinci-cli-shared@2.1.1 ## 2.0.1 ### Patch Changes - Updated dependencies [[`1bab8ffc`](https://github.com/toptal/davinci/commit/1bab8ffc5be9fd58e8b5356f85f01fe9fa10140f)]: - @toptal/davinci-cli-shared@2.1.0 ## 2.0.0 ### Major Changes - [#1807](https://github.com/toptal/davinci/pull/1807) [`6c34ee64`](https://github.com/toptal/davinci/commit/6c34ee64302b1fdce5b37db19d608a8ba72e8a9f) Thanks [@augustobmoura](https://github.com/augustobmoura)! - --- - convert source files to modules with `.mjs` ### Patch Changes - Updated dependencies [[`6c34ee64`](https://github.com/toptal/davinci/commit/6c34ee64302b1fdce5b37db19d608a8ba72e8a9f)]: - @toptal/davinci-cli-shared@2.0.0 ## 1.7.4 ### Patch Changes - Updated dependencies [[`1457314e`](https://github.com/toptal/davinci/commit/1457314e7f449146077753dcc467565e6ce4d3d2)]: - @toptal/davinci-cli-shared@1.10.2 ## 1.7.3 ### Patch Changes - Updated dependencies [[`1a1c3e45`](https://github.com/toptal/davinci/commit/1a1c3e455cc5222c9cbf05128226f14d46ce89db)]: - @toptal/davinci-cli-shared@1.10.1 ## 1.7.2 ### Patch Changes - Updated dependencies [[`ca7a20f2`](https://github.com/toptal/davinci/commit/ca7a20f248784371af9db64df31e05ada1e69179)]: - @toptal/davinci-cli-shared@1.10.0 ## 1.7.1 ### Patch Changes - [#1731](https://github.com/toptal/davinci/pull/1731) [`1c422aae`](https://github.com/toptal/davinci/commit/1c422aae676d25cd2216c8a24af4b7e208728931) Thanks [@separatio](https://github.com/separatio)! - --- - fix commands not correctly awaiting for async operations - Updated dependencies [[`1c422aae`](https://github.com/toptal/davinci/commit/1c422aae676d25cd2216c8a24af4b7e208728931)]: - @toptal/davinci-cli-shared@1.9.0 ## 1.7.0 ### Minor Changes - [#1744](https://github.com/toptal/davinci/pull/1744) [`2d1ac403`](https://github.com/toptal/davinci/commit/2d1ac403779752a3383eb649aee50af9de1589c6) Thanks [@ozgurkececioglu](https://github.com/ozgurkececioglu)! - --- - update `davinci-code stories` command to inject PicassoDecorator if needed - update `davinci-code new component` command to inject PicassoDecorator if needed ## 1.6.5 ### Patch Changes - Updated dependencies [[`b12d1d19`](https://github.com/toptal/davinci/commit/b12d1d19af02104b9076a53b6e516198e6cda141)]: - @toptal/davinci-cli-shared@1.8.1 ## 1.6.4 ### Patch Changes - Updated dependencies [[`e602ae7e`](https://github.com/toptal/davinci/commit/e602ae7edc7d075a4192052d6c04868f08fea0a7)]: - @toptal/davinci-cli-shared@1.8.0 ## 1.6.3 ### Patch Changes - Updated dependencies [[`9b67beb3`](https://github.com/toptal/davinci/commit/9b67beb3aaf0e24193b2deaba3126c41e3ec9280), [`04fe7ffa`](https://github.com/toptal/davinci/commit/04fe7ffa161027d081c6ae870716bb06a2fcf73f)]: - @toptal/davinci-cli-shared@1.7.0 ## 1.6.2 ### Patch Changes - [#1541](https://github.com/toptal/davinci/pull/1541) [`397a53c9`](https://github.com/toptal/davinci/commit/397a53c9add9f7e8d485648b51cd22676d97c78f) Thanks [@TomasSlama](https://github.com/TomasSlama)! - --- - Update documentation about prefering individual davinci packages usage ## 1.6.1 ### Patch Changes - Updated dependencies [[`fa3423f1`](https://github.com/toptal/davinci/commit/fa3423f1f9211b4d8899064aa4afdf5ca2198483)]: - @toptal/davinci-cli-shared@1.6.0 ## 1.6.0 ### Minor Changes - [#1428](https://github.com/toptal/davinci/pull/1428) [`6582b664`](https://github.com/toptal/davinci/commit/6582b6640eca1e720ad4427075fa7c05d342fd84) Thanks [@augustobmoura](https://github.com/augustobmoura)! - - add a new command `davinci code stories <componentPath>` for generating Storybook story files ## 1.5.7 ### Patch Changes - Updated dependencies [[`64c000c2`](https://github.com/toptal/davinci/commit/64c000c25d97df2c8853a6cf80b7ca81461dae24)]: - @toptal/davinci-cli-shared@1.5.4 ## 1.5.6 ### Patch Changes - Updated dependencies [[`3013b76d`](https://github.com/toptal/davinci/commit/3013b76d7f957924885f3e5933f5227ff42a09e1)]: - @toptal/davinci-cli-shared@1.5.3 ## 1.5.5 ### Patch Changes - [#1370](https://github.com/toptal/davinci/pull/1370) [`2f7a5f31`](https://github.com/toptal/davinci/commit/2f7a5f312c7a06fc9c8494ed1b56d4cc79b7614d) Thanks [@dependabot](https://github.com/apps/dependabot)! - Bump hygen from 6.2.0 to 6.2.7 ## 1.5.4 ### Patch Changes - Updated dependencies [[`1212e098`](https://github.com/toptal/davinci/commit/1212e098c668fc1c87ee9b1824edf0bc80509bc4)]: - @toptal/davinci-cli-shared@1.5.2 ## 1.5.3 ### Patch Changes - [#1202](https://github.com/toptal/davinci/pull/1202) [`00211075`](https://github.com/toptal/davinci/commit/00211075a18426386d289f8090c31d98bc3942a6) Thanks [@ertrzyiks](https://github.com/ertrzyiks)! - Remove `displayName` from the component code generation templates. ## 1.5.2 ### Patch Changes - Updated dependencies [[`7dd8b681`](https://github.com/toptal/davinci/commit/7dd8b68177d595538dd8d5cff5c0654d92d68659)]: - @toptal/davinci-cli-shared@1.5.1 ## 1.5.1 ### Patch Changes - [#1102](https://github.com/toptal/davinci/pull/1102) [`cf2e0b30`](https://github.com/toptal/davinci/commit/cf2e0b305a00c9b9a5686838ea11f7d62bba5c00) Thanks [@denieler](https://github.com/denieler)! - Fix packages internal dependencies to bump main @toptal/davinci package every time any internal package changed. ## 1.5.0 ### Minor Changes - [#1101](https://github.com/toptal/davinci/pull/1101) [`c70fcbd0`](https://github.com/toptal/davinci/commit/c70fcbd019b515bd8826f1d40ce5ed0e2e0bd977) Thanks [@dmaklygin1](https://github.com/dmaklygin1)! - fix: update test template according to agreement ## 1.4.0 ### Minor Changes - [#1059](https://github.com/toptal/davinci/pull/1059) [`f729b202`](https://github.com/toptal/davinci/commit/f729b202193e4ba03f1ba016f2b3eca5386a09a5) Thanks [@michal-bednarz](https://github.com/michal-bednarz)! - Update css template to be compliant with ADR-001 ## 1.3.0 ### Minor Changes - [#1047](https://github.com/toptal/davinci/pull/1047) [`850d14f9`](https://github.com/toptal/davinci/commit/850d14f9574d6b32abe6425e3f3248afb1d2e0b4) Thanks [@dmaklygin1](https://github.com/dmaklygin1)! - Remove npx package ### Patch Changes - Updated dependencies [[`850d14f9`](https://github.com/toptal/davinci/commit/850d14f9574d6b32abe6425e3f3248afb1d2e0b4)]: - @toptal/davinci-cli-shared@1.5.0 ## 1.2.0 ### Minor Changes - [#808](https://github.com/toptal/davinci/pull/808) [`a7178e5`](https://github.com/toptal/davinci/commit/a7178e5f757fb82c8d6e48d9963d819de77091b3) Thanks [@ertrzyiks](https://github.com/ertrzyiks)! - Allow to run the generator without a component name so it interactively prompts for the missing params. All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [1.1.0](https://github.com/toptal/davinci/compare/@toptal/davinci-code@1.0.10...@toptal/davinci-code@1.1.0) (2021-05-07) ### Features - **engine:** add hot reload arguments ([#799](https://github.com/toptal/davinci/issues/799)) ([9d2f58a](https://github.com/toptal/davinci/commit/9d2f58ab362bfa4fff3bf462b41550ae0b90b658)) ## [1.0.10](https://github.com/toptal/davinci/compare/@toptal/davinci-code@1.0.9...@toptal/davinci-code@1.0.10) (2021-04-15) **Note:** Version bump only for package @toptal/davinci-code ## [1.0.9](https://github.com/toptal/davinci/compare/@toptal/davinci-code@1.0.8...@toptal/davinci-code@1.0.9) (2021-04-15) **Note:** Version bump only for package @toptal/davinci-code ## [1.0.8](https://github.com/toptal/davinci/compare/@toptal/davinci-code@1.0.7...@toptal/davinci-code@1.0.8) (2021-04-15) **Note:** Version bump only for package @toptal/davinci-code ## [1.0.7](https://github.com/toptal/davinci/compare/@toptal/davinci-code@1.0.6...@toptal/davinci-code@1.0.7) (2021-04-12) **Note:** Version bump only for package @toptal/davinci-code ## [1.0.6](https://github.com/toptal/davinci/compare/@toptal/davinci-code@1.0.5...@toptal/davinci-code@1.0.6) (2021-04-08) **Note:** Version bump only for package @toptal/davinci-code ## [1.0.5](https://github.com/toptal/davinci/compare/@toptal/davinci-code@1.0.4...@toptal/davinci-code@1.0.5) (2021-03-23) **Note:** Version bump only for package @toptal/davinci-code ## [1.0.4](https://github.com/toptal/davinci/compare/@toptal/davinci-code@1.0.3...@toptal/davinci-code@1.0.4) (2021-02-17) **Note:** Version bump only for package @toptal/davinci-code ## [1.0.3](https://github.com/toptal/davinci/compare/@toptal/davinci-code@1.0.2...@toptal/davinci-code@1.0.3) (2021-02-16) **Note:** Version bump only for package @toptal/davinci-code ## [1.0.2](https://github.com/toptal/davinci/compare/@toptal/davinci-code@1.0.1...@toptal/davinci-code@1.0.2) (2021-02-16) **Note:** Version bump only for package @toptal/davinci-code ## [1.0.1](https://github.com/toptal/davinci/compare/@toptal/davinci-code@1.0.0...@toptal/davinci-code@1.0.1) (2021-02-12) **Note:** Version bump only for package @toptal/davinci-code # [1.0.0](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.2.0...@toptal/davinci-code@1.0.0) (2021-01-25) **Note:** Version bump only for package @toptal/davinci-code # [0.2.0](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.3...@toptal/davinci-code@0.2.0) (2020-12-28) ### Bug Fixes - move deps to correct package ([#648](https://github.com/toptal/davinci/issues/648)) ([0828c02](https://github.com/toptal/davinci/commit/0828c02a9db1e5df73012b7c4dc897de36a14207)) ### Features - move arch docs to confluence ([#517](https://github.com/toptal/davinci/issues/517)) ([cfd819d](https://github.com/toptal/davinci/commit/cfd819d666dd47d8b84fe98d284a93efa81ccd26)) ## [0.1.3](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.2...@toptal/davinci-code@0.1.3) (2020-10-09) **Note:** Version bump only for package @toptal/davinci-code ## [0.1.2](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.19...@toptal/davinci-code@0.1.2) (2020-09-18) **Note:** Version bump only for package @toptal/davinci-code ## [0.1.1](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.19...@toptal/davinci-code@0.1.1) (2020-09-02) **Note:** Version bump only for package @toptal/davinci-code # [0.1.0](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.19...@toptal/davinci-code@0.1.0) (2020-09-02) **Note:** Version bump only for package @toptal/davinci-code # [0.1.0-alpha.19](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.18...@toptal/davinci-code@0.1.0-alpha.19) (2020-07-30) **Note:** Version bump only for package @toptal/davinci-code # [0.1.0-alpha.18](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.17...@toptal/davinci-code@0.1.0-alpha.18) (2020-04-27) **Note:** Version bump only for package @toptal/davinci-code # [0.1.0-alpha.17](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.16...@toptal/davinci-code@0.1.0-alpha.17) (2020-03-09) **Note:** Version bump only for package @toptal/davinci-code # [0.1.0-alpha.16](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.15...@toptal/davinci-code@0.1.0-alpha.16) (2020-02-17) **Note:** Version bump only for package @toptal/davinci-code # [0.1.0-alpha.15](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.14...@toptal/davinci-code@0.1.0-alpha.15) (2020-02-10) **Note:** Version bump only for package @toptal/davinci-code # [0.1.0-alpha.14](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.13...@toptal/davinci-code@0.1.0-alpha.14) (2019-11-27) ### Bug Fixes - **code:** cleanup templates ([#170](https://github.com/toptal/davinci/issues/170)) ([79f59da](https://github.com/toptal/davinci/commit/79f59da)) # [0.1.0-alpha.13](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.12...@toptal/davinci-code@0.1.0-alpha.13) (2019-11-14) ### Bug Fixes - [FX-293] Fix styles usage in code templates ([#150](https://github.com/toptal/davinci/issues/150)) ([4816426](https://github.com/toptal/davinci/commit/4816426)) # [0.1.0-alpha.12](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.11...@toptal/davinci-code@0.1.0-alpha.12) (2019-10-11) **Note:** Version bump only for package @toptal/davinci-code # [0.1.0-alpha.11](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.10...@toptal/davinci-code@0.1.0-alpha.11) (2019-10-09) ### Features - add davinci-qa package ([#131](https://github.com/toptal/davinci/issues/131)) ([ad03796](https://github.com/toptal/davinci/commit/ad03796)) # [0.1.0-alpha.10](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.9...@toptal/davinci-code@0.1.0-alpha.10) (2019-10-02) **Note:** Version bump only for package @toptal/davinci-code # [0.1.0-alpha.9](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.8...@toptal/davinci-code@0.1.0-alpha.9) (2019-09-18) ### Bug Fixes - rename react testing library in code templates ([#110](https://github.com/toptal/davinci/issues/110)) ([dead79d](https://github.com/toptal/davinci/commit/dead79d)) # [0.1.0-alpha.8](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.7...@toptal/davinci-code@0.1.0-alpha.8) (2019-09-05) **Note:** Version bump only for package @toptal/davinci-code # [0.1.0-alpha.7](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.6...@toptal/davinci-code@0.1.0-alpha.7) (2019-09-05) **Note:** Version bump only for package @toptal/davinci-code # [0.1.0-alpha.6](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.5...@toptal/davinci-code@0.1.0-alpha.6) (2019-09-04) ### Features - [FX-427] Add custom templates for code generator ([#101](https://github.com/toptal/davinci/issues/101)) ([b2bc5e8](https://github.com/toptal/davinci/commit/b2bc5e8)) # [0.1.0-alpha.5](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.4...@toptal/davinci-code@0.1.0-alpha.5) (2019-07-19) ### Bug Fixes - **code:** inject generated files to index.ts ([#72](https://github.com/toptal/davinci/issues/72)) ([eb2be18](https://github.com/toptal/davinci/commit/eb2be18)) # [0.1.0-alpha.4](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.3...@toptal/davinci-code@0.1.0-alpha.4) (2019-06-19) **Note:** Version bump only for package @toptal/davinci-code # [0.1.0-alpha.3](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.2...@toptal/davinci-code@0.1.0-alpha.3) (2019-06-18) ### Bug Fixes - **bootstrap:** fix npm token missing ([#49](https://github.com/toptal/davinci/issues/49)) ([b4edfd1](https://github.com/toptal/davinci/commit/b4edfd1)) # [0.1.0-alpha.2](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.1...@toptal/davinci-code@0.1.0-alpha.2) (2019-06-17) ### Features - **bootstrap:** implement app bootstrap CLI ([#29](https://github.com/toptal/davinci/issues/29)) ([9986412](https://github.com/toptal/davinci/commit/9986412)) # [0.1.0-alpha.1](https://github.com/toptal/davinci/compare/@toptal/davinci-code@0.1.0-alpha.0...@toptal/davinci-code@0.1.0-alpha.1) (2019-06-14) **Note:** Version bump only for package @toptal/davinci-code # 0.1.0-alpha.0 (2019-06-14) ### Features - [FX-286] Extract template logic to the davinci-code package ([#35](https://github.com/toptal/davinci/issues/35)) ([a1d9c7d](https://github.com/toptal/davinci/commit/a1d9c7d))