Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy committed Jun 26, 2024
1 parent 5de3a14 commit 2bb8405
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
35 changes: 21 additions & 14 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,27 @@ yarn format
> **TODO:** Configure an automatic release process with GitHub actions.
1. Create a new version
```bash
yarn version [ major | minor | patch | prerelease ]
```

```bash
yarn version [ major | minor | patch | prerelease ]
```

2. Update changelog and commit
```bash
git add -u
git commit -m "vX.Y.Z"
git tag -a "vX.Y.Z"
```

```bash
git add -u
git commit -m "vX.Y.Z"
git tag -a "vX.Y.Z"
```

3. Publish to npm
```bash
yarn npm publish [ --tag alpha ]
```

```bash
yarn npm publish [ --tag alpha ]
```

4. Push to GitHub
```bash
git push && git push --tags
```

```bash
git push && git push --tags
```
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ To filter the widget source by a non-geospatial column, pass a `filters`
property to the source factory function.

```javascript
import { vectorTableSource } from '@carto/api-client';
import {vectorTableSource} from '@carto/api-client';

const data = vectorTableSource({
accessToken: '••••',
connectionName: 'carto_dw',
tableName: 'carto-demo-data.demo_tables.retail_stores',
filters: {
'store_type': {owner: 'widget-id', values: ['retail']}
}
store_type: {owner: 'widget-id', values: ['retail']},
},
});
```

Expand Down

0 comments on commit 2bb8405

Please sign in to comment.