Skip to content

Commit

Permalink
Re-define DRM types (#443)
Browse files Browse the repository at this point in the history
* check types when build SDK

* updated lerna to 8

* removed @lerna/publish

* fixed type issue

* removed --bail option for lerna

* Does this config work

* Use correct nx version

* Update package.json

Co-authored-by: Vincent Song <[email protected]>

* Force the pipeilne to fail

* Bring back working state

* Set correct version of nx

* Update some libs to ensure things work

* Check if this works

---------

Co-authored-by: wenfeng song <[email protected]>
  • Loading branch information
dubeyShivank and vincentsong authored Sep 24, 2024
1 parent 83b194e commit f08ae97
Show file tree
Hide file tree
Showing 13 changed files with 11,067 additions and 38,890 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ permissions:

jobs:
build:
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'rc')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -37,6 +38,7 @@ jobs:
folder: packages/millicast-sdk/docs

publish-npm:
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'rc')
needs: build
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ puppeteerrc.cjs
test-environment.js
**/.DS_Store
**/src/TransformWorker.worker.js
vite.config.*.timestamp-*
vite.config.*.timestamp-*
.nx/
9 changes: 7 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{
"packages": [
"packages/*"
"@millicast/sdk",
"millicast-chromecast-receiver",
"millicast-multiview-demo",
"millicast-publisher-demo",
"millicast-viewer-demo",
"millicast-webaudio-delay-demo"
],
"useWorkspaces": true,
"npmClient": "npm",
"useNx": true,
"version": "0.1.40"
}
85 changes: 85 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build",
"test",
"lint",
"lint:format",
"prepare",
"build-docs",
"test-unit",
"test-unit-coverage",
"test-e2e",
"test-all"
]
}
}
},
"targetDefaults": {
"test": {
"dependsOn": [
"^test"
],
"inputs": [
"{projectRoot}/**/*",
"!{projectRoot}/**/*.md"
],
"cache": true
},
"prepare": {
"dependsOn": [
"^prepare"
],
"cache": true
},
"preview": {
"dependsOn": [
"^preview"
]
},
"build:watch": {
"dependsOn": [
"^build:watch"
]
},
"build": {
"outputs": [
"{projectRoot}//**/dist/*"
],
"cache": true,
"dependsOn": []
},
"start": {
"dependsOn": []
},
"build-docs": {
"cache": true,
"dependsOn": []
},
"start-docs": {
"dependsOn": []
},
"test-unit": {
"cache": true,
"dependsOn": []
},
"test-unit-coverage": {
"cache": true,
"dependsOn": []
},
"test-e2e": {
"cache": true,
"dependsOn": []
},
"test-all": {
"cache": true,
"dependsOn": []
}
},
"affected": {
"defaultBase": "main"
}
}
Loading

0 comments on commit f08ae97

Please sign in to comment.