Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debug build to lerna #3596

Merged
merged 1 commit into from
Mar 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/AdminLogs.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Bundle.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p --progress",
"debug": "set NODE_ENV=debug&&webpack -p --progress",
"webpack": "webpack-dev-server -d --port 8070 --hot --inline --content-base dist/ --history-api-fallback",
"analyze": "set NODE_ENV=production&&webpack --config webpack.config.js --profile --json > stats.json&&webpack-bundle-analyzer stats.json"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"eslint": "eslint ./src/**/*.jsx --fix",
"test": "echo \"No tests script specified to run.\"",
"build": "set NODE_ENV=production && webpack -p --config dist.webpack.config.js",
"debug": "set NODE_ENV=debug && webpack -p --config dist.webpack.config.js",
"storybook": "start-storybook -p 9001 -c .storybook"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Extensions.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Licensing.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Pages.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"test": "jest",
"test:watch": "jest --watch",
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server --host localhost -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Prompt.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8100 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=analyze&&webpack-dev-server -d --port 8100 --hot --inline --content-base dist/ --history-api-fallback",
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Roles.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Security.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --host localhost --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Seo.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Servers.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8085 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Sites.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Themes.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
1 change: 1 addition & 0 deletions Dnn.AdminExperience/ClientSide/Users.Web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"start": "npm run webpack",
"test": "jest",
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"build": "set NODE_ENV=production&&webpack -p",
"debug": "set NODE_ENV=debug&&webpack -p",
"webpack": "webpack-dev-server -d --port 8080 --hot --inline --content-base dist/ --history-api-fallback",
"watch": "set NODE_ENV=debug & webpack --mode=development --progress --colors --watch",
"analyze": "set NODE_ENV=production&&webpack -p --json | webpack-bundle-size-analyzer"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
"scripts": {
"build": "lerna run build --stream",
"debug": "lerna run debug --stream",
"package": "lerna run package",
"clean": "lerna run clean",
"lint": "lerna run lint",
Expand Down