Comments (10)
I have the same issue ever since v1.2.x releases. At first, I thought it was my configuration since the plugin had been renamed but even after fixing all these issues the problem persists rendering my previously working release workflow completely unusable. Any help would be appreciated.
from semantic-release-replace-plugin.
It should be possible to downgrade to @google/[email protected]
, and it should work.
I also encountered this issue and compared it with the last successful deploy and it was 1.2.0
is when it worked, the latest version right now (1.2.1
) is causing the issue described in the OP.
I think there is a fix for this on the way here: #222
@jpoehnelt When can we expect this to be merged and published to NPM?
By the way, please make sure to release it as a minor version (1.2.2
) so it will automatically be resolved for most people.
Thanks
from semantic-release-replace-plugin.
Please try [email protected]
or @google/[email protected]
from semantic-release-replace-plugin.
@jpoehnelt I am not seeing OP's issue resolved as of the latest (1.2.6) release.
I am still seeing the same error as OP.
Am I missing something?
from semantic-release-replace-plugin.
Same here, same issue with 1.2.5
from semantic-release-replace-plugin.
Please try https://www.npmjs.com/package/semantic-release-replace-plugin/v/1.2.7 which includes changes from 90c2976.
from semantic-release-replace-plugin.
@jpoehnelt Thanks.
Just to highlight, this version requires:
- Node 18 or above
- Peer dependency to
semantic-release
version20.1.0
or above
If anyone want to resolve the issue and not want to change the dependencies, then i suggest to install the earlier working version (1.2.0
):
- Put this in your
package.json
:@google/[email protected]
from semantic-release-replace-plugin.
Just to highlight, this version requires:
- Node 18 or above
- Peer dependency to
semantic-release
version20.1.0
or above
@KennyLindahl Please note that these are the same settings used by many of the most popular semantic release plugins at this time.
See semantic-release/semantic-release#2133
from semantic-release-replace-plugin.
Closing this as there have been no reports. Please comment if you have an issue with >1.2.7
. Sorry for the maintenance burden, the CJS/ESM churn is not fun 🤮 .
from semantic-release-replace-plugin.
thanks for all the work on this lib @jpoehnelt !
it is a great tool!
from semantic-release-replace-plugin.
Related Issues (12)
- Multiline mode HOT 3
- Feature request to support major version, minor version only replacement? HOT 12
- Feature request to target only specific branches HOT 1
- matches not found in google action HOT 3
- Conditional replace file HOT 5
- Skip step "prepare" of plugin "@google/semantic-release-replace-plugin" in dry-run mode HOT 4
- Error running on Gitlab CI HOT 2
- Cannot find module 'semantic-release-replace-plugin' HOT 11
- Release `1.2.7` should be a major release, or at the very least a minor HOT 1
- Match not found semantic-release-replace-plugin HOT 1
- Increment value HOT 4
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 semantic-release-replace-plugin.