Skip to content

Commit

Permalink
build: output frontend assets to root dist directory
Browse files Browse the repository at this point in the history
  • Loading branch information
DecentM committed Sep 28, 2023
1 parent 5baa09d commit 2e3d16f
Show file tree
Hide file tree
Showing 5 changed files with 510 additions and 559 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: dist
path: |
dist/packages/*
dist/apps/*
path: dist/*
4 changes: 2 additions & 2 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"vue3-smooth-dnd": "^0.0.6"
},
"devDependencies": {
"@quasar/app-vite": "^1.3.0",
"@quasar/app-vite": "^1.6.2",
"@types/node": "^12.20.21",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
Expand All @@ -38,4 +38,4 @@
"typescript": "^4.5.4",
"vite-tsconfig-paths": "^4.2.1"
}
}
}
2 changes: 1 addition & 1 deletion apps/frontend/quasar.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ module.exports = configure(function (/* ctx */) {
// ignorePublicFolder: true,
// minify: false,
// polyfillModulePreload: true,
// distDir
distDir: path.join(__dirname, '../../dist/apps/frontend'),

// extendViteConf (viteConf) {},
// viteVuePluginOptions: {},
Expand Down
24 changes: 11 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,31 @@
"apps/*"
],
"devDependencies": {
"@nx/cypress": "16.8.1",
"@nx/eslint-plugin": "16.8.1",
"@nx/js": "16.8.1",
"@nx/linter": "16.8.1",
"@nx/node": "^16.8.1",
"@nx/vite": "16.8.1",
"@nx/web": "^16.8.1",
"@nx/cypress": "16.9.1",
"@nx/eslint-plugin": "16.9.1",
"@nx/js": "16.9.1",
"@nx/linter": "16.9.1",
"@nx/node": "16.9.1",
"@nx/vite": "16.9.1",
"@nx/web": "16.9.1",
"@swc-node/register": "^1.6.7",
"@swc/core": "^1.3.85",
"@swc/core": "1.3.90",
"@types/node": "^20.4.2",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"@vitest/coverage-c8": "~0.32.0",
"@vitest/ui": "~0.32.0",
"cypress": "^13.0.0",
"eslint": "~8.46.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-cypress": "^2.13.4",
"nx": "16.8.1",
"nx": "16.9.1",
"prettier": "^2.6.2",
"swc-loader": "0.1.15",
"ts-node": "10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "^5.1.6",
"vite": "~4.3.9"
"vite": "~4.4.9"
},
"dependencies": {
"tslib": "^2.6.2"
}
}
}
Loading

0 comments on commit 2e3d16f

Please sign in to comment.