Skip to content

Commit

Permalink
CI .npmrc temporary CI setting (#25)
Browse files Browse the repository at this point in the history
* chore(version control): init commit for opening a wip pr

* refactor(.github): moved web-sdk's github actions to root level

all actions now use pnpm instead of yarn, ci now includes a build step.

* ci(.npmrc): added auto-install-peers = true

prevents pnpm install erroring in CI, could potentially be used inline in CI only

* fix(.npmrc): making sure .npmrc is versioned and its rules apply

* refactor(changesets): moved the dependencies and the required scripts to root for changesets

* ci(wip peer deps fix): trying to fix CI only issue of peer deps

* fix(peer deps for ci): temporarly added strict-peer-dependencies=false to avoid breaking changes

fails CI without the .npmrc flag

* revert(nx affected): temporarily reverting to run-all until affected is setup for ci

currently breaks due to origin and head, requires special config.
  • Loading branch information
Omri-Levy committed Oct 27, 2022
1 parent 464395c commit 7506870
Show file tree
Hide file tree
Showing 4 changed files with 221 additions and 221 deletions.
5 changes: 5 additions & 0 deletions .changeset/great-seahorses-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'web-sdk': patch
---

moved changesets to root of monorepo
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
auto-install-peers=true
strict-peer-dependencies=false
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"version": "0.1.0",
"main": "index.js",
"scripts": {
"format": "nx affected --target=format",
"lint": "nx affected --target=lint",
"lint:fix": "nx affected --target=lint:fix",
"test": "nx affected --target=test",
"test:e2e": "nx affected --target=test:e2e",
"format": "nx run-many --target=format",
"lint": "nx run-many --target=lint",
"lint:fix": "nx run-many --target=lint:fix",
"test": "nx run-many --target=test",
"test:e2e": "nx run-many --target=test:e2e",
"dev": "nx run-many --target=dev --projects=web-sdk",
"start": "nx run-many --target=start --projects=web-sdk",
"build": "nx affected --target=build",
"build": "nx run-many --target=build",
"web-sdk:dev": "nx run web-sdk:dev",
"web-sdk:start": "nx run web-sdk:start",
"web-sdk:build": "nx run web-sdk:build",
Expand Down

0 comments on commit 7506870

Please sign in to comment.