{ "info": { "author": "Patrick Lai", "author_email": "plai@atlassian.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Software Development" ], "description": "# FlowTees\n\n## Purpose\n\nThis tool provides support in the conversion process of converting AtlasKit Flow components to TypeScript. It takes the trivial work out of the conversion. These are just floaties to help you but won't totally convert your component.\n\n## Features\n\n- Renames files to `tsx/ts`\n- Ignores `node_modules`\n- Removing flow decorators (`@flow`, `$StringLitteral`, `$FlowFixMe`)\n- Remove `type` keyword from exports and imports\n- Renames `type` keyword to `interface` keyword when applicable and can handle `extends`\n- Configures `package.json` and creates `tsconfig.json` files\n\n## Usage\n\n[![asciicast](https://asciinema.org/a/246271.svg)](https://asciinema.org/a/246271)\n\nFlowTees is a command line application, called `flowtees`, the application is used before beginning the conversion process. It assumes that no work has been started on the component yet.\n\nTo begin, run the following command:\n\n```\n$ flowtees [directory/to/component]\n```\n\n**e.g.** say you are converting the `select` component, then the command would look like this:\n\n```\n$ flowtees ~/src/atlaskit-mk-2/packages/core/select\n```\n\nThe program will begin analyzing the `js` files in the directory and do a dry run to find only compatible files to convert. The compatible files will be listed in _green_ while incompatible files will be shown in _red_.\n\nAfter processing the files, you will get a prompt asking whether you want to also include the build config files for TS. This helps to create the appropriate `tsconfig.json` files in the component directory and also modify the the `package.json` file so it points to the correct `index.ts` file.\n\n## Installation\n\nIf you only have Python3 installed on your computer then the following command will install the program:\n\n```\n$ pip install flowtees\n```\n\nIf you have both Python2 and Python3 installed then the following command will be more suitable:\n\n```\n$ pip3 install flowtees\n```\n\n## Releases\n## 0.1.9 (12 Aug 2019)\n- Updated `tsconfig.json` build config\n\n## 0.1.8 (31 July 2019)\n- Added the ability to check version number of FlowTees using `--version`\n\n## 0.1.5 (30 July 2019)\n- Updated build file to extend on renamed `tsconfig.json`\n\n## 0.1.4 (24 May 2019)\n\n- UPDATE! No auto conversion of `import React from 'react'` will be made by default to reflect on choice to standardize on non-namespace import, however existing `--react-namespace` will remain in place\n\n## 0.1.3 (23 May 2019)\n\n- Fixed bug with folders with a single file not listed in files to process\n- NEW! Auto conversion of `import React from 'react';` to `import * as React from 'react';` to avoid future issues. (Thi can be turned off with --react-namespace option)\n- NEW! Individual file conversions can be done by pointing to a `js` file\n\n## 0.1.2 (20 May 2019)\n\n- Updated build `tsconfig.json`\n- Support for emotion jsx keywords\n\n## 0.1 (Initial release) (15 May 2019)\n\n- Renames files to `tsx/ts`\n- Ignores `node_modules`\n- Removing flow decorators (`@flow`, `$StringLitteral`, `$FlowFixMe`)\n- Remove `type` keyword from exports and imports\n- Renames `type` keyword to `interface` keyword when applicable and can handle `extends`\n- Configures `package.json` and creates `tsconfig.json` files\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/patrickcylai/flowtees/src/master/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "flowtees", "package_url": "https://pypi.org/project/flowtees/", "platform": "", "project_url": "https://pypi.org/project/flowtees/", "project_urls": { "Homepage": "https://bitbucket.org/patrickcylai/flowtees/src/master/" }, "release_url": "https://pypi.org/project/flowtees/0.1.9/", "requires_dist": [ "Click", "colorama" ], "requires_python": ">=3.5", "summary": "This tool provides support in the conversion process of converting AtlasKit Flow components to TypeScript. It takes the trivial work out of the conversion.", "version": "0.1.9" }, "last_serial": 5663580, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "5414d5f8104985aaeb158274506ca967", "sha256": "9826772326b11857611cde98489fb259770bc763bc89c824c69cb99c553d2da0" }, "downloads": -1, "filename": "flowtees-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5414d5f8104985aaeb158274506ca967", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 6814, "upload_time": "2019-05-15T05:14:22", "url": "https://files.pythonhosted.org/packages/10/c6/208751342e6255a2e34eda6c4059a70486fb390c8e160817947026daaca7/flowtees-0.1-py3-none-any.whl" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "9c696b5ec2294ddd28083d3d9e67f149", "sha256": "ca00d4cef17f3f1874c397e4d231ff51673b91a6c6e3438d737106ed1c2d8c50" }, "downloads": -1, "filename": "flowtees-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9c696b5ec2294ddd28083d3d9e67f149", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 10303, "upload_time": "2019-05-19T02:58:18", "url": "https://files.pythonhosted.org/packages/e3/53/7c5dd2c0eb12f0f7a21eb84cc7a0251a8ae287fd4b7926f03dafbbacf0b7/flowtees-0.1.2-py3-none-any.whl" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "39cc9d315fb56ff8e5604bba50569323", "sha256": "7afc78c7bcb9b79c491e499b9a39dfcb0f8a1c1e56c4aebb803d091f4a2c57c7" }, "downloads": -1, "filename": "flowtees-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "39cc9d315fb56ff8e5604bba50569323", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 10749, "upload_time": "2019-05-23T04:50:21", "url": "https://files.pythonhosted.org/packages/05/19/eca5fe15d3d2576b41b53aca9e6feaa5b46cb818efd347fc757646d31054/flowtees-0.1.3-py3-none-any.whl" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "4a7e812e72689299c3646407bb864eeb", "sha256": "6dc2d2efa8930b60b23e99a28182747e3944f1308815dcdc5e5bf2b235e4fe6b" }, "downloads": -1, "filename": "flowtees-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "4a7e812e72689299c3646407bb864eeb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 11078, "upload_time": "2019-05-24T06:05:30", "url": "https://files.pythonhosted.org/packages/ec/17/b1f99e3e9e16e74afb694ca847155e20d10c3f19ea0af4adf0cca7b0fd20/flowtees-0.1.4-py3-none-any.whl" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "f49e6004f67ee6e0b491a11c9dd4b40c", "sha256": "572118411f2acab99adc4cf15d60cf6d61f72be3530fb66af25a03ac992a65ca" }, "downloads": -1, "filename": "flowtees-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "f49e6004f67ee6e0b491a11c9dd4b40c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 11099, "upload_time": "2019-07-30T00:31:53", "url": "https://files.pythonhosted.org/packages/a5/4a/49abe5a986609ff1c119e3cb9d38be5b99a954dd9b3087483a4be836dc72/flowtees-0.1.5-py3-none-any.whl" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "1f8488545a93dd01b0ad5a34a2ac4592", "sha256": "39625b4f230fffd90a0aaf4826373e1cd049124b3605abe43837fbbd1793f363" }, "downloads": -1, "filename": "flowtees-0.1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "1f8488545a93dd01b0ad5a34a2ac4592", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 11229, "upload_time": "2019-07-31T05:57:30", "url": "https://files.pythonhosted.org/packages/0e/16/7ef40128c8ecfb0dd1a84104d77c96864f7dd048a61574849f63aae70431/flowtees-0.1.6-py3-none-any.whl" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "cec731bd93bc635f1bc7f027cdccfe4c", "sha256": "5bc6cf98a5ec7c56f40d92912ade0cef73f76589a854ddd1b383fea4f721b430" }, "downloads": -1, "filename": "flowtees-0.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "cec731bd93bc635f1bc7f027cdccfe4c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 11249, "upload_time": "2019-07-31T06:00:57", "url": "https://files.pythonhosted.org/packages/5e/fb/456e6a050286210f7fc2751c74ac30f422e46f1c76822b9f6e101e4071d8/flowtees-0.1.7-py3-none-any.whl" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "bcea833d89decfbc358c9827b9960259", "sha256": "2a60f169d3323ccf1f1927c8d23f31ba3e21380780354309e2dcfca4e3d37c65" }, "downloads": -1, "filename": "flowtees-0.1.8-py3-none-any.whl", "has_sig": false, "md5_digest": "bcea833d89decfbc358c9827b9960259", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 11248, "upload_time": "2019-07-31T06:03:36", "url": "https://files.pythonhosted.org/packages/e1/75/ac2adb63284bb095262ebcb38ceac423453bc4d54699132da6e31cfd38e9/flowtees-0.1.8-py3-none-any.whl" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "dc989f0689ce9f4ff894693d368cabba", "sha256": "7c90a1a6a524498f02d60a3e1f5d6cabeb9e56362fd981e65384e4897b333031" }, "downloads": -1, "filename": "flowtees-0.1.9-py3-none-any.whl", "has_sig": false, "md5_digest": "dc989f0689ce9f4ff894693d368cabba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 11251, "upload_time": "2019-08-12T00:26:53", "url": "https://files.pythonhosted.org/packages/b0/20/2cb65cb35793c14e82af8ceee900cbf9ed435b199d43fe052da06313542f/flowtees-0.1.9-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dc989f0689ce9f4ff894693d368cabba", "sha256": "7c90a1a6a524498f02d60a3e1f5d6cabeb9e56362fd981e65384e4897b333031" }, "downloads": -1, "filename": "flowtees-0.1.9-py3-none-any.whl", "has_sig": false, "md5_digest": "dc989f0689ce9f4ff894693d368cabba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 11251, "upload_time": "2019-08-12T00:26:53", "url": "https://files.pythonhosted.org/packages/b0/20/2cb65cb35793c14e82af8ceee900cbf9ed435b199d43fe052da06313542f/flowtees-0.1.9-py3-none-any.whl" } ] }