Releases: monaca/monaca-lib
Releases · monaca/monaca-lib
3.0.4
- Minor fix to the comment blocks.
3.0.3
v3.0.3
- Added
getRemoteProjectFiles
for reading project files from cloud. - Added
getRemoteProjectFilesByPath
to read project files from cloud specified by file path. - Modified
getProjectFiles
to not downloadnode_modules
folders. - Modified
getLocalProjectFiles
to upload symlinked files/directories if any. - Modified
cloneProject
to install dependencies after cloning/importing project from cloud.
3.0.2
- Fixed backup process of
package.json
formonaca update
andmonaca init
.
3.0.1
Same as 3.0.0
3.0.0
Features
- Added
upgrade
function. This function is used to upgrade projects created using Monaca Lib 2.x to Monaca Lib 3. - Added
init
function. This function is used to initialize projects created using other CLI tools to the Monaca structure. - Added
getCordovaVersion
function. This function is used to get the current Cordova version installed. - Added
getTemplateType
function. This function is used to get the template type old project. - Added
hasTranspileScript
function. This function is used to check if the project has the new Monaca Tranpile Command ('monaca:transpile'
) defined. - Added
hasDebugScript
function. This function is used to check if the project has the new Monaca Debug Command ('monaca:debug'
) defined. - Added
isOldProject
function. This function is used to check if the project was created using Monaca Lib 2.x (mainly checks if the project hasmonaca:preview
script). - Added
getLatestCordovaVersion
function. This function returns the latest Cordova verion supported by Monaca Build Server. - Added
createProjectInfoFile
function. This function creates a basicproject_info.json
fromblank
template. - Added
initIconsSplashes
function. This function creates icons and splashes files fromblank
template. - Added
createConfigFile
function. This function creates a basicconfig.xml
fromblank
template. - Added
createPackageJsonFile
function. This function creates a basicpackage.json
fromblank
template. - Added
webpack 4
andwebpack-serve
support. - Added
blank
template as a submodule. - Added
monaca_preview.js
script to be able to execute old projects with the new version.
Deprecated
- Removed
isTranspilable
. - Removed
isTranspileEnabled
. - Removed
_filterIgnoreList
. - Renamed
installBuildDependencies
asinstallDevDependencies
. - Renamed
generateBuildConfigs
asgenerateTemplateWebpackConfigs
.
Breaking changes
- Added
dev
to_npmInstall
function to be able to install dev depependencies. - Modified
initComponents
function to get Monaca Components fromblank
template. - Renamed
installBuildDependencies
function toinstallDevDependencies
. Additional dependencies were moved into this function to install them considering thetemplate-type
fromproject_info.json
. This function installs Cordova as a dev dependency as well. - Added
folder
togetWebpackConfig
function to be able to specify the new folder with the new Webpack templates. - Modified
transpile
function to be able to execute the new Monaca Command ('monaca:transpile'
and/or'monaca:debug'
) defined underscripts
tag inpackage.json
instead of loading the Webpack Config file. - Renamed
generateBuildConfigs
function togenerateTemplateWebpackConfigs
. This function gets the new webpack config template files. - Modified
isMonacaProject
function to check if the project hasproject_info.json
file. - Upgraded
webpack.ENV.FRAMEWORK.js
files to use project dev dependencies:Vue
webpack files.React
webpack files.Angular
webpack files.
2.7.13
- Fixed bug in
uploadProject
anddownloadProject
function.
2.7.12
2.7.11
- appended
path
to theupload
anddownload
request url - return
upload
anddownload
progress tolocalkit
- remove
platforms
from default.monacaignore
for project with lower cordova version ( <= 5.x)
2.7.10
- added
loader.js
andloader.css
to webpack-dev-server (webpack.dev.config.js)
2.7.9
- add optional param to
cloneProject
function (to fixmonaca import
) - change content of default
.monacaignore
- add message during generating
.monacaignore