Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Sep 16, 2023
1 parent 89224fe commit 115097f
Show file tree
Hide file tree
Showing 11 changed files with 7,532 additions and 8,321 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
matrix:
# Blank string allows us to test against version in nvmrc file
# configured in 'Set up Node.js' down below.
node: [14, ''] # Add 'lts/*' to this list when ready
node: [16, ''] # Add 'lts/*' to this list when ready
name: Lint & Test (${{ (matrix.node && matrix.node != 'lts/*') && format('node {0}', matrix.node) || matrix.node || 'nvmrc' }})
runs-on: ubuntu-latest
env:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.17.0
v18.17.1
31 changes: 13 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
"scripts": {
"dev": "preconstruct dev",
"build": "preconstruct build && pnpm build:dts",
"build:dts": "ts-node ./scripts/build-dts",
"build:dts": "tsx ./scripts/build-dts",
"watch": "preconstruct watch",
"start-fixture": "ts-node ./test-helpers/src/startFixtureCLI",
"start-fixture": "tsx ./test-helpers/src/startFixtureCLI",
"start": "pnpm start-fixture themed",
"start-site": "pnpm --filter=site start",
"build-site": "pnpm --filter=site build",
"test:unit": "pnpm test:jest && pnpm test:vitest",
"test:jest": "jest",
"test:vitest": "vitest --watch=false",
"test:playwright": "NODE_OPTIONS=--no-experimental-fetch playwright test",
"format": "prettier --write .",
"lint": "manypkg check && prettier --check . && tsc",
"copy-readme-to-packages": "ts-node scripts/copy-readme-to-packages",
"format": "prettier --cache --write .",
"lint": "manypkg check && prettier --cache --check . && tsc",
"copy-readme-to-packages": "tsx scripts/copy-readme-to-packages",
"version": "changeset version && pnpm install --lockfile-only",
"prepare-release": "pnpm copy-readme-to-packages && pnpm build",
"release": "pnpm prepare-release && changeset publish"
Expand All @@ -30,7 +30,8 @@
]
},
"volta": {
"node": "16.17.0"
"node": "18.17.1",
"pnpm": "8.7.5"
},
"dependencies": {
"@babel/core": "^7.20.7",
Expand All @@ -42,7 +43,6 @@
"@manypkg/cli": "^0.19.1",
"@playwright/test": "^1.25.1",
"@preconstruct/cli": "^2.0.1",
"@swc/core": "^1.2.112",
"@testing-library/jest-dom": "^5.11.9",
"@types/jest": "^29.2.5",
"@types/testing-library__jest-dom": "^5.14.5",
Expand All @@ -53,17 +53,12 @@
"jest-environment-jsdom": "^29.3.1",
"prettier": "^2.8.1",
"resolve.exports": "^1.1.0",
"rollup": "^2.7.0",
"rollup-plugin-dts": "^4.2.2",
"rollup-plugin-node-externals": "^5.0.0",
"ts-node": "^10.0.0",
"typescript": "^4.9.4",
"rollup": "^3.29.2",
"rollup-plugin-dts": "^6.0.2",
"rollup-plugin-node-externals": "^6.1.1",
"tsx": "^3.12.10",
"typescript": "^5.2.2",
"vitest": "^0.28.5"
},
"packageManager": "[email protected]",
"pnpm": {
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
}
}
"packageManager": "[email protected]"
}
6 changes: 3 additions & 3 deletions packages/rollup-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
},
"devDependencies": {
"@fixtures/themed": "*",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-json": "^6.0.0",
"@vanilla-extract/css": "^1.13.0",
"esbuild": "0.17.6",
"rollup": "^2.7.0",
"rollup-plugin-esbuild": "^4.9.1"
"rollup": "^3.29.2",
"rollup-plugin-esbuild": "^5.0.0"
},
"peerDependencies": {
"rollup": "^2.0.0 || ^3.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`rollup-plugin should build with preserveModules 1`] = `
[
[
"assets/src/shared.css.ts.vanilla-16598c42.css",
"assets/src/shared.css.ts.vanilla-bb19f770.css",
".shared_shadow__4dtfen0 {
box-shadow: 0 0 5px red;
}
Expand All @@ -15,7 +15,7 @@ body, button {
}",
],
[
"assets/src/styles.css.ts.vanilla-1b9864b6.css",
"assets/src/styles.css.ts.vanilla-72c651be.css",
"@font-face {
src: local("Impact");
font-family: "styles_impact__jteyb10";
Expand Down Expand Up @@ -68,7 +68,7 @@ html .styles_opacity_1\\/4__jteyb17 {
}",
],
[
"assets/src/themes.css.ts.vanilla-3ad7ca47.css",
"assets/src/themes.css.ts.vanilla-a85ddff2.css",
":root, .themes_theme__cvta170 {
--colors-backgroundColor__cvta171: blue;
--colors-text__cvta172: white;
Expand Down Expand Up @@ -183,7 +183,7 @@ render();
],
[
"src/shared.css.js",
"import './../assets/src/shared.css.ts.vanilla-16598c42.css';
"import './../assets/src/shared.css.ts.vanilla-bb19f770.css';
var shadow = "shared_shadow__4dtfen0";
Expand All @@ -192,9 +192,9 @@ export { shadow };
],
[
"src/styles.css.js",
"import './../assets/src/shared.css.ts.vanilla-16598c42.css';
import './../assets/src/themes.css.ts.vanilla-3ad7ca47.css';
import './../assets/src/styles.css.ts.vanilla-1b9864b6.css';
"import './../assets/src/shared.css.ts.vanilla-bb19f770.css';
import './../assets/src/themes.css.ts.vanilla-a85ddff2.css';
import './../assets/src/styles.css.ts.vanilla-72c651be.css';
var button = "styles_button__jteyb13 shared_shadow__4dtfen0 styles_iDunno__jteyb12";
var container = "styles_container__jteyb11";
Expand All @@ -205,7 +205,7 @@ export { button, container, opacity };
],
[
"src/themes.css.js",
"import './../assets/src/themes.css.ts.vanilla-3ad7ca47.css';
"import './../assets/src/themes.css.ts.vanilla-a85ddff2.css';
var altTheme = "themes_altTheme__cvta176";
var responsiveTheme = "themes_responsiveTheme__cvta177";
Expand Down Expand Up @@ -507,44 +507,64 @@ export { altTheme, responsiveTheme, theme, vars };
exports[`rollup-plugin should build with sourcemaps 1`] = `
[
[
"assets/src/shared.css.ts.vanilla-16598c42.css",
"assets/src/shared.css.ts.vanilla-bb19f770.css",
"",
],
[
"assets/src/styles.css.ts.vanilla-1b9864b6.css",
"assets/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;;;;",
],
[
"src/styles.css.js.map",
"",
],
[
"src/themes.css.js",
";;;;;;;;;",
],
[
"src/themes.css.js.map",
"",
],
[
"test-nodes.json.js",
";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",
],
[
"test-nodes.json.js.map",
"",
],
]
`;
exports[`rollup-plugin should build without preserveModules 1`] = `
[
[
"assets/src/shared.css.ts.vanilla-16598c42.css",
"assets/src/shared.css.ts.vanilla-bb19f770.css",
".shared_shadow__4dtfen0 {
box-shadow: 0 0 5px red;
}
Expand All @@ -556,7 +576,7 @@ body, button {
}",
],
[
"assets/src/styles.css.ts.vanilla-1b9864b6.css",
"assets/src/styles.css.ts.vanilla-72c651be.css",
"@font-face {
src: local("Impact");
font-family: "styles_impact__jteyb10";
Expand Down Expand Up @@ -609,7 +629,7 @@ html .styles_opacity_1\\/4__jteyb17 {
}",
],
[
"assets/src/themes.css.ts.vanilla-3ad7ca47.css",
"assets/src/themes.css.ts.vanilla-a85ddff2.css",
":root, .themes_theme__cvta170 {
--colors-backgroundColor__cvta171: blue;
--colors-text__cvta172: white;
Expand Down Expand Up @@ -641,9 +661,9 @@ html .styles_opacity_1\\/4__jteyb17 {
[
"index.js",
"import { assignInlineVars, setElementVars } from '@vanilla-extract/dynamic';
import './assets/src/themes.css.ts.vanilla-3ad7ca47.css';
import './assets/src/shared.css.ts.vanilla-16598c42.css';
import './assets/src/styles.css.ts.vanilla-1b9864b6.css';
import './assets/src/themes.css.ts.vanilla-a85ddff2.css';
import './assets/src/shared.css.ts.vanilla-bb19f770.css';
import './assets/src/styles.css.ts.vanilla-72c651be.css';
var altTheme = "themes_altTheme__cvta176";
var responsiveTheme = "themes_responsiveTheme__cvta177";
Expand Down
2 changes: 1 addition & 1 deletion packages/rollup-plugin/test/rollup-plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function build(outputOptions: OutputOptions) {
vanillaExtractPlugin({
cwd: path.dirname(require.resolve('@fixtures/themed/package.json')),
}),
esbuild(),
esbuild({ sourceMap: false }),
json(),
],
external: ['@vanilla-extract/dynamic'],
Expand Down
16 changes: 0 additions & 16 deletions patches/[email protected]

This file was deleted.

Loading

0 comments on commit 115097f

Please sign in to comment.