@rollipop/rolldown 0.0.0-beta.0 → 0.0.0

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.
Files changed (46) hide show
  1. package/.editorconfig +10 -0
  2. package/.gitattributes +4 -0
  3. package/README.md +1 -11
  4. package/package.json +2 -126
  5. package/LICENSE +0 -25
  6. package/bin/cli.mjs +0 -3
  7. package/dist/cli-setup.d.mts +0 -1
  8. package/dist/cli-setup.mjs +0 -17
  9. package/dist/cli.d.mts +0 -1
  10. package/dist/cli.mjs +0 -1581
  11. package/dist/config.d.mts +0 -10
  12. package/dist/config.mjs +0 -14
  13. package/dist/experimental-index.d.mts +0 -239
  14. package/dist/experimental-index.mjs +0 -299
  15. package/dist/experimental-runtime-types.d.ts +0 -92
  16. package/dist/filter-index.d.mts +0 -4
  17. package/dist/filter-index.mjs +0 -369
  18. package/dist/get-log-filter.d.mts +0 -7
  19. package/dist/get-log-filter.mjs +0 -48
  20. package/dist/index.d.mts +0 -4
  21. package/dist/index.mjs +0 -38
  22. package/dist/parallel-plugin-worker.d.mts +0 -1
  23. package/dist/parallel-plugin-worker.mjs +0 -32
  24. package/dist/parallel-plugin.d.mts +0 -14
  25. package/dist/parallel-plugin.mjs +0 -7
  26. package/dist/parse-ast-index.d.mts +0 -8
  27. package/dist/parse-ast-index.mjs +0 -4
  28. package/dist/plugins-index.d.mts +0 -31
  29. package/dist/plugins-index.mjs +0 -40
  30. package/dist/shared/binding-DmMMxMk0.mjs +0 -584
  31. package/dist/shared/binding-kAegJ1Bj.d.mts +0 -1775
  32. package/dist/shared/bindingify-input-options-D0BAGfk2.mjs +0 -1622
  33. package/dist/shared/constructors-F44lhsH3.d.mts +0 -30
  34. package/dist/shared/constructors-Rl_oLd2F.mjs +0 -67
  35. package/dist/shared/define-config-BF4P-Pum.mjs +0 -7
  36. package/dist/shared/define-config-DJ1-iIdx.d.mts +0 -2562
  37. package/dist/shared/load-config-BEpugZky.mjs +0 -114
  38. package/dist/shared/logging-DsnCZi19.d.mts +0 -42
  39. package/dist/shared/logs-cyjC0SDv.mjs +0 -183
  40. package/dist/shared/misc-DpjTMcQQ.mjs +0 -22
  41. package/dist/shared/normalize-string-or-regex-DbTZ9prS.mjs +0 -670
  42. package/dist/shared/parse-ast-index-BuuhACPk.mjs +0 -99
  43. package/dist/shared/prompt-5sWCM0jm.mjs +0 -847
  44. package/dist/shared/rolldown-build-viDZfkdI.mjs +0 -2292
  45. package/dist/shared/rolldown-il0-nWH9.mjs +0 -11
  46. package/dist/shared/watch-BSdMzY6q.mjs +0 -352
package/.editorconfig ADDED
@@ -0,0 +1,10 @@
1
+ root = true
2
+
3
+ [*]
4
+ end_of_line = lf
5
+ insert_final_newline = true
6
+
7
+ [*.{js,json,yml}]
8
+ charset = utf-8
9
+ indent_style = space
10
+ indent_size = 2
package/.gitattributes ADDED
@@ -0,0 +1,4 @@
1
+ /.yarn/** linguist-vendored
2
+ /.yarn/releases/* binary
3
+ /.yarn/plugins/**/* binary
4
+ /.pnp.* binary linguist-generated
package/README.md CHANGED
@@ -1,11 +1 @@
1
- # Rolldown
2
-
3
- > Fast Rust-based bundler for JavaScript with Rollup-compatible API
4
-
5
- - ⚡️ Lightning Fast Performance
6
- - 🔌 Rollup-Compatible APIs
7
- - ⏩ esbuild Feature Parity
8
-
9
- Rolldown is primarily designed to serve as the underlying bundler in [Vite](https://vite.dev/), with the goal to replace esbuild and Rollup with one unified build tool. Although designed for Vite, Rolldown is also fully capable of being used as a standalone, general-purpose bundler. It can serve as a drop-in replacement for Rollup in most cases, and can also be used as an esbuild alternative when better chunking control is needed.
10
-
11
- [Read the Docs to Learn More](https://rolldown.rs).
1
+ # rollipop-empty
package/package.json CHANGED
@@ -1,128 +1,4 @@
1
1
  {
2
2
  "name": "@rollipop/rolldown",
3
- "version": "0.0.0-beta.0",
4
- "description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
5
- "keywords": [
6
- "bundler",
7
- "esbuild",
8
- "parcel",
9
- "rolldown",
10
- "rollup",
11
- "webpack"
12
- ],
13
- "homepage": "https://rolldown.rs/",
14
- "license": "MIT",
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/leegeunhyeok/rolldown.git",
18
- "directory": "packages/rolldown"
19
- },
20
- "bin": {
21
- "rolldown": "./bin/cli.mjs"
22
- },
23
- "files": [
24
- "bin",
25
- "cli",
26
- "dist",
27
- "!dist/*.node"
28
- ],
29
- "type": "module",
30
- "main": "./dist/index.mjs",
31
- "module": "./dist/index.mjs",
32
- "types": "./dist/index.d.mts",
33
- "imports": {
34
- "#parallel-plugin-worker": "./dist/parallel-plugin-worker.mjs"
35
- },
36
- "exports": {
37
- ".": "./dist/index.mjs",
38
- "./config": "./dist/config.mjs",
39
- "./experimental": "./dist/experimental-index.mjs",
40
- "./experimental/runtime-types": {
41
- "types": "./dist/experimental-runtime-types.d.ts"
42
- },
43
- "./filter": "./dist/filter-index.mjs",
44
- "./getLogFilter": "./dist/get-log-filter.mjs",
45
- "./parallelPlugin": "./dist/parallel-plugin.mjs",
46
- "./parseAst": "./dist/parse-ast-index.mjs",
47
- "./package.json": "./package.json",
48
- "./plugins": "./dist/plugins-index.mjs"
49
- },
50
- "publishConfig": {
51
- "access": "public",
52
- "registry": "https://registry.npmjs.org/"
53
- },
54
- "dependencies": {
55
- "@oxc-project/types": "=0.108.0",
56
- "@rollipop/rolldown-pluginutils": "0.0.0-beta.0"
57
- },
58
- "devDependencies": {
59
- "@napi-rs/cli": "^3.4.1",
60
- "@napi-rs/wasm-runtime": "^1.0.0",
61
- "@oxc-node/cli": "^0.0.35",
62
- "@rollup/plugin-json": "^6.1.0",
63
- "buble": "^0.20.0",
64
- "consola": "^3.4.2",
65
- "execa": "^9.2.0",
66
- "glob": "^13.0.0",
67
- "oxc-parser": "=0.108.0",
68
- "pathe": "^2.0.3",
69
- "remeda": "^2.10.0",
70
- "rolldown-plugin-dts": "^0.20.0",
71
- "rollup": "^4.18.0",
72
- "signal-exit": "4.1.0",
73
- "source-map": "^0.7.6",
74
- "typescript": "^5.8.3",
75
- "valibot": "1.2.0",
76
- "@rollipop/rolldown": "0.0.0-beta.0"
77
- },
78
- "napi": {
79
- "binaryName": "rolldown-binding",
80
- "dtsHeader": "type MaybePromise<T> = T | Promise<T>\ntype Nullable<T> = T | null | undefined\ntype VoidNullable<T = void> = T | null | undefined | void\nexport type BindingStringOrRegex = string | RegExp\ntype BindingResult<T> = { errors: BindingError[], isBindingErrors: boolean } | T\n\n",
81
- "packageName": "@rollipop/rolldown-binding",
82
- "targets": [
83
- "x86_64-apple-darwin",
84
- "x86_64-pc-windows-msvc",
85
- "x86_64-unknown-linux-gnu",
86
- "x86_64-unknown-linux-musl",
87
- "aarch64-unknown-linux-gnu",
88
- "aarch64-apple-darwin",
89
- "aarch64-unknown-linux-musl",
90
- "aarch64-pc-windows-msvc"
91
- ]
92
- },
93
- "engines": {
94
- "node": "^20.19.0 || >=22.12.0"
95
- },
96
- "optionalDependencies": {
97
- "@rollipop/rolldown-binding-darwin-x64": "0.0.0-beta.0",
98
- "@rollipop/rolldown-binding-win32-x64-msvc": "0.0.0-beta.0",
99
- "@rollipop/rolldown-binding-linux-x64-gnu": "0.0.0-beta.0",
100
- "@rollipop/rolldown-binding-linux-x64-musl": "0.0.0-beta.0",
101
- "@rollipop/rolldown-binding-linux-arm64-gnu": "0.0.0-beta.0",
102
- "@rollipop/rolldown-binding-darwin-arm64": "0.0.0-beta.0",
103
- "@rollipop/rolldown-binding-linux-arm64-musl": "0.0.0-beta.0",
104
- "@rollipop/rolldown-binding-win32-arm64-msvc": "0.0.0-beta.0"
105
- },
106
- "scripts": {
107
- "# Scrips for binding #": "_",
108
- "artifacts": "napi artifacts --cwd ./src --package-json-path ../package.json -o=../artifacts --npm-dir ../npm",
109
- "build-binding": "oxnode ./build-binding.ts",
110
- "build-binding:release": "pnpm build-binding --release",
111
- "build-binding:profile": "pnpm build-binding --profile profile",
112
- "build-binding:wasi": "pnpm build-binding --target wasm32-wasip1-threads",
113
- "build-binding:wasi:release": "pnpm build-binding --profile release-wasi --target wasm32-wasip1-threads",
114
- "# Scrips for node #": "_",
115
- "build-node": "oxnode -C dev ./build.ts",
116
- "build-types-check": "tsc -p ./tsconfig.check.json",
117
- "build-js-glue": "pnpm run --sequential '/^build-(node|types-check)$/'",
118
- "build-native:debug": "pnpm run --sequential '/^build-(binding|js-glue)$/'",
119
- "build-native:release": "pnpm run --sequential '/^build-(binding:release|js-glue)$/'",
120
- "build-native:profile": "pnpm run build-binding:profile && pnpm run build-js-glue",
121
- "build-native:memory-profile": "pnpm run build-binding:profile --features default_global_allocator && pnpm run build-js-glue",
122
- "build-wasi:debug": "TARGET='rolldown-wasi' pnpm run --sequential '/^build-(binding|binding:wasi|node)$/'",
123
- "build-wasi:release": "TARGET='rolldown-wasi' pnpm run --sequential '/^build-(binding|binding:wasi:release|node)$/'",
124
- "build-browser-pkg:debug": "TARGET='browser' pnpm run --sequential '/^build-(binding|binding:wasi|node)$/'",
125
- "build-browser-pkg:release": "TARGET='browser' pnpm run --sequential '/^build-(binding|binding:wasi:release|node)$/'",
126
- "# Scrips for docs #": "_"
127
- }
128
- }
3
+ "version": "0.0.0"
4
+ }
package/LICENSE DELETED
@@ -1,25 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2024-present VoidZero Inc. & Contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
22
-
23
- end of terms and conditions
24
-
25
- The licenses of externally maintained libraries from which parts of the Software is derived are listed [here](https://github.com/rolldown/rolldown/blob/main/THIRD-PARTY-LICENSE).
package/bin/cli.mjs DELETED
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env node
2
- import '../dist/cli-setup.mjs';
3
- import '../dist/cli.mjs';
@@ -1 +0,0 @@
1
- export { };
@@ -1,17 +0,0 @@
1
- import { n as __toESM, t as require_binding } from "./shared/binding-DmMMxMk0.mjs";
2
-
3
- //#region src/cli/setup-index.ts
4
- var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
5
- let isWatchMode = false;
6
- for (let i = 0; i < process.argv.length; i++) {
7
- const arg = process.argv[i];
8
- if (arg === "--watch" || arg === "-w") {
9
- isWatchMode = true;
10
- break;
11
- }
12
- }
13
- if (isWatchMode) (0, import_binding.createTokioRuntime)(32);
14
- else (0, import_binding.createTokioRuntime)(4);
15
-
16
- //#endregion
17
- export { };
package/dist/cli.d.mts DELETED
@@ -1 +0,0 @@
1
- export { };