464 Commits

Author SHA1 Message Date
ezolenko
0df5362d39 - updating dependencies 2022-04-21 11:37:40 -06:00
ezolenko
f84afe983b - updating dependencies 2022-04-21 11:30:01 -06:00
Anton Gilgur
bfd27a9180
fix(github): improve formatting of issue template spoilers (#311)
- I originally made the spoilers and while they work (and I would say
  improve readability a good bit), there's also some issues with them
  - I've used them a ton more now so know how to workaround most
    of the issues with them now

- fix: use HTML `code` tag inside of `summary` tag, can't use backticks
  - was mixing MD and HTML before, and this doesn't always work and
    didn't work on GitHub, they just had backticks

- fix: don't duplicate the file name in the heading, just make the
  `summary` have a heading inside it instead
  - use an `h4` same as the `####` that it was before

- feat: add syntax highlighting by adding code blocks for each code
  snippet
  - js for rollup.config.js, json5 for tsconfig (it has comments,
    trailing commas, etc (actually a custom parser, but json5 is close
    enough)), json for package.json, and text for verbose logs
  - also, a lot of people sometimes just paste the code with no code
    block and it formats terribly, so this should help defer that
    (as well as any potential issues that can crop up with unindented
    blocks)
    - the `envinfo` text code block seems to be working well, so
      hopefully this will improve issues too
2022-04-21 11:09:10 -06:00
ezolenko
ff8895103c - prefix on errors #300 2022-03-04 22:37:24 -07:00
Eugene Zolenko
4e9f8fff08
- cleaning up badges 2022-02-01 16:54:38 -07:00
ezolenko
cffc4dae29 - build 0.31.2 2022-02-01 16:50:48 -07:00
Mateusz Burzyński
66449177ee
Add trace method to the LanguageServiceHost to enable usage with traceResolution (#296) 2022-02-01 16:49:04 -07:00
ezolenko
e82277d37d - build with updated dependencies 2021-12-14 12:43:23 -07:00
bluelovers
1008a43abf
chore: should not lock deps version (#293) 2021-12-14 12:40:29 -07:00
ezolenko
21f67e9540 - updating tslib version in dependencies 2021-12-09 10:14:14 -07:00
ezolenko
a9e617a4b0 - package version 2021-11-23 10:23:37 -07:00
ezolenko
b9c2529099 - package version to 31.1 0.31.1 2021-11-23 10:19:10 -07:00
ezolenko
ef4725b5c8 - updating object-hash to 2.2.0 #291 2021-11-23 10:17:44 -07:00
ezolenko
86296a7e7d - package version 2021-11-16 17:49:58 -07:00
ezolenko
c4bfe211eb - removing rollup watch dependency and running npm audit fix 0.31.0 2021-11-16 17:34:59 -07:00
ezolenko
0658aa0ee8 Merge branch 'bluelovers-pr/node-v17-tslib-002' 2021-11-16 17:32:51 -07:00
ezolenko
215173f179 - rebuild 2021-11-16 17:32:28 -07:00
bluelovers
26c927e688 build(dist): build file 2021-11-04 02:29:24 +08:00
bluelovers
34005979e9 fix(tslib): https://github.com/ezolenko/rollup-plugin-typescript2/issues/286 2021-11-04 02:10:43 +08:00
ezolenko
b76ff690be - updating dependencies 2021-05-19 13:28:15 -06:00
dependabot[bot]
37668fec8b
Bump lodash from 4.17.20 to 4.17.21 (#269)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-19 13:16:13 -06:00
Eugene Zolenko
d8c4cccb33
Update README.md 2021-02-19 10:14:10 -07:00
ezolenko
8fd8595c0f - self-build to 0.30.0 2021-02-18 09:38:03 -07:00
ezolenko
b6b3738163 - package version 2021-02-18 09:36:03 -07:00
ezolenko
c6f6e52933 - updating dependencies, version to 0.30.0 0.30.0 2021-02-18 09:30:07 -07:00
Eugene Zolenko
8ec49c78f5
Update README.md
#252
2021-01-20 13:31:10 -07:00
ezolenko
eb1dd17bab - allowing ES2020 module type in tsconfig 2020-12-17 16:34:21 -07:00
ezolenko
bd2e04317b - updating dependencies 2020-12-17 16:24:08 -07:00
Brandon Chinn
91846974dc
Add tslib to installation instructions (#253)
* Add tslib to installation instructions for yarn
2020-11-25 12:56:30 -07:00
ezolenko
8d0d49c063 - build 2020-11-20 13:13:57 -07:00
Tony Ross
6fb0e75f53
Fix duplicate output with multiple entry points (#251)
On Windows the normalized paths in resolveId end up in POSIX format.
This cause rollup to treat the returned path as a new piece of content.
This in turn results in duplicate output for references across entry points.

Fixed by normalizing the path to use host OS separators before returning.
2020-11-20 13:11:55 -07:00
ezolenko
5ce7676ad0 - package version 2020-10-30 13:05:08 -06:00
ezolenko
5ab0e788e1 - package version 0.29.0 2020-10-30 13:01:58 -06:00
ezolenko
4cdb7080b8 - build 2020-10-29 09:43:39 -06:00
Nicolas THIERION
e9af09fe0f
fix: use compilerOptions.rootDir to filter files (#249)
When compilerOptions.rootDir is specified, it is used instead of process.cwd() to filter files. 

Possible fix for #237
2020-10-29 09:41:12 -06:00
ezolenko
35b04d73ab - package version 2020-10-16 14:05:05 -06:00
Anton Gilgur
4d2e7fd8d4
github: add spoiler tags to issue template (#244)
- long logs of output or long configs are hard on the eyes and make it
  difficult to read through issues as they just take up so much space
  - so it would be better, in my opinion, to hide them by default with
    spoiler tags, which can be opened up when further investigation is
    warranted

- some issue authors have already used this pattern, this just brings
  it to the template itself so everyone (hopefully) starts using it
0.28.0
2020-10-15 09:14:45 -06:00
Anton Gilgur
fadafeffb4
github: use envinfo for getting versions in issue reports (#245)
- replace the version list with a copy+paste this envinfo command,
  copy back the output
  - uses a modified, shortened variant of something being used
    successfully downstream in TSDX: 349f299976
- this should make reporting versions zero-effort and thereby
  significantly decrease non-reporting by making the hard thing easy
  - personally have experienced issues that didn't report but version
    was very relevant to the issue
  - also some folks report "latest" or used carets, which lack posterity
    or are confusing
2020-10-15 09:13:55 -06:00
ezolenko
fc2274d2ea - package version
- syntax
2020-10-02 10:49:00 -06:00
ezolenko
e2fdee4904 Merge branch 'agilgur5-fix-declaration-map-sources_2' 2020-10-02 09:27:10 -06:00
ezolenko
5f02a91820 - fix for windows path and build 2020-10-02 09:26:52 -06:00
ezolenko
ee33209beb Merge branch 'fix-declaration-map-sources' of https://github.com/agilgur5/rollup-plugin-typescript2 into agilgur5-fix-declaration-map-sources_2 2020-10-02 09:26:24 -06:00
Anton Gilgur
ec0568ba2c (fix): declaration maps should have correct sources
- previously, declarationDir was set to cwd if useTsconfigDeclarationDir
  wasn't true, however, declarations aren't output to cwd, but to
  Rollup's output destination, so this was incorrect
  - instead, don't set declarationDir, which defaults it to outDir,
    which is currently set to a placeholder
    - previously, it rewrote declarations to output to Rollup's dest
      from cwd, now rewrite from outDir placeholder instead
  - and add a rewrite of sources to match relative path from Rollup's
    output dest instead of outDir placeholder

- also change the one line in the docs that says it'll be
  `process.cwd()`; every other reference says it'll be the output dest
2020-09-30 19:46:37 -04:00
ezolenko
2f51110a8c - package version 2020-09-25 14:03:34 -06:00
ezolenko
2cace3fd80 - updating dependencies 0.27.3 2020-09-25 13:43:38 -06:00
Javier Gonzalez
c183d33023
stop roll() from failing if the new cache folder is not created (#243)
* stop roll() from failing if the new cache has no files

Today I stumbled upon an error where it would fail when the cache folder was not present
```(typescript) Error: ENOENT: no such file or directory, rename 'REDACTED\node_modules\.cache\rollup-plugin-typescript2/rpt2_759e2fd8d3f20c1a0805faf5404af6bea36632fd/code/cache_' -> 'REDACTED\node_modules\.cache\rollup-plugin-typescript2/rpt2_759e2fd8d3f20c1a0805faf5404af6bea36632fd/code/cache'```

This PR fixes it by checking its existence before trying to rename it

* use existsSync instead of fs.existsSync

* use renameSync instead of fs.renameSync
2020-09-25 13:00:03 -06:00
ezolenko
dcf59ac488 - package version 2020-08-07 12:23:51 -06:00
ezolenko
76274d421b - updating dependencies 0.27.2 2020-08-07 12:04:35 -06:00
dependabot[bot]
b33126ba66
Bump lodash from 4.17.15 to 4.17.19 (#233)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-07 11:28:04 -06:00
ezolenko
428140bd22 - package version 0.27.1 2020-05-12 13:13:08 -06:00