refactor: build

This commit is contained in:
cha0s 2024-01-22 09:16:21 -06:00
parent bb7a4e46ce
commit 67553647f6
19 changed files with 17 additions and 18 deletions

View File

@ -36,6 +36,8 @@
'@avocado/timing': {} '@avocado/timing': {}
'@avocado/topdown': {} '@avocado/topdown': {}
'@avocado/traits': {} '@avocado/traits': {}
'@flecks/build':
packageManager: 'yarn'
'@flecks/core': '@flecks/core':
id: 'humus' id: 'humus'
'@flecks/db': '@flecks/db':
@ -91,9 +93,6 @@
- 'react-window' - 'react-window'
port: 32350 port: 32350
public: 'humus.localhost' public: 'humus.localhost'
'request.socket':
- '@humus/universe/server'
- '...'
'@humus/app': '@humus/app':
resolution: [1600, 900] resolution: [1600, 900]
'@humus/bootstrap': {} '@humus/bootstrap': {}

View File

@ -1,4 +1,4 @@
const {copy} = require('@flecks/core/server'); const {copy} = require('@flecks/build/server');
const configFn = require('@flecks/web/build/web.webpack.config'); const configFn = require('@flecks/web/build/web.webpack.config');
module.exports = async (env, argv, flecks) => { module.exports = async (env, argv, flecks) => {

View File

@ -66,9 +66,10 @@
"pg-hstore": "^2.3.4" "pg-hstore": "^2.3.4"
}, },
"devDependencies": { "devDependencies": {
"@flecks/build": "^3.0.0",
"@flecks/create-fleck": "^3.0.0", "@flecks/create-fleck": "^3.0.0",
"@flecks/docker": "^3.0.0", "@flecks/docker": "^3.0.0",
"lerna": "^3.22.1", "lerna": "^8.0.2",
"patch-package": "^6.4.7", "patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0" "postinstall-postinstall": "^2.1.0"
} }

View File

@ -0,0 +1 @@
exports.dependencies = ['@flecks/react'];

View File

@ -1,3 +0,0 @@
'@flecks/core': {}
'@flecks/fleck': {}
'@flecks/react': {}

View File

@ -38,6 +38,7 @@
"react-joystick-component": "^4.0.0" "react-joystick-component": "^4.0.0"
}, },
"devDependencies": { "devDependencies": {
"@flecks/build": "^3.0.0",
"@flecks/fleck": "^3.0.0" "@flecks/fleck": "^3.0.0"
} }
} }

View File

@ -20,6 +20,7 @@
"@flecks/core": "^3.0.0" "@flecks/core": "^3.0.0"
}, },
"devDependencies": { "devDependencies": {
"@flecks/build": "^3.0.0",
"@flecks/fleck": "^3.0.0" "@flecks/fleck": "^3.0.0"
} }
} }

View File

@ -13,6 +13,6 @@ export const hooks = {
await user.save(); await user.save();
} }
}, },
{after: ['@flecks/passport/server']}, {after: '@flecks/passport/server', before: '@flecks/web/server'},
), ),
}; };

View File

@ -0,0 +1 @@
exports.dependencies = ['@flecks/react'];

View File

@ -1,3 +0,0 @@
'@flecks/core': {}
'@flecks/fleck': {}
'@flecks/react': {}

View File

@ -34,6 +34,7 @@
"lodash.flatten": "^4.4.0" "lodash.flatten": "^4.4.0"
}, },
"devDependencies": { "devDependencies": {
"@flecks/build": "^3.0.0",
"@flecks/fleck": "^3.0.0" "@flecks/fleck": "^3.0.0"
} }
} }

View File

@ -0,0 +1 @@
exports.dependencies = ['@flecks/react'];

View File

@ -1,3 +0,0 @@
'@flecks/core': {}
'@flecks/fleck': {}
'@flecks/react': {}

View File

@ -40,6 +40,7 @@
"is-electron": "^2.2.1" "is-electron": "^2.2.1"
}, },
"devDependencies": { "devDependencies": {
"@flecks/build": "^3.0.0",
"@flecks/fleck": "^3.0.0" "@flecks/fleck": "^3.0.0"
} }
} }

View File

@ -31,6 +31,7 @@
"debug": "4.3.1" "debug": "4.3.1"
}, },
"devDependencies": { "devDependencies": {
"@flecks/build": "^3.0.0",
"@flecks/fleck": "^3.0.0" "@flecks/fleck": "^3.0.0"
} }
} }

View File

@ -29,6 +29,7 @@
"debug": "4.3.1" "debug": "4.3.1"
}, },
"devDependencies": { "devDependencies": {
"@flecks/build": "^3.0.0",
"@flecks/fleck": "^3.0.0" "@flecks/fleck": "^3.0.0"
} }
} }

View File

@ -0,0 +1 @@
exports.dependencies = ['@flecks/react'];

View File

@ -1,3 +0,0 @@
'@flecks/core': {}
'@flecks/fleck': {}
'@flecks/react': {}

View File

@ -37,6 +37,7 @@
"express": "^4.17.1" "express": "^4.17.1"
}, },
"devDependencies": { "devDependencies": {
"@flecks/build": "^3.0.0",
"@flecks/fleck": "^3.0.0" "@flecks/fleck": "^3.0.0"
} }
} }