Skip to content

Commit

Permalink
Merge branch 'main' into bump-meilisearch-v1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
curquiza authored Oct 4, 2024
2 parents 4764e69 + bc97969 commit 1f5be1b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meilisearch",
"version": "0.44.0",
"version": "0.44.1",
"description": "The Meilisearch JS client for Node.js and the browser.",
"keywords": [
"meilisearch",
Expand All @@ -16,9 +16,8 @@
"qdequele <quentin@meilisearch.com>"
],
"license": "MIT",
"main": "./dist/bundles/meilisearch.cjs.js",
"module": "./dist/bundles/meilisearch.esm.js",
"browser": "./dist/bundles/meilisearch.umd.js",
"main": "./dist/bundles/meilisearch.cjs",
"module": "./dist/bundles/meilisearch.mjs",
"typings": "./dist/types/index.d.ts",
"types": "./dist/types/index.d.ts",
"jsdelivr": "./dist/bundles/meilisearch.umd.js",
Expand All @@ -27,8 +26,8 @@
".": {
"types": "./dist/types/index.d.ts",
"browser": "./dist/bundles/meilisearch.umd.js",
"import": "./dist/bundles/meilisearch.esm.js",
"require": "./dist/bundles/meilisearch.cjs.js",
"import": "./dist/bundles/meilisearch.mjs",
"require": "./dist/bundles/meilisearch.cjs",
"default": "./dist/bundles/meilisearch.umd.js"
}
},
Expand Down Expand Up @@ -56,7 +55,7 @@
"test:env:nodejs": "yarn build && node tests/env/node/index.js && node tests/env/node/getting_started.js",
"test:env:esm": "yarn --cwd tests/env/esm && yarn --cwd tests/env/esm start",
"test:env:nitro-app": "yarn build && yarn --cwd tests/env/nitro-app test",
"size": "node scripts/file-size ./dist/bundles/meilisearch.esm.min.js ./dist/bundles/meilisearch.umd.min.js",
"size": "node scripts/file-size ./dist/bundles/meilisearch.mjs ./dist/bundles/meilisearch.umd.min.js",
"style": "yarn fmt && yarn lint",
"style:fix": "yarn fmt:fix && yarn lint:fix",
"fmt": "prettier -c ./**/*.{js,ts}",
Expand Down
8 changes: 3 additions & 5 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,7 @@ module.exports = [
sourcemap: env === "production", // create sourcemap for error reporting in production mode
},
],
plugins: [
env === "production" ? terser() : {}, // will minify the file in production mode
...PLUGINS,
],
plugins: PLUGINS,
},
// Common JS build (Node).
// Compatible only in a nodeJS environment.
Expand All @@ -102,7 +99,8 @@ module.exports = [
),
exports: "named",
format: "cjs",
sourcemap: env === "production", // create sourcemap for error reporting in production mode
},
plugins: [...PLUGINS],
plugins: PLUGINS,
},
];
2 changes: 1 addition & 1 deletion src/package-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const PACKAGE_VERSION = "0.44.0";
export const PACKAGE_VERSION = "0.44.1";

0 comments on commit 1f5be1b

Please sign in to comment.