@cocos/ccbuild 2.0.0-alpha.1 → 2.0.0-alpha.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.
@@ -1,5 +1,5 @@
1
- import * as Transformer from "../../modules/transformer/lib/index.d.ts";
2
- import * as Bundler from "../../modules/bundler/lib/index.d.ts";
3
- export { buildEngine } from "../../modules/build-engine/lib/index.d.ts";
4
- export { StatsQuery, ConfigInterface } from "../../modules/stats-query/lib/index.d.ts";
1
+ import * as Transformer from "../../modules/transformer/lib/index";
2
+ import * as Bundler from "../../modules/bundler/lib/index";
3
+ export { buildEngine } from "../../modules/build-engine/lib/index";
4
+ export { StatsQuery, ConfigInterface } from "../../modules/stats-query/lib/index";
5
5
  export { Transformer, Bundler };
@@ -1,4 +1,4 @@
1
- import { rollup as Bundler } from "../../../../bundler/lib/index.d.ts";
1
+ import { rollup as Bundler } from "../../../../bundler/lib/index";
2
2
  import rollup = Bundler.core;
3
3
  /**
4
4
  * This plugin enable to load script or wasm with url based on 'external://' origin.
@@ -1,3 +1,3 @@
1
- import { rollup as Bundler } from "../../../../bundler/lib/index.d.ts";
1
+ import { rollup as Bundler } from "../../../../bundler/lib/index";
2
2
  import rollup = Bundler.core;
3
3
  export default function removeDeprecatedFeatures(range?: string): rollup.Plugin;
@@ -1,4 +1,4 @@
1
- import { rollup as Bundler } from "../../../../bundler/lib/index.d.ts";
1
+ import { rollup as Bundler } from "../../../../bundler/lib/index";
2
2
  import rollup = Bundler.core;
3
3
  export default function ({
4
4
  configFileName
@@ -1,4 +1,4 @@
1
- import { StatsQuery } from "../../../stats-query/lib/index.d.ts";
1
+ import { StatsQuery } from "../../../stats-query/lib/index";
2
2
  import ConstantManager = StatsQuery.ConstantManager;
3
3
  export declare namespace EngineBuilder {
4
4
  interface IBuildOptions {
@@ -1,4 +1,4 @@
1
- import { babel as Transformer } from "../../../transformer/lib/index.d.ts";
1
+ import { babel as Transformer } from "../../../transformer/lib/index";
2
2
  import BabelFile = Transformer.core.BabelFile;
3
3
  import t = Transformer.core.types;
4
4
  export declare class FiledDecoratorHelper {
@@ -1,4 +1,4 @@
1
- import { StatsQuery } from "../../stats-query/lib/index.d.ts";
1
+ import { StatsQuery } from "../../stats-query/lib/index";
2
2
  export declare function buildEngine(options: buildEngine.Options): Promise<buildEngine.Result>;
3
3
  export declare namespace buildEngine {
4
4
  type ModuleFormat = 'esm' | 'cjs' | 'system' | 'iife';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocos/ccbuild",
3
- "version": "2.0.0-alpha.1",
3
+ "version": "2.0.0-alpha.2",
4
4
  "description": "The next generation of build tool for Cocos engine.",
5
5
  "main": "./lib/src/index.js",
6
6
  "types": "./lib/src/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "dedent": "^0.7.0",
30
30
  "eslint": "^8.34.0",
31
31
  "eslint-plugin-unused-imports": "^2.0.0",
32
- "fs-extra": "^10.1.0",
32
+ "fs-extra": "~11.1.1",
33
33
  "glob": "^9.2.1",
34
34
  "json5": "^2.2.3",
35
35
  "resolve": "^1.22.1",