399 Commits

Author SHA1 Message Date
Jason Miller
bfcec40320
Merge branch 'master' into define-option 2019-02-13 14:23:34 -05:00
Jason Miller
3f6ba4c366
Don't inline NODE_ENV by default. 2019-02-13 14:23:11 -05:00
Jason Miller
f39407fa86
Add docs for mangle option
Fixes #296
2019-02-13 14:20:47 -05:00
Jason Miller
58705aa582
Add proper parsing logic 2019-01-30 16:31:37 -05:00
Jason Miller
74fd71b6fc
Add --define option and usage 2019-01-30 16:28:47 -05:00
Jason Miller
b9d853eb50
Add define option
Same as Terser's `--define`
2019-01-30 16:26:26 -05:00
bors[bot]
ee1ed683b3 Merge #301
301: Update rollup-plugin-typescript2 to the latest version 🚀 r=ForsakenHarmony a=greenkeeper[bot]


## The dependency [rollup-plugin-typescript2](https://github.com/ezolenko/rollup-plugin-typescript2) was updated from `0.18.1` to `0.19.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

---

[Find out more about this release](https://github.com/ezolenko/rollup-plugin-typescript2).

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴



Co-authored-by: greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>
2019-01-18 10:56:57 +00:00
greenkeeper[bot]
a4aae10365 fix(package): update rollup-plugin-typescript2 to version 0.19.0 2019-01-16 00:38:18 +00:00
bors[bot]
a073a894fa Merge #266
266: Update rollup-plugin-node-resolve to the latest version 🚀 r=ForsakenHarmony a=greenkeeper[bot]


## The dependency [rollup-plugin-node-resolve](https://github.com/rollup/rollup-plugin-node-resolve) was updated from `3.4.0` to `4.0.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

---

[Find out more about this release](https://github.com/rollup/rollup-plugin-node-resolve).

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴



Co-authored-by: greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>
Co-authored-by: Leah <me@hrmny.sh>
2019-01-11 19:40:37 +00:00
Leah
e99e5f7184
Merge branch 'master' into greenkeeper/rollup-plugin-node-resolve-4.0.0 2019-01-11 00:07:09 +01:00
bors[bot]
ef568b4e2c Merge #291
291: Refactor | Move the code into different functions r=ForsakenHarmony a=MatiasOlivera

Issue #289 

Co-authored-by: Matías Olivera <matiasolivera@outlook.com>
2019-01-10 22:11:51 +00:00
Matías Olivera
1347042e63 Update snapshots 2019-01-10 16:15:24 -03:00
Matías Olivera
45e79ace3e Set package name when not exists
* Before pkgName was equal to undefined
* Allow passing no-pkg and no-pkg-name tests
2019-01-04 01:05:31 -03:00
Matías Olivera
64b08e853b Create getEntries function 2019-01-03 15:26:22 -03:00
Matías Olivera
b3ec030bb7 Create getOutput function 2019-01-03 15:18:40 -03:00
Matías Olivera
617c75acfa Create getInput function 2019-01-03 15:12:16 -03:00
Matías Olivera
3acca423bc Refactor the jsOrTs function
* Calc the extension and save it in a const to make the code simpler
2019-01-03 14:47:28 -03:00
Matías Olivera
1e7c9b3a3d
Merge branch 'master' into feature/index-refactoring 2019-01-02 14:14:25 -03:00
bors[bot]
04685f78bd Merge #287
287: 0.9.0 r=marvinhagemeister a=ForsakenHarmony



Co-authored-by: Leah <me@hrmny.sh>
Co-authored-by: Marvin Hagemeister <marvin@marvinhagemeister.de>
Co-authored-by: Leah <me@hrmny.pw>
2018-12-26 14:59:05 +00:00
Matías Olivera
3fc623a6b6 Move safeVariableName near getName
It is only called in getName
2018-12-25 20:54:51 -03:00
Matías Olivera
b696954a15 Create getName function 2018-12-25 20:46:39 -03:00
Matías Olivera
fd7b890cb8 Create getConfigFromPkgJson function 2018-12-25 20:01:41 -03:00
Leah
eb4e5b33e1 add file content to snapshots 2018-12-25 23:59:22 +01:00
Matías Olivera
e9ee0c934d Create cwd constant and avoid multi assign
Avoid use of chained assignment expressions
https://eslint.org/docs/rules/no-multi-assign
2018-12-25 19:32:42 -03:00
Matías Olivera
49a96e52d7 Create an internal variable called options
Avoid mutate the options parameter. https://eslint.org/docs/rules/no-param-reassign.html
2018-12-25 19:24:56 -03:00
Leah
1d9a5bc56b update snapshot (couldn't figure out the cause) 2018-12-25 23:18:33 +01:00
Marvin Hagemeister
65e418b4b0
Merge branch 'master' into 0.9.0 2018-12-24 14:05:56 +01:00
bors[bot]
fcfd408f94 Merge #280
280: Add a test for mixed exports in ts r=ForsakenHarmony a=ForsakenHarmony

This failed trying to import `index.ts.js` before

Co-authored-by: Leah <me@hrmny.pw>
2018-12-19 00:32:32 +00:00
Leah
e1fbcc7e6b 0.9.0 0.9.0 2018-12-19 00:28:09 +01:00
bors[bot]
bf763f39f8 Merge #274
274: Update babel7 to the latest version 🚀 r=ForsakenHarmony a=greenkeeper[bot]


## There have been updates to the *babel7* monorepo: 

- The `devDependency` [@babel/cli](https://www.npmjs.com/package/@babel/cli) was updated from `7.1.5` to `7.2.0`.
- The `dependency` [@babel/core](https://www.npmjs.com/package/@babel/core) was updated from `7.2.0` to `7.2.2`.
- The `devDependency` [@babel/node](https://www.npmjs.com/package/@babel/node) was updated from `7.2.0` to `7.2.2`.
- The `dependency` [@babel/plugin-proposal-class-properties](https://www.npmjs.com/package/@babel/plugin-proposal-class-properties) was updated from `7.1.0` to `7.2.1`.
- The `dependency` [@babel/plugin-syntax-jsx](https://www.npmjs.com/package/@babel/plugin-syntax-jsx) was updated from `7.0.0` to `7.2.0`.
- The `devDependency` [@babel/preset-env](https://www.npmjs.com/package/@babel/preset-env) was updated from `7.1.6` to `7.2.0`.

These versions are **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

This monorepo update includes releases of one or more dependencies which all belong to the [babel7 group definition](https://github.com/greenkeeperio/monorepo-definitions).

---

[Find out more about this release]().

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴



Co-authored-by: greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>
2018-12-18 23:27:04 +00:00
Leah
e56dce68b7 Add a test for mixed exports in ts (index.ts.js issue before) 2018-12-19 00:23:58 +01:00
bors[bot]
bd77b1200b Merge #265
265: Remove import pruning r=ForsakenHarmony a=marvinhagemeister

Fixes #264 

**EDIT:** PR #262 likely needs to be merged first, as that one fixes the failing CI.

Co-authored-by: Marvin Hagemeister <marvin@marvinhagemeister.de>
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
Co-authored-by: Leah <me@hrmny.sh>
2018-12-18 22:42:53 +00:00
Leah
2dd10e5a1f
Merge branch 'master' into remove_import_pruning 2018-12-18 23:42:21 +01:00
bors[bot]
0013f24e9a Merge #267
267: Exceptions for bors r=ForsakenHarmony a=ForsakenHarmony



Co-authored-by: Leah <me@hrmny.sh>
2018-12-17 21:58:29 +00:00
Jason Miller
69211a3166
Merge pull request #278 from developit/0.8.4
0.8.4
2018-12-17 15:37:54 -05:00
Leah
391800a88c 0.8.4 0.8.4 2018-12-17 20:08:49 +01:00
Leah
eb06e88735 update snapshots to fix tests and add cross-env for windows 2018-12-17 20:05:01 +01:00
greenkeeper[bot]
93df8cf753 chore(package): update @babel/preset-env to version 7.2.0 2018-12-15 11:01:30 +00:00
greenkeeper[bot]
706bea0a62 chore(package): update @babel/plugin-syntax-jsx to version 7.2.0 2018-12-15 11:01:27 +00:00
greenkeeper[bot]
0fbc622825 fix(package): update @babel/plugin-proposal-class-properties to version 7.2.1 2018-12-15 11:01:23 +00:00
greenkeeper[bot]
166889527f chore(package): update @babel/node to version 7.2.2 2018-12-15 11:01:16 +00:00
greenkeeper[bot]
5749b6e14a chore(package): update @babel/core to version 7.2.2 2018-12-15 11:01:12 +00:00
greenkeeper[bot]
391d71929d chore(package): update @babel/cli to version 7.2.0 2018-12-15 11:01:01 +00:00
Marvin Hagemeister
f459dc601e
Merge pull request #271 from FezVrasta/fix/hoisted-packages
fix: support hoisted packages
2018-12-11 16:08:49 +01:00
Federico Zivolo
a474f417dc
Merge branch 'master' into fix/hoisted-packages 2018-12-11 15:31:20 +01:00
Federico Zivolo
058b2b93bd fix: support hoisted packages 2018-12-11 15:30:40 +01:00
Mateusz Burzyński
ea77c156d8
Merge pull request #269 from developit/ts_error
Fix async not transpiled with TS
2018-12-11 11:56:22 +01:00
Marvin Hagemeister
5e9c9ce2da Fix async not transpiled with TS 2018-12-11 09:33:40 +01:00
Leah
79501af4ff
Create bors.toml 2018-12-10 11:58:09 +01:00
Leah
bcefac6210
Exceptions for bors 2018-12-10 09:40:14 +01:00