Skip to content

Commit

Permalink
fix: made e2e-stencil package private to avoid publishing (#1632)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Nov 8, 2024
1 parent a5bdbb3 commit b1386ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ PS: don't worry about failing imports in the raw test TSX files. These are not a
- run `yarn ci:build` to build all packages
- run `yarn ci:e2e` to run the integration tests against all servers

#### Create new e2e project for another target

If you want to create a new project inside ``e2e``. You should name the folder `e2e-XXX` where `XXX` should be replaced with the target.
Make sure that you change the ``name`` inside `package.json` of this project to `@builder.io/e2e-XXX`. Additionally, you need to add `private: true` to `package.json` to avoid publishing the project.

### Test your changes

From there, you can keep iterating until the snapshots look as expected, and the integration tests pass!
Expand Down
3 changes: 2 additions & 1 deletion e2e/e2e-stencil/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@
"@types/node": "^16.18.11",
"rimraf": "^3.0.2"
},
"license": "MIT"
"license": "MIT",
"private": true
}

0 comments on commit b1386ef

Please sign in to comment.