Skip to content

Commit

Permalink
Merge pull request #266 from MetroStar/rollup-upgrade
Browse files Browse the repository at this point in the history
Upgrade Rollup Dependencies
  • Loading branch information
jbouder authored Sep 24, 2024
2 parents 910cb74 + 8313e4e commit b43bf8b
Show file tree
Hide file tree
Showing 9 changed files with 168 additions and 262 deletions.
7 changes: 3 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,16 @@ updates:
- '>=18.2.0'
- dependency-name: '@types/node'
versions:
- '>=18.16.1'
- '>=18.19.50'
- dependency-name: '@types/react'
versions:
- '>=18.2.0'
- dependency-name: '@types/react-dom'
versions:
- '>=18.2.0'
- dependency-name: '@rollup/plugin-typescript'
versions:
- '>=12.0.0'
- dependency-name: '@storybook/addon-a11y'
- dependency-name: '@storybook/addon-actions'
- dependency-name: '@storybook/addon-essentials'
Expand All @@ -47,9 +49,6 @@ updates:
- dependency-name: '@storybook/test'
- dependency-name: '@storybook/theming'
- dependency-name: 'storybook'
- dependency-name: 'typescript'
- dependency-name: 'rollup'
- dependency-name: 'rollup-plugin-dts'
- package-ecosystem: 'npm'
directory: '/packages/comet-cli'
schedule:
Expand Down
375 changes: 144 additions & 231 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-image": "^3.0.3",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-typescript": "^8.5.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "11.1.6",
"@storybook/addon-a11y": "^8.3.0",
"@storybook/addon-actions": "^8.3.0",
"@storybook/addon-essentials": "^8.3.0",
Expand All @@ -44,7 +45,7 @@
"@testing-library/react": "16.0.1",
"@testing-library/user-event": "14.5.2",
"@types/jest-axe": "^3.5.9",
"@types/node": "18.16.1",
"@types/node": "18.19.50",
"@types/react": "18.2.17",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-v8": "^2.1.1",
Expand All @@ -57,13 +58,12 @@
"prettier": "3.3.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^2.79.1",
"rollup-plugin-dts": "^4.2.3",
"rollup": "^4.22.4",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"storybook": "^8.3.0",
"typescript": "*",
"typescript": "5.6.2",
"typescript-eslint": "^8.7.0",
"vite": "^5.4.7",
"vitest": "^2.0.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/comet-data-viz/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metrostar/comet-data-viz",
"version": "1.1.6",
"version": "1.1.7",
"description": "A set of Victory Chart components provided as a Comet wrapper",
"license": "Apache-2.0",
"main": "./dist/cjs/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,22 @@ import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import image from '@rollup/plugin-image';
import typescript from '@rollup/plugin-typescript';
import dts from 'rollup-plugin-dts';
import { dts } from 'rollup-plugin-dts';
import postcss from 'rollup-plugin-postcss';
import peerDepsExternal from 'rollup-plugin-peer-deps-external';
import { terser } from 'rollup-plugin-terser';

const packageJson = require('./package.json');
import terser from '@rollup/plugin-terser';

export default [
{
input: './src/index.ts',
output: [
{
file: packageJson.main,
file: './dist/cjs/index.js',
format: 'cjs',
sourcemap: true,
},
{
file: packageJson.module,
file: './dist/esm/index.js',
format: 'esm',
sourcemap: true,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/comet-extras/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metrostar/comet-extras",
"version": "1.4.1",
"version": "1.4.2",
"description": "A set of custom components, intended to fill in the gaps where USWDS does not provide an implementation.",
"license": "Apache-2.0",
"main": "./dist/cjs/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,22 @@ import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import image from '@rollup/plugin-image';
import typescript from '@rollup/plugin-typescript';
import dts from 'rollup-plugin-dts';
import { dts } from 'rollup-plugin-dts';
import postcss from 'rollup-plugin-postcss';
import peerDepsExternal from 'rollup-plugin-peer-deps-external';
import { terser } from 'rollup-plugin-terser';

const packageJson = require('./package.json');
import terser from '@rollup/plugin-terser';

export default [
{
input: './src/index.ts',
output: [
{
file: packageJson.main,
file: './dist/cjs/index.js',
format: 'cjs',
sourcemap: true,
},
{
file: packageJson.module,
file: './dist/esm/index.js',
format: 'esm',
sourcemap: true,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/comet-uswds/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metrostar/comet-uswds",
"version": "3.3.0",
"version": "3.3.1",
"description": "React with TypeScript Component Library based on USWDS 3.0.",
"license": "Apache-2.0",
"main": "./dist/cjs/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,22 @@ import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import image from '@rollup/plugin-image';
import typescript from '@rollup/plugin-typescript';
import dts from 'rollup-plugin-dts';
import { dts } from 'rollup-plugin-dts';
import postcss from 'rollup-plugin-postcss';
import peerDepsExternal from 'rollup-plugin-peer-deps-external';
import { terser } from 'rollup-plugin-terser';

const packageJson = require('./package.json');
import terser from '@rollup/plugin-terser';

export default [
{
input: './src/index.ts',
output: [
{
file: packageJson.main,
file: './dist/cjs/index.js',
format: 'cjs',
sourcemap: true,
},
{
file: packageJson.module,
file: './dist/esm/index.js',
format: 'esm',
sourcemap: true,
},
Expand Down

0 comments on commit b43bf8b

Please sign in to comment.