Skip to content

Commit

Permalink
Fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
vthibault committed Aug 13, 2024
1 parent 0af31e4 commit ecf107b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-optional-chaining"
"@babel/plugin-transform-class-properties",
"@babel/plugin-transform-optional-chaining"
]
}
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,25 @@
],
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.7.5",
"@babel/core": "^7.7.5",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-optional-chaining": "^7.7.5",
"@babel/preset-env": "^7.7.5",
"@babel/cli": "^7.24.8",
"@babel/core": "^7.25.2",
"@babel/plugin-transform-class-properties": "^7.24.7",
"@babel/plugin-transform-optional-chaining": "^7.24.8",
"@babel/preset-env": "^7.24.8",
"@babel/preset-typescript": "^7.7.4",
"@babel/register": "^7.7.4",
"@types/node": "^13.1.1",
"@types/sdp-transform": "^2.4.9",
"@typescript-eslint/eslint-plugin": "^2.12.0",
"@typescript-eslint/parser": "^2.12.0",
"del-cli": "^1.1.0",
"eslint": "^6.7.2",
"rollup": "^1.27.13",
"rollup-plugin-babel": "^4.3.3",
"del-cli": "^5.1.0",
"eslint": "^9.9.0",
"rollup": "^2.78.0",
"@rollup/plugin-babel": "^6.0.4",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-size-snapshot": "^0.10.0",
"rollup-plugin-terser": "^5.1.3",
"@rollup/plugin-node-resolve": "^15.2.0",
"rollup-plugin-size-snapshot": "^0.12.0",
"@rollup/plugin-terser": "^0.4.4",
"sdp-transform": "^2.14.2",
"typescript": "^4.7.4"
}
Expand Down
10 changes: 5 additions & 5 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import fs from 'fs';
import path from 'path';

import babel from 'rollup-plugin-babel';
import { terser } from 'rollup-plugin-terser';
import resolve from 'rollup-plugin-node-resolve';
import babel from '@rollup/plugin-babel';
import terser from '@rollup/plugin-terser';
import resolve from '@rollup/plugin-node-resolve';
import builtins from 'rollup-plugin-node-builtins';
import { sizeSnapshot } from 'rollup-plugin-size-snapshot';

Expand All @@ -20,7 +20,7 @@ const bannerPlugin = {
*/`,
};

const exportFormat = format => ({
const exportFormat = (format) => ({
input: 'src/webrtc-wowza-player.ts',
output: {
name,
Expand All @@ -45,7 +45,7 @@ const exportFormat = format => ({
output: { comments: /@license/ },
}),
sizeSnapshot(),
].filter(v => v),
].filter((v) => v),
});

export default ['umd', 'cjs', 'esm'].map(exportFormat);

0 comments on commit ecf107b

Please sign in to comment.