[WIP] Restructure build process #821
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
Osprey
priority: blocker
priority: high
priority: low
priority: medium
protocol dependent
resilience
Tom's Wishlist
type: bug
type: discussion
type: error handling
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/spee.ch#821
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor-build"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Prod
npm run build && npm start
Dev
npm run dev && npm start
Will be reducing dev to a single command.
Still working on productivity features.
@ -64,1 +62,4 @@
db['Trending'] = Trending(sequelize, Sequelize);
db['User'] = User(sequelize, Sequelize);
db['Views'] = Views(sequelize, Sequelize);
Had to remove
sequelize.import
because it attempts to read file runtime information that is not available when files are bundled.@ -62,3 +62,3 @@
// pre-save hook method to hash the user's password before the user's info is saved to the db.
User.hook('beforeCreate', (user, options) => {
User.addHook('beforeCreate', (user, options) => {
logger.debug('User.beforeCreate hook...');
Updated legacy command
@ -0,0 +94,4 @@
// send the rendered page back to the client
res.send(renderFullPage(helmet, html, preloadedState));
};
Will remove
@ -11,3 +8,4 @@
"dev": "webpack --config webpack.config.js --mode=development",
"configure": "node cli/configure.js",
"fix": "eslint . --fix",
"lint": "eslint .",
No more crazy multi-staged file pipelines!