Releases: ant-ife/apfe-cli
Releases · ant-ife/apfe-cli
Release list
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}JSONconfig
{
"name": "appname",
"version": "1.1.0",
"subapp": {
"id": "appname"
}
}Objectconfig
module.exports = {
name: 'appname',
version: '1.1.0',
};Function|Async Functionconfig
module.exports = async () => {
const name = await getName();
const version = await getVersion();
return {
name,
version,
};
};v1.5.0
v1.4.3
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 inittoapfe create - Remove
apfe pack initandapfe pack build - Adjust offline-package config into package.json
"subapp": {
"id": "hello-world",
"includes": [
"./dist/**/*"
],
"ignores": [
"./dist/**/*.md",
"./dist/**/*.map"
]
},