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

Ensure clean builds before publishing #338

Merged
merged 2 commits into from
Feb 18, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
[fix] delete old dir before build
  • Loading branch information
kinetifex committed Feb 18, 2022
commit a3e202fb18e68131e60689987e84ed5dd5bc0630
2 changes: 1 addition & 1 deletion packages/gasket-log/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test": "npm run test:client && npm run test:server",
"test:coverage": "nyc --reporter=text --reporter=json-summary npm run test",
"posttest": "npm run lint",
"build": "babel ./src/client.js -d lib",
"build": "babel ./src/client.js -d lib --delete-dir-on-start",
"prepublishOnly": "npm run build",
"test:client": "DEBUG=gasket:* mocha --require @babel/register test/client.test.js",
"test:server": "mocha test/server.test.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/gasket-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"test:watch": "npm run test:runner -- --watch",
"test:coverage": "nyc --reporter=text --reporter=json-summary npm run test:runner",
"posttest": "npm run lint",
"build": "babel src -d lib",
"build": "babel src -d lib --delete-dir-on-start",
"prepublishOnly": "npm run build"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gasket-react-intl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test:watch": "npm run test:runner -- --watch",
"test:coverage": "nyc --reporter=text --reporter=json-summary npm run test:runner",
"posttest": "npm run lint",
"build": "babel src -d lib",
"build": "babel src -d lib --delete-dir-on-start",
"prepublishOnly": "npm run build"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gasket-redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test:watch": "jest --watchAll",
"test:coverage": "jest --coverage",
"posttest": "npm run lint",
"build": "babel src -d lib --ignore \"**/*.spec.js\"",
"build": "babel src -d lib --ignore \"**/*.spec.js\" --delete-dir-on-start",
"prepublishOnly": "npm run build"
},
"repository": {
Expand Down