refactor: build
This commit is contained in:
parent
bb7a4e46ce
commit
67553647f6
|
@ -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': {}
|
||||||
|
|
|
@ -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) => {
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
1
packages/app/build/flecks.bootstrap.js
Normal file
1
packages/app/build/flecks.bootstrap.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
exports.dependencies = ['@flecks/react'];
|
|
@ -1,3 +0,0 @@
|
||||||
'@flecks/core': {}
|
|
||||||
'@flecks/fleck': {}
|
|
||||||
'@flecks/react': {}
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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'},
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
|
1
packages/combat/build/flecks.bootstrap.js
Normal file
1
packages/combat/build/flecks.bootstrap.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
exports.dependencies = ['@flecks/react'];
|
|
@ -1,3 +0,0 @@
|
||||||
'@flecks/core': {}
|
|
||||||
'@flecks/fleck': {}
|
|
||||||
'@flecks/react': {}
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1
packages/core/build/flecks.bootstrap.js
Normal file
1
packages/core/build/flecks.bootstrap.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
exports.dependencies = ['@flecks/react'];
|
|
@ -1,3 +0,0 @@
|
||||||
'@flecks/core': {}
|
|
||||||
'@flecks/fleck': {}
|
|
||||||
'@flecks/react': {}
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1
packages/universe/build/flecks.bootstrap.js
Normal file
1
packages/universe/build/flecks.bootstrap.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
exports.dependencies = ['@flecks/react'];
|
|
@ -1,3 +0,0 @@
|
||||||
'@flecks/core': {}
|
|
||||||
'@flecks/fleck': {}
|
|
||||||
'@flecks/react': {}
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user