Sencha 6.5,经典和现代文件夹同时创建新包

Sencha 6.5, where classic and modern folders while create new packages

我正在尝试 sencha 6.5,我使用

创建了一个包
sencha generate package DemoPkg 

这已经为我创建了一个包,但我没有在其中找到 classic 和 modern 的目录。有人遇到过这个问题吗?对此有任何建议或帮助,我们将不胜感激。

根据sencha guide包的结构应该有以下结构,

packages/
    local/
        foo/                        # Top-level folder for the package
            .sencha/
                package/
                    sencha.cfg      # Sencha Cmd configuration for this package
                    build-impl.xml  # Generated build script for package
                    plugin.xml      # Sencha Cmd plugin for this package
                    codegen.json    # Data to support 3-way merge in code generator
            classic/                # Classic toolkit-specific src code
            examples/               # Example applications demonstrating the package
            licenses/               # License agreement
            modern/                 # Modern toolkit-specific src code
            overrides/              # Folder for automatically activated overrides
            resources/              # Static resources (typically has images folder)
            sass/                   # Container for styling code
                etc/                # General, non-component oriented styling
                example/            # - internal use
                src/                # Style rules named by component
                var/                # Variables and mixins named by component
            src/                    # Folder for normal JavaScript code
            build.xml               # Build script (called by `sencha package build`)
            package.json            # Package descriptor
            Readme.md               # High-level information about this package

Sencha CMD 不会生成 docx 中提到的工具包文件夹,也没有选项可以这样做,我们只能为主题包指定工具包类型。所以我们需要手动创建类似于通用应用程序(经典和现代)的文件夹,并使用路径 ${toolkit.name} 更新 package.json,如下所示

"resources": [
    {
      "path": "resources"
    },
    {
      "path": "${toolkit.name}/resources"
    }
],
"sass": {
    "namespace": "UniversalPkg",
    "etc": [
      "${package.dir}/sass/etc/all.scss",
      "${package.dir}/${toolkit.name}/sass/etc/all.scss"
    ],
    "var": [
      "${package.dir}/sass/var/all.scss",
      "${package.dir}/sass/var",
      "${package.dir}/${toolkit.name}/sass/var/all.scss",
      "${package.dir}/${toolkit.name}/sass/var"
    ],
    "src": [
      "${package.dir}/sass/src",
      "${package.dir}/${toolkit.name}/sass/src"
    ]
  },
"classpath": [
    "${package.dir}/src",
    "${package.dir}/${toolkit.name}/src"
],
"overrides": [
    "${package.dir}/overrides",
    "${package.dir}/${toolkit.name}/overrides"
],