Skip to content

Commit

Permalink
[patch] add more target options to base vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
electrovir committed Oct 8, 2024
1 parent 6021d4d commit 921f2ea
Show file tree
Hide file tree
Showing 18 changed files with 95 additions and 87 deletions.
88 changes: 44 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@virmator/mono-repo-root",
"version": "13.5.1",
"version": "13.5.2",
"private": true,
"type": "module",
"workspaces": [
Expand Down
6 changes: 3 additions & 3 deletions packages/compile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@virmator/compile",
"version": "13.5.1",
"version": "13.5.2",
"description": "Default TS compile plugin for virmator.",
"keywords": [
"virmator",
Expand Down Expand Up @@ -34,12 +34,12 @@
"@augment-vir/assert": "^30.2.0",
"@augment-vir/common": "^30.2.0",
"@augment-vir/node": "^30.2.0",
"@virmator/core": "^13.5.1"
"@virmator/core": "^13.5.2"
},
"devDependencies": {
"@augment-vir/test": "^30.2.0",
"@types/node": "^22.7.4",
"@virmator/plugin-testing": "^13.5.1",
"@virmator/plugin-testing": "^13.5.2",
"c8": "^10.1.2",
"chalk": "^5.3.0",
"concurrently": "^9.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@virmator/core",
"version": "13.5.1",
"version": "13.5.2",
"description": "Shared core functionality for all virmator plugins and the virmator CLI.",
"keywords": [
"automation",
Expand Down
4 changes: 2 additions & 2 deletions packages/deps/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@virmator/deps",
"version": "13.5.1",
"version": "13.5.2",
"description": "Default TS deps plugin for virmator.",
"keywords": [
"virmator",
Expand Down Expand Up @@ -36,7 +36,7 @@
"@augment-vir/assert": "^30.2.0",
"@augment-vir/common": "^30.2.0",
"@augment-vir/node": "^30.2.0",
"@virmator/core": "^13.5.1",
"@virmator/core": "^13.5.2",
"mri": "^1.2.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@virmator/docs",
"version": "13.5.1",
"version": "13.5.2",
"description": "Default TS docs plugin for virmator.",
"keywords": [
"virmator",
Expand Down Expand Up @@ -35,7 +35,7 @@
"@augment-vir/assert": "^30.2.0",
"@augment-vir/common": "^30.2.0",
"@augment-vir/node": "^30.2.0",
"@virmator/core": "^13.5.1",
"@virmator/core": "^13.5.2",
"chalk": "^5.3.0",
"mri": "^1.2.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/format/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@virmator/format",
"version": "13.5.1",
"version": "13.5.2",
"description": "Default format plugin for virmator.",
"keywords": [
"virmator",
Expand Down Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@augment-vir/assert": "^30.2.0",
"@augment-vir/common": "^30.2.0",
"@virmator/core": "^13.5.1",
"@virmator/core": "^13.5.2",
"mri": "^1.2.0"
},
"devDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/frontend/configs/vite.config.base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ export function createBaseConfig({forGitHubPages, packageDirPath}: BaseConfigOpt
],
},
},
optimizeDeps: {
esbuildOptions: {
target: 'es2022',
},
},
esbuild: {
target: 'es2022',
},
},
basePaths: {
cwd,
Expand Down
Loading

0 comments on commit 921f2ea

Please sign in to comment.