Commit Graph

7678 Commits

Author SHA1 Message Date
那里好脏不可以
bb2a69c8d0 fix(pnpm/test): add escape characters (#5193)
* fix(pnpm/test): add escape characters

* test: refactor

close #5192

Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-08-13 16:06:29 +03:00
Zoltan Kochan
5e7418db12 refactor: bin/pnpx.cjs
close #5202
2022-08-13 14:08:22 +03:00
Zoltan Kochan
5bc9c96fec refactor: urls to sponsor images 2022-08-13 12:57:45 +03:00
Zoltan Kochan
cbb09fd4af docs: add new silver sponsor 2022-08-13 12:48:32 +03:00
那里好脏不可以
a928773647 fix: typo (#5195) 2022-08-11 14:22:27 +03:00
Zoltan Kochan
850cf0a8ee chore(release): 7.9.1 v7.9.1 2022-08-10 12:41:58 +03:00
Dominic Elm
32915f0e43 feat: extend cafs object (#5186)
* feat: extend cafs object

* fixup: fix test

* fixup: fix name

* fixup: add changeset
2022-08-10 12:05:02 +03:00
Remus Mate
2b2d93028e docs: fix typos much -> match (#5178) 2022-08-09 17:25:24 +03:00
Dominic Elm
23984abd1a feat: add hook for custom fetchers (#5185)
* feat: add hook for custom fetchers

* fixup: simplify fetcher overwrites

* fixup: refactor some types and implement fetcher hooks

* fixup: add changeset
2022-08-09 14:20:40 +03:00
Dominic Elm
7a17f99aba refactor: split package fetcher (#5175) 2022-08-08 21:44:50 +03:00
Zoltan Kochan
8cb47ac9d2 fix(setup): don't use setx 2022-08-08 14:43:04 +03:00
Dominic Elm
5035fdae12 feat: add new hook that runs pre resolution (#5143)
Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-08-08 14:14:16 +03:00
MCMXC
b67d3049b8 refactor: autoremove redundant disabled lint occurrences (#5169)
- add reportUnusedDisableDirectives true to eslint-config
- run 'lint:ts --fix' which autoremoves all redundant disabled lint occurrences
2022-08-06 21:29:44 +03:00
MCMXC
becacb99a9 build: update used versions in github workflow actions (#5168)
- update all actions/* to v3
- update github/codeql-action/* to v2
2022-08-06 21:11:15 +03:00
Zoltan Kochan
c9ce2725c4 chore(release): 7.9.0 v7.9.0 2022-08-06 18:19:52 +03:00
MCMXC
238a165a53 chore: dependencies maintenance (#5167)
* chore: dependencies maintenance

- upgrade node-fetch to latest stable version
- upgrade lru-cache and remove @types/lru-cache stub type definitions
- remove eslint disables in npm-resolver index.ts
- upgrade @types/validate-npm-package-name to v4 to match package major version
- upgrade dependencies in @pnpm/get-release-text

* updated pnpm.overrides section

* include changeset

* - update local.d.ts
- replace deprecated lru-cache maxAge option with ttl

* turn down node-fetch version to 3.0.0-beta.9 again since newer ones are ESM-only

* update changeset
2022-08-06 18:16:07 +03:00
Zoltan Kochan
f5c8710485 chore: add changeset 2022-08-06 17:06:39 +03:00
Zoltan Kochan
fe53c2986e fix(setup): suggest to source the config (#5165) 2022-08-06 15:58:30 +03:00
Zoltan Kochan
4ee3600399 docs: add comment to cafs 2022-08-06 03:06:55 +03:00
Zoltan Kochan
5ce71227d0 fix: don't create a separate bundle for pnpx (#5161) 2022-08-05 12:55:14 +03:00
Dominic Elm
c191ca7bf0 fix: read package manifest when verifyStoreIntegrity is false (#5157)
* fix: read package manifest when verifyStoreIntegrity is false

* fixup: add test

* fixup: resolve manifest even if no package.json was found

* fixup: relocate function to read manifest from store

* fixup: add changeset
2022-08-04 16:52:19 +03:00
Martin Štekl
1e5482da4c fix(lockfile): change sorting of keys in lockfile (#5151)
* fix(lockfile): change sorting of keys in lockfile

Make it more deterministic and prevent unnecessary churn in the lockfile.
It is useful when looking for affected projects after changes to the lockfile.
When the changes happen among various developers using various locale,
the locale specific sorting causes changes in the lockfile for extraneous projects.
Therefore, it could cause running unnecessary CI jobs, builds, releases and other
work that would not be needed otherwise.

* chore: add comment

Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-08-04 03:18:36 +03:00
Zoltan Kochan
f5f0e4348e chore(release): 7.9.0-0 v7.9.0-0 2022-08-03 17:48:37 +03:00
Zoltan Kochan
8103f92bd6 fix: deprecation warnings on Node.js 16 (#5150) 2022-08-03 17:42:00 +03:00
Zoltan Kochan
0321ca32a4 fix: don't print the same deprecation warning multiple times (#5149) 2022-08-03 16:05:07 +03:00
Zoltan Kochan
65c4260dee feat: allow to use a custom package importer (#5141) 2022-08-03 14:49:50 +03:00
Anthony DePasquale
9cebb77d0e fix: change "up-to-date" to "up to date" where necessary (#5148) 2022-08-03 14:07:56 +03:00
Zoltan Kochan
c990a409fe feat: print package versions in peer dependency issues (#5145) 2022-08-02 20:00:26 +03:00
Zoltan Kochan
43cd6aaca3 feat: ignore-dep-scripts (#5142) 2022-08-02 11:40:31 +03:00
MCMXC
39c0401277 chore: upgrade various dependencies (#5138)
* chore: upgrade various dependencies

- upgrade syncpack from v6 to v8
- set syncpack workspace option to false to avoid changing workspace:* to exact version

* - remove deprecated @types/json5
- upgrade eslint-config-standard-with-typescript to v22
- install eslint-plugin-n which is now a required peer dependency
- upgrade eslint-plugin-promise to v6
- bump minimum node version to >=12.22.0 in @pnpm/eslint-config

* sync various @types/* packages to be at the same major version as the dep they provide types for

* fix new reported lint issues

* add changeset

* docs: update changesets

Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-08-02 11:36:06 +03:00
Zoltan Kochan
29a81598ac feat: ignore-compatibility-db (#5140)
close #5132
2022-08-02 01:47:01 +03:00
Zoltan Kochan
761be978b2 chore(release): 7.8.0 v7.8.0 2022-07-31 11:25:05 +03:00
子瞻 Luci
fe2cc46238 chore: fix typo (#5128) 2022-07-31 11:15:02 +03:00
Zoltan Kochan
34121d753f fix: don't crash on a .npmrc with missing env var (#5127)
close #5093
2022-07-31 03:36:02 +03:00
Zoltan Kochan
c907984616 feat: publishConfig.linkDirectory (#5125)
close #5115
2022-07-31 03:28:13 +03:00
Zoltan Kochan
44544b493e fix: don't incorrectly identify a lockfile out-of-date (#5126)
when the package has a publishConfig.directory field

close #5124
2022-07-31 02:36:18 +03:00
Zoltan Kochan
cd40f8353d chore: use the new experimental lockfile format 2022-07-30 13:01:41 +03:00
Zoltan Kochan
1d84a69e45 ci: add name to update-latest action 2022-07-30 12:47:49 +03:00
Zoltan Kochan
99ab1f335c chore(release): 7.7.1 v7.7.1 2022-07-30 12:23:37 +03:00
Zoltan Kochan
c7d65fe7fb fix: don't incorrectly consider a lockfile to be out-of-date (#5121) 2022-07-30 12:22:29 +03:00
Zoltan Kochan
c83f40c106 fix: frozen install in a project with peer deps and auto-install-peers=true (#5120)
close #5080
2022-07-30 03:19:23 +03:00
Zoltan Kochan
a80b98a7b8 chore(release): 7.7.0 v7.7.0 2022-07-29 14:50:38 +03:00
Zoltan Kochan
171b8eee34 chore(deps): update 2022-07-29 13:25:47 +03:00
Zoltan Kochan
99019e0716 feat: setting only-built-dependencies through .npmrc 2022-07-29 13:21:41 +03:00
Zoltan Kochan
cac34ad690 feat: verify-store-integrity (#5112)
* feat: verify-store-integrity

* docs: update changesets
2022-07-29 03:37:16 +03:00
Zoltan Kochan
f774dd1e16 chore(release): 7.7.0-1 v7.7.0-1 2022-07-28 16:42:05 +03:00
Zoltan Kochan
4361aea34c fix: don't include specifiers field in new experimental lockfile format (#5110)
* fix: don't include specifiers field in new experimental lockfile format

* test(lockfile-file): update arguments in normalizeLockfile test

* test: lockfile-file

Co-authored-by: Brandon Cheng <gluxon@users.noreply.github.com>
2022-07-28 15:12:57 +03:00
Zoltan Kochan
8dcfbe3572 fix: relink the project when its publish directory changes (#5109)
* fix: relink the project when its publish directory changes

* test: publish directory
2022-07-28 14:56:20 +03:00
Alex Ware
c7519ad6aa fix: plugin-commands-deploy use path resolve on deploy target dir (#5026)
* fix: plugin-commands-deploy use path resolve on deploy target directory (#4980)

Previously the deploy target directory was specified as a relative path
to the workspace project root. This meant that absolute paths could not be used.
Now this uses the current working directory and allows absolute paths,
this is more in line with users expectations of unix command behaivour.

close #4980

* fix: allow both absolute and relative

* docs: update changesets

Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-07-28 02:04:18 +03:00
Zoltan Kochan
1d1fc087ba chore(release): 7.7.0-0 v7.7.0-0 2022-07-27 12:39:42 +03:00