@ic-reactor/vite-plugin 4.0.0-beta.1 → 4.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @ic-reactor/vite-plugin
2
2
 
3
- > **ic-reactor 4 is a prerelease.** `4.0.0-beta.1` is published under npm's
3
+ > **ic-reactor 4 is a prerelease.** `4.0.0-beta.2` is published under npm's
4
4
  > `beta` dist-tag, and `latest` stays the 0.15 plugin of the 3.x line until 4.0
5
5
  > GA. That plugin, which generates reactor bindings with `@ic-reactor/codegen`,
6
6
  > is documented at https://ic-reactor.b3pay.net/v3/packages/vite-plugin.
@@ -21,12 +21,12 @@ type `IcReactorPluginOptions`:
21
21
 
22
22
  The plugin runs the `@candid-core/cli` your app installs, and that CLI has to
23
23
  pair with the `@candid-core/schema` runtime the generated modules import. Both
24
- are pinned to one exact release while they are betas, and so is the plugin's
25
- peer on the CLI:
24
+ are pinned to one exact release, as candid-core asks of every release before
25
+ 1.0, and so is the plugin's peer on the CLI:
26
26
 
27
27
  ```sh
28
- npm install --save-exact @candid-core/schema@0.3.0-beta.1
29
- npm install --save-dev --save-exact @candid-core/cli@0.2.0-beta.1
28
+ npm install --save-exact @candid-core/schema@0.3.0
29
+ npm install --save-dev --save-exact @candid-core/cli@0.2.0
30
30
  npm install --save-dev @ic-reactor/vite-plugin@beta
31
31
  ```
32
32
 
package/dist/index.cjs CHANGED
@@ -272,7 +272,7 @@ var import_node_child_process = require("child_process");
272
272
  var import_node_fs = __toESM(require("fs"), 1);
273
273
  var import_node_module = require("module");
274
274
  var import_node_path = __toESM(require("path"), 1);
275
- var CANDID_CORE_CLI_VERSION = "0.2.0-beta.1";
275
+ var CANDID_CORE_CLI_VERSION = "0.2.0";
276
276
  var REPORT_SCHEMA_VERSION = 1;
277
277
  var GENERATE_TIMEOUT_MS = 6e4;
278
278
  var MAX_STREAMED_LINES = 200;
package/dist/index.js CHANGED
@@ -238,7 +238,7 @@ import { spawn } from "child_process";
238
238
  import fs from "fs";
239
239
  import { createRequire } from "module";
240
240
  import path from "path";
241
- var CANDID_CORE_CLI_VERSION = "0.2.0-beta.1";
241
+ var CANDID_CORE_CLI_VERSION = "0.2.0";
242
242
  var REPORT_SCHEMA_VERSION = 1;
243
243
  var GENERATE_TIMEOUT_MS = 6e4;
244
244
  var MAX_STREAMED_LINES = 200;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ic-reactor/vite-plugin",
3
- "version": "4.0.0-beta.1",
3
+ "version": "4.0.0-beta.2",
4
4
  "description": "Vite plugin that generates candid-core modules from .did files with candid-core-cli and injects the local IC environment (ic_env cookie and /api proxy) in development",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -47,13 +47,13 @@
47
47
  "bugs": {
48
48
  "url": "https://github.com/B3Pay/ic-reactor/issues"
49
49
  },
50
- "homepage": "https://ic-reactor.b3pay.net/v4/",
50
+ "homepage": "https://ic-reactor.b3pay.net/v4/packages/vite-plugin/",
51
51
  "peerDependencies": {
52
- "@candid-core/cli": "0.2.0-beta.1",
52
+ "@candid-core/cli": "0.2.0",
53
53
  "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@candid-core/cli": "0.2.0-beta.1",
56
+ "@candid-core/cli": "0.2.0",
57
57
  "@types/node": "^26.5.1",
58
58
  "tsup": "^8.5.1",
59
59
  "typescript": "^6.0.3",
package/src/generate.ts CHANGED
@@ -23,7 +23,7 @@ import path from "node:path"
23
23
  * install the generator that pairs with the `@candid-core/schema` runtime its
24
24
  * generated modules import.
25
25
  */
26
- export const CANDID_CORE_CLI_VERSION = "0.2.0-beta.1"
26
+ export const CANDID_CORE_CLI_VERSION = "0.2.0"
27
27
 
28
28
  /** The `schemaVersion` of the `--json` document this module understands. */
29
29
  const REPORT_SCHEMA_VERSION = 1