Skip to content
Permalink
Branch: master
Commits on Apr 10, 2019
  1. NPM: mark all packages as side-effect free

    mrtnzlml authored and kiwicom-github-bot committed Apr 9, 2019
    kiwicom-source-id: cd82ec28c1ab9e5a21682e35e31b48a097a5cd33
Commits on Apr 8, 2019
  1. Babel preset: fix support for browsers

    mrtnzlml authored and kiwicom-github-bot committed Apr 8, 2019
    Re-releasing all affected packages.
    
    Closes: https://gitlab.skypicker.com/incubator/universe/issues/476
    
    kiwicom-source-id: 64f4ee7f2db8355bd9df8a2663faa5ec0970501d
  2. NPM publisher: use 'npm-packlist' instead of custom ignore

    mrtnzlml authored and kiwicom-github-bot committed Mar 28, 2019
    NPM publisher now uses NPM logic for packing the TARs directly. This means that you can (and you should) specify your custom ignore rules per project and the publisher will take them  into account. It also removes the necessity for copying manually whitelisted files like README or CHANGELOG (works by default).
    
    kiwicom-source-id: 70cb3e1f0182ad484523dd8df20d515954c2323c
  3. Readme: update hiring banner

    mrtnzlml authored and kiwicom-github-bot committed Mar 26, 2019
    kiwicom-source-id: e5179bf38f762c0b8d7ce95c46f8ff8f9c0bb653
  4. Open source '@kiwicom/graphql-global-id'

    mrtnzlml authored and kiwicom-github-bot committed Mar 26, 2019
    See: https://github.com/kiwicom/graphql-global-id
    
    kiwicom-source-id: 411ad4d294b8886e3a5ac1150b95fe918b81d1ab
  5. GraphQL: add validation of opaque ID parsing

    mrtnzlml authored and kiwicom-github-bot committed Mar 26, 2019
    Prevents wrong usages like here: kiwicom/margarita#596 (I will let them know to fix it)
    
    kiwicom-source-id: 173d9ef9c39d7556a447c46ce71e45a799309dd9
  6. GraphQL global ID: document opaque ID restoring

    mrtnzlml authored and kiwicom-github-bot committed Mar 26, 2019
    kiwicom-source-id: 0fd5e9d6801e87a6cdc6971de1ca50a51e3ba859
  7. Monorepo: fix broken links in package.json

    mrtnzlml authored and kiwicom-github-bot committed Mar 22, 2019
    kiwicom-source-id: ee10b2cec56b394b3e822df0ec87c9bfbebd086d
  8. Monorepo: move 'global-id' to 'graphql-global-id'

    mrtnzlml authored and kiwicom-github-bot committed Mar 15, 2019
    kiwicom-source-id: 6ca391dfc045898948633c0812317fa11147bbbe
  9. Upgrade breaking dependencies (Supertest 4.0.1 included)

    mrtnzlml authored and kiwicom-github-bot committed Mar 15, 2019
    This was blocked because of the following issue in Supertest but now it seems to be OK: visionmedia/supertest#557
    
    No issues expected.
    
    kiwicom-source-id: 02a0ff1ddb5ac6db2b24437efa759b0dbce4051a
  10. Upgrade '@kiwicom' dependencies

    mrtnzlml authored and kiwicom-github-bot committed Mar 11, 2019
    Breaking upgrades but no issues expected.
    
    kiwicom-source-id: 8baf7788230832a18d5b3585d862067b2c3b4968
  11. Add missing licenses to package.json

    mrtnzlml authored and kiwicom-github-bot committed Mar 8, 2019
    Closes: https://gitlab.skypicker.com/incubator/universe/issues/453
    
    kiwicom-source-id: e03f2ed24d311f43c4ca439a48b800768a63b0e6
  12. Flow: enable deprecated-type, inexact-spread and

    mrtnzlml authored and kiwicom-github-bot committed Mar 7, 2019
    kiwicom-source-id: 7d4d5836ce3566c0431a2ca178230b6d374d145e
  13. NPM packages: refresh readme files

    mrtnzlml authored and kiwicom-github-bot committed Feb 28, 2019
    kiwicom-source-id: 88b73ada79f2d92e81af4040e1ed8b2d7e2dc96a
  14. NPM packages: add missing licenses

    mrtnzlml authored and kiwicom-github-bot committed Feb 25, 2019
    kiwicom-source-id: e2dcd5c67a25eba53ef66fa3fed7aaf25c4b8c7f
  15. Upgrade all breaking dependencies

    mrtnzlml authored and kiwicom-github-bot committed Feb 22, 2019
    No issues expected.
    
    kiwicom-source-id: a16cd0bdf85252c74abc70847cc76753d057b40d
  16. GraphQL Skymock: add initial support for POST requests

    mrtnzlml authored and kiwicom-github-bot committed Feb 21, 2019
    Ancillaries are the first API with POST requests that is being updated automatically. It's because it doesn't need any auth. I have to focus on a bit of refactoring in the next iterations because it's getting a bit complicated to develop it - there are not very clear boundaries and rules when using the meta file.
    
    kiwicom-source-id: 6ba3ed2317d2aab790d2b0bda273d17bef18d8b8
  17. NPM: be explicit about required versions

    mrtnzlml authored and kiwicom-github-bot committed Feb 21, 2019
    This is not an ultimate solution but it would certainly catch the issues we had during last releases. The problem is that we required just a "^0" versions so all worked for us in the monorepo. However, exported repositories were not explicit about the version bump (it was only in our yarn.lock) so some dependencies were not required properly. This should help because for example "^0.4.2" means ">=0.4.2 <0.5.0" so we cannot use features from version 0.5 unless we increase the version even in monorepo. This is not going to work that well for stable versions though.
    
    kiwicom-source-id: b5a58eb104f042aa09dc9429daaf2792b589cdef
  18. Remove '@mrtnzlml/utils' dependency (replaced by

    mrtnzlml authored and kiwicom-github-bot committed Feb 7, 2019
    This completely removes '@mrtnzlml' dependencies from our projects. Yay... :)
    
    kiwicom-source-id: ae6868dd3352f4a1cfa68f8974275d2a4ce29040
  19. Finish transition to the new Incubator group

    mrtnzlml authored and kiwicom-github-bot committed Jan 24, 2019
    kiwicom-source-id: 824bbdeb59e753e11a0d07b01c310f05be5f0154
  20. Upgrade Flow to the latest version (^0.91.0)

    mrtnzlml authored and kiwicom-github-bot committed Jan 17, 2019
    kiwicom-source-id: 0f570a53c7b96b8e1f0de0b957fb655da07f414f
  21. Upgrade all dependencies to the latest versions

    mrtnzlml authored and kiwicom-github-bot committed Jan 16, 2019
    No issues expected.
    
    kiwicom-source-id: 0087cb46cddc0858199ace4cd197c23438835cd5
  22. Upgrade non-breaking dependencies

    mrtnzlml authored and kiwicom-github-bot committed Jan 15, 2019
    No issues expected.
    
    kiwicom-source-id: 85ca919bc1514f5d885cb08a18bac381de04ddf8
  23. Remove usages of 'toGlobalId'

    mrtnzlml authored and kiwicom-github-bot committed Jan 3, 2019
    I am not 100% sure about the solution but I am pretty sure about removing this function. I think it's was a bad pattern because people had to copy the name of the GraphQL object which made it incredibly fragile (see the corrected snapshots) and weird. It is most visible on the 'arrayconnection' hack. How did everyone know it should be called exactly like this? It's just an internal implementation detail... :)
    
    kiwicom-source-id: 85403adb6496eb525c97040a4ef6c4283f29688a
  24. Revert "Remove usages of 'toGlobalId'"

    mrtnzlml authored and kiwicom-github-bot committed Jan 3, 2019
    This reverts commit d9fb97a4
    
    I broke this query:
    
    ```
    query NewAllHotelsSearchQuery(
      $search: HotelsSearchInput!
      $filter: HotelsFilterInput!
      $options: AvailableHotelOptionsInput
      $first: Int
      $after: String
    ) {
      allAvailableBookingComHotels(
        search: $search
        filter: $filter
        options: $options
        first: $first
        after: $after
      ) {
        edges {
          node {
            hotelId
          }
        }
      }
    }
    ```
    
    with these parameters:
    
    ```
    {"search":{"cityId":"SG90ZWxDaXR5Oi0xNDU2OTI4","checkin":"2019-01-23","checkout":"2019-01-25","roomsConfiguration":[{"adultsCount":1,"children":[]}]},"filter":{"starsRating":[],"minPrice":null,"maxPrice":null,"freeCancellation":false,"minScore":null,"hotelFacilities":null},"options":{"currency":"CZK","orderBy":null},"first":50,"after":null}
    ```
    
    kiwicom-source-id: 8209d7bccdcfd656012136c6378df96d6e669816
  25. Remove usages of 'toGlobalId'

    mrtnzlml authored and kiwicom-github-bot committed Dec 28, 2018
    I am not 100% sure about the solution but I am pretty sure about removing this function. I think it's was a bad pattern because people had to copy the name of the GraphQL object which made it incredibly fragile (see the corrected snapshots) and weird. It is most visible on the 'arrayconnection' hack. How did everyone know it should be called exactly like this? It's just an internal implementation detail... :)
    
    Closes https://gitlab.skypicker.com/graphql/graphql/issues/366
    
    kiwicom-source-id: d9fb97a4af92413cb3ae44ffd05ecb136478efa0
  26. Remove some occurrences of 'toGlobalId'

    mrtnzlml authored and kiwicom-github-bot committed Dec 19, 2018
    Not every occurrence - there are still some very weird cases where we used to be hacky and it needs more care.
    
    kiwicom-source-id: 9f26cb529bbd434dbc28ed233ef12a2d0a867b88
  27. Change URL of all our NPM packages

    mrtnzlml authored and kiwicom-github-bot committed Dec 13, 2018
    This URL is exposed in NPM so it makes sense to link the source-code instead of pointing to the same page where the NPM visitor already is. I am also releasing v1.0.0 of our Eslint packages since there is nothing to wait for.
    
    kiwicom-source-id: 17c34fcf9364d0cd237209b990b4aa2f2aaeb593
  28. README: add info about our public NPM packages

    mrtnzlml authored and kiwicom-github-bot committed Dec 12, 2018
    I think it would be smart to automate this flow so I added it as a script. I can imagine we are going to periodically run a job which will run these manual tasks and update our docs automatically for example.
    
    Closes: https://gitlab.skypicker.com/graphql/graphql/issues/388
    
    kiwicom-source-id: fe41ae4082f3ceac9aa40679b59c957b261bef7b
  29. Replace some occurrences of 'fromGlobalId'

    mrtnzlml authored and kiwicom-github-bot committed Dec 3, 2018
    This is part of the cleanup. We wrote many "mishmash" checks in a wrong places which adds on complexity and it's hard to maintain it sanely. It should be on the ID level instead.
    
    kiwicom-source-id: de2f7c48ae2450b099c813a09f7a4b5e76afbfd9
  30. Do not use unsafe Buffer constructor

    mrtnzlml authored and kiwicom-github-bot committed Dec 7, 2018
    I also removed polyfill for native Buffer because we cannot do baby-sitting of every JS environment. This is closely related to this change: https://github.com/kiwicom/margarita/pull/35/files#diff-2018087f584c4398b5c3a23fc0e5f9dbR9
    
    kiwicom-source-id: 9411a9ff87d63d17d2df0647e79ae5e96d4c6c84
  31. GlobalID: use Buffer polyfill

    mrtnzlml authored and kiwicom-github-bot committed Dec 3, 2018
    This adds few KB to the final build but that should be fine considering this code is mostly only for server-side JS. However, it removes Buffer dependency so it can be used anywhere (even in RN where there is no global Buffer).
    
    kiwicom-source-id: a5581de6858e90b2dbcd8100eea6947f061207d1
  32. NPM: publish '@kiwicom/graphql-global-id' package

    mrtnzlml authored and kiwicom-github-bot committed Nov 26, 2018
    Also, NPM publisher can now handle non-existing packages.
    
    kiwicom-source-id: 1facc46ba701184f617958c6fc2281778e720291
  33. Add monorepo packages test

    mrtnzlml authored and kiwicom-github-bot committed Nov 8, 2018
    This test verifies we have the packages set correctly.
    
    kiwicom-source-id: 7bf5bd4b5faddd45223e84278be7d3034c09f6e0
  34. Import 'GlobalID' from Portalo (new

    mrtnzlml authored and kiwicom-github-bot committed Nov 8, 2018
    I am just importing this package to the monorepo se we can release it properly. However, I am not using it (yet) because we have quite a mess in our IDs and it requires further changes. I am going to fix these issues but somewhere down the road...
    
    Related issue: https://gitlab.skypicker.com/graphql/graphql/issues/366
    
    kiwicom-source-id: ca148f590a79d73a46a8edd60d6b239f6a11bc65
You can’t perform that action at this time.