Comments (6)
Do tags correspond to the version
in package.json? I think managing deployments based on that number would be ideal. Tags may be a proxy for that. That way we still merge to master as needed, bump the version, and not trigger unintentional builds (eg. make a change to the README, no need not deploy).
from single-spa-inspector.
It looks like we can trigger an action on a tag change https://help.github.com/en/articles/workflow-syntax-for-github-actions#onpushpull_requestbranchestags
doesn't appear to be any support for looking at the contents of package.json, at least at the moment. I could be wrong though.
from single-spa-inspector.
Tag is probably ok, I think npm version
also creates a new tag so that should stay in lock-step. I looked around and didn't find any ready-made actions for deploying based on npm version.
from single-spa-inspector.
I just encountered an issue with basing deployments on tags, while at work. We use yarn version
(though npm behaves the same so it should apply as well) to update the version numbers in package.json and yarn.lock, and this command also creates a git tag. We push those updates as part of a pull request and so the tag has a possibility of deploying a version that shouldn't yet go out.
from single-spa-inspector.
The way I've usually seen this done in open source projects is to only call yarn version
(or yarn publish
) on the master branch instead of on pull requested branches. Generally the pull requester doesn't update the version - that is done by the maintainer who is releasing a new version.
For single-spa-inspector, I think the above workflow would work well. Am open to whatever you and Anthony think would be easiest though for maintaining the project.
from single-spa-inspector.
Yea as long as we can commit directly to master, that would work (my company doesn't allow that for good reasons too).
from single-spa-inspector.
Related Issues (20)
- Special chars in app names not properly escaped
- Add ability to toggle on/off *all* of the overlays at once HOT 1
- Upgrade to web-ext@3 HOT 2
- Overlay toggles are full-width in Chrome
- Overlays are not removed when app is unmounted HOT 8
- Overlays do not resize dynamically HOT 7
- Order of apps is reversed
- Submit/deploy as Edge extension HOT 3
- Overlays are no longer colored by a generated value from their names HOT 1
- Not showing utility mfe or root-config (SystemJS modules that are not single-spa apps) HOT 2
- Temporary disable an override HOT 1
- Enhancement: Point to an import-map.json for easy Overrides HOT 3
- Inspector display no table rows HOT 4
- How to disable single-spa-inspector in production mode? HOT 2
- Parcels don't show up in the list. HOT 5
- extention not working for chrome HOT 2
- Impossible to see Utility module HOT 1
- RFC: update single-spa-inspector HOT 2
- Inspector bug report
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from single-spa-inspector.