Skip to content
Permalink
Browse files

refactor: move files out of project root

The intention here is to make the project root a bit less busy and
stimulating so that new users can get a better feel for what's going on
in the project. This isn't perfect, but I think it's an improvement and
it reduces the number of files that the user is greeted with when
looking at the Patchwork repo.
  • Loading branch information...
christianbundy committed Jun 11, 2019
1 parent 746caec commit 45337262ab404f38f53de05f2fd55377146c29f9

This file was deleted.

@@ -50,19 +50,20 @@ terms.

## License

AGPL-3.0
[AGPL-3.0][license]

[conduct]: code-of-conduct.md
[contributing]: CONTRIBUTING.md
[conduct]: CODE_OF_CONDUCT.md
[contributing]: docs/CONTRIBUTING.md
[gh-dl]: https://github.com/ssbc/patchwork/releases/latest
[install]: INSTALL.md
[install]: docs/INSTALL.md
[license]: LICENSE
[manyverse]: https://gitlab.com/staltz/manyverse
[new-issue]: https://github.com/fraction/readme-boilerplate/issues/new
[npm]: https://npmjs.org/
[patchbay]: https://github.com/ssbc/patchbay
[pub-list]: https://github.com/ssbc/ssb-server/wiki/Pub-Servers
[pub]: https://www.scuttlebutt.nz/concepts/pub.html
[screenshot]: screenshot.jpg
[screenshot]: assets/screenshot.jpg
[ssb-server]: https://github.com/ssbc/ssb-server
[yarn]: https://yarnpkg.com/en/
[yay]: https://github.com/Jguer/yay
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -137,7 +137,7 @@ function openMainWindow () {
defaultWidth: 1024,
defaultHeight: 768
})
windows.main = openWindow(ssbConfig, Path.join(__dirname, 'main-window.js'), {
windows.main = openWindow(ssbConfig, Path.join(__dirname, 'lib', 'main-window.js'), {
minWidth: 800,
x: windowState.x,
y: windowState.y,
@@ -213,7 +213,7 @@ function setupContext (appName, opts, cb) {
ssbConfig = config
cb && cb()
})
windows.background = openWindow(ssbConfig, Path.join(__dirname, 'server-process.js'), {
windows.background = openWindow(ssbConfig, Path.join(__dirname, 'lib', 'server-process.js'), {
connect: false,
center: true,
fullscreen: false,
@@ -5,12 +5,12 @@ var h = require('mutant/h')
var when = require('mutant/when')
var onceTrue = require('mutant/once-true')
var computed = require('mutant/computed')
var catchLinks = require('./lib/catch-links')
var themes = require('./styles')
var catchLinks = require('./catch-links')
var themes = require('../styles')
var nest = require('depnest')
var LatestUpdate = require('./lib/latest-update')
var LatestUpdate = require('./latest-update')
var ref = require('ssb-ref')
var setupContextMenuAndSpellCheck = require('./lib/context-menu-and-spellcheck')
var setupContextMenuAndSpellCheck = require('./context-menu-and-spellcheck')
var watch = require('mutant/watch')
var requireStyle = require('require-style')
var ssbUri = require('ssb-uri')
@@ -25,7 +25,7 @@ module.exports = function (config) {
var sockets = combine(
overrideConfig(config),
addCommand('app.navigate', navigate),
require('./modules'),
require('../modules'),
require('patch-settings')
)

@@ -41,7 +41,7 @@ var createSbot = require('secret-stack')()
.use(require('ssb-ws'))
.use(require('ssb-tags'))
// .use(require('ssb-ebt')) // enable at your own risk!
.use(require('./sbot'))
.use(require('../sbot'))

fixPath()

0 comments on commit 4533726

Please sign in to comment.
You can’t perform that action at this time.