Releases: ant-ife/apfe-cli
Releases · ant-ife/apfe-cli
v1.7.1
v1.6.0
-
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
Changelog
- Supports custom offline-package config out of package.json
- Supports custom offline-package path in tar file
"subapp": {
"id": "hello-world",
"filename": "[id]_[version]_[random]",
+ "rootPath": "foo/bar/[id]",
},
v1.4.3
Changelog
Rollback Manifest.xml for supporting legacy App Container
v1.4.0
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
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
Changelog
- Remove biz-app logic, this feature is no longer useful for new local site
- Change
apfe init
toapfe create
- Remove
apfe pack init
andapfe pack build
- Adjust offline-package config into package.json
"subapp": {
"id": "hello-world",
"includes": [
"./dist/**/*"
],
"ignores": [
"./dist/**/*.md",
"./dist/**/*.map"
]
},