Skip to content

Commit

Permalink
build(project): update Nx to 20.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpoemp committed Nov 7, 2024
1 parent 46338f0 commit 3143410
Show file tree
Hide file tree
Showing 11 changed files with 319 additions and 381 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ deploy
.nx/workspace-data
/deploy.sh
/typedocs

vite.config.*.timestamp*
10 changes: 5 additions & 5 deletions apps/web-components-demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<head>
<meta charset="UTF-8">
<title>Web Components DEMO</title>
<script type="application/javascript" src="../../extern/libs/utilities/index.umd.js"></script>
<script type="application/javascript" src="../../extern/libs/media/index.umd.js"></script>
<script type="application/javascript" src="../../extern/libs/web-media/index.umd.js"></script>
<script type="application/javascript" src="../../extern/libs/annotation/index.umd.js"></script>
<script type="application/javascript" src="../../extern/libs/web-components/web-components.js"></script>
<script type="application/javascript" src="../../dist/libs/utilities/index.umd.js"></script>
<script type="application/javascript" src="../../dist/libs/media/index.umd.js"></script>
<script type="application/javascript" src="../../dist/libs/web-media/index.umd.js"></script>
<script type="application/javascript" src="../../dist/libs/annotation/index.umd.js"></script>
<script type="application/javascript" src="../../dist/libs/web-components/web-components.js"></script>
</head>
<body>
<h2>Audioplayer</h2>
Expand Down
4 changes: 2 additions & 2 deletions apps/web-components-demo/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ async function main() {

// read arraybuffer
const arrayBuffer = await OctraWebMedia.readFileContents(file, "arraybuffer");
OctraWebMedia.AudioManager.decodeAudio(file.name, file.type, arrayBuffer, [new OctraWebMedia.WavFormat()]).subscribe({
OctraWebMedia.AudioManager.create(file.name, file.type, arrayBuffer, [new OctraWebMedia.WavFormat()]).subscribe({
next: (status) => {
console.log(status)

if (status.decodeProgress === 1) {
if (status.progress === 1) {
// audio was decoded, init audioplayer and audioviewer
initAudioPlayer(status.audioManager);
initAudioViewer(status.audioManager);
Expand Down
2 changes: 1 addition & 1 deletion apps/web-components/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"maximumError": "4kb"
}
],
"outputHashing": "all"
"outputHashing": "none"
},
"development": {
"buildOptimizer": false,
Expand Down
3 changes: 1 addition & 2 deletions libs/ngx-utilities/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"declaration": true,
"declarationMap": true,
"inlineSources": true,
"types": [],
"composite": true
"types": []
},
"exclude": ["src/**/*.spec.ts", "jest.config.ts", "src/**/*.test.ts"],
"include": ["src/**/*.ts"]
Expand Down
2 changes: 1 addition & 1 deletion libs/web-media/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default defineConfig({
fileName: 'index',
// Change this to the formats you want to support.
// Don't forget to update your package.json as well.
formats: ['es', 'cjs'],
formats: ['es', 'cjs', 'umd', 'iife'],
},
rollupOptions: {
output: {
Expand Down
10 changes: 8 additions & 2 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"codeCoverage": true
}
}
},
"@nx/angular:ng-packagr-lite": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
}
},
"namedInputs": {
Expand Down Expand Up @@ -64,7 +69,8 @@
"useInferencePlugins": false,
"pluginsConfig": {
"@nx/js": {
"analyzeSourceFiles": false
"analyzeSourceFiles": true
}
}
},
"useLegacyCache": true
}
Loading

0 comments on commit 3143410

Please sign in to comment.