Open OleksiyRudenko opened 3 years ago
Problem: https://github.com/kottans/framework-2021/commit/a8e06addcc7adc7a079edf5006185e5ac7333ffa (currently on dev) brings back push-dir as a publishing script. Alternative deployment package gh-pages is already listed among dev dependencies.
push-dir
gh-pages
Desired outcome: gh-pages is used as a publishing method.
Suggested approach: package.json: change deploy script so that it runs gh-pages -d dist
package.json
deploy
gh-pages -d dist
Problem: https://github.com/kottans/framework-2021/commit/a8e06addcc7adc7a079edf5006185e5ac7333ffa (currently on dev) brings back shell interpretation of glob passed to npx prettier.
npx prettier
Desired outcome: npx prettier glob is quoted and therefore interpreted by prettier, not shell.
Suggested approach: package.json: change prettify script so that it runs npx prettier --write \"**/*.{js,css,md,html}\"
prettify
npx prettier --write \"**/*.{js,css,md,html}\"
This would change only package.json so I think it'd be safe to make PR and merge to dev
Issue 1
Problem: https://github.com/kottans/framework-2021/commit/a8e06addcc7adc7a079edf5006185e5ac7333ffa (currently on dev) brings back
push-dir
as a publishing script. Alternative deployment packagegh-pages
is already listed among dev dependencies.Desired outcome:
gh-pages
is used as a publishing method.Suggested approach:
package.json
: changedeploy
script so that it runsgh-pages -d dist
Issue 2
Problem: https://github.com/kottans/framework-2021/commit/a8e06addcc7adc7a079edf5006185e5ac7333ffa (currently on dev) brings back shell interpretation of glob passed to
npx prettier
.Desired outcome:
npx prettier
glob is quoted and therefore interpreted by prettier, not shell.Suggested approach:
package.json
: changeprettify
script so that it runsnpx prettier --write \"**/*.{js,css,md,html}\"