From 54a2aee798cbd9eeae8454d580a5227ba00d4d39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20S=C4=99dzik?= Date: Tue, 28 Nov 2023 22:35:06 +0100 Subject: [PATCH 1/2] chore(library-angular-components): mark package as private --- examples/library-angular-components/README.md | 4 ++-- .../projects/library-angular-components/package.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/library-angular-components/README.md b/examples/library-angular-components/README.md index 2dd9c77..6f6ff65 100644 --- a/examples/library-angular-components/README.md +++ b/examples/library-angular-components/README.md @@ -22,7 +22,7 @@ npm i @web-component-wrapper/core @web-component-wrapper/angular -D npm i my-web-components-library ``` -👀 [package.json](https://github.com/SebastianSedzik/web-component-wrapper/blob/master/examples/library-angular-components/projects/library-angular-components/package.json#L15-L20) +👀 [package.json](https://github.com/SebastianSedzik/web-component-wrapper/blob/master/examples/library-angular-components/projects/library-angular-components/package.json#L16-L21) #### Step 2: Configure the web-component-wrapper Create file where you will specify the source of your web-components library and the destination where the generated wrappers will be stored. Consider adding the folder containing the generated wrappers to your .gitignore file. @@ -32,7 +32,7 @@ Create file where you will specify the source of your web-components library and #### Step 3: Generate Angular Wrapper Components (e.g., Using a Prebuild Hook) Incorporate the generation of Angular wrappers into your build process. For instance, run the generation script before running Angular package build: -👀 [package.json](https://github.com/SebastianSedzik/web-component-wrapper/blob/master/examples/library-angular-components/projects/library-angular-components/package.json#L11) +👀 [package.json](https://github.com/SebastianSedzik/web-component-wrapper/blob/master/examples/library-angular-components/projects/library-angular-components/package.json#L12) #### Step 4: Include the Generated Components Module in the Library's Public API Export Export the module containing the generated components from the public API file of your library. diff --git a/examples/library-angular-components/projects/library-angular-components/package.json b/examples/library-angular-components/projects/library-angular-components/package.json index 4f7681a..68f1a2f 100644 --- a/examples/library-angular-components/projects/library-angular-components/package.json +++ b/examples/library-angular-components/projects/library-angular-components/package.json @@ -1,6 +1,7 @@ { "name": "library-angular-components", "version": "0.0.1", + "private": true, "peerDependencies": { "@angular/common": "^15.2.0", "@angular/core": "^15.2.0" From 8fbfbc50d5834b348f7c67ae2f8cc7c6f9bdb788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20S=C4=99dzik?= Date: Wed, 29 Nov 2023 16:34:04 +0100 Subject: [PATCH 2/2] chore: ignore private packages in changesets --- .changeset/config.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.changeset/config.json b/.changeset/config.json index afdee4b..e90c12a 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -7,5 +7,9 @@ "access": "public", "baseBranch": "origin/master", "updateInternalDependencies": "patch", - "ignore": ["library-components", "example-angular-workspace", "library-angular-components"] + "ignore": [ + "example-angular-workspace", + "library-components", + "library-angular-components" + ] }