Skip to content

Releases: ant-ife/apfe-cli

v1.7.1

Choose a tag to compare

@zhangyuheng zhangyuheng released this 22 Feb 09:56
  • chore: remove sim and update 7156aee
  • feat(create): support org package, remove template list (#22) 8350481
  • feat(create): suppport template input, custom npm client (#21) 87afc00

v1.6.2...v1.7.1

v1.6.0

Choose a tag to compare

@zhangyuheng zhangyuheng released this 15 Feb 08:40
  • refactor: remove babel, use CommonJS

  • refactor: remove sim and update command

  • apfe pack config file can be a JSON file or a node module that exports an Object, exports a Function or exports an Async Function

  • usage

$ apfe pack pack -c /path/to/config.{js,json}
$ apfe pack -- -- --config /path/to/config.{js,json}
  • JSON config
{
  "name": "appname",
  "version": "1.1.0",
  "subapp": {
    "id": "appname"
  }
}
  • Object config
module.exports = {
  name: 'appname',
  version: '1.1.0',
};
  • Function | Async Function config
module.exports = async () => {
  const name = await getName();
  const version = await getVersion();
  return {
    name,
    version,
  };
};

v1.5.0

Choose a tag to compare

@yyclaw yyclaw released this 19 Nov 13:22

Changelog

  1. Supports custom offline-package config out of package.json
  2. Supports custom offline-package path in tar file
"subapp": {
  "id": "hello-world",
  "filename": "[id]_[version]_[random]",
+ "rootPath": "foo/bar/[id]",
},

v1.4.3

Choose a tag to compare

@yyclaw yyclaw released this 04 Sep 06:13

Changelog

Rollback Manifest.xml for supporting legacy App Container

v1.4.0

Choose a tag to compare

@yyclaw yyclaw released this 31 Aug 12:32
a986793

Changelog

Supports custom offline-package filename

"subapp": {
  "id": "hello-world",
  "filename": "[id]_[version]_[random]",
  "includes": [
    "./dist/**/*"
  ],
  "ignores": [
    "./dist/**/*.md",
    "./dist/**/*.map"
  ]
},
  • [id]: pkg.subapp.id
  • [version]: pkg.version
  • [random]: last commit short hash

v1.3.0

Choose a tag to compare

@yyclaw yyclaw released this 31 Aug 05:39

Changelog

Supports custom offline-package filename

"subapp": {
  "id": "hello-world",
+ "filename": "[id]_[version]_[random]",
  "includes": [
    "./dist/**/*"
  ],
  "ignores": [
    "./dist/**/*.md",
    "./dist/**/*.map"
  ]
},
  • [id]: pkg.subapp.id
  • [version]: pkg.version
  • [random]: [a-z0-9]{6}

v1.2.0

Choose a tag to compare

@yyclaw yyclaw released this 31 Aug 03:48
3f09124

Changelog

  1. Remove biz-app logic, this feature is no longer useful for new local site
  2. Change apfe init to apfe create
  3. Remove apfe pack init and apfe pack build
  4. Adjust offline-package config into package.json
"subapp": {
  "id": "hello-world",
  "includes": [
    "./dist/**/*"
  ],
  "ignores": [
    "./dist/**/*.md",
    "./dist/**/*.map"
  ]
},