Skip to content

Commit

Permalink
build: Update dependencies for making repo public(#64)
Browse files Browse the repository at this point in the history
Update deps across all packages in prep to make the repo public.
  • Loading branch information
nicholas-codecov authored Feb 1, 2024
1 parent c755a5c commit 543a526
Show file tree
Hide file tree
Showing 17 changed files with 1,450 additions and 1,293 deletions.
8 changes: 8 additions & 0 deletions .changeset/calm-points-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@codecov/bundler-plugin-core": patch
"@codecov/webpack-plugin": patch
"@codecov/rollup-plugin": patch
"@codecov/vite-plugin": patch
---

Update dependencies before moving package out of alpha
24 changes: 12 additions & 12 deletions examples/next-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@
"lint": "next lint"
},
"dependencies": {
"next": "14.0.3",
"react": "^18",
"react-dom": "^18"
"next": "14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@codecov/webpack-plugin": "workspace:^",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10.0.1",
"eslint": "^8",
"eslint-config-next": "14.0.3",
"postcss": "^8",
"tailwindcss": "^3.3.0",
"typescript": "^5"
"@types/node": "^20.11.15",
"@types/react": "^18.2.51",
"@types/react-dom": "^18.2.18",
"autoprefixer": "^10.4.17",
"eslint": "^8.56.0",
"eslint-config-next": "14.1.0",
"postcss": "^8.4.33",
"tailwindcss": "^3.4.1",
"typescript": "^5.3.3"
},
"volta": {
"extends": "../../package.json"
Expand Down
12 changes: 6 additions & 6 deletions examples/rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
"name": "@codecov/rollup-plugin-example",
"version": "1.0.0",
"main": "index.js",
"type": "module",
"scripts": {
"build": "rollup -c",
"watch": "rollup -c -w",
"dev": "npm-run-all --parallel start watch",
"start": "serve public"
},
"dependencies": {
"date-fns": "^2.16.1"
"date-fns": "^3.3.1"
},
"devDependencies": {
"@codecov/rollup-plugin": "workspace:^",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.1.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"npm-run-all": "^4.1.5",
"rollup": "^2.36.2",
"rollup-plugin-terser": "^7.0.2",
"serve": "^11.3.2"
"rollup": "^4.9.6",
"serve": "^14.2.1"
},
"volta": {
"extends": "../../package.json"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import resolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import { terser } from "rollup-plugin-terser";
import { codecovRollupPlugin } from "@codecov/rollup-plugin";
import { defineConfig } from "rollup";

Expand All @@ -18,7 +17,6 @@ export default defineConfig({
plugins: [
resolve(), // tells Rollup how to find date-fns in node_modules
commonjs(), // converts date-fns to ES modules
production && terser(), // minify, but only in production
codecovRollupPlugin({
enableBundleAnalysis: true,
bundleName: "example-rollup-app",
Expand Down
20 changes: 10 additions & 10 deletions examples/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
},
"devDependencies": {
"@codecov/vite-plugin": "workspace:^",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react": "^4.0.3",
"eslint": "^8.45.0",
"@types/react": "^18.2.51",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"rollup": "^4.1.4",
"typescript": "^5.0.2",
"vite": "^4.4.5"
"eslint-plugin-react-refresh": "^0.4.5",
"rollup": "^4.9.6",
"typescript": "^5.3.3",
"vite": "^5.0.12"
},
"volta": {
"extends": "../../package.json"
Expand Down
2 changes: 1 addition & 1 deletion examples/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@codecov/webpack-plugin": "workspace:^",
"webpack": "^5.89.0",
"webpack": "^5.90.0",
"webpack-cli": "^5.1.4"
},
"engines": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ exports[`Generating rollup stats version 3 matches the snapshot 1`] = `
{
"assets": [
{
"name": "main-3e7d1fad.js",
"name": "main-6ff1e9ca.js",
"normalized": "main-*.js",
"size": 544589,
"size": 560871,
},
],
"builtAt": Any<Number>,
Expand All @@ -19,7 +19,7 @@ exports[`Generating rollup stats version 3 matches the snapshot 1`] = `
{
"entry": true,
"files": [
"main-3e7d1fad.js",
"main-6ff1e9ca.js",
],
"id": "main",
"initial": false,
Expand All @@ -36,14 +36,21 @@ exports[`Generating rollup stats version 3 matches the snapshot 1`] = `
"0-main",
],
"name": "./commonjsHelpers.js",
"size": 315,
"size": 334,
},
{
"chunkUniqueIds": [
"0-main",
],
"name": "../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js?commonjs-module",
"size": 27,
},
{
"chunkUniqueIds": [
"0-main",
],
"name": "../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js",
"size": 544001,
"size": 560240,
},
{
"chunkUniqueIds": [
Expand All @@ -57,7 +64,7 @@ exports[`Generating rollup stats version 3 matches the snapshot 1`] = `
"0-main",
],
"name": "./test-apps/rollup/src/main.js",
"size": 168,
"size": 163,
},
],
"outputPath": StringContaining "/distV3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ exports[`Generating rollup stats version 4 matches the snapshot 1`] = `
{
"assets": [
{
"name": "main--erNqm0D.js",
"normalized": "main--erNqm0D.js",
"size": 544589,
"name": "main-v-vWaFyT.js",
"normalized": "main-v-vWaFyT.js",
"size": 560871,
},
],
"builtAt": Any<Number>,
"bundleName": "rollup-test-es",
"bundler": {
"name": "rollup",
"version": "4.6.0",
"version": "4.9.6",
},
"chunks": [
{
"entry": true,
"files": [
"main--erNqm0D.js",
"main-v-vWaFyT.js",
],
"id": "main",
"initial": false,
Expand All @@ -36,14 +36,21 @@ exports[`Generating rollup stats version 4 matches the snapshot 1`] = `
"0-main",
],
"name": "./commonjsHelpers.js",
"size": 315,
"size": 334,
},
{
"chunkUniqueIds": [
"0-main",
],
"name": "../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js?commonjs-module",
"size": 27,
},
{
"chunkUniqueIds": [
"0-main",
],
"name": "../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js",
"size": 544001,
"size": 560240,
},
{
"chunkUniqueIds": [
Expand All @@ -57,7 +64,7 @@ exports[`Generating rollup stats version 4 matches the snapshot 1`] = `
"0-main",
],
"name": "./test-apps/rollup/src/main.js",
"size": 168,
"size": 163,
},
],
"outputPath": StringContaining "/distV4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`Generating vite stats version 5 matches the snapshot 1`] = `
"bundleName": "vite-test-es",
"bundler": {
"name": "rollup",
"version": "4.6.0",
"version": "4.9.6",
},
"chunks": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`Generating webpack stats version 5 matches the snapshot 1`] = `
"bundleName": "webpack-test-array-push",
"bundler": {
"name": "webpack",
"version": "5.89.0",
"version": "5.90.0",
},
"chunks": [
{
Expand Down
22 changes: 11 additions & 11 deletions integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@
"@codecov/rollup-plugin": "workspace:^",
"@codecov/vite-plugin": "workspace:^",
"@codecov/webpack-plugin": "workspace:^",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@swc/core": "^1.3.99",
"@swc/jest": "^0.2.29",
"@types/jest": "^29.5.10",
"@types/node": "^20.10.3",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@swc/core": "^1.3.107",
"@swc/jest": "^0.2.33",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.15",
"jest": "^29.7.0",
"rollupV3": "npm:rollup@3.29.4",
"rollupV4": "npm:rollup@4.6.0",
"ts-node": "^10.9.1",
"rollupV4": "npm:rollup@4.9.6",
"ts-node": "^10.9.2",
"viteV4": "npm:vite@4.5.1",
"viteV5": "npm:vite@5.0.3",
"webpackV5": "npm:webpack@5.89.0"
"viteV5": "npm:vite@5.0.12",
"webpackV5": "npm:webpack@5.90.0"
},
"volta": {
"extends": "../../package.json"
"extends": "../package.json"
}
}
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@total-typescript/ts-reset": "^0.5.1",
"@types/eslint": "^8.44.7",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-isaacscript": "^3.5.8",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.0",
"lint-staged": "^15.2.0",
"prettier": "^3.1.0",
"typescript": "^5.3.2"
"@types/eslint": "^8.56.2",
"@types/node": "^20.11.15",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-isaacscript": "^3.12.2",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^8.0.3",
"lint-staged": "^15.2.1",
"prettier": "^3.2.4",
"typescript": "^5.3.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,scss,md,json}": [
Expand Down
16 changes: 8 additions & 8 deletions packages/bundler-plugin-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,21 @@
"dependencies": {
"chalk": "4.1.2",
"semver": "^7.5.4",
"unplugin": "^1.5.1",
"unplugin": "^1.6.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@swc/core": "^1.3.99",
"@swc/jest": "^0.2.29",
"@types/jest": "^29.5.10",
"@types/node": "^20.10.0",
"@swc/core": "^1.3.107",
"@swc/jest": "^0.2.33",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.15",
"@types/semver": "^7.5.6",
"jest": "^29.7.0",
"msw": "^2.0.9",
"msw": "^2.1.5",
"testdouble": "^3.20.1",
"testdouble-jest": "^2.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.3.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"unbuild": "^2.0.0"
},
"volta": {
Expand Down
16 changes: 8 additions & 8 deletions packages/rollup-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
"@codecov/bundler-plugin-core": "workspace:^"
},
"devDependencies": {
"@swc/core": "^1.3.99",
"@swc/jest": "^0.2.29",
"@types/jest": "^29.5.10",
"@types/node": "^20.10.0",
"@swc/core": "^1.3.107",
"@swc/jest": "^0.2.33",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.15",
"jest": "^29.7.0",
"msw": "^2.0.9",
"rollup": "4.6.0",
"ts-node": "^10.9.1",
"typescript": "^5.3.2",
"msw": "^2.1.5",
"rollup": "4.9.6",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"unbuild": "^2.0.0"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit 543a526

Please sign in to comment.