Skip to content

Commit

Permalink
Merge pull request #2153 from nextcloud/chore/migrate-vite
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Feb 7, 2024
2 parents 74dae2c + 6252dfc commit b487257
Show file tree
Hide file tree
Showing 38 changed files with 4,782 additions and 4,879 deletions.
12 changes: 0 additions & 12 deletions .eslintrc.js

This file was deleted.

13 changes: 13 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"globals": {
"appName": true,
"appVersion": true,
"INJECT_CYPRESS_FONT": true,
"PLYR_ICONS": true,
"oc_defaults": true,
"__dirname": true
},
"extends": [
"@nextcloud/eslint-config/typescript"
]
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
css/fonts/

.DS_Store
node_modules/
npm-debug.log*
Expand Down
5 changes: 0 additions & 5 deletions babel.config.js

This file was deleted.

62 changes: 62 additions & 0 deletions css/viewer-main.css

Large diffs are not rendered by default.

17 changes: 6 additions & 11 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,12 @@ export default defineConfig({

// Before the browser launches
// starting Nextcloud testing container
return startNextcloud(process.env.BRANCH)
.then((ip) => {
// Setting container's IP as base Url
config.baseUrl = `http://${ip}/index.php`
return ip
})
.then(waitOnNextcloud)
.then(configureNextcloud)
.then(() => {
return config
})
const ip = await startNextcloud(process.env.BRANCH)
// Setting container's IP as base Url
config.baseUrl = `http://${ip}/index.php`
await waitOnNextcloud(ip)
await configureNextcloud([]) // pass empty array as WE are already the viewer
return config
},
},
})
11 changes: 0 additions & 11 deletions cypress/.eslintrc.js

This file was deleted.

11 changes: 11 additions & 0 deletions cypress/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"env": {
"cypress/globals": true
},
"plugins": [
"cypress"
],
"extends": [
"plugin:cypress/recommended"
]
}
57 changes: 57 additions & 0 deletions js/index-N0-u9MtC.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions js/index-N0-u9MtC.mjs.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions js/index.esm-lLnUvgQD.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions js/index.esm-lLnUvgQD.mjs.map

Large diffs are not rendered by default.

Loading

0 comments on commit b487257

Please sign in to comment.