Commit Graph

57 Commits

Author SHA1 Message Date
Sascha Tandel
8fa11f5139 feat(publishConfig): add additional well-known fields
Overriding some fields in the manifest, before the package is packed is a great
feature. [Package Bundlers](https://github.com/stereobooster/package.json#package-bundlers)
support several additional fields.

This commit adds some of those well-known additional fields:

- [`browser`](https://github.com/stereobooster/package.json#browser)
- [`esnext`](https://github.com/stereobooster/package.json#esnext)
- [`es2015`](https://github.com/stereobooster/package.json#es2015)
- [`unpkg`](https://github.com/stereobooster/package.json#unpkg)
- `umd:main`: used by [microbundle](https://github.com/developit/microbundle)
- `exports`: Node.js [Package Exports](https://nodejs.org/api/esm.html#esm_package_exports)

Additionally the `bin` field may be overridden.

PR #2126
2019-11-05 19:14:25 +02:00
Zoltan Kochan
42ed72187c chore(release): types, read-package-json and 2 more packages
@pnpm/types v4.0.0
@pnpm/read-package-json v3.0.0
@pnpm/write-importer-manifest v4.0.0
@pnpm/read-importer-manifest v2.0.0
2019-10-06 15:11:30 +03:00
Zoltan Kochan
cc85a7f3f1 refactor: remove PnpmOptions from @pnpm/types 2019-10-06 14:45:16 +03:00
Zoltan Kochan
05c22a0413 refactor: packageJson=>manifest 2019-10-06 01:03:17 +03:00
Zoltan Kochan
889f71481e feat: drop Node.js 8 support
BREAKING CHANGE:

at least Node.js 10 is  required for pnpm to run

PR #2044
2019-10-05 20:47:04 +03:00
Zoltan Kochan
fc0fe15938 refactor: rawNpmConfig=>rawConfig 2019-10-04 01:29:26 +03:00
Zoltan Kochan
ee15125466 feat: use cross-platform solution to clone packages
New config value for package-importe-method: clone

close #1505
PR #2043

BREAKING CHANGE:

reflink is not supported by package-import-method

BREAKING CHANGE:

by default, try to clone packages instead of hard linking
2019-10-03 01:39:48 +03:00
Zoltan Kochan
a3677372ed refactor: rename configs to config
BREAKING CHANGE:

@pnpm/config exports config instead of configs
2019-09-28 22:41:16 +03:00
Zoltan Kochan
75457e7b6f feat: better typings 2019-08-21 18:10:40 +03:00
Zoltan Kochan
8303c1298f chore(deps): update rimraf to v3 2019-08-15 22:27:57 +03:00
Zoltan Kochan
a7c4a27697 feat: pnpm should fail if the project needs another version
pnpm should fail if the project has an engines.pnpm field in its
package.json and the running pnpm's version does not satisfy the
range.

pnpm should also fail it the project has an engines.node field
and process.version does not satisfy it.

close #1382
PR #1914
2019-07-14 02:36:04 +03:00
Zoltan Kochan
4246d130a2 chore(deps): install ts-node, tslint, typescript as root deps 2019-06-12 02:50:44 +03:00
Renovate Bot
9b55505939 chore(deps): update dependency typescript to v3.5.1 2019-06-06 22:37:40 +03:00
Zoltan Kochan
9e8ba4eb26 chore(deps): update tape, ts-node, tslint 2019-05-31 03:00:03 +03:00
Zoltan Kochan
b8baa9f6e3 refactor: move some of the dev deps to the root package 2019-05-19 22:07:38 +03:00
Zoltan Kochan
995390eee7 feat: allow typings, types, main and module in publishConfig
PR #1837
close #1836
2019-05-19 00:26:41 +03:00
Zoltan Kochan
c7a5ad2e70 refactor: move all local types to one place 2019-05-18 01:38:42 +03:00
ExE Boss
c07950e66a refactor: Use package for shared tsconfig.json 2019-05-13 15:00:23 +03:00
Zoltan Kochan
d318b4d6e0 docs: update install sections
and remove broken links to LICENSE files
2019-05-07 02:10:06 +03:00
Zoltan Kochan
1f774d8b01 chore: remove markdown tests 2019-05-07 02:02:43 +03:00
Zoltan Kochan
f1dc8d3f18 docs: remove LICENSE duplicates from workspace packages 2019-05-07 01:39:58 +03:00
Zoltan Kochan
ff3eae05b3 chore: use pnpm run instead of npm run in all scripts 2019-05-05 11:49:57 +03:00
Zoltan Kochan
6ec0c403a8 chore(release): 3.2.0-1 2019-04-24 23:26:12 +03:00
Zoltan Kochan
e2f1c6b5bc chore(deps): update typescript/ts-node/husky 2019-04-24 22:49:05 +03:00
Zoltan Kochan
c810e9aec9 feat: optional peer dependencies
close #1486
2019-04-24 22:32:47 +03:00
Zoltan Kochan
7e48fa6181 chore(release): 3.2.0-0 2019-04-21 11:41:58 +03:00
Zoltan Kochan
1b82689c7c feat: pnpm update --latest
PR #1786
close #1307
2019-04-20 13:06:56 -07:00
Zoltan Kochan
4612a42a5b refactor: don't read/write package.json inside supi
PR #1776

BREAKING CHANGE:

`supi`, `@pnpm/headless`, `@pnpm/resolve-dependencies`, `@pnpm/lifecycle`
2019-04-20 03:38:44 -07:00
Renovate Bot
ac87a2aac6 chore(deps): update dependency tslint to v5.16.0 2019-04-19 08:24:21 -07:00
Renovate Bot
254639834d chore(deps): update dependency typescript to v3.4.4 2019-04-19 06:28:57 -07:00
ExE Boss
c236c09515 refactor: use shared tsconfig.json
PR #1774
2019-04-14 02:14:37 +03:00
Zoltan Kochan
22f4ac9aa3 chore(deps): update typescript to v3.4.3 2019-04-11 22:30:00 +03:00
Renovate Bot
87209d3239 chore(deps): update dependency typescript to v3.4.2 2019-04-07 11:47:11 +03:00
Zoltan Kochan
b36ee22370 chore(deps): update tslint to v5.15.0 2019-04-04 00:14:43 +03:00
Renovate Bot
083b4a5000 chore(deps): update dependency typescript to v3.4.1 2019-03-30 14:31:32 +02:00
Renovate Bot
d1d6243ac5 chore(deps): update dependency typescript to v3.3.4000 2019-03-23 15:19:43 +02:00
Renovate Bot
e512a5662c chore(deps): update dependency tslint to v5.14.0 2019-03-15 23:45:57 +02:00
Zoltan Kochan
dc1a40497c chore(release): @pnpm/types@3.0.0 2019-03-08 21:41:09 +02:00
Zoltan Kochan
336782adf0 feat: unsafePerm is a required param of StrictPnpmOptions 2019-03-07 21:04:22 +02:00
Zoltan Kochan
cf74386b06 feat: rename options that contain word shrinkwrap 2019-03-06 23:26:38 +02:00
Zoltan Kochan
befec71cc0 fix: update deps 2019-03-02 11:44:54 +02:00
Zoltan Kochan
b222591990 fix(deps): update 2019-02-25 00:10:37 +02:00
Zoltan Kochan
2448b7fdd8 fix(deps): update 2019-02-20 20:56:38 -08:00
Zoltan Kochan
c89f5b4f5f fix: update deps 2019-02-02 22:15:23 +02:00
Zoltan Kochan
4a15b725e3 feat: drop Node.js 6 support
BREAKING CHANGE: Node.js>=8 is supported

ref #1173
2019-01-26 22:29:34 +02:00
Zoltan Kochan
6ca83a8826 chore(deps): update typescript to v3.2.4 2019-01-18 01:49:21 +02:00
Renovate Bot
9733de2526 chore(deps): update dependency tslint to v5.12.1
close #1604
2019-01-14 02:28:24 +02:00
Zoltan Kochan
bcc7987aad fix: update deps 2019-01-03 19:51:17 +02:00
Zoltan Kochan
6f4c18b5f3 docs(license): update years 2018-12-31 19:26:36 +02:00
Zoltan Kochan
79688d2a7d chore: update dependencies 2018-12-21 01:00:08 +02:00