Skip to content

Commit 9b29183

Browse files
committed
Merge branch 'release/1.2.22' into v1
2 parents 62c40a9 + 7f1ab0d commit 9b29183

File tree

10 files changed

+1679
-1429
lines changed

10 files changed

+1679
-1429
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Transcoder Changelog
22

3+
## 1.2.22 - 2022.04.09
4+
### Changed
5+
* Added `synchronous` & `stripMetadata` to the parameters that should be excluded from the generated file name
6+
37
## 1.2.21 - 2022.01.12
48

59
### Added

buildchain/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
ARG TAG=16-alpine
22
FROM nystudio107/node-dev-base:$TAG
33

4+
USER node
5+
46
WORKDIR /app/buildchain/
57

68
CMD ["run build"]

buildchain/package-lock.json

Lines changed: 1140 additions & 930 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

buildchain/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"vite": "^2.7.0",
3030
"vite-plugin-compression": "^0.4.0",
3131
"vite-plugin-eslint": "^1.3.0",
32+
"vite-plugin-manifest-sri": "^0.1.0",
3233
"vite-plugin-restart": "0.0.2"
3334
},
3435
"scripts": {

buildchain/vite.config.js renamed to buildchain/vite.config.ts

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1+
import {defineConfig} from 'vite';
12
import vue from '@vitejs/plugin-vue'
23
import ViteRestart from 'vite-plugin-restart';
34
import viteCompression from 'vite-plugin-compression';
4-
import { visualizer } from 'rollup-plugin-visualizer';
5+
import manifestSRI from 'vite-plugin-manifest-sri';
6+
import {visualizer} from 'rollup-plugin-visualizer';
57
import eslintPlugin from 'vite-plugin-eslint';
6-
import { nodeResolve } from '@rollup/plugin-node-resolve';
7-
import path from 'path';
8+
import {nodeResolve} from '@rollup/plugin-node-resolve';
9+
import * as path from 'path';
810

911
// https://vitejs.dev/config/
10-
export default ({ command }) => ({
12+
export default defineConfig(({command}) => ({
1113
base: command === 'serve' ? '' : '/dist/',
1214
build: {
1315
emptyOutDir: true,
@@ -26,24 +28,27 @@ export default ({ command }) => ({
2628
plugins: [
2729
nodeResolve({
2830
moduleDirectories: [
29-
path.resolve('./node_modules'),
31+
path.resolve('./node_modules'),
3032
],
3133
}),
3234
ViteRestart({
3335
reload: [
34-
'./src/templates/**/*',
36+
'./src/templates/**/*',
3537
],
3638
}),
3739
vue(),
3840
viteCompression({
3941
filter: /\.(js|mjs|json|css|map)$/i
4042
}),
43+
manifestSRI(),
4144
visualizer({
4245
filename: '../src/web/assets/dist/stats.html',
4346
template: 'treemap',
4447
sourcemap: true,
4548
}),
46-
eslintPlugin(),
49+
eslintPlugin({
50+
cache: false,
51+
}),
4752
],
4853
publicDir: '../src/web/assets/public',
4954
resolve: {
@@ -61,4 +66,4 @@ export default ({ command }) => ({
6166
port: 3001,
6267
strictPort: true,
6368
}
64-
});
69+
}));

composer.json

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
11
{
2-
"name": "nystudio107/craft-transcoder",
3-
"description": "Transcode video & audio files to various formats, and provide video thumbnails",
4-
"type": "craft-plugin",
5-
"version": "1.2.21",
6-
"keywords": [
7-
"craft",
8-
"cms",
9-
"craftcms",
10-
"craft-plugin",
11-
"transcoder",
12-
"transcode",
13-
"video",
14-
"audio",
15-
"gif",
16-
"convert",
17-
"format"
18-
],
19-
"support": {
20-
"docs": "https://nystudio107.com/plugins/transcoder/documentation",
21-
"issues": "https://nystudio107.com/plugins/transcoder/support"
22-
},
23-
"license": "proprietary",
24-
"authors": [
25-
{
26-
"name": "nystudio107",
27-
"homepage": "https://nystudio107.com"
28-
}
29-
],
30-
"require": {
31-
"craftcms/cms": "^3.1.0",
32-
"nystudio107/craft-plugin-vite": "^1.0.4",
33-
"mikehaertl/php-shellcommand": "~1.2"
34-
},
35-
"autoload": {
36-
"psr-4": {
37-
"nystudio107\\transcoder\\": "src/"
38-
}
39-
},
40-
"extra": {
41-
"name": "Transcoder",
42-
"handle": "transcoder",
43-
"changelogUrl": "https://raw.githubusercontent.com/nystudio107/craft-transcoder/v1/CHANGELOG.md",
44-
"class": "nystudio107\\transcoder\\Transcoder"
2+
"name": "nystudio107/craft-transcoder",
3+
"description": "Transcode video & audio files to various formats, and provide video thumbnails",
4+
"type": "craft-plugin",
5+
"version": "1.2.22",
6+
"keywords": [
7+
"craft",
8+
"cms",
9+
"craftcms",
10+
"craft-plugin",
11+
"transcoder",
12+
"transcode",
13+
"video",
14+
"audio",
15+
"gif",
16+
"convert",
17+
"format"
18+
],
19+
"support": {
20+
"docs": "https://nystudio107.com/plugins/transcoder/documentation",
21+
"issues": "https://nystudio107.com/plugins/transcoder/support"
22+
},
23+
"license": "proprietary",
24+
"authors": [
25+
{
26+
"name": "nystudio107",
27+
"homepage": "https://nystudio107.com"
4528
}
29+
],
30+
"require": {
31+
"craftcms/cms": "^3.1.0",
32+
"nystudio107/craft-plugin-vite": "^1.0.4",
33+
"mikehaertl/php-shellcommand": "~1.2"
34+
},
35+
"autoload": {
36+
"psr-4": {
37+
"nystudio107\\transcoder\\": "src/"
38+
}
39+
},
40+
"extra": {
41+
"name": "Transcoder",
42+
"handle": "transcoder",
43+
"changelogUrl": "https://raw.githubusercontent.com/nystudio107/craft-transcoder/v1/CHANGELOG.md",
44+
"class": "nystudio107\\transcoder\\Transcoder"
45+
}
4646
}

docs/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
ARG TAG=14-alpine
22
FROM node:$TAG
33

4+
USER node
5+
46
WORKDIR /app/
57

68
CMD ["run build"]

docs/docs/.vitepress/config.js

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
module.exports = {
2-
title: 'Transcoder Plugin Documentation',
3-
description: 'Documentation for the Transcoder plugin',
4-
base: '/docs/transcoder/',
5-
lang: 'en-US',
6-
head: [
7-
['meta', { content: 'https://github.com/nystudio107', property: 'og:see_also', }],
8-
['meta', { content: 'https://www.youtube.com/channel/UCOZTZHQdC-unTERO7LRS6FA', property: 'og:see_also', }],
9-
['meta', { content: 'https://www.facebook.com/newyorkstudio107', property: 'og:see_also', }],
10-
],
11-
themeConfig: {
12-
repo: 'nystudio107/craft-transcoder',
13-
docsDir: 'docs/docs',
14-
docsBranch: 'develop',
15-
algolia: {
16-
apiKey: '14f28d1e87ded365acc21d0e921732e6',
17-
indexName: 'transcoder'
18-
},
19-
editLinks: true,
20-
editLinkText: 'Edit this page on GitHub',
21-
lastUpdated: 'Last Updated',
22-
sidebar: [
23-
{ text: 'Transcoder Plugin', link: '/' },
24-
{ text: 'Transcoder Overview', link: '/overview.html' },
25-
{ text: 'Configuring Transcoder', link: '/configuring.html' },
26-
{ text: 'Using Transcoder', link: '/using.html' },
27-
],
2+
title: 'Transcoder Plugin Documentation',
3+
description: 'Documentation for the Transcoder plugin',
4+
base: '/docs/transcoder/',
5+
lang: 'en-US',
6+
head: [
7+
['meta', {content: 'https://github.com/nystudio107', property: 'og:see_also',}],
8+
['meta', {content: 'https://www.youtube.com/channel/UCOZTZHQdC-unTERO7LRS6FA', property: 'og:see_also',}],
9+
['meta', {content: 'https://www.facebook.com/newyorkstudio107', property: 'og:see_also',}],
10+
],
11+
themeConfig: {
12+
repo: 'nystudio107/craft-transcoder',
13+
docsDir: 'docs/docs',
14+
docsBranch: 'develop',
15+
algolia: {
16+
appId: 'VWUWF9S521',
17+
apiKey: 'db5c03f88e474cbf0356841089be7ffa',
18+
indexName: 'transcoder'
2819
},
20+
editLinks: true,
21+
editLinkText: 'Edit this page on GitHub',
22+
lastUpdated: 'Last Updated',
23+
sidebar: [
24+
{text: 'Transcoder Plugin', link: '/'},
25+
{text: 'Transcoder Overview', link: '/overview.html'},
26+
{text: 'Configuring Transcoder', link: '/configuring.html'},
27+
{text: 'Using Transcoder', link: '/using.html'},
28+
],
29+
},
2930
};

0 commit comments

Comments
 (0)