Skip to content

Commit ff0a202

Browse files
author
Crhistian Ramirez
committed
🔖 1.0.0-beta.2
1 parent da62b68 commit ff0a202

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,23 @@ A component library that can be used to quickly integrate with the OrderCloud CM
3030
})
3131
export class AppModule {}
3232
```
33+
4. In angular.json add an entry to the assets array
34+
- `{"glob": "**/*","input": "node_modules/tinymce","output": "/tinymce/"}`
35+
5. In angular.json add two entries to the scripts array
36+
- `"node_modules/tinymce/tinymce.min.js"`
37+
- `"node_modules/marketplace-cms-components/plugin.min.js"`
3338
3439
Now you can use any of the components in your application
40+
41+
## 🚀 Releasing
42+
43+
Assuming you are a maintainer you can follow these instructions to release a new version of the library.
44+
45+
1. Verify the version has been bumped and adheres to [semantic versioning](https://semver.org/). Version should be updated in both package.json and projects/lib/package.json. Commit with format `:bookmark: {VERSION}`
46+
2. Create and publish a new release on github
47+
3. Publish on npm by running `npm run publish-please`
48+
- Defaults to pre-release. It is recommended to do a pre-release first to vet changes
49+
- For normal releases update the `publishTag` in `.publishrc` to `latest` and then run `npm run publish-please`
50+
4. Have a beer!
51+
52+
If you need to override `publish-please` and just use `npm publish` you can do so by first removing `"prepublishOnly": "publish-please guard"` from package.json and then running `npm publish`

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@ordercloud/angular-cms-components",
33
"author": "Four51",
44
"license": "MIT",
5+
"version": "1.0.0-beta.2",
56
"scripts": {
67
"start": "run-s buildconfig-dev app-watchmode",
78
"build": "run-s buildconfig-prod plugin-prod build-lib move-scripts buildconfig-dev",

projects/lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ordercloud/angular-cms-components",
3-
"version": "1.0.0-beta.1",
3+
"version": "1.0.0-beta.2",
44
"author": "Four51",
55
"license": "MIT",
66
"peerDependencies": {

0 commit comments

Comments
 (0)