Skip to content

Commit b223e09

Browse files
authored
fix: set public package publishing flag (#49)
1 parent 735a610 commit b223e09

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cra-template-brightsign-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"format:check": "prettier . --check --config ../.prettierrc.js --cache --cache-location=../prettiercache",
2222
"format": "prettier . --write --config ../.prettierrc.js --cache --cache-location=../prettiercache && yarn lint --fix",
2323
"lint": "eslint --no-error-on-unmatched-pattern --config ../.eslintrc template/src/**/*.{js,jsx}",
24-
"publish-package": "npm publish"
24+
"publish-package": "npm publish --access public"
2525
}
2626
}

cra-template-brightsign-dashboard/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"format:check": "prettier . --check --config ../.prettierrc.js --cache --cache-location=../prettiercache",
2222
"format": "prettier . --write --config ../.prettierrc.js --cache --cache-location=../prettiercache && yarn lint --fix",
2323
"lint": "eslint --no-error-on-unmatched-pattern --config ../.eslintrc template/src/**/*.{js,jsx}",
24-
"publish-package": "npm publish"
24+
"publish-package": "npm publish --access public"
2525
}
2626
}

example-node-simple-server/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"format:check": "prettier . --check --config ../.prettierrc.js --cache --cache-location=../prettiercache",
1111
"format": "prettier . --write --config ../.prettierrc.js --cache --cache-location=../prettiercache && yarn lint --fix",
1212
"lint": "eslint --no-error-on-unmatched-pattern --config ../.eslintrc template/src/**/*.{js,jsx}",
13-
"publish-package": "npm publish"
13+
"publish-package": "npm publish --access public"
1414
},
1515
"repository": {
1616
"url": "https://github.com/brightsign/dev-cookbook.git",

template-html5-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"format:check": "prettier 'src/**/*.{js,jsx,ts,tsx,css,md,json}' --check --config ../.prettierrc.js --cache --cache-location=../prettiercache",
1818
"format": "prettier --write 'src/**/*.{js,jsx,ts,tsx,css,md,json}' --config ../.prettierrc.js && npm run lint",
1919
"test": "jest --config jest.config.js src/",
20-
"publish": "npm publish"
20+
"publish": "npm publish --access public"
2121
},
2222
"repository": {
2323
"url": "https://github.com/brightsign/dev-cookbook.git",

0 commit comments

Comments
 (0)