Skip to content

Commit

Permalink
feat: Move to vite for bundling
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>

Revert "fixup! fixup! fixup! feat: Move to vite for bundling"

This reverts commit d3c2ac5.
  • Loading branch information
juliushaertl committed Mar 11, 2024
1 parent e942183 commit 38aafa1
Show file tree
Hide file tree
Showing 21 changed files with 1,995 additions and 4,463 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:

cypress:
runs-on: ubuntu-22.04
timeout-minutes: 30
needs: init

strategy:
Expand Down
File renamed without changes.
25 changes: 25 additions & 0 deletions .tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"extends": "@vue/tsconfig/tsconfig.json",
"include": ["./src/**/*.ts"],
"compilerOptions": {
"types": ["cypress", "cypress-visual-regression", "node", "dockerode", "@nextcloud/typings"],
"target": "ESNext",
"module": "esnext",
"moduleResolution": "node",
// Allow ts to import js files
"allowJs": true,
"allowSyntheticDefaultImports": true,
"declaration": false,
"noImplicitAny": false,
"resolveJsonModule": true,
"strict": true,
},
"ts-node": {
// these options are overrides used only by ts-node
// same as our --compilerOptions flag and our TS_NODE_COMPILER_OPTIONS environment variable
"compilerOptions": {
"module": "commonjs",
"verbatimModuleSyntax": false
}
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion cypress.config.js → cypress.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = defineConfig({
component: {
devServer: {
framework: "vue",
bundler: "webpack",
bundler: "vite",
},
},
retries: {
Expand Down
File renamed without changes.
Loading

0 comments on commit 38aafa1

Please sign in to comment.