Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dsherret/ts-morph
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 22.0.0
Choose a base ref
...
head repository: dsherret/ts-morph
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 23.0.0
Choose a head ref
  • 5 commits
  • 61 files changed
  • 1 contributor

Commits on Jun 22, 2024

  1. refactor: publish deno build to jsr (#1544)

    dsherret authored Jun 22, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    2bee533 View commit details
  2. feat: TypeScript 5.5 (#1545)

    BREAKING CHANGE: Upgraded to TypeScript 5.5
    dsherret authored Jun 22, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    868755d View commit details

Commits on Jun 23, 2024

  1. feat: Type.prototype.isBigInt and isBigIntLiteral (#1546)

    dsherret authored Jun 23, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b3d01c8 View commit details
  2. fix: handle removeDefaultImport with type only import (#1547)

    dsherret authored Jun 23, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    1cf6a6b View commit details
  3. 23.0.0 (#1548)

    dsherret authored Jun 23, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5e208c5 View commit details
Showing with 1,707 additions and 241,815 deletions.
  1. +0 −7 .gitattributes
  2. +21 −6 .github/workflows/ci.yml
  3. +26 −0 .github/workflows/publish.yml
  4. +2 −0 .gitignore
  5. +0 −12 deno/basic_test.ts
  6. +0 −9 deno/bootstrap/basic_test.ts
  7. +0 −2 deno/bootstrap/mod.ts
  8. +0 −397 deno/bootstrap/ts_morph_bootstrap.d.ts
  9. +0 −402 deno/bootstrap/ts_morph_bootstrap.js
  10. +0 −197 deno/common/DenoRuntime.ts
  11. +0 −2 deno/common/mod.ts
  12. +0 −1,068 deno/common/ts_morph_common.d.ts
  13. +0 −2,845 deno/common/ts_morph_common.js
  14. +0 −11,712 deno/common/typescript.d.ts
  15. +0 −190,812 deno/common/typescript.js
  16. +0 −2 deno/mod.ts
  17. +0 −17 deno/readme.md
  18. +0 −11,139 deno/ts_morph.d.ts
  19. +0 −20,859 deno/ts_morph.js
  20. +3 −3 docs/index.md
  21. +3 −3 dprint.json
  22. +361 −739 package-lock.json
  23. +2 −2 package.json
  24. +12 −12 packages/bootstrap/package.json
  25. +45 −13 packages/bootstrap/scripts/buildDeno.ts
  26. +18 −3 packages/common/lib/ts-morph-common.d.ts
  27. +875 −1,347 packages/common/lib/typescript.d.ts
  28. +11 −11 packages/common/package.json
  29. +5 −3 packages/common/scripts/buildDeclarations.ts
  30. +20 −2 packages/common/scripts/buildDeno.ts
  31. +2 −1 packages/common/scripts/bundleLocalTs.ts
  32. +56 −26 packages/common/src/data/libFiles.ts
  33. +3 −3 packages/common/src/runtimes/DenoRuntime.ts
  34. +2 −3 packages/scripts/utils/Memoize.ts
  35. +17 −0 packages/ts-morph/CHANGELOG.md
  36. +1 −1 packages/ts-morph/breaking-changes.md
  37. +7 −1 packages/ts-morph/lib/ts-morph.d.ts
  38. +12 −12 packages/ts-morph/package.json
  39. +1 −1 packages/ts-morph/readme.md
  40. +81 −23 packages/ts-morph/scripts/buildDeno.ts
  41. +1 −1 packages/ts-morph/scripts/readme.md
  42. +9 −11 packages/ts-morph/src/compiler/ast/common/Node.ts
  43. +17 −6 packages/ts-morph/src/compiler/ast/module/ImportDeclaration.ts
  44. +19 −14 packages/ts-morph/src/compiler/ast/utils/ExtendedParser.ts
  45. +0 −6 packages/ts-morph/src/compiler/ast/utils/hasParsedTokens.ts
  46. +0 −1 packages/ts-morph/src/compiler/ast/utils/index.ts
  47. +1 −1 packages/ts-morph/src/compiler/tools/LanguageService.ts
  48. +6 −0 packages/ts-morph/src/compiler/tools/results/EmitOutput.ts
  49. +14 −0 packages/ts-morph/src/compiler/types/Type.ts
  50. +1 −1 packages/ts-morph/src/manipulation/nodeHandlers/ChangeChildOrderParentHandler.ts
  51. +4 −4 packages/ts-morph/src/manipulation/nodeHandlers/NodeHandlerHelper.ts
  52. +1 −1 packages/ts-morph/src/manipulation/readme.md
  53. +1 −1 packages/ts-morph/src/next-major-deprecations.md
  54. +1 −1 packages/ts-morph/src/tests/compiler/ast/base/ambientableNodeTests.ts
  55. +1 −1 packages/ts-morph/src/tests/compiler/ast/class/classDeclarationTests.ts
  56. +3 −23 packages/ts-morph/src/tests/compiler/ast/common/nodeTests.ts
  57. +8 −0 packages/ts-morph/src/tests/compiler/ast/module/importDeclarationTests.ts
  58. +0 −10 packages/ts-morph/src/tests/compiler/tools/languageServiceTests.ts
  59. +30 −0 packages/ts-morph/src/tests/compiler/type/typeTests.ts
  60. +2 −34 packages/ts-morph/src/tests/fileSystem/directoryTests.ts
  61. +2 −2 packages/ts-morph/src/utils/compiler/getParentSyntaxList.ts
7 changes: 0 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -9,10 +9,3 @@

*.jpg binary
*.png binary

# exclude deno.land build files from GitHub language stats
deno/* linguist-vendored
deno/ts_morph.js linguist-vendored
deno/common/ts_morph_common.js linguist-vendored
deno/common/typescript.js linguist-vendored
deno/bootstrap/ts_morph_bootstrap.js linguist-vendored
27 changes: 21 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -10,14 +10,13 @@ on:

jobs:
build:
name: test ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
check-latest: true
- name: Build
run: |
@@ -30,8 +29,24 @@ jobs:
run: |
npm run --workspaces --if-present test:ci
npm run --workspaces --if-present test:ts-versions
- name: Deno Test
run: deno test --allow-read deno
- name: Code Verification
run: |
npm run --workspaces --if-present code-verification
jsr:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- uses: actions/setup-node@v4
with:
node-version: '20'
check-latest: true
- run: npm ci
- name: Build
run: npm run build:deno
- name: Test
run: cd deno && deno test --allow-read
- name: Publish
run: cd deno && deno publish --dry-run
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish
on:
push:
branches:
- latest

jobs:
publish:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- uses: actions/setup-node@v4
with:
node-version: '20'
check-latest: true
- run: npm ci
- name: Build
run: npm run build:deno
- name: Publish
run: cd deno && deno publish
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/docs/Gemfile.lock
/docs/_site
/deno
deno.lock
packages/*/node_modules
packages/*/temp
packages/*/dist-cg
12 changes: 0 additions & 12 deletions deno/basic_test.ts

This file was deleted.

9 changes: 0 additions & 9 deletions deno/bootstrap/basic_test.ts

This file was deleted.

2 changes: 0 additions & 2 deletions deno/bootstrap/mod.ts

This file was deleted.

Loading