Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit 3920d65

Browse files
1.0.0-rc.2
1 parent fb7dad8 commit 3920d65

File tree

7 files changed

+29
-10
lines changed

7 files changed

+29
-10
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,4 @@ firebase-debug.*.log*
4949

5050
# cypress videos
5151
*.mp4
52+
*.mp4.meta

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# CHANGELOG
22

3-
## Not released
3+
## Unreleased
4+
5+
## 1.0.0-rc.2 (2021-03-12)
46
- Add improved htmlForFeature in skeleton [#215](https://github.com/CartoDB/carto-react-template/pull/215)
57
- Fix immutable/serializable checks for redux middleware in skeleton [#216](https://github.com/CartoDB/carto-react-template/pull/216)
68

DEVELOPERS.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,30 @@ npx create-react-app test-template --template file:./carto-react-template/templa
2828

2929
## Publishing the templates to npm
3030

31-
> ⚠️ Important: remember to set the right version for each template, tag the release in the GitHub repository and deploy the sample app with the latest changes
32-
33-
For each template, execute the release command from its **base folder**. Before this command is executed, a pre-hook will clean all unnecesary development files and folders and copy the hygen templates, before making the npm release
31+
Follow these steps:
32+
33+
1. Open a new branch for the release, eg. release-v1.0.0-rc.2
34+
2. For each template:
35+
- launch the app, with `yarn start`
36+
- test cypress locally, with `yarn cy:run`
37+
- manual review from browser (see errors & warnings)
38+
- from template root folder `yarn clean`
39+
- use create-react-app to build a project
40+
- test cra project result as a user, including hygen generators
41+
3. Bump manually package version in package.json (root level --> package.json & inside template --> package.dev.json)
42+
4. Update changelog: rename 'Unrelased' to new version, eg 1.0.0-rc.2 (2021-03-12)
43+
5. Push branch to remote to run CI (all test green)
44+
6. Execute the release command, for each template, from its **base folder**: `yarn release`.
3445

3546
```bash
36-
cd template-sample-app
37-
yarn release
47+
cd template-sample-app
48+
yarn release
3849
```
50+
Before this command is executed, a prerelease hook will clean all unnecesary development files and folders and copy the latest hygen templates, before making the npm release.
51+
7. After a succesful release, merge the PR and create a tag in github
52+
8. Deploy the sample app template to firebase (if required)
53+
54+
3955

4056

4157
## Deploying the sample app

template-sample-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@carto/cra-template-sample-app",
3-
"version": "1.0.0-rc.1",
3+
"version": "1.0.0-rc.2",
44
"keywords": [
55
"react",
66
"create-react-app",

template-sample-app/template/package.dev.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "carto-for-react",
3-
"version": "1.0.0-rc.1",
3+
"version": "1.0.0-rc.2",
44
"private": true,
55
"dependencies": {
66
"@carto/react-api": "1.0.0-rc.1",

template-skeleton/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@carto/cra-template",
3-
"version": "1.0.0-rc.1",
3+
"version": "1.0.0-rc.2",
44
"keywords": [
55
"react",
66
"create-react-app",

template-skeleton/template/package.dev.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "carto-for-react",
3-
"version": "1.0.0-rc.1",
3+
"version": "1.0.0-rc.2",
44
"private": true,
55
"dependencies": {
66
"@carto/react-api": "1.0.0-rc.1",

0 commit comments

Comments
 (0)