Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Prisma Schema #724

Open
wants to merge 122 commits into
base: master
Choose a base branch
from
Open

Commits on Aug 9, 2019

  1. First commit

    victorhqc committed Aug 9, 2019
    Configuration menu
    Copy the full SHA
    15c8c09 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d745e3 View commit details
    Browse the repository at this point in the history
  3. WIP: Add grammar for

    - Types
    - Models
    
    Still need some polishment, fixes and missing cases
    victorhqc committed Aug 9, 2019
    Configuration menu
    Copy the full SHA
    7006083 View commit details
    Browse the repository at this point in the history
  4. Add Readme warning

    victorhqc committed Aug 9, 2019
    Configuration menu
    Copy the full SHA
    43d5787 View commit details
    Browse the repository at this point in the history
  5. Update patch

    victorhqc committed Aug 9, 2019
    Configuration menu
    Copy the full SHA
    b970d92 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2019

  1. Add comments

    victorhqc committed Aug 13, 2019
    Configuration menu
    Copy the full SHA
    dbdc5ae View commit details
    Browse the repository at this point in the history
  2. WIP: Grammar improvements

    Copying a lot from tree-sitter-javascript :mind-blown:
    victorhqc committed Aug 13, 2019
    Configuration menu
    Copy the full SHA
    2c10a64 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2019

  1. WIP: Model grammar

    Reverse engineering a grammar is harder than it looks!
    victorhqc committed Aug 14, 2019
    Configuration menu
    Copy the full SHA
    21d9afc View commit details
    Browse the repository at this point in the history
  2. Improvements to Model grammar.

    Super interesting, not sure if I'm in the correct path though
    victorhqc committed Aug 14, 2019
    Configuration menu
    Copy the full SHA
    9fc6109 View commit details
    Browse the repository at this point in the history
  3. Add type definition

    victorhqc committed Aug 14, 2019
    Configuration menu
    Copy the full SHA
    29a7cdf View commit details
    Browse the repository at this point in the history
  4. Remove dead code

    victorhqc committed Aug 14, 2019
    Configuration menu
    Copy the full SHA
    94dcbf0 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2019

  1. Some changes in grammar

    victorhqc committed Aug 15, 2019
    Configuration menu
    Copy the full SHA
    22ed472 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2019

  1. Rename declarations

    victorhqc committed Aug 16, 2019
    Configuration menu
    Copy the full SHA
    4921b49 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2019

  1. WIP: Handle uncovered cases

    victorhqc committed Aug 17, 2019
    Configuration menu
    Copy the full SHA
    85dca95 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2019

  1. fix declaration bug.

    victorhqc committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    eaf6eb9 View commit details
    Browse the repository at this point in the history
  2. feat: support enum

    victorhqc committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    dbfd7c4 View commit details
    Browse the repository at this point in the history
  3. fix: model parsing

    victorhqc committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    27fe749 View commit details
    Browse the repository at this point in the history
  4. fix: assignment_expression

    victorhqc committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    d51e8c9 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2019

  1. Configuration menu
    Copy the full SHA
    39cfea3 View commit details
    Browse the repository at this point in the history
  2. chore: cleanup

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    5cb11f1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d81261 View commit details
    Browse the repository at this point in the history
  4. fix: changes in comments

    `developer_comments` are parsed in AST to simplify the syntax 
    highlighting. It might need to be parded differently
    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    074c768 View commit details
    Browse the repository at this point in the history
  5. chore: Improve README

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    9cdc9f5 View commit details
    Browse the repository at this point in the history
  6. chore: improve readme

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    b3a667a View commit details
    Browse the repository at this point in the history
  7. build: setup ci

    victorhqc authored Sep 20, 2019
    Configuration menu
    Copy the full SHA
    52bb8f5 View commit details
    Browse the repository at this point in the history
  8. chore: contributing

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    e949ef8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d37fdb8 View commit details
    Browse the repository at this point in the history
  10. Merge pull request Wilfred#1 from victorhqc/feat/build_1

    chore: contributing
    victorhqc authored Sep 20, 2019
    Configuration menu
    Copy the full SHA
    2fd2384 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6a2184a View commit details
    Browse the repository at this point in the history
  12. Merge pull request Wilfred#2 from victorhqc/feat/auto-publish

    build: prepare dependencies & config
    victorhqc authored Sep 20, 2019
    Configuration menu
    Copy the full SHA
    032de44 View commit details
    Browse the repository at this point in the history
  13. build: auto-publish

    victorhqc authored Sep 20, 2019
    Configuration menu
    Copy the full SHA
    13fcb6a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3b54b57 View commit details
    Browse the repository at this point in the history
  15. Merge pull request Wilfred#3 from victorhqc/victorhqc-patch-1

    build: auto-publish
    victorhqc authored Sep 20, 2019
    Configuration menu
    Copy the full SHA
    750888a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    3fb6d2e View commit details
    Browse the repository at this point in the history
  17. Merge pull request Wilfred#4 from victorhqc/victorhqc-patch-1

    Rename publish to publish.yml
    victorhqc authored Sep 20, 2019
    Configuration menu
    Copy the full SHA
    70ff8d5 View commit details
    Browse the repository at this point in the history
  18. build: add workflow name

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    057d907 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    e93677a View commit details
    Browse the repository at this point in the history
  20. Merge pull request Wilfred#5 from victorhqc/fix/publish

    Fix/publish
    victorhqc authored Sep 20, 2019
    Configuration menu
    Copy the full SHA
    e7c3ed7 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    5777c4d View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    b979b91 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    801c82d View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    df6d71c View commit details
    Browse the repository at this point in the history
  25. build: put back as it was

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    8545b3c View commit details
    Browse the repository at this point in the history
  26. Merge pull request Wilfred#6 from victorhqc/fix/publish

    Fix/publish
    victorhqc authored Sep 20, 2019
    Configuration menu
    Copy the full SHA
    8f826c8 View commit details
    Browse the repository at this point in the history
  27. build: attempt to fix auth

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    d6492e9 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    ab7184d View commit details
    Browse the repository at this point in the history
  29. Merge pull request Wilfred#7 from victorhqc/fix/publish

    build: attempt to fix auth
    victorhqc authored Sep 20, 2019
    Configuration menu
    Copy the full SHA
    6397659 View commit details
    Browse the repository at this point in the history
  30. build: attempt to fix auth

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    9b15a52 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    d3f0655 View commit details
    Browse the repository at this point in the history
  32. Merge pull request Wilfred#8 from victorhqc/fix/publish

    build: attempt to fix auth
    victorhqc authored Sep 20, 2019
    Configuration menu
    Copy the full SHA
    ac870cc View commit details
    Browse the repository at this point in the history
  33. build: attempt to fix auth

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    16aa49e View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    350ab73 View commit details
    Browse the repository at this point in the history
  35. Merge pull request Wilfred#9 from victorhqc/fix/publish

    build: attempt to fix auth
    victorhqc authored Sep 20, 2019
    Configuration menu
    Copy the full SHA
    0e07036 View commit details
    Browse the repository at this point in the history
  36. build: fixes yml

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    77abc55 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    ceba4e9 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    866a78e View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    37583ee View commit details
    Browse the repository at this point in the history
  40. build: fix yml

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    b8585ff View commit details
    Browse the repository at this point in the history
  41. build: debug

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    8b133b5 View commit details
    Browse the repository at this point in the history
  42. build: remove dependency

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    8dc7170 View commit details
    Browse the repository at this point in the history
  43. build: debug

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    838d151 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    218403b View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    ba24e35 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    4f342a8 View commit details
    Browse the repository at this point in the history
  47. build: include dependencies

    victorhqc committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    65e1a41 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2019

  1. chore: fix typo

    victorhqc committed Sep 23, 2019
    Configuration menu
    Copy the full SHA
    1ff3430 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2019

  1. build(deps): bump npm from 6.11.3 to 6.13.4

    Bumps [npm](https://github.com/npm/cli) from 6.11.3 to 6.13.4.
    - [Release notes](https://github.com/npm/cli/releases)
    - [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md)
    - [Commits](npm/cli@v6.11.3...v6.13.4)
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored Dec 13, 2019
    Configuration menu
    Copy the full SHA
    e32d6a0 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2019

  1. Merge pull request Wilfred#11 from victorhqc/dependabot/npm_and_yarn/…

    …npm-6.13.4
    
    build(deps): bump npm from 6.11.3 to 6.13.4
    victorhqc authored Dec 19, 2019
    Configuration menu
    Copy the full SHA
    1343e01 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2019

  1. Configuration menu
    Copy the full SHA
    3592630 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2020

  1. docs: add project info

    victorhqc committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    ec8fddb View commit details
    Browse the repository at this point in the history
  2. Merge pull request Wilfred#12 from victorhqc/dependabot/npm_and_yarn/…

    …handlebars-4.5.3
    
    build(deps): bump handlebars from 4.2.0 to 4.5.3
    victorhqc authored Jan 22, 2020
    Configuration menu
    Copy the full SHA
    60edfd4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d37a66 View commit details
    Browse the repository at this point in the history
  4. Merge pull request Wilfred#13 from victorhqc/docs/repo

    docs: add project info
    victorhqc authored Jan 22, 2020
    Configuration menu
    Copy the full SHA
    7e13ee4 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2020

  1. Configuration menu
    Copy the full SHA
    960619f View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2020

  1. Merge pull request Wilfred#14 from victorhqc/dependabot/npm_and_yarn/…

    …https-proxy-agent-2.2.4
    
    build(deps): bump https-proxy-agent from 2.2.2 to 2.2.4
    victorhqc authored Apr 17, 2020
    Configuration menu
    Copy the full SHA
    548a0dd View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. build(deps): bump npm from 6.13.4 to 6.14.6

    Bumps [npm](https://github.com/npm/cli) from 6.13.4 to 6.14.6.
    - [Release notes](https://github.com/npm/cli/releases)
    - [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md)
    - [Commits](npm/cli@v6.13.4...v6.14.6)
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored Jul 7, 2020
    Configuration menu
    Copy the full SHA
    fcb9326 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2020

  1. Merge pull request Wilfred#15 from victorhqc/dependabot/npm_and_yarn/…

    …npm-6.14.6
    
    build(deps): bump npm from 6.13.4 to 6.14.6
    victorhqc authored Jul 9, 2020
    Configuration menu
    Copy the full SHA
    3427ea2 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2021

  1. Configuration menu
    Copy the full SHA
    d4e5eac View commit details
    Browse the repository at this point in the history
  2. update node.js

    victorhqc committed Nov 12, 2021
    Configuration menu
    Copy the full SHA
    e966b1e View commit details
    Browse the repository at this point in the history
  3. Merge pull request Wilfred#29 from victorhqc/feat/upgrade-ci

    Feat/upgrade ci
    victorhqc authored Nov 12, 2021
    Configuration menu
    Copy the full SHA
    9d8ef68 View commit details
    Browse the repository at this point in the history
  4. update current version

    victorhqc committed Nov 12, 2021
    Configuration menu
    Copy the full SHA
    ce77b2e View commit details
    Browse the repository at this point in the history
  5. Merge pull request Wilfred#30 from victorhqc/fix/release

    update current version
    victorhqc authored Nov 12, 2021
    Configuration menu
    Copy the full SHA
    39f0bc0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0738d27 View commit details
    Browse the repository at this point in the history
  7. fix(grammar): Fixes grammar on comments

    Victor Quiroz Castro committed Nov 12, 2021
    Configuration menu
    Copy the full SHA
    7b21638 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cc199c3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cf5b154 View commit details
    Browse the repository at this point in the history
  10. bump patch

    victorhqc committed Nov 12, 2021
    Configuration menu
    Copy the full SHA
    8100d2c View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2021

  1. Configuration menu
    Copy the full SHA
    d01a186 View commit details
    Browse the repository at this point in the history
  2. Merge pull request Wilfred#28 from richin13/master

    Add neovim highlight queries
    victorhqc authored Nov 19, 2021
    Configuration menu
    Copy the full SHA
    a50eef5 View commit details
    Browse the repository at this point in the history
  3. bump minor

    victorhqc committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    74a721e View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2022

  1. remove automatic version

    victorhqc committed Mar 17, 2022
    Configuration menu
    Copy the full SHA
    3373d0e View commit details
    Browse the repository at this point in the history
  2. avoid automatic format in vscode

    Prettier is not happy with current styling, but IMO it's quite readable as it is.
    victorhqc committed Mar 17, 2022
    Configuration menu
    Copy the full SHA
    c828c43 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ce98df8 View commit details
    Browse the repository at this point in the history
  4. update grammar

    victorhqc committed Mar 17, 2022
    Configuration menu
    Copy the full SHA
    39fb692 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    354e6b3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7a8a429 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. Merge pull request Wilfred#33 from victorhqc/feat/composite-types

    Feat/composite types
    victorhqc authored Mar 18, 2022
    Configuration menu
    Copy the full SHA
    9ea5bcc View commit details
    Browse the repository at this point in the history
  2. bump minor

    victorhqc committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    bf0833c View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. update name for crates.io

    victorhqc committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    0b31fb6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2e6a0ac View commit details
    Browse the repository at this point in the history
  3. bump minor & fix repo link

    victorhqc committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    0ac307e View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2022

  1. chore: add license

    victorhqc committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    f2c7edb View commit details
    Browse the repository at this point in the history
  2. Merge pull request Wilfred#36 from victorhqc/license

    chore: add license
    victorhqc authored Jun 10, 2022
    Configuration menu
    Copy the full SHA
    3234323 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3817ba9 View commit details
    Browse the repository at this point in the history
  4. chore: remove dead code

    victorhqc committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    861bf85 View commit details
    Browse the repository at this point in the history
  5. chore: add models name test

    victorhqc committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    8661eb3 View commit details
    Browse the repository at this point in the history
  6. Merge pull request Wilfred#37 from victorhqc/fix/core-dumps

    fix: infinite loop on invalid syntax
    victorhqc authored Jun 10, 2022
    Configuration menu
    Copy the full SHA
    ec78e2e View commit details
    Browse the repository at this point in the history
  7. chore: update patch

    victorhqc committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    a3eaf13 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2022

  1. refactor: grammar

    Simplify & change grammar to avoid segmentation faults.
    
    The type declaration had some ambiguous rules.
    victorhqc committed Jun 11, 2022
    Configuration menu
    Copy the full SHA
    8a25b42 View commit details
    Browse the repository at this point in the history
  2. chore: fix test

    victorhqc committed Jun 11, 2022
    Configuration menu
    Copy the full SHA
    204dee3 View commit details
    Browse the repository at this point in the history
  3. check for more errors

    victorhqc committed Jun 11, 2022
    Configuration menu
    Copy the full SHA
    f1761d8 View commit details
    Browse the repository at this point in the history
  4. extend model column_type

    victorhqc committed Jun 11, 2022
    Configuration menu
    Copy the full SHA
    c2dd1bc View commit details
    Browse the repository at this point in the history
  5. feat: tokenize '?' char

    victorhqc committed Jun 11, 2022
    Configuration menu
    Copy the full SHA
    36a8e66 View commit details
    Browse the repository at this point in the history
  6. Merge pull request Wilfred#39 from victorhqc/fix/seg-fault

    refactor: grammar
    victorhqc authored Jun 11, 2022
    Configuration menu
    Copy the full SHA
    346453d View commit details
    Browse the repository at this point in the history
  7. chore: bump minor version

    victorhqc committed Jun 11, 2022
    Configuration menu
    Copy the full SHA
    17a5923 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. feat: support for the view keyword

    Julius de Bruijn committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    2aa1332 View commit details
    Browse the repository at this point in the history
  2. Merge pull request Wilfred#41 from prisma/view-keyword

    feat: support for the view keyword
    victorhqc authored Jan 5, 2023
    Configuration menu
    Copy the full SHA
    06b45ea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8292b8a View commit details
    Browse the repository at this point in the history
  4. chore: bump minor version

    victorhqc committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    2ffdc54 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eca2596 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Add 'vendored_parsers/tree-sitter-prisma/' from commit 'eca2596a355b1…

    …a9952b4f80f8f9caed300a272b5'
    
    git-subtree-dir: vendored_parsers/tree-sitter-prisma
    git-subtree-mainline: 1fba1c7
    git-subtree-split: eca2596
    ewen-lbh committed May 30, 2024
    Configuration menu
    Copy the full SHA
    5d8a14d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c57b21 View commit details
    Browse the repository at this point in the history