aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-07-10 16:41:08 +0200
committerChocobozzz <me@florianbigard.com>2023-07-10 16:41:08 +0200
commitc3030e944ad03c7fd7b5d668a2d88ff03e4cdf19 (patch)
tree60cfdd1aabe66ff4f65fd94243debecb7dd41555
parent63e2f087c3410206aa294df8099b005e615592e5 (diff)
downloadPeerTube-c3030e944ad03c7fd7b5d668a2d88ff03e4cdf19.tar.gz
PeerTube-c3030e944ad03c7fd7b5d668a2d88ff03e4cdf19.tar.zst
PeerTube-c3030e944ad03c7fd7b5d668a2d88ff03e4cdf19.zip
Fix build
-rw-r--r--client/.eslintrc.json2
-rw-r--r--client/.gitignore4
-rw-r--r--client/webpack/webpack.video-embed.js2
-rwxr-xr-xscripts/release-embed-api.sh2
-rw-r--r--support/doc/development/lib.md2
-rw-r--r--support/doc/development/release.md8
6 files changed, 11 insertions, 9 deletions
diff --git a/client/.eslintrc.json b/client/.eslintrc.json
index a297cdc94..c5685b9dc 100644
--- a/client/.eslintrc.json
+++ b/client/.eslintrc.json
@@ -3,7 +3,7 @@
3 "ignorePatterns": [ 3 "ignorePatterns": [
4 "projects/**/*", 4 "projects/**/*",
5 "node_modules/", 5 "node_modules/",
6 "src/standalone/player/dist" 6 "src/standalone/embed-player-api/dist"
7 ], 7 ],
8 "overrides": [ 8 "overrides": [
9 { 9 {
diff --git a/client/.gitignore b/client/.gitignore
index ca68413c8..cb85788f5 100644
--- a/client/.gitignore
+++ b/client/.gitignore
@@ -12,5 +12,5 @@
12/e2e/local.log 12/e2e/local.log
13/e2e/browserstack.err 13/e2e/browserstack.err
14/e2e/screenshots 14/e2e/screenshots
15/src/standalone/player/build 15/src/standalone/embed-player-api/build
16/src/standalone/player/dist 16/src/standalone/embed-player-api/dist
diff --git a/client/webpack/webpack.video-embed.js b/client/webpack/webpack.video-embed.js
index 558481473..47d440c25 100644
--- a/client/webpack/webpack.video-embed.js
+++ b/client/webpack/webpack.video-embed.js
@@ -10,7 +10,7 @@ module.exports = function () {
10 const configuration = { 10 const configuration = {
11 entry: { 11 entry: {
12 'video-embed': './src/standalone/videos/embed.ts', 12 'video-embed': './src/standalone/videos/embed.ts',
13 'player': './src/standalone/player/player.ts', 13 'player': './src/standalone/embed-player-api/player.ts',
14 'test-embed': './src/standalone/videos/test-embed.ts' 14 'test-embed': './src/standalone/videos/test-embed.ts'
15 }, 15 },
16 16
diff --git a/scripts/release-embed-api.sh b/scripts/release-embed-api.sh
index ae76a65f5..41c84ed38 100755
--- a/scripts/release-embed-api.sh
+++ b/scripts/release-embed-api.sh
@@ -2,7 +2,7 @@
2 2
3set -eu 3set -eu
4 4
5cd client/src/standalone/player 5cd client/src/standalone/embed-player-api
6 6
7rm -rf dist build && tsc -p . && ../../../node_modules/.bin/webpack --config ./webpack.config.js 7rm -rf dist build && tsc -p . && ../../../node_modules/.bin/webpack --config ./webpack.config.js
8 8
diff --git a/support/doc/development/lib.md b/support/doc/development/lib.md
index 3cccaf3d0..25fe3068e 100644
--- a/support/doc/development/lib.md
+++ b/support/doc/development/lib.md
@@ -5,7 +5,7 @@
5### Build & Publish 5### Build & Publish
6 6
7``` 7```
8cd client/src/standalone/player/ 8cd client/src/standalone/embed-player-api/
9npm run build 9npm run build
10npm publish --access=public 10npm publish --access=public
11``` 11```
diff --git a/support/doc/development/release.md b/support/doc/development/release.md
index c4935524c..81e35c58d 100644
--- a/support/doc/development/release.md
+++ b/support/doc/development/release.md
@@ -28,9 +28,11 @@ NODE_APP_INSTANCE=6 NODE_ENV=test node dist/server --benchmark-startup
28 28
29## @peertube/embed-api 29## @peertube/embed-api
30 30
31At the root of PeerTube:
32
31``` 33```
32cd client/src/standalone/player 34cd client/src/standalone/embed-player-api
33npm version patch 35npm version patch
34npm run build 36cd ../../../../
35npm publish --access=public 37npm run release-embed-api
36``` 38```