Closed brandonhorst closed 9 years ago
Indeed, its janktastic :)
The joke has gone too far, time to make it better.
What @dcposch describes in his pull request is probably what we should start doing:
Every time feross/standard publishes a new version,
- reset --hard to the parent of this commit
- Copy over everything from feross/standard: rm -rf * && cp ../standard/* . -r
- git commit -am "Copying standard <x.x.x>"
- Cherry-pick this commit
- Update the version to match feross/standard and amend
- Run npm test
- Boom, done. Republish
I'd like it to be automated to where something similar to above happens and the current README (and package.json?) is retained.
Also, the way standard
runs tests now is by checking out several repos and running against them to ensure no errors. This would need to be considered/ignored/changed to semistandard
repos.
where something similar to above happens and the current README (and package.json?) is retained.
Also, the way standard runs tests now is by checking out several repos and running against them to ensure no errors. This would need to be considered/ignored/changed to semistandard repos.
That one commit (that we have to rebase each time standard
updates) does all of those things. It updates the code, the readme, the package.json, and the tests.
Thanks @dcposch I merged your commit, I also created a script for updating things automagically via npm run sync
. This should make it simple to keep this sucker synced.
@brandonhorst can you give the latest a try?
Works great, thanks!
If
standard
is already installed in a package, npm's deduping will not install it to the expected location for thepostinstall
script.That's a pretty janky implementation strategy - perhaps we should switch to a proper fork instead.