feat: 添加@rspack相关包到本地packages
Showing
packages/@rspack-core/binding/LICENSE
0 → 100644
packages/@rspack-core/binding/README.md
0 → 100644
packages/@rspack-core/binding/binding.d.ts
0 → 100644
This diff is collapsed.
Click to expand it.
packages/@rspack-core/binding/binding.js
0 → 100644
packages/@rspack-core/binding/package.json
0 → 100644
| { | ||
| "name": "@rspack/binding", | ||
| "version": "1.0.0-beta.1", | ||
| "license": "MIT", | ||
| "description": "Node binding for rspack", | ||
| "main": "binding.js", | ||
| "types": "binding.d.ts", | ||
| "publishConfig": { | ||
| "access": "public", | ||
| "provenance": true | ||
| }, | ||
| "files": [ | ||
| "binding.js", | ||
| "binding.d.ts" | ||
| ], | ||
| "homepage": "https://rspack.dev", | ||
| "bugs": "https://github.com/web-infra-dev/rspack/issues", | ||
| "repository": "web-infra-dev/rspack", | ||
| "devDependencies": { | ||
| "@napi-rs/cli": "3.0.0-alpha.45", | ||
| "typescript": "5.0.2" | ||
| }, | ||
| "napi": { | ||
| "binaryName": "rspack" | ||
| }, | ||
| "optionalDependencies": { | ||
| "@rspack/binding-darwin-arm64": "1.0.0-beta.1", | ||
| "@rspack/binding-win32-arm64-msvc": "1.0.0-beta.1", | ||
| "@rspack/binding-linux-arm64-gnu": "1.0.0-beta.1", | ||
| "@rspack/binding-linux-arm64-musl": "1.0.0-beta.1", | ||
| "@rspack/binding-win32-ia32-msvc": "1.0.0-beta.1", | ||
| "@rspack/binding-linux-x64-gnu": "1.0.0-beta.1", | ||
| "@rspack/binding-linux-x64-musl": "1.0.0-beta.1", | ||
| "@rspack/binding-win32-x64-msvc": "1.0.0-beta.1", | ||
| "@rspack/binding-darwin-x64": "1.0.0-beta.1" | ||
| }, | ||
| "scripts": { | ||
| "build:debug": "node scripts/build.js", | ||
| "watch:debug": "node scripts/build.js --watch", | ||
| "build:debug:x64": "cross-env RUST_TARGET=x86_64-apple-darwin node scripts/build.js", | ||
| "build:debug:linux": "cross-env RUST_TARGET=x86_64-unknown-linux-gnu node scripts/build.js", | ||
| "build:release:all": "run-p build:release:arm64 build:release:x64 build:release:linux && pnpm move-binding", | ||
| "build:release": "node scripts/build.js --release", | ||
| "watch:release": "node scripts/build.js --release --watch", | ||
| "build:release:arm64": "cross-env RUST_TARGET=aarch64-apple-darwin node scripts/build.js --release", | ||
| "build:release:x64": "cross-env RUST_TARGET=x86_64-apple-darwin node scripts/build.js --release", | ||
| "build:release:linux": "cross-env RUST_TARGET=x86_64-unknown-linux-gnu node scripts/build.js --release", | ||
| "build:release:musl": "cross-env RUST_TARGET=aarch64-unknown-linux-musl node scripts/build.js --release", | ||
| "build:release:win": "cross-env RUST_TARGET=x86_64-pc-windows-msvc node scripts/build.js --release", | ||
| "build:release-prod:all": "run-p build:release-prod:arm64 build:release-prod:x64 build:release-prod:linux && pnpm move-binding", | ||
| "build:release-prod": "node scripts/build.js --release-prod", | ||
| "watch:release-prod": "node scripts/build.js --release-prod --watch", | ||
| "build:release-prod:arm64": "cross-env RUST_TARGET=aarch64-apple-darwin node scripts/build.js --release-prod", | ||
| "build:release-prod:x64": "cross-env RUST_TARGET=x86_64-apple-darwin node scripts/build.js --release-prod", | ||
| "build:release-prod:linux": "cross-env RUST_TARGET=x86_64-unknown-linux-gnu node scripts/build.js --release-prod", | ||
| "build:release-prod:win": "cross-env RUST_TARGET=x86_64-pc-windows-msvc node scripts/build.js --release-prod", | ||
| "build:release-debug": "node scripts/build.js --release-debug", | ||
| "move-binding": "node scripts/move-binding", | ||
| "test": "tsc -p tsconfig.type-test.json" | ||
| } | ||
| } | ||
| \ No newline at end of file |
packages/@rspack-core/core/LICENSE
0 → 100644
packages/@rspack-core/core/README.md
0 → 100644
This diff is collapsed.
Click to expand it.
| {"name":"browserslist","author":"Andrey Sitnik <andrey@sitnik.ru>","version":"4.23.0","funding":[{"type":"opencollective","url":"https://opencollective.com/browserslist"},{"type":"tidelift","url":"https://tidelift.com/funding/github/npm/browserslist"},{"type":"github","url":"https://github.com/sponsors/ai"}],"license":"MIT","types":"index.d.ts","type":"commonjs"} |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| {"name":"enhanced-resolve","author":"Tobias Koppers @sokra","version":"5.12.0","license":"MIT","types":"index.d.ts","type":"commonjs"} |
This diff is collapsed.
Click to expand it.
| {"name":"graceful-fs","version":"4.2.10","license":"ISC","types":"index.d.ts","type":"commonjs"} |
| {"name":"json-parse-even-better-errors","author":"GitHub Inc.","version":"3.0.1","license":"MIT","types":"index.d.ts","type":"commonjs"} |
This diff is collapsed.
Click to expand it.
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| {"name":"webpack-sources","author":"Tobias Koppers @sokra","version":"3.2.3","license":"MIT","types":"index.d.ts","type":"commonjs"} |
| {"name":"zod-validation-error","author":{"name":"Causaly Team","email":"front-end@causaly.com","url":"https://www.causaly.com"},"version":"1.3.1","license":"MIT","types":"index.d.ts","type":"commonjs"} |
This diff is collapsed.
Click to expand it.
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
packages/@rspack-core/core/hot/dev-server.js
0 → 100644
packages/@rspack-core/core/hot/emitter.js
0 → 100644
packages/@rspack-core/core/hot/log.js
0 → 100644
packages/@rspack-core/core/hot/poll.js
0 → 100644
packages/@rspack-core/core/hot/signal.js
0 → 100644
packages/@rspack-core/core/module.d.ts
0 → 100644
packages/@rspack-core/core/package.json
0 → 100644
| { | ||
| "name": "@rspack/core", | ||
| "version": "1.0.0-beta.1", | ||
| "webpackVersion": "5.75.0", | ||
| "license": "MIT", | ||
| "description": "The fast Rust-based web bundler with webpack-compatible API", | ||
| "main": "./dist/index.js", | ||
| "types": "./dist/index.d.ts", | ||
| "publishConfig": { | ||
| "access": "public", | ||
| "provenance": true | ||
| }, | ||
| "exports": { | ||
| ".": { | ||
| "default": "./dist/index.js" | ||
| }, | ||
| "./hot/*": "./hot/*.js", | ||
| "./hot/*.js": "./hot/*.js", | ||
| "./package.json": "./package.json", | ||
| "./module": "./module.d.ts" | ||
| }, | ||
| "files": [ | ||
| "dist", | ||
| "hot", | ||
| "compiled", | ||
| "module.d.ts" | ||
| ], | ||
| "engines": { | ||
| "node": ">=16.0.0" | ||
| }, | ||
| "homepage": "https://rspack.dev", | ||
| "bugs": "https://github.com/web-infra-dev/rspack/issues", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/web-infra-dev/rspack", | ||
| "directory": "packages/rspack" | ||
| }, | ||
| "devDependencies": { | ||
| "@swc/core": "1.4.0", | ||
| "@types/neo-async": "^2.6.6", | ||
| "@types/watchpack": "^2.4.0", | ||
| "@types/webpack-sources": "3.2.3", | ||
| "browserslist": "^4.21.3", | ||
| "cross-env": "^7.0.3", | ||
| "enhanced-resolve": "5.12.0", | ||
| "graceful-fs": "4.2.10", | ||
| "@types/graceful-fs": "4.1.9", | ||
| "json-parse-even-better-errors": "^3.0.0", | ||
| "neo-async": "2.6.2", | ||
| "prebundle": "^1.1.0", | ||
| "typescript": "5.0.2", | ||
| "tsc-alias": "^1.8.8", | ||
| "watchpack": "^2.4.0", | ||
| "webpack-sources": "3.2.3", | ||
| "webpack-dev-server": "^5.0.4", | ||
| "zod": "^3.23.8", | ||
| "zod-validation-error": "1.3.1" | ||
| }, | ||
| "dependencies": { | ||
| "@module-federation/runtime-tools": "0.2.3", | ||
| "caniuse-lite": "^1.0.30001616", | ||
| "@rspack/lite-tapable": "1.0.0-beta.1", | ||
| "@rspack/binding": "1.0.0-beta.1" | ||
| }, | ||
| "peerDependencies": { | ||
| "@swc/helpers": ">=0.5.1" | ||
| }, | ||
| "peerDependenciesMeta": { | ||
| "@swc/helpers": { | ||
| "optional": true | ||
| } | ||
| }, | ||
| "scripts": { | ||
| "build": "tsc -b ./tsconfig.build.json && tsc-alias -p tsconfig.build.json && npm run prepare-container-runtime", | ||
| "build:force": "tsc -b ./tsconfig.build.json --force && tsc-alias -p tsconfig.build.json && npm run prepare-container-runtime", | ||
| "dev": "tsc -w", | ||
| "prepare-container-runtime": "node ./scripts/prepare-container-runtime.js", | ||
| "doc-coverage": "node scripts/check-documentation-coverage.mjs", | ||
| "api-extractor": "api-extractor run --verbose", | ||
| "api-extractor:ci": "api-extractor run --verbose || diff temp/api.md etc/api.md" | ||
| } | ||
| } | ||
| \ No newline at end of file |
packages/@rspack-core/lite-tapable/LICENSE
0 → 100644
packages/@rspack-core/lite-tapable/README.md
0 → 100644
| { | ||
| "name": "@rspack/lite-tapable", | ||
| "version": "1.0.0-beta.1", | ||
| "license": "MIT", | ||
| "description": "Lite weight tapable for Rspack", | ||
| "main": "./dist/index.js", | ||
| "types": "./dist/index.d.ts", | ||
| "publishConfig": { | ||
| "access": "public", | ||
| "provenance": true | ||
| }, | ||
| "exports": { | ||
| ".": { | ||
| "default": "./dist/index.js" | ||
| } | ||
| }, | ||
| "devDependencies": { | ||
| "typescript": "5.0.2" | ||
| }, | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "engines": { | ||
| "node": ">=16.0.0" | ||
| }, | ||
| "homepage": "https://rspack.dev", | ||
| "bugs": "https://github.com/web-infra-dev/rspack/issues", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/web-infra-dev/rspack", | ||
| "directory": "packages/lite-tapable" | ||
| }, | ||
| "scripts": { | ||
| "build": "tsc -b ./tsconfig.build.json", | ||
| "build:force": "tsc -b ./tsconfig.build.json --force", | ||
| "test": "jest --colors", | ||
| "api-extractor": "api-extractor run --verbose", | ||
| "api-extractor:ci": "api-extractor run --verbose || diff temp/api.md etc/api.md" | ||
| } | ||
| } | ||
| \ No newline at end of file |
packages/@rspack/binding/LICENSE
0 → 100644
packages/@rspack/binding/README.md
0 → 100644
packages/@rspack/binding/binding.d.ts
0 → 100644
This diff is collapsed.
Click to expand it.
packages/@rspack/binding/binding.js
0 → 100644
packages/@rspack/binding/package.json
0 → 100644
| { | ||
| "name": "@rspack/binding", | ||
| "version": "1.0.0-beta.1", | ||
| "license": "MIT", | ||
| "description": "Node binding for rspack", | ||
| "main": "binding.js", | ||
| "types": "binding.d.ts", | ||
| "publishConfig": { | ||
| "access": "public", | ||
| "provenance": true | ||
| }, | ||
| "files": [ | ||
| "binding.js", | ||
| "binding.d.ts" | ||
| ], | ||
| "homepage": "https://rspack.dev", | ||
| "bugs": "https://github.com/web-infra-dev/rspack/issues", | ||
| "repository": "web-infra-dev/rspack", | ||
| "devDependencies": { | ||
| "@napi-rs/cli": "3.0.0-alpha.45", | ||
| "typescript": "5.0.2" | ||
| }, | ||
| "napi": { | ||
| "binaryName": "rspack" | ||
| }, | ||
| "optionalDependencies": { | ||
| "@rspack/binding-darwin-arm64": "1.0.0-beta.1", | ||
| "@rspack/binding-win32-arm64-msvc": "1.0.0-beta.1", | ||
| "@rspack/binding-linux-arm64-gnu": "1.0.0-beta.1", | ||
| "@rspack/binding-linux-arm64-musl": "1.0.0-beta.1", | ||
| "@rspack/binding-win32-ia32-msvc": "1.0.0-beta.1", | ||
| "@rspack/binding-linux-x64-gnu": "1.0.0-beta.1", | ||
| "@rspack/binding-linux-x64-musl": "1.0.0-beta.1", | ||
| "@rspack/binding-win32-x64-msvc": "1.0.0-beta.1", | ||
| "@rspack/binding-darwin-x64": "1.0.0-beta.1" | ||
| }, | ||
| "scripts": { | ||
| "build:debug": "node scripts/build.js", | ||
| "watch:debug": "node scripts/build.js --watch", | ||
| "build:debug:x64": "cross-env RUST_TARGET=x86_64-apple-darwin node scripts/build.js", | ||
| "build:debug:linux": "cross-env RUST_TARGET=x86_64-unknown-linux-gnu node scripts/build.js", | ||
| "build:release:all": "run-p build:release:arm64 build:release:x64 build:release:linux && pnpm move-binding", | ||
| "build:release": "node scripts/build.js --release", | ||
| "watch:release": "node scripts/build.js --release --watch", | ||
| "build:release:arm64": "cross-env RUST_TARGET=aarch64-apple-darwin node scripts/build.js --release", | ||
| "build:release:x64": "cross-env RUST_TARGET=x86_64-apple-darwin node scripts/build.js --release", | ||
| "build:release:linux": "cross-env RUST_TARGET=x86_64-unknown-linux-gnu node scripts/build.js --release", | ||
| "build:release:musl": "cross-env RUST_TARGET=aarch64-unknown-linux-musl node scripts/build.js --release", | ||
| "build:release:win": "cross-env RUST_TARGET=x86_64-pc-windows-msvc node scripts/build.js --release", | ||
| "build:release-prod:all": "run-p build:release-prod:arm64 build:release-prod:x64 build:release-prod:linux && pnpm move-binding", | ||
| "build:release-prod": "node scripts/build.js --release-prod", | ||
| "watch:release-prod": "node scripts/build.js --release-prod --watch", | ||
| "build:release-prod:arm64": "cross-env RUST_TARGET=aarch64-apple-darwin node scripts/build.js --release-prod", | ||
| "build:release-prod:x64": "cross-env RUST_TARGET=x86_64-apple-darwin node scripts/build.js --release-prod", | ||
| "build:release-prod:linux": "cross-env RUST_TARGET=x86_64-unknown-linux-gnu node scripts/build.js --release-prod", | ||
| "build:release-prod:win": "cross-env RUST_TARGET=x86_64-pc-windows-msvc node scripts/build.js --release-prod", | ||
| "build:release-debug": "node scripts/build.js --release-debug", | ||
| "move-binding": "node scripts/move-binding", | ||
| "test": "tsc -p tsconfig.type-test.json" | ||
| } | ||
| } | ||
| \ No newline at end of file |
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
Please
register
or
sign in
to comment