Skip to content

Commit

Permalink
move js root dir
Browse files Browse the repository at this point in the history
Signed-off-by: dartcafe <[email protected]>
  • Loading branch information
dartcafe committed May 31, 2024
1 parent ddf98bd commit 23c27d1
Show file tree
Hide file tree
Showing 201 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Files: .gitattributes .github/CODEOWNERS package-lock.json package.json composer
Copyright: none
License: CC0-1.0

Files: l10n/*.js l10n/*.json js/*.js.map js/*.js js/*.mjs js/*.mjs.map js/templates/*.handlebars emptyTemplates/* jsconfig.json img/app.svg img/polls.svg img/polls-dark.svg src/js/assets/icons/loading-small.gif src/js/assets/icons/maybe-vote.svg src/js/assets/icons/no-vote.svg src/js/assets/icons/spinner.svg src/js/assets/icons/yes-vote.svg
Files: l10n/*.js l10n/*.json js/*.js.map js/*.js js/*.mjs js/*.mjs.map js/templates/*.handlebars emptyTemplates/* jsconfig.json img/app.svg img/polls.svg img/polls-dark.svg src/assets/icons/loading-small.gif src/assets/icons/maybe-vote.svg src/assets/icons/no-vote.svg src/assets/icons/spinner.svg src/assets/icons/yes-vote.svg
Copyright: 2016 Nextcloud contributors
License: AGPL-3.0-or-later

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"url": "git+https://github.com/nextcloud/polls.git"
},
"license": "AGPL-3.0",
"main": "src/js/main.js",
"main": "src/main.js",
"scripts": {
"lint": "eslint --ext .js,.vue src",
"lint:fix": "eslint --ext .js,.vue src --fix",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import { createAppConfig } from '@nextcloud/vite-config'
import { join, resolve } from 'path'

export default createAppConfig({
main: resolve(join('src/js', 'main.js')),
userSettings: resolve(join('src/js', 'userSettings.js')),
adminSettings: resolve(join('src/js', 'adminSettings.js')),
dashboard: resolve(join('src/js', 'dashboard.js')),
main: resolve(join('src', 'main.js')),
userSettings: resolve(join('src', 'userSettings.js')),
adminSettings: resolve(join('src', 'adminSettings.js')),
dashboard: resolve(join('src', 'dashboard.js')),
}, {
inlineCSS: { relativeCSSInjection: true },
})
8 changes: 4 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ const webpackConfig = require('@nextcloud/webpack-vue-config')
const webpackRules = require('@nextcloud/webpack-vue-config/rules')

webpackConfig.entry = {
main: path.join(__dirname, 'src/js/', 'main.js'),
userSettings: path.join(__dirname, 'src/js/', 'userSettings.js'),
adminSettings: path.join(__dirname, 'src/js/', 'adminSettings.js'),
dashboard: path.join(__dirname, 'src/js/', 'dashboard.js'),
main: path.join(__dirname, 'src/', 'main.js'),
userSettings: path.join(__dirname, 'src/', 'userSettings.js'),
adminSettings: path.join(__dirname, 'src/', 'adminSettings.js'),
dashboard: path.join(__dirname, 'src/', 'dashboard.js'),
}

webpackConfig.output = {
Expand Down

0 comments on commit 23c27d1

Please sign in to comment.