Skip to content

Commit

Permalink
chore(javascript): update release script (#4022)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts authored Oct 23, 2024
1 parent b18651b commit 2095537
Show file tree
Hide file tree
Showing 52 changed files with 214 additions and 220 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- name: Build clients
shell: bash
run: yarn build:all
run: yarn build

- name: Publish to NPM
shell: bash
Expand Down
4 changes: 0 additions & 4 deletions clients/algoliasearch-client-javascript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
## [5.10.2](https://github.com/algolia/algoliasearch-client-javascript/compare/5.10.1...5.10.2)

- [39a7d5216](https://github.com/algolia/api-clients-automation/commit/39a7d5216) fix(javascript): import type for bundler ([#4020](https://github.com/algolia/api-clients-automation/pull/4020)) by [@shortcuts](https://github.com/shortcuts/)

## [5.10.1](https://github.com/algolia/algoliasearch-client-javascript/compare/5.10.0...5.10.1)

- [25de7005c](https://github.com/algolia/api-clients-automation/commit/25de7005c) fix(javascript): common package types ([#4015](https://github.com/algolia/api-clients-automation/pull/4015)) by [@shortcuts](https://github.com/shortcuts/)
Expand Down
10 changes: 5 additions & 5 deletions clients/algoliasearch-client-javascript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ All of our clients comes with type definition, and are available for both browse
### With a package manager

```bash
yarn add [email protected].2
yarn add [email protected].1
# or
npm install [email protected].2
npm install [email protected].1
# or
pnpm add [email protected].2
pnpm add [email protected].1
```

### Without a package manager
Expand All @@ -51,10 +51,10 @@ Add the following JavaScript snippet to the <head> of your website:

```html
// for the full client
<script src="https://cdn.jsdelivr.net/npm/[email protected].2/dist/algoliasearch.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/algoliasearch.umd.js"></script>

// for the lite client
<script src="https://cdn.jsdelivr.net/npm/[email protected].2/dist/lite/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/lite/builds/browser.umd.js"></script>
```

### Usage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ All of our clients comes with type definition, and are available for both browse
### With a package manager

```bash
yarn add [email protected].2
yarn add [email protected].1
# or
npm install [email protected].2
npm install [email protected].1
# or
pnpm add [email protected].2
pnpm add [email protected].1
```

### Without a package manager
Expand All @@ -51,10 +51,10 @@ Add the following JavaScript snippet to the <head> of your website:

```html
// for the full client
<script src="https://cdn.jsdelivr.net/npm/[email protected].2/dist/algoliasearch.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/algoliasearch.umd.js"></script>

// for the lite client
<script src="https://cdn.jsdelivr.net/npm/[email protected].2/dist/lite/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/lite/builds/browser.umd.js"></script>
```

### Usage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import type {
import type { SearchForFacetValuesResponse } from '../model/searchForFacetValuesResponse';
import type { SearchResponse } from '../model/searchResponse';

export const apiClientVersion = '5.10.2';
export const apiClientVersion = '5.10.1';

function getDefaultHosts(appId: string): Host[] {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.10.2",
"version": "5.10.1",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
Expand Down Expand Up @@ -71,22 +71,22 @@
"lite.d.ts"
],
"dependencies": {
"@algolia/client-abtesting": "5.10.2",
"@algolia/client-analytics": "5.10.2",
"@algolia/client-common": "5.10.2",
"@algolia/client-insights": "5.10.2",
"@algolia/client-personalization": "5.10.2",
"@algolia/client-query-suggestions": "5.10.2",
"@algolia/client-search": "5.10.2",
"@algolia/ingestion": "1.10.2",
"@algolia/monitoring": "1.10.2",
"@algolia/recommend": "5.10.2",
"@algolia/requester-browser-xhr": "5.10.2",
"@algolia/requester-fetch": "5.10.2",
"@algolia/requester-node-http": "5.10.2"
"@algolia/client-abtesting": "5.10.1",
"@algolia/client-analytics": "5.10.1",
"@algolia/client-common": "5.10.1",
"@algolia/client-insights": "5.10.1",
"@algolia/client-personalization": "5.10.1",
"@algolia/client-query-suggestions": "5.10.1",
"@algolia/client-search": "5.10.1",
"@algolia/ingestion": "1.10.1",
"@algolia/monitoring": "1.10.1",
"@algolia/recommend": "5.10.1",
"@algolia/requester-browser-xhr": "5.10.1",
"@algolia/requester-fetch": "5.10.1",
"@algolia/requester-node-http": "5.10.1"
},
"devDependencies": {
"@algolia/requester-testing": "5.10.2",
"@algolia/requester-testing": "5.10.1",
"@arethetypeswrong/cli": "0.16.4",
"@types/node": "22.7.7",
"jsdom": "25.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ All of our clients comes with type definition, and are available for both browse
### With a package manager

```bash
yarn add @algolia/[email protected].2
yarn add @algolia/[email protected].1
# or
npm install @algolia/[email protected].2
npm install @algolia/[email protected].1
# or
pnpm add @algolia/[email protected].2
pnpm add @algolia/[email protected].1
```

### Without a package manager

Add the following JavaScript snippet to the <head> of your website:

```html
<script src="https://cdn.jsdelivr.net/npm/@algolia/[email protected].2/dist/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@algolia/[email protected].1/dist/builds/browser.umd.js"></script>
```

### Usage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.10.2",
"version": "5.10.1",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
Expand Down Expand Up @@ -48,10 +48,10 @@
"index.d.ts"
],
"dependencies": {
"@algolia/client-common": "5.10.2",
"@algolia/requester-browser-xhr": "5.10.2",
"@algolia/requester-fetch": "5.10.2",
"@algolia/requester-node-http": "5.10.2"
"@algolia/client-common": "5.10.1",
"@algolia/requester-browser-xhr": "5.10.1",
"@algolia/requester-fetch": "5.10.1",
"@algolia/requester-node-http": "5.10.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.16.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import type {
StopABTestProps,
} from '../model/clientMethodProps';

export const apiClientVersion = '5.10.2';
export const apiClientVersion = '5.10.1';

export const REGIONS = ['de', 'us'] as const;
export type Region = (typeof REGIONS)[number];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ All of our clients comes with type definition, and are available for both browse
### With a package manager

```bash
yarn add @algolia/[email protected].2
yarn add @algolia/[email protected].1
# or
npm install @algolia/[email protected].2
npm install @algolia/[email protected].1
# or
pnpm add @algolia/[email protected].2
pnpm add @algolia/[email protected].1
```

### Without a package manager

Add the following JavaScript snippet to the <head> of your website:

```html
<script src="https://cdn.jsdelivr.net/npm/@algolia/[email protected].2/dist/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@algolia/[email protected].1/dist/builds/browser.umd.js"></script>
```

### Usage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.10.2",
"version": "5.10.1",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
Expand Down Expand Up @@ -48,10 +48,10 @@
"index.d.ts"
],
"dependencies": {
"@algolia/client-common": "5.10.2",
"@algolia/requester-browser-xhr": "5.10.2",
"@algolia/requester-fetch": "5.10.2",
"@algolia/requester-node-http": "5.10.2"
"@algolia/client-common": "5.10.1",
"@algolia/requester-browser-xhr": "5.10.1",
"@algolia/requester-fetch": "5.10.1",
"@algolia/requester-node-http": "5.10.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.16.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import type {
GetUsersCountProps,
} from '../model/clientMethodProps';

export const apiClientVersion = '5.10.2';
export const apiClientVersion = '5.10.1';

export const REGIONS = ['de', 'us'] as const;
export type Region = (typeof REGIONS)[number];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@algolia/client-common",
"version": "5.10.2",
"version": "5.10.1",
"description": "Common package for the Algolia JavaScript API client.",
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ All of our clients comes with type definition, and are available for both browse
### With a package manager

```bash
yarn add @algolia/[email protected].2
yarn add @algolia/[email protected].1
# or
npm install @algolia/[email protected].2
npm install @algolia/[email protected].1
# or
pnpm add @algolia/[email protected].2
pnpm add @algolia/[email protected].1
```

### Without a package manager

Add the following JavaScript snippet to the <head> of your website:

```html
<script src="https://cdn.jsdelivr.net/npm/@algolia/[email protected].2/dist/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@algolia/[email protected].1/dist/builds/browser.umd.js"></script>
```

### Usage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.10.2",
"version": "5.10.1",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
Expand Down Expand Up @@ -48,10 +48,10 @@
"index.d.ts"
],
"dependencies": {
"@algolia/client-common": "5.10.2",
"@algolia/requester-browser-xhr": "5.10.2",
"@algolia/requester-fetch": "5.10.2",
"@algolia/requester-node-http": "5.10.2"
"@algolia/client-common": "5.10.1",
"@algolia/requester-browser-xhr": "5.10.1",
"@algolia/requester-fetch": "5.10.1",
"@algolia/requester-node-http": "5.10.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.16.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import type {
DeleteUserTokenProps,
} from '../model/clientMethodProps';

export const apiClientVersion = '5.10.2';
export const apiClientVersion = '5.10.1';

export const REGIONS = ['de', 'us'] as const;
export type Region = (typeof REGIONS)[number];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ All of our clients comes with type definition, and are available for both browse
### With a package manager

```bash
yarn add @algolia/[email protected].2
yarn add @algolia/[email protected].1
# or
npm install @algolia/[email protected].2
npm install @algolia/[email protected].1
# or
pnpm add @algolia/[email protected].2
pnpm add @algolia/[email protected].1
```

### Without a package manager

Add the following JavaScript snippet to the <head> of your website:

```html
<script src="https://cdn.jsdelivr.net/npm/@algolia/[email protected].2/dist/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@algolia/[email protected].1/dist/builds/browser.umd.js"></script>
```

### Usage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.10.2",
"version": "5.10.1",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
Expand Down Expand Up @@ -48,10 +48,10 @@
"index.d.ts"
],
"dependencies": {
"@algolia/client-common": "5.10.2",
"@algolia/requester-browser-xhr": "5.10.2",
"@algolia/requester-fetch": "5.10.2",
"@algolia/requester-node-http": "5.10.2"
"@algolia/client-common": "5.10.1",
"@algolia/requester-browser-xhr": "5.10.1",
"@algolia/requester-fetch": "5.10.1",
"@algolia/requester-node-http": "5.10.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.16.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import type {
GetUserTokenProfileProps,
} from '../model/clientMethodProps';

export const apiClientVersion = '5.10.2';
export const apiClientVersion = '5.10.1';

export const REGIONS = ['eu', 'us'] as const;
export type Region = (typeof REGIONS)[number];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ All of our clients comes with type definition, and are available for both browse
### With a package manager

```bash
yarn add @algolia/[email protected].2
yarn add @algolia/[email protected].1
# or
npm install @algolia/[email protected].2
npm install @algolia/[email protected].1
# or
pnpm add @algolia/[email protected].2
pnpm add @algolia/[email protected].1
```

### Without a package manager

Add the following JavaScript snippet to the <head> of your website:

```html
<script src="https://cdn.jsdelivr.net/npm/@algolia/[email protected].2/dist/builds/browser.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@algolia/[email protected].1/dist/builds/browser.umd.js"></script>
```

### Usage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.10.2",
"version": "5.10.1",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
Expand Down Expand Up @@ -48,10 +48,10 @@
"index.d.ts"
],
"dependencies": {
"@algolia/client-common": "5.10.2",
"@algolia/requester-browser-xhr": "5.10.2",
"@algolia/requester-fetch": "5.10.2",
"@algolia/requester-node-http": "5.10.2"
"@algolia/client-common": "5.10.1",
"@algolia/requester-browser-xhr": "5.10.1",
"@algolia/requester-fetch": "5.10.1",
"@algolia/requester-node-http": "5.10.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.16.4",
Expand Down
Loading

0 comments on commit 2095537

Please sign in to comment.