Skip to content

Commit

Permalink
chore: Version 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
treoden committed Jan 3, 2025
1 parent e7bf8ab commit da4e8a7
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 12 deletions.
29 changes: 18 additions & 11 deletions packages/evershop/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p align="center">
<img width="60" height="68" alt="EverShop Logo" src="https://evershop.io/img/logo.png"/>
<img width="60" height="68" alt="EverShop Logo" src="https://raw.githubusercontent.com/evershopcommerce/evershop/dev/.github/images/logo-green.png"/>
</p>
<p align="center">
<h1 align="center">EverShop</h1>
Expand Down Expand Up @@ -58,20 +58,17 @@ Explore our demo store.

<p align="left">
<a href="https://demo.evershop.io/admin" target="_blank">
<img alt="evershop-backend-demo" height="35" alt="EverShop Admin Demo" src="https://raw.githubusercontent.com/evershopcommerce/evershop/dev/.github/images/evershop-admin-demo.png"/>
<img alt="evershop-backend-demo" height="35" alt="EverShop Admin Demo" src="https://raw.githubusercontent.com/evershopcommerce/evershop/dev/.github/images/evershop-demo-back.png"/>
</a>
<a href="https://demo.evershop.io/" target="_blank">
<img alt="evershop-store-demo" height="35" alt="EverShop Store Demo" src="https://raw.githubusercontent.com/evershopcommerce/evershop/dev/.github/images/evershop-demo-front.png"/>
</a>
</p>
<b>Demo user:</b>

Email: [email protected]<br/>
Password: 123456

<p align="left">
<a href="https://demo.evershop.io/" target="_blank">
<img alt="evershop-store-demo" height="35" alt="EverShop Store Demo" src="https://raw.githubusercontent.com/evershopcommerce/evershop/dev/.github/images/evershop-store-front-demo.png"/>
</a>
</p>

## Support

If you like my work, feel free to:
Expand All @@ -80,6 +77,19 @@ If you like my work, feel free to:
- [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)][tweet] about EverShop. Thank you!

[tweet]: https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Fevershopcommerce%2Fevershop&text=Awesome%20React%20Ecommerce%20Project&hashtags=react,ecommerce,expressjs,graphql

### Sponsors

<table style="text-align:center;">
<tr>
<td align="center" valign="middle"><a href="https://www.bountyhub.dev/" target="_blank"><img src="https://raw.githubusercontent.com/evershopcommerce/evershop/dev/.github/images/sponsors/bountyhub.png" width="85" valign="middle" /></a></td>
</tr>
</table>

## Contributing

EverShop is an open-source project. We are committed to a fully transparent development process and appreciate highly any contributions. Whether you are helping us fix bugs, proposing new features, improving our documentation or spreading the word - we would love to have you as part of the EverShop community.

### Ask a question about EverShop

You can ask questions, and participate in discussions about EverShop-related topics in the EverShop Discord channel.
Expand All @@ -98,9 +108,6 @@ If you have an idea, or you're missing a capability that would make development
If a similar feature request already exists, don't forget to leave a "+1".
If you add some more information such as your thoughts and vision about the feature, your comments will be embraced warmly :)

## Contributing

EverShop is an open-source project. We are committed to a fully transparent development process and appreciate highly any contributions. Whether you are helping us fix bugs, proposing new features, improving our documentation or spreading the word - we would love to have you as part of the EverShop community.

Please refer to our [Contribution Guidelines](./CONTRIBUTING.md) and [Code of Conduct](./CODE_OF_CONDUCT.md).

Expand Down
3 changes: 2 additions & 1 deletion packages/evershop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evershop/evershop",
"version": "1.2.1",
"version": "1.2.2",
"description": "The React Ecommerce platform. Built with React and Postgres. Open-source and free. Fast and customizable.",
"files": [
"bin",
Expand All @@ -12,6 +12,7 @@
"scripts": {
"prepublishOnly": "node prepublish.js",
"prepack": "node prepublish.js",
"postpack": "node postpack.js",
"dev": "evershop dev",
"build": "evershop build",
"start": "evershop start",
Expand Down
30 changes: 30 additions & 0 deletions packages/evershop/postpack.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
const fs = require('fs');
const path = require('path');

// Get the current version of the package from the nearest package.json file
const packageJson = require(path.resolve(__dirname, 'package.json'));
const {version} = packageJson;
// Get the --pack-destination from the command line arguments
// Create a package.json file in the packDestination directory with dependencies is the package itself
fs.writeFileSync(
path.resolve(process.env.npm_config_pack_destination, 'package.json'),
JSON.stringify(
{
name: packageJson.name,
version,
dependencies: {
'@evershop/evershop': `file:./evershop-evershop-${version}.tgz`
},
scripts: {
setup: 'evershop install',
start: 'evershop start',
'start:debug': 'evershop start:debug',
build: 'evershop build',
dev: 'evershop dev',
'user:create': 'evershop user:create'
}
},
null,
2
)
);

0 comments on commit da4e8a7

Please sign in to comment.