Skip to content
Permalink
Branch: master
Commits on Jul 9, 2019
  1. chore(release): publish

    remarkablemark committed Jul 9, 2019
     - react-property@1.0.1
  2. Merge pull request #12 from remarkablemark/refactor/react-property

    remarkablemark committed Jul 9, 2019
    refactor(react-property): update build scripts to output `.js` file instead of `.json`
  3. docs(react-property): update layout section in README.md

    remarkablemark committed Jul 9, 2019
    Given the change in file extension for the lib build artifacts.
  4. refactor(react-property): update build-svg script to output `.js`

    remarkablemark committed Jul 9, 2019
    The `.json` format leads to a larger file size due to the quotes
    around the property names.
  5. refactor(react-property): update build-injection to output `.js`

    remarkablemark committed Jul 9, 2019
    The `.json` format leads to a larger file size due to the quotes
    around the property keys.
  6. refactor(react-property): update build-html script to output `.js`

    remarkablemark committed Jul 9, 2019
    The `.json` format leads to a larger file size due to the quotes
    around the property names.
  7. chore(release): publish

    remarkablemark committed Jul 9, 2019
     - react-property@1.0.0
  8. Merge pull request #11 from remarkablemark/feat/react-property

    remarkablemark committed Jul 9, 2019
    feat(react-property): rewrite HTML and SVG configs and modify exports
Commits on Jul 8, 2019
  1. feat(react-property): consolidate injection logic to `index.js`

    remarkablemark committed Jul 8, 2019
    BREAKING CHANGE: remove exports `HTMLDOMPropertyConfig` and
    `SVGDOMPropertyConfig` and consolidate the properties in
    `properties`.
    
    As a result of this change, `src/` directory is removed since all
    the injection logic is handled in `index.js` and the npm script
    `copy` is removed as well.
  2. refactor(react-property): move `isCustomAttribute` into `index.js`

    remarkablemark committed Jul 8, 2019
    Delete `src/is-custom-attribute.js`
  3. refactor(react-property): update build output and filenames

    remarkablemark committed Jul 8, 2019
    The html and svg properties configs are no longer under a
    specific directory but kept flat under the `lib/` directory:
    
    ```sh
    $ cd packages/react-property/
    $ tree lib/
    lib/
    ├── HTMLDOMPropertyConfig.json
    ├── SVGDOMPropertyConfig.json
    ├── html
    │   └── index.js
    ├── injection.json
    ├── is-custom-attribute.js
    └── svg
        └── index.js
    
    2 directories, 6 files
    ```
  4. refactor(react-property): require injection in html and svg modules

    remarkablemark committed Jul 8, 2019
    And remove "injection" from html and svg properties json
  5. feat(react-property): rewrite build svg script

    remarkablemark committed Jul 8, 2019
    No longer generate the following from svg build script:
    
    - attributes.json
    - attribute-to-property.json
    - boolean-properties.json
    - overloaded-boolean-properties.json
    
    The reason is these files have redundant attribute names,
    which makes the final bundle size larger than expected.
    
    Also, the svg attribute names are lowercased instead of
    camelcased.
    
    Now the following file is generated:
    
    - properties.json
    
    It's similar to `react-dom/lib/SVGDOMPropertyConfig.js`
    except redundant attribute to property name mappings
    are deleted.
    
    Also, update svg index module to include the injection
    properties.
  6. feat(react-property): rewrite build html script

    remarkablemark committed Jul 8, 2019
    No longer generate the following from html build script:
    
    - attributes.json
    - attribute-to-property.json
    - boolean-properties.json
    - overloaded-boolean-properties.json
    
    The reason is because these files with redundant attribute name
    mapping makes the final bundle size larger than expected.
    
    Only the following file is generated:
    
    - properties.json
    
    This file is similar to `react-dom/lib/HTMLDOMPropertyConfig.js`.
    
    Update html index module to include additional injection
    properties:
    
    - mustUseProperty
    - hasNumericValue
    - hasPositiveNumericValue
Commits on Jul 7, 2019
  1. Merge pull request #10 from remarkablemark/test/react-property

    remarkablemark committed Jul 7, 2019
    test(react-property): add tests and snapshots
  2. build(react-property): fix `copy` script so it copies correctly

    remarkablemark committed Jul 7, 2019
    In Travis CI, the copy script is copying the `src/` directory
    into `lib/`, which causes the tests to fail.
  3. ci(root): move build to `before_script` in .travis.yml

    remarkablemark committed Jul 7, 2019
  4. docs(root): add script build to `README.md`

    remarkablemark committed Jul 7, 2019
  5. ci(root): add `.travis.yml`

    remarkablemark committed Jul 7, 2019
Older
You can’t perform that action at this time.