mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-09-11 13:37:10 +03:00
Fix build
This commit is contained in:
parent
63e2f087c3
commit
c3030e944a
@ -3,7 +3,7 @@
|
|||||||
"ignorePatterns": [
|
"ignorePatterns": [
|
||||||
"projects/**/*",
|
"projects/**/*",
|
||||||
"node_modules/",
|
"node_modules/",
|
||||||
"src/standalone/player/dist"
|
"src/standalone/embed-player-api/dist"
|
||||||
],
|
],
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
|
4
client/.gitignore
vendored
4
client/.gitignore
vendored
@ -12,5 +12,5 @@
|
|||||||
/e2e/local.log
|
/e2e/local.log
|
||||||
/e2e/browserstack.err
|
/e2e/browserstack.err
|
||||||
/e2e/screenshots
|
/e2e/screenshots
|
||||||
/src/standalone/player/build
|
/src/standalone/embed-player-api/build
|
||||||
/src/standalone/player/dist
|
/src/standalone/embed-player-api/dist
|
||||||
|
@ -10,7 +10,7 @@ module.exports = function () {
|
|||||||
const configuration = {
|
const configuration = {
|
||||||
entry: {
|
entry: {
|
||||||
'video-embed': './src/standalone/videos/embed.ts',
|
'video-embed': './src/standalone/videos/embed.ts',
|
||||||
'player': './src/standalone/player/player.ts',
|
'player': './src/standalone/embed-player-api/player.ts',
|
||||||
'test-embed': './src/standalone/videos/test-embed.ts'
|
'test-embed': './src/standalone/videos/test-embed.ts'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
cd client/src/standalone/player
|
cd client/src/standalone/embed-player-api
|
||||||
|
|
||||||
rm -rf dist build && tsc -p . && ../../../node_modules/.bin/webpack --config ./webpack.config.js
|
rm -rf dist build && tsc -p . && ../../../node_modules/.bin/webpack --config ./webpack.config.js
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
### Build & Publish
|
### Build & Publish
|
||||||
|
|
||||||
```
|
```
|
||||||
cd client/src/standalone/player/
|
cd client/src/standalone/embed-player-api/
|
||||||
npm run build
|
npm run build
|
||||||
npm publish --access=public
|
npm publish --access=public
|
||||||
```
|
```
|
||||||
|
@ -28,9 +28,11 @@ NODE_APP_INSTANCE=6 NODE_ENV=test node dist/server --benchmark-startup
|
|||||||
|
|
||||||
## @peertube/embed-api
|
## @peertube/embed-api
|
||||||
|
|
||||||
|
At the root of PeerTube:
|
||||||
|
|
||||||
```
|
```
|
||||||
cd client/src/standalone/player
|
cd client/src/standalone/embed-player-api
|
||||||
npm version patch
|
npm version patch
|
||||||
npm run build
|
cd ../../../../
|
||||||
npm publish --access=public
|
npm run release-embed-api
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user