Detalhes do pacote

docz-core

doczjs26.5kMIT2.4.0

All docz core logic of bundle and parsing is included on this package

readme (leia-me)

docz-core

All CLI commands are built here and imported from docz package using ./bin script.

Code in this package does not run on the browser, it runs on node.

Unless you're looking to contribute to docz, you probably don't care about this package and are looking for the docz package documentation.

changelog (log de mudanças)

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.4.0 (2022-02-11)

Bug Fixes

Features

  • add gatsby https flag to use in dev mode (#1569) (9d91503)
  • docz-core: add modifyEntry plugin supported (#1621) (317987e)

2.3.3-alpha.0 (2021-09-10)

Bug Fixes

Features

  • add gatsby https flag to use in dev mode (#1569) (9d91503)
  • docz-core: add modifyEntry plugin supported (#1621) (317987e)

2.3.2-alpha.0 (2020-04-07)

Bug Fixes

  • docz-core: use user-provided 404 page when it exists (05417d3)

2.3.0 (2020-04-02)

Note: Version bump only for package docz-core

2.3.0-alpha.14 (2020-03-31)

Bug Fixes

  • docz-core: always use custom prop filter if it's provided… (#1415) (53063ff)

2.3.0-alpha.12 (2020-02-12)

Bug Fixes

  • docz-core: pass down host when running serve (#1384) (80a0e1e)

2.3.0-alpha.11 (2020-02-07)

Bug Fixes

  • docz-core: be explicit about cli args (6f5b4ee)

Features

  • docz-core: pass down cli args to Gatsby + fix open flag (385b006)

2.3.0-alpha.10 (2020-02-06)

Bug Fixes

  • docz-core: parse port when running serve (29d0edd)

2.3.0-alpha.8 (2020-02-06)

Note: Version bump only for package docz-core

2.3.0-alpha.7 (2020-02-04)

Features

  • add the ability to hide a document from the menu (#1354) (95b0d7f)

2.3.0-alpha.6 (2020-01-02)

Bug Fixes

  • docz-core: prevent falsy error code on cli (#1332) (1437b59)
  • docz-core: revert ts auto-detect (f0ce584)

2.3.0-alpha.5 (2019-12-17)

Features

  • docz-core: introduce gatsbyRoot to use for fs sourcing (8e89d64)

2.3.0-alpha.2 (2019-12-14)

Bug Fixes

  • docz-core: forward cli status code properly (#1319) (99ebf82)

Features

  • docz-core: allow custom pattern for globbing components with docgenConfig.searchPatterns (#1316) (29e0165)

2.3.0-alpha.1 (2019-12-13)

Bug Fixes

  • docz-core: properly support node_modules for multiple file patterns (#1315) (4d9f9b3)
  • docz-core: use docz-utils for get and mergeWith (f222083)

2.3.0-alpha.0 (2019-12-12)

Features

  • docz-core: detect typescript without config (bbaecb2)

2.2.1-alpha.1 (2019-12-12)

Bug Fixes

  • docz-core: add native styled-components support (b072f78)

2.2.1-alpha.0 (2019-12-11)

Note: Version bump only for package docz-core

2.2.0 (2019-12-11)

Note: Version bump only for package docz-core

2.2.0-alpha.3 (2019-11-29)

Bug Fixes

  • docz-core: re-sync .docz on build (dfd4262)

2.2.0-alpha.2 (2019-11-29)

Bug Fixes

  • docz-core: log errors that happen in gatsby-config (fe1e2da)

Features

2.2.0-alpha.1 (2019-11-28)

Features

  • docz-core: add all gatsby node apis to generated gatsby-node (918b44c), closes #1285

2.2.0-alpha.0 (2019-11-28)

Features

2.1.1 (2019-11-27)

Bug Fixes

  • docz-core: prepend dot to default mdx extensions (18f78d6)

2.1.0 (2019-11-27)

Features

  • docz-core: add mdxExtensions to config (77b84e8)

2.0.0-rc.34 (2019-09-04)

Bug Fixes

  • docz-core: make onCreateWebpackConfig extendable (8968a6c)
  • docz-core: run init on build if docz is not initialized (26aa7f6)
  • docz-core: set yarn production to false to download all deps (2b4cc6b)
  • docz-core: use react from parent directory (#1053) (b55b786)
  • change themeDir occurences to themesDir (c841f01)

Features

  • docz-core: add docz init command (43cdeca)
  • docz-core: remove installation step in .docz 🎉 (4d01ead)
  • add normalize for trailing slashes (4b0a710)
  • adds theme path overrrite option (bb62c6b)
  • rewrite dest path for themeDir override (7418e55)

2.0.0-rc.33 (2019-09-04)

Features

  • docz-core: remove installation step in .docz 🎉 (6790179)

2.0.0-rc.32 (2019-09-04)

Bug Fixes

  • docz-core: make onCreateWebpackConfig extendable (8968a6c)
  • docz-core: run init on build if docz is not initialized (26aa7f6)
  • docz-core: set yarn production to false to download all deps (2b4cc6b)
  • docz-core: use react from parent directory (#1053) (b55b786)

Features

  • docz-core: add docz init command (43cdeca)

2.0.0-rc.31 (2019-09-03)

Bug Fixes

  • docz-core: make onCreateWebpackConfig extendable (8968a6c)
  • docz-core: run init on build if docz is not initialized (fe984fd)
  • docz-core: set yarn production to false to download all deps (1258553)
  • docz-core: use react from parent directory (#1053) (b55b786)

Features

  • docz-core: add docz init command (2cd87ee)

2.0.0-rc.30 (2019-09-03)

Bug Fixes

  • docz-core: set yarn production to false to download all deps (c9db7f1)

2.0.0-rc.29 (2019-09-03)

Bug Fixes

  • docz-core: make onCreateWebpackConfig extendable (d2aff82)
  • docz-core: run init on build if docz is not initialized (23bc575)
  • docz-core: use react from parent directory (#1053) (b55b786)

Features

  • docz-core: add docz init command (6aaa3e4)

2.0.0-rc.28 (2019-09-03)

Bug Fixes

  • docz-core: make onCreateWebpackConfig extendable (d2aff82)
  • docz-core: use react from parent directory (#1053) (b55b786)

Bug Fixes

  • docz-core: make onCreateWebpackConfig extendable (d2aff82)
  • docz-core: run init on build if docz is not initialized (23bc575)
  • docz-core: use react from parent directory (#1053) (b55b786)

Features

  • docz-core: add docz init command (6aaa3e4)

2.0.0-rc.27 (2019-09-02)

Bug Fixes

  • docz-core: use react from parent directory (#1053) (b55b786)

2.0.0-rc.6 (2019-08-29)

Note: Version bump only for package docz-core

2.0.0-rc.2 (2019-08-28)

Bug Fixes

  • docz-core: extend base config instead of overwriting user config (#1028) (7b46c2b)
  • docz-core: wait for app to be ready before opening the browser (c5cd14d)

Features

  • docz-core: setup jest and add first test (bf02ac1)

2.0.0-rc.1 (2019-07-18)

Bug Fixes

  • bump version (a346b59)
  • resizable props import (2926896)
  • docz-core: create deps algorithm (a4b8eb9)
  • eslint configs (280981f)
  • on create webpack plugin hook (56e974a)
  • packages rollup config (534d7bf)
  • some typescript adjustments (4ba6eaf)
  • docz-core: some adjustments (86f95b5)
  • docz-core: vendor react-docgen-external-proptypes-handler (#866) (efb89ee), closes #727

Features

  • open browser integration (132c472)
  • docz-core: add initial gatsby bundler algorithm (9249e34)
  • docz-core: ensure files before running machine (1876540)
  • docz-core: watch custom theme files (5ee7abe)
  • docz-core: watch gatsby config files (1539378)
  • a lot of improvements (64f75da)
  • adapt core plugins to gatsby hooks (4caa47a)
  • gatsby-theme-docz: add new Props component (8eb780d)
  • add new theme sidebar (a01d100)
  • add typescript support (need fix) (13947f9)
  • docz running using gatsby under the hood (10ffd48)
  • dynamic src and root path (c071556)
  • docz-core: add build and serve command with gatsby (e85c82b)
  • docz-core: add doczrc config watcher on dev (5aa0455)

1.2.0 (2019-05-08)

Features

1.1.0 (2019-05-01)

Bug Fixes

Features

  • docz-core: extended path configuration for docgen (#846) (aa96739)
  • docz-core: use react-dev-utils create compiler (4d062de)

1.0.4 (2019-04-18)

Note: Version bump only for package docz-core

1.0.2 (2019-04-15)

Bug Fixes

1.0.1 (2019-04-14)

Note: Version bump only for package docz-core

1.0.0 (2019-04-11)

Bug Fixes

  • docz-core: typescript doesn't work with several exports (#771) (c96878d)

Features

  • docz-core: auto open browser when start dev mode (#774) (c0e6c13)

1.0.0-rc.4 (2019-03-29)

Bug Fixes

  • docz-core: add src as prefix on ignore (2bae93b)
  • docz-core: remove DataServer from production build (b8770ec)
  • get component filename relative (fix #706) (84b23ea)
  • remove data server from build (8715129)
  • docz-core: base prop for router (9ca39d7)
  • docz-core: entries not initialized on build (#725) (3e99db0)
  • docz-core: resolve symlinks right for the react-docgen (#699) (783a836)
  • docz-theme-default: apply ignore in props parsing (#723) (6dd068c)

1.0.0-rc.3 (2019-03-21)

Bug Fixes

  • gatsby-theme-docz: menu field on entry source node (05457f2)

1.0.0-beta.0 (2019-03-19)

Note: Version bump only for package docz-core

1.0.0-alpha.0 (2019-03-19)

Bug Fixes

  • docz-core: config passed on argv (12f6385)
  • docz-core: hot loader and mdx plugins (0531d65)
  • docz-core: initialize config state on data server start (#678) (8c740b8)
  • docz-core: remove dev things from prod build (3f5b5d7)
  • docz-core: write first imports (b856168)
  • immutable merge with lodash (2fe94d4)
  • some general adjustments (0c61f64)
  • docz-core: remove order from Entry class (e12c37d)
  • define right internal dependencies version (30a91b4)
  • use lodash merge instead of deepmerge (18ac37b)
  • docz-core: add spaces when write db.json (3a84af3)
  • docz-core: add typescript as dependency (9f314cd)
  • docz-core: apply mdast plugins to entries parse too (c2554b8)
  • docz-core: docgen if file has not component definition (b0fb846)
  • docz-core: exclude node modules from source map loader (1c7c9f7)
  • docz-core: mdx loader options (9114f9b)
  • docz-core: props state parser (87767e8)
  • docz-core: react docgen typescript performance (2967e7c)
  • docz-core: return http server on bundler.start() (cdba3bf)
  • docz-core: run right hook name (f500971)
  • gatsby-theme-docz: use createPages instead of createPagesStatefully (37b73c6)
  • load-cfg: use babel register in order to require using es6 (7ad3b64)
  • a lot of bug fixes (c10a8bd)
  • use custom rollup config to build instead of libundler (ee42a5a)

Features

  • docz-core: remove ordering deprecated field (39660bb)
  • gatsby-theme-docz: add custom theme support (fdfddcb)
  • add initial gatsby integration (#630) (70d40cc), closes #609
  • add playground component (cde6511)
  • docgen refactoring (#545) (85499a8)
  • split router logic from theme (a9c26e6)
  • use @reach/router instead of react-router (81a4a82)
  • docz-core: support for configuring the separator during slugifying (10bb134)

0.13.6 (2018-12-26)

Bug Fixes

  • docz-core: default value for arguments (5644343)
  • docz-core: happypack plugin name (cbf7692)

0.13.5 (2018-12-19)

Bug Fixes

  • docz-core: add react docgen loader inside happypack (4433561)
  • docz-core: close data server when need (6a2b96a)
  • docz-core: public folder in dev mode (abb3626)
  • docz-core: webpack dev server log level (1d72539)

0.13.4 (2018-12-17)

Note: Version bump only for package docz-core

0.13.3 (2018-12-17)

Bug Fixes

  • docz-core: react hot loader config for hooks (444cac2)

Features

  • docz-core: add sourcemap config argument (3baad4a)

0.13.2 (2018-12-17)

Bug Fixes

  • docz-core: ensure dir for promise logger (6240f21)

0.13.1 (2018-12-17)

Bug Fixes

  • docz-core: typescript loader config (01f568e)

0.13.0 (2018-12-17)

Bug Fixes

  • docz-core: add setMaxListener for chokidar watchers (6053c16)
  • docz-core: log level based on debug argument (507e149)
  • docz-core: node path resolve modules merge (27102fd)
  • docz-core: turn off htmlMinifier when loading from templates (#518) (9cb0e1d)
  • docz-core: use webpack-dev-server instead of webpack-serve (4157e05)

Features

  • docz-core: add onCreateWebpackChain hook (70bb242)
  • docz-core: add promise logger using progress-estimator (2797608)
  • docz-core: use NODE_PATH to resolve modules (#516) (cc86f93)

0.12.16 (2018-12-13)

Bug Fixes

  • docz-core: correct koa mounting path on windows systems (#491) (6addd32)

0.12.15 (2018-12-04)

Bug Fixes

  • docz-core: add setMaxListener in the top of script (2eef307)
  • docz-core: update react-hot-loader to support hooks (4394a5b)

Features

  • add native support for react-native (f998874)

0.12.14 (2018-12-04)

Bug Fixes

  • docz-core: set max listener (898010b)
  • docz-core: watcher close (caa8151)

0.12.13 (2018-11-23)

Note: Version bump only for package docz-core

0.12.12 (2018-11-16)

Note: Version bump only for package docz-core

0.12.11 (2018-11-15)

Bug Fixes

  • docz-core: add happypack again :cry: (f0e219e)
  • docz-core: create app files before start server (43bc3fd)

0.12.10 (2018-11-15)

Bug Fixes

  • docz-core: add cache just for non-debug (cede436)
  • docz-core: add default favicon (a0ed2ab)
  • docz-core: add ignore md files by args (d8c8045)
  • docz-core: kill server on signals (be0855f)
  • docz-core: use assets from public folder (210c3a1)

Features

  • docz-core: add detect-one-changed in development (#433) (0585b97)
  • docz-core: add two new plugin hooks (#431) (f4a122f)

0.12.9 (2018-11-01)

Note: Version bump only for package docz-core

0.12.8 (2018-10-31)

Bug Fixes

  • docz-core: add support to react hooks (f26a990)

0.12.7 (2018-10-30)

Bug Fixes

  • docz-core: webpack chain minimizer config (ab13208)

0.12.6 (2018-10-30)

Features

  • add support to disable codesandbox (be94b0e)

0.12.5 (2018-09-30)

Bug Fixes

  • docz-core: close dataserver connection on build (0f6bd7b)

0.11.2 (2018-09-11)

Bug Fixes

  • docz-core: add watcher outside of update method scope (18c744d)
  • docz-core: prevent entries block when parse mdx crash (07ae769)
  • docz-core: remove https option and fix message (#321) (ea88841)
  • heading hash link with hash router config (7d7f557)

Features

  • add native config for doczrc (2580712)

0.11.1 (2018-09-07)

Bug Fixes

  • docz-core: basename configuration (5fad743)
  • docz-core: chokidar performance improvements (0c344d8)
  • docz-core: literal value of headings for menus (85e4083)
  • docz-core: open js and ts loader scope of files (03c01b7)

Features

  • docz-core: add config as parameter for onPrebuild and onPostBuild (98692bb)

0.11.0 (2018-09-02)

Bug Fixes

  • base url and hash router making weird url (f483638)
  • docz-core: dispose hmr on imports (ba51086)
  • docz-core: join head tags (#255) (065e8b3)
  • docz-core: update react-docgen-typescript-loader to fix props table (34b2fdf)

Features

  • babel-preset-docz: add new babel preset (5efb568)

0.10.3 (2018-08-16)

Bug Fixes

  • docz-core: correct data server websocket port (47fe714)
  • docz-core: try catch on get repo info (2016736)

Features

  • docz-core: add editBranch option to mount repo link (c619d9c)

0.10.2 (2018-08-13)

Bug Fixes

  • prevent codemirror bug on build (3d0894e)
  • docz-core: remove data server cache :confused: (9683280)
  • docz-core: try catch on get repo info (bdfbf0b)

0.10.1 (2018-08-13)

Bug Fixes

  • docz-core: prevent crash when not have cache (cd3609a)

0.10.0 (2018-08-13)

Bug Fixes

  • docz-core: prevent crash on delete entry (28e1728)
  • docz-core: prevent delete entire app folder on build (e345896)

Features

  • docz-core: add cache system for entries (b90e598)
  • docz-core: add htmlContext and mini-html-webpack-plugin (4b6ec0f)
  • docz-core: resolve markdown files by default (#210) (e0a95b3)
  • add github repository link (78a19f6)

0.9.6 (2018-08-06)

Bug Fixes

0.9.4 (2018-08-04)

Bug Fixes

  • docz-core: use of src config in edit button link (#186) (553f90c)
  • remove external deps (470bdd3)

0.9.3 (2018-08-03)

Bug Fixes

  • docz-core: use of src config in edit button link (#186) (553f90c)

0.9.2 (2018-08-02)

Bug Fixes

  • docz-core: add isProd to remove hot client overlay on build (83f2e36)

0.9.1 (2018-08-02)

Bug Fixes

  • docz: finish process after build (58bebb6)

0.9.0 (2018-08-02)

Bug Fixes

  • docz: using context for imports to prevent disposed hmr (b37284c)
  • docz-plugin-babel6: change babel syntax dynamic import when needed (8cb278a)

0.9.0-beta.1 (2018-08-01)

Note: Version bump only for package docz-core

0.9.0-beta.0 (2018-08-01)

Bug Fixes

  • docz-core: remove babel plugin/presets when needed (011baad)

Features

  • docz-core: add webpack-serve-overlay as error overlay (263badf)
  • docz-core: support env files to set configuration (#171) (259b72d), closes #140
  • docz-theme-default: add edit button for document (#180) (e125a4f)

0.8.0 (2018-07-28)

Note: Version bump only for package docz-core

0.7.0 (2018-07-23)

Note: Version bump only for package docz-core

0.6.2 (2018-07-20)

Bug Fixes

  • docz-core: set env vars for commands (29f0098)

0.6.0 (2018-07-19)

Bug Fixes

  • docz-core: add error when dest is working directory (b1c87b5)
  • docz-core: process.env vars for scripts (f6b6260)
  • docz-core: serve static files from public (c866856)

Features

  • docz-core: add onCreateApp plugin method (13c07e7)

0.5.9 (2018-07-16)

Note: Version bump only for package docz-core

0.5.7 (2018-07-11)

Note: Version bump only for package docz-core

0.5.6 (2018-07-11)

Features

  • docz-core: add webpack-serve-waitpage (83c493b)

0.5.5 (2018-07-07)

Bug Fixes

  • docz-core: add ordering to initial config data object (2926ade)

0.5.4 (2018-07-07)

Note: Version bump only for package docz-core

0.5.2 (2018-07-05)

Bug Fixes

  • docz-core: remove unnescessary Entry.check (1871db8)

0.5.1 (2018-07-03)

Bug Fixes

  • docz-core: add a fallback name on Entry (ec38139)
  • docz-core: app running port message (4aec595)
  • docz-core: check name on package json (6cdbebc)

Features

  • docz-core: add ordering property for config (efd215e)
  • docz-core: read name from package.json to populate initial title (1eeb049)

0.5.0 (2018-07-03)

Bug Fixes

  • docz-core: add a fallback name on Entry (ec38139)
  • docz-core: app running port message (1b94114)

Features

  • docz-core: add ordering property for config (a6c307d)
  • docz-core: read name from package.json to populate initial title (4f10a6d)

0.4.0 (2018-06-30)

Bug Fixes

  • docz-core: add a fallback name on Entry (ec38139)

0.3.4 (2018-06-26)

Note: Version bump only for package docz-core

0.3.3 (2018-06-26)

Bug Fixes

  • docz-core: copy templates files for dist (#88) (5e4b98d)

0.3.2 (2018-06-25)

Note: Version bump only for package docz-core

0.3.1 (2018-06-25)

Bug Fixes

  • use docz-theme-default as docz-core dependency (1a2fb67)

0.2.11 (2018-06-22)

Bug Fixes

  • docz-core: node env for production (615aa1f)

0.2.10 (2018-06-21)

Features

  • docz-plugin-css: add initial version (#78) (299372e)

0.2.9 (2018-06-21)

Note: Version bump only for package docz-core

0.2.8 (2018-06-21)

Bug Fixes

  • docz-core: typescript resolve extensions (689b057)

0.2.7 (2018-06-20)

Note: Version bump only for package docz-core

0.2.6 (2018-06-17)

Bug Fixes

  • docz-core: change filepath entry for windows (#31) (14bf0e2)

0.2.4 (2018-06-13)

Note: Version bump only for package docz-core

0.2.3 (2018-06-13)

Bug Fixes

  • docz-core: change config hosts to support windows os (9e3c4f6)

0.2.2 (2018-06-12)

Note: Version bump only for package docz-core

0.2.0 (2018-06-11)

Note: Version bump only for package docz-core

0.2.0-beta.2 (2018-06-10)

Bug Fixes

  • docz-core: autolink headings (0b8369d)

0.2.0-beta.1 (2018-06-10)

Features

  • docz-core: add headings property for entries and autolink on headings (7711c3c)

0.2.0-beta.0 (2018-06-10)

Features

  • docz-core: add indexHtml property on project configuration (6bb5167)

0.1.2-beta.5 (2018-06-09)

Bug Fixes

  • docz-core: build when base prop (6001171)

0.1.2-beta.1 (2018-06-09)

Features

  • docz-core: add base config argument (20f29c2)
  • docz-core: add dest config property (d6c5506)
  • docz-core: add modifyBundlerConfig configuration property (ec04bee)
  • docz-core: use html template as component (b7a2dc0)

0.1.2-beta.0 (2018-06-02)

Note: Version bump only for package docz-core

0.1.1-beta.5 (2018-06-01)

Note: Version bump only for package docz-core

0.1.1-beta.4 (2018-05-29)

Bug Fixes

  • docz-core: module rule test for typescript (bdeffc1)

0.1.1-beta.3 (2018-05-29)

Note: Version bump only for package docz-core

0.1.0 (2018-05-29)

Bug Fixes

  • docz-core: async plugin (ddfbcf1)
  • docz-core: check if found name exist when parse entry (f75881e)
  • docz-core: config watch for directory operations (43fa7ab)
  • docz-core: create plugin to fix paragraph parse on mdx (42b4f05)
  • docz-core: data server class (12c0558)
  • docz-core: don't exit when catch prettier (5423d96)
  • docz-core: entries rewrite (986ba65)
  • docz-core: entries updates (7147ac1)
  • docz-core: throw error when parse ast (05138bf)

Features

  • docz-core: add build command (ef7abd2)
  • docz-core: add chokidar to watch new entries (2f073d5)
  • docz-core: add entry settings field (2ec5d66)
  • docz-core: add playground code parse section (6bbf158)
  • docz-core: add setConfig method for Plugin (9ba6507)
  • docz-core: add support for custom head or scripts (69f4d56)
  • docz-core: add support for parse sections via ast (6db0cd8)
  • docz-core: add title and description on settings (ad9ee58)
  • docz-core: add typescript support (17dae8b)
  • docz-core: improve plugin and add support to modify babel (cf3ec4e)
  • add component props parse feature (987627d)
  • docz-core: pass theme config via websockets for dev (5222de7)
  • docz-core: use websockets instead of generate json to process entries (e0773a0)
  • docz-theme-default: add logo option (435da9b)
  • add support for highlight code sections (19bf7ea)
  • improve docz theme to use theme config (9207ed2)
  • refac to use mdx (04b59e5)