rollipop 0.1.0-alpha.0 → 0.1.0-alpha.1

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/dist/index.cjs CHANGED
@@ -67,7 +67,7 @@ async function runServer(config, options) {
67
67
 
68
68
  //#endregion
69
69
  //#region package.json
70
- var version = "0.1.0-alpha.0";
70
+ var version = "0.1.0-alpha.1";
71
71
 
72
72
  //#endregion
73
73
  //#region src/node/constants.ts
@@ -85,7 +85,7 @@ function parseBoolean(value) {
85
85
 
86
86
  //#endregion
87
87
  //#region src/node/commands/bundle/index.ts
88
- const command$1 = new _commander_js_extra_typings.Command("build").description("Build the bundle for the provided JavaScript entry file.").option("--config <string>", "Path to the CLI configuration file").requiredOption("--entry-file <path>", "Path to the root JS file, either absolute or relative to JS root").requiredOption("--bundle-output <string>", "File name where to store the resulting bundle, ex. /tmp/groups.bundle").option("--platform <string>", "Either \"ios\" or \"android\"", "ios").option("--dev [boolean]", "If false, warnings are disabled and the bundle is minified", parseBoolean, true).option("--minify [boolean]", "Allows overriding whether bundle is minified. This defaults to false if dev is true, and true if dev is false. Disabling minification can be useful for speeding up production builds for testing purposes.", parseBoolean, false).option("--sourcemap-output <string>", "File name where to store the sourcemap file for resulting bundle, ex. /tmp/groups.map").option("--sourcemap-sources-root <string>", "Path to make sourcemap's sources entries relative to, ex. /root/dir").option("--sourcemap-use-absolute-path", "Report SourceMapURL using its full path", false).option("--assets-dest <string>", "Directory name where to store assets referenced in the bundle").option("--cache [boolean]", "If false, the bundler will not cache anything", parseBoolean, true).option("--reset-cache", "Removes cached files").option("--transformer <string>", UNSUPPORTED_OPTION_DESCRIPTION).option("--bundle-encoding <string>", UNSUPPORTED_OPTION_DESCRIPTION, "utf8").option("--max-workers <number>", UNSUPPORTED_OPTION_DESCRIPTION, Number, 0).option("--unstable-transform-profile <string>", UNSUPPORTED_OPTION_DESCRIPTION, "default").option("--asset-catalog-dest [string]", UNSUPPORTED_OPTION_DESCRIPTION).option("--read-global-cache", UNSUPPORTED_OPTION_DESCRIPTION).option("--resolver-option <string...>", UNSUPPORTED_OPTION_DESCRIPTION).action(async (options) => {
88
+ const command$1 = new _commander_js_extra_typings.Command("bundle").description("Build the bundle for the provided JavaScript entry file.").option("--config <string>", "Path to the CLI configuration file").requiredOption("--entry-file <path>", "Path to the root JS file, either absolute or relative to JS root").requiredOption("--bundle-output <string>", "File name where to store the resulting bundle, ex. /tmp/groups.bundle").option("--platform <string>", "Either \"ios\" or \"android\"", "ios").option("--dev [boolean]", "If false, warnings are disabled and the bundle is minified", parseBoolean, true).option("--minify [boolean]", "Allows overriding whether bundle is minified. This defaults to false if dev is true, and true if dev is false. Disabling minification can be useful for speeding up production builds for testing purposes.", parseBoolean, false).option("--sourcemap-output <string>", "File name where to store the sourcemap file for resulting bundle, ex. /tmp/groups.map").option("--sourcemap-sources-root <string>", "Path to make sourcemap's sources entries relative to, ex. /root/dir").option("--sourcemap-use-absolute-path", "Report SourceMapURL using its full path", false).option("--assets-dest <string>", "Directory name where to store assets referenced in the bundle").option("--cache [boolean]", "If false, the bundler will not cache anything", parseBoolean, true).option("--reset-cache", "Removes cached files").option("--transformer <string>", UNSUPPORTED_OPTION_DESCRIPTION).option("--bundle-encoding <string>", UNSUPPORTED_OPTION_DESCRIPTION, "utf8").option("--max-workers <number>", UNSUPPORTED_OPTION_DESCRIPTION, Number, 0).option("--unstable-transform-profile <string>", UNSUPPORTED_OPTION_DESCRIPTION, "default").option("--asset-catalog-dest [string]", UNSUPPORTED_OPTION_DESCRIPTION).option("--read-global-cache", UNSUPPORTED_OPTION_DESCRIPTION).option("--resolver-option <string...>", UNSUPPORTED_OPTION_DESCRIPTION).action(async (options) => {
89
89
  const cwd = process.cwd();
90
90
  const config = await Rollipop.loadConfig({
91
91
  cwd,
@@ -103,6 +103,7 @@ const command$1 = new _commander_js_extra_typings.Command("build").description("
103
103
  minify: options.minify,
104
104
  cache: options.cache,
105
105
  outfile: options.bundleOutput,
106
+ sourcemap: options.sourcemapOutput,
106
107
  assetsDir: options.assetsDest
107
108
  });
108
109
  });
package/dist/index.d.cts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { resetCache } from "@rollipop/common";
2
- import { BuildOptions, BuildOptions as BuildOptions$1, Config, DefaultConfig, PluginUtils, ReactNativeConfig, ReportableEvent, Reporter, ResolvedConfig, ResolvedConfig as ResolvedConfig$1, ResolverConfig, RolldownConfig, SerializerConfig, TerminalConfig, TransformerConfig, WatcherConfig, defineConfig, loadConfig, mergeConfig, rolldown } from "@rollipop/core";
2
+ import { BuildOptions, BuildOptions as BuildOptions$1, Config, DefaultConfig, Plugin, PluginUtils, ReactNativeConfig, ReportableEvent, Reporter, ResolvedConfig, ResolvedConfig as ResolvedConfig$1, ResolverConfig, RolldownConfig, SerializerConfig, TerminalConfig, TransformerConfig, WatcherConfig, defineConfig, loadConfig, mergeConfig, rolldown } from "@rollipop/core";
3
3
  import { DEFAULT_HOST, DEFAULT_PORT, DevServer, DevServer as DevServer$1, ServerOptions, ServerOptions as ServerOptions$1 } from "@rollipop/dev-server";
4
- import { Plugin } from "rolldown";
5
4
 
6
5
  //#region rolldown:runtime
7
6
  //#endregion
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { resetCache } from "@rollipop/common";
2
- import { BuildOptions, BuildOptions as BuildOptions$1, Config, DefaultConfig, PluginUtils, ReactNativeConfig, ReportableEvent, Reporter, ResolvedConfig, ResolvedConfig as ResolvedConfig$1, ResolverConfig, RolldownConfig, SerializerConfig, TerminalConfig, TransformerConfig, WatcherConfig, defineConfig, loadConfig, mergeConfig, rolldown } from "@rollipop/core";
2
+ import { BuildOptions, BuildOptions as BuildOptions$1, Config, DefaultConfig, Plugin, PluginUtils, ReactNativeConfig, ReportableEvent, Reporter, ResolvedConfig, ResolvedConfig as ResolvedConfig$1, ResolverConfig, RolldownConfig, SerializerConfig, TerminalConfig, TransformerConfig, WatcherConfig, defineConfig, loadConfig, mergeConfig, rolldown } from "@rollipop/core";
3
3
  import { DEFAULT_HOST, DEFAULT_PORT, DevServer, DevServer as DevServer$1, ServerOptions, ServerOptions as ServerOptions$1 } from "@rollipop/dev-server";
4
- import { Plugin } from "rolldown";
5
4
 
6
5
  //#region src/run-build.d.ts
7
6
  declare function runBuild(config: ResolvedConfig$1, options: BuildOptions$1): Promise<rolldown.OutputChunk>;
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ async function runServer(config, options) {
27
27
 
28
28
  //#endregion
29
29
  //#region package.json
30
- var version = "0.1.0-alpha.0";
30
+ var version = "0.1.0-alpha.1";
31
31
 
32
32
  //#endregion
33
33
  //#region src/node/constants.ts
@@ -45,7 +45,7 @@ function parseBoolean(value) {
45
45
 
46
46
  //#endregion
47
47
  //#region src/node/commands/bundle/index.ts
48
- const command$1 = new Command("build").description("Build the bundle for the provided JavaScript entry file.").option("--config <string>", "Path to the CLI configuration file").requiredOption("--entry-file <path>", "Path to the root JS file, either absolute or relative to JS root").requiredOption("--bundle-output <string>", "File name where to store the resulting bundle, ex. /tmp/groups.bundle").option("--platform <string>", "Either \"ios\" or \"android\"", "ios").option("--dev [boolean]", "If false, warnings are disabled and the bundle is minified", parseBoolean, true).option("--minify [boolean]", "Allows overriding whether bundle is minified. This defaults to false if dev is true, and true if dev is false. Disabling minification can be useful for speeding up production builds for testing purposes.", parseBoolean, false).option("--sourcemap-output <string>", "File name where to store the sourcemap file for resulting bundle, ex. /tmp/groups.map").option("--sourcemap-sources-root <string>", "Path to make sourcemap's sources entries relative to, ex. /root/dir").option("--sourcemap-use-absolute-path", "Report SourceMapURL using its full path", false).option("--assets-dest <string>", "Directory name where to store assets referenced in the bundle").option("--cache [boolean]", "If false, the bundler will not cache anything", parseBoolean, true).option("--reset-cache", "Removes cached files").option("--transformer <string>", UNSUPPORTED_OPTION_DESCRIPTION).option("--bundle-encoding <string>", UNSUPPORTED_OPTION_DESCRIPTION, "utf8").option("--max-workers <number>", UNSUPPORTED_OPTION_DESCRIPTION, Number, 0).option("--unstable-transform-profile <string>", UNSUPPORTED_OPTION_DESCRIPTION, "default").option("--asset-catalog-dest [string]", UNSUPPORTED_OPTION_DESCRIPTION).option("--read-global-cache", UNSUPPORTED_OPTION_DESCRIPTION).option("--resolver-option <string...>", UNSUPPORTED_OPTION_DESCRIPTION).action(async (options) => {
48
+ const command$1 = new Command("bundle").description("Build the bundle for the provided JavaScript entry file.").option("--config <string>", "Path to the CLI configuration file").requiredOption("--entry-file <path>", "Path to the root JS file, either absolute or relative to JS root").requiredOption("--bundle-output <string>", "File name where to store the resulting bundle, ex. /tmp/groups.bundle").option("--platform <string>", "Either \"ios\" or \"android\"", "ios").option("--dev [boolean]", "If false, warnings are disabled and the bundle is minified", parseBoolean, true).option("--minify [boolean]", "Allows overriding whether bundle is minified. This defaults to false if dev is true, and true if dev is false. Disabling minification can be useful for speeding up production builds for testing purposes.", parseBoolean, false).option("--sourcemap-output <string>", "File name where to store the sourcemap file for resulting bundle, ex. /tmp/groups.map").option("--sourcemap-sources-root <string>", "Path to make sourcemap's sources entries relative to, ex. /root/dir").option("--sourcemap-use-absolute-path", "Report SourceMapURL using its full path", false).option("--assets-dest <string>", "Directory name where to store assets referenced in the bundle").option("--cache [boolean]", "If false, the bundler will not cache anything", parseBoolean, true).option("--reset-cache", "Removes cached files").option("--transformer <string>", UNSUPPORTED_OPTION_DESCRIPTION).option("--bundle-encoding <string>", UNSUPPORTED_OPTION_DESCRIPTION, "utf8").option("--max-workers <number>", UNSUPPORTED_OPTION_DESCRIPTION, Number, 0).option("--unstable-transform-profile <string>", UNSUPPORTED_OPTION_DESCRIPTION, "default").option("--asset-catalog-dest [string]", UNSUPPORTED_OPTION_DESCRIPTION).option("--read-global-cache", UNSUPPORTED_OPTION_DESCRIPTION).option("--resolver-option <string...>", UNSUPPORTED_OPTION_DESCRIPTION).action(async (options) => {
49
49
  const cwd = process.cwd();
50
50
  const config = await Rollipop.loadConfig({
51
51
  cwd,
@@ -63,6 +63,7 @@ const command$1 = new Command("build").description("Build the bundle for the pro
63
63
  minify: options.minify,
64
64
  cache: options.cache,
65
65
  outfile: options.bundleOutput,
66
+ sourcemap: options.sourcemapOutput,
66
67
  assetsDir: options.assetsDest
67
68
  });
68
69
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollipop",
3
- "version": "0.1.0-alpha.0",
3
+ "version": "0.1.0-alpha.1",
4
4
  "type": "module",
5
5
  "bin": "./bin/index.js",
6
6
  "exports": {
@@ -39,14 +39,14 @@
39
39
  "dependencies": {
40
40
  "@commander-js/extra-typings": "^14.0.0",
41
41
  "@inquirer/prompts": "^8.1.0",
42
- "@rollipop/common": "0.1.0-alpha.0",
43
- "@rollipop/core": "0.1.0-alpha.0",
44
- "@rollipop/dev-server": "0.1.0-alpha.0",
42
+ "@rollipop/common": "workspace:*",
43
+ "@rollipop/core": "workspace:*",
44
+ "@rollipop/dev-server": "workspace:*",
45
45
  "commander": "^14.0.2",
46
- "es-toolkit": "1.43.0"
46
+ "es-toolkit": "catalog:"
47
47
  },
48
48
  "devDependencies": {
49
- "tsdown": "0.18.1",
50
- "typescript": "5.9.3"
49
+ "tsdown": "catalog:",
50
+ "typescript": "catalog:"
51
51
  }
52
- }
52
+ }
package/CHANGELOG.md DELETED
@@ -1,14 +0,0 @@
1
- # rollipop
2
-
3
- ## 0.1.0-alpha.0
4
-
5
- ### Minor Changes
6
-
7
- - 7a1d9a7: pre-alpha
8
-
9
- ### Patch Changes
10
-
11
- - Updated dependencies [7a1d9a7]
12
- - @rollipop/common@0.1.0-alpha.0
13
- - @rollipop/core@0.1.0-alpha.0
14
- - @rollipop/dev-server@0.1.0-alpha.0