Skip to content

feat: create new @pnpm/catalogs.protocol-parser package for parsing catalog specifiers#8027

Closed
gluxon wants to merge 2 commits intomainfrom
catalogs-protocol-parser
Closed

feat: create new @pnpm/catalogs.protocol-parser package for parsing catalog specifiers#8027
gluxon wants to merge 2 commits intomainfrom
catalogs-protocol-parser

Conversation

@gluxon
Copy link
Copy Markdown
Member

@gluxon gluxon commented Apr 28, 2024

Changes

Cherry picking the commit that creates a new @pnpm/catalogs.protocol-parser package from a different draft PR #8020 so we can merge the catalogs feature into main more incrementally. This also makes the more complicated draft PR smaller and easier to review.

This package will be unused until #8020 merges.

@gluxon gluxon changed the title feat: create new @pnpm/catalogs.protocol-parser package for parsing catalog specifiers feat: create new @pnpm/catalogs.protocol-parser package for parsing catalog specifiers Apr 28, 2024
@gluxon
Copy link
Copy Markdown
Member Author

gluxon commented Apr 28, 2024

Interesting. This fails tests because TypeScript compilation doesn't run on non-dependencies of pnpm on CI.

"compile-only": "pnpm --workspace-concurrency=1 --filter=pnpm --filter=@pnpm/make-dedicated-lockfile --filter=@pnpm/mount-modules run compile",

@gluxon gluxon closed this Apr 28, 2024
@gluxon gluxon deleted the catalogs-protocol-parser branch April 28, 2024 20:49
gluxon added a commit that referenced this pull request May 23, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
gluxon added a commit that referenced this pull request May 23, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
gluxon added a commit that referenced this pull request May 23, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
gluxon added a commit to gluxon/pnpm that referenced this pull request May 25, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

pnpm#8027 (comment)
gluxon added a commit to gluxon/pnpm that referenced this pull request May 25, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

pnpm#8027 (comment)
gluxon added a commit to gluxon/pnpm that referenced this pull request May 25, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

pnpm#8027 (comment)
gluxon added a commit to gluxon/pnpm that referenced this pull request May 25, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

pnpm#8027 (comment)
gluxon added a commit to gluxon/pnpm that referenced this pull request May 25, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

pnpm#8027 (comment)
gluxon added a commit to gluxon/pnpm that referenced this pull request May 26, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

pnpm#8027 (comment)
gluxon added a commit to gluxon/pnpm that referenced this pull request May 26, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

pnpm#8027 (comment)
zkochan pushed a commit that referenced this pull request Jun 3, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
gluxon added a commit that referenced this pull request Jun 16, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
gluxon added a commit that referenced this pull request Jun 17, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
gluxon added a commit that referenced this pull request Jun 17, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
gluxon added a commit to gluxon/pnpm that referenced this pull request Jun 17, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

pnpm#8027 (comment)
gluxon added a commit to gluxon/pnpm that referenced this pull request Jun 17, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

pnpm#8027 (comment)
zkochan pushed a commit that referenced this pull request Jun 17, 2024
* refactor: remove single default catalog check

This check will happen in  `@pnpm/catalogs.config` instead.

* feat: create new @pnpm/catalogs.config package

* fix: work around CI setup not compiling orphan packages before testing

This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
zkochan pushed a commit that referenced this pull request Jun 17, 2024
* feat: create new @pnpm/catalogs.resolver package

* fix: work around CI setup not compiling orphan packages before testing

This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
gluxon added a commit that referenced this pull request Jun 17, 2024
* refactor: remove single default catalog check

This check will happen in  `@pnpm/catalogs.config` instead.

* feat: create new @pnpm/catalogs.config package

* fix: work around CI setup not compiling orphan packages before testing

This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
gluxon added a commit that referenced this pull request Jun 17, 2024
* feat: create new @pnpm/catalogs.resolver package

* fix: work around CI setup not compiling orphan packages before testing

This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
gluxon added a commit that referenced this pull request Jun 17, 2024
* refactor: remove single default catalog check

This check will happen in  `@pnpm/catalogs.config` instead.

* feat: create new @pnpm/catalogs.config package

* fix: work around CI setup not compiling orphan packages before testing

This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
gluxon added a commit that referenced this pull request Jun 17, 2024
* feat: create new @pnpm/catalogs.resolver package

* fix: work around CI setup not compiling orphan packages before testing

This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
gluxon added a commit that referenced this pull request Jun 27, 2024
This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
gluxon added a commit that referenced this pull request Jun 27, 2024
* refactor: remove single default catalog check

This check will happen in  `@pnpm/catalogs.config` instead.

* feat: create new @pnpm/catalogs.config package

* fix: work around CI setup not compiling orphan packages before testing

This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
gluxon added a commit that referenced this pull request Jun 27, 2024
* feat: create new @pnpm/catalogs.resolver package

* fix: work around CI setup not compiling orphan packages before testing

This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)
zkochan added a commit that referenced this pull request Jun 27, 2024
* feat: create new @pnpm/catalogs.types package (#8026)

* feat: read catalog configs from workspace manifest (#8123)

* refactor: move InvalidWorkspaceManifestError to its own file

* feat: read catalogs config from workspace manifest

* chore: add changeset for new catalog config parsing

* feat: create new `@pnpm/catalogs.protocol-parser` package (#8124)

This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)

* refactor: factor out isWantedDepPrefSame to extend in a future commit (#8125)

* feat: create new `@pnpm/catalogs.config` package (#8220)

* refactor: remove single default catalog check

This check will happen in  `@pnpm/catalogs.config` instead.

* feat: create new @pnpm/catalogs.config package

* fix: work around CI setup not compiling orphan packages before testing

This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)

* feat: create new `@pnpm/catalogs.resolver` package (#8219)

* feat: create new @pnpm/catalogs.resolver package

* fix: work around CI setup not compiling orphan packages before testing

This works around a problem with pnpm's CI setup not compiling
packages that are not dependencies of the main pnpm package before
running these tests.

#8027 (comment)

* feat: implement catalog protocol for publish (#8225)

* feat: implement catalog protocol for install (#8221)

* feat: add catalogs to @pnpm/config

* refactor: factor out resolveDependenciesOfImporterDependency function

* feat: implement catalog resolver and replace prefs

* revert: work around CI setup not compiling orphan packages before testing

* feat: record catalog lookup snapshots through propagated metadata

* feat: update projects when catalogs config changes

* test: add catalog protocol install tests

* refactor: remove filter-packages-from-dir dependency from core tests (#8244)

* refactor: remove filter-packages-from-dir dependency from core tests

* test: refactor

* test: refactor

---------

Co-authored-by: Zoltan Kochan <[email protected]>

---------

Co-authored-by: Zoltan Kochan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant