- Moved the NxPkg SDK to a dedicated repository: https://github.com/nxpkg/sdk.
- Added support for new options:
startScript
,sidebarView
andzenMode
. (#4) - Changed
project.description
to be optional. (https://github.com/nxpkg/sdk/pull/5)
- Fixed using the characters
[]
in file paths with theembedProject
andopenProject
methods. (https://github.com/nxpkg/core/pull/2295)
- Fixed the case of the URL query parameters for the
hideDevTools
anddevToolsHeight
options, for backwards compatibility with NxPkg EE. (https://github.com/nxpkg/core/pull/2154)
- Added a
terminalHeight
option, used to set a preferred height for the Terminal in WebContainers-based projects. (https://github.com/nxpkg/core/pull/1891)
- TypeScript: improved the precision and inline documentation of types such as
Project
,EmbedOptions
,OpenOptions
andVM
. Made those types directly importable withimport type { Project } from '@nx-pkg/sdk'
. (https://github.com/nxpkg/core/pull/1775, https://github.com/nxpkg/core/pull/1779, https://github.com/nxpkg/core/pull/1837) - Added support for opening multiple files in an embedded projects with the
vm.editor.openFile
method. (https://github.com/nxpkg/core/pull/1810) - Added new methods to the
VM
class for controlling the embedded editor’s UI:vm.editor.setCurrentFile
,vm.editor.setTheme
,vm.editor.setView
,vm.editor.showSidebar
,vm.preview.getUrl
,vm.preview.setUrl
. (https://github.com/nxpkg/core/pull/1810, https://github.com/nxpkg/core/pull/1837) - Added new
showSidebar
option. (https://github.com/nxpkg/core/pull/1837) - Added source maps to the published bundle files. (https://github.com/nxpkg/core/pull/1776)
- Fixed the default value of the
forceEmbedLayout
option. (https://github.com/nxpkg/core/pull/1817)
- Add support for opening multiple files with the openFile parameter, with support for multiple tabs (
openFile: 'index.html,src/index.js'
) and split editor panes (openFile: ['index.html', 'src/index.js]
). (https://github.com/nxpkg/core/pull/1758)
- Add
template: 'html'
to the allowed project templates. (https://github.com/nxpkg/core/pull/1728)
- Fix broken type declarations in previous v1.5.4. (https://github.com/nxpkg/core/pull/1722)
- Add
template: 'node'
to the allowed project templates. (https://github.com/nxpkg/core/pull/1714) - Remove support for the
tags
option when creating new projects. (https://github.com/nxpkg/core/pull/1714)
- Fix: correct type for
EmbedOptions['view']
. (https://github.com/nxpkg/core/pull/1655) - Fix: set the
EmbedOptions
’shideNavigation
UI option correctly. (https://github.com/nxpkg/core/pull/1654)
No known changes.
- Add
template: 'vue'
to the allowed project templates. (https://github.com/nxpkg/core/pull/1307)
- Add a
theme
option toProjectOptions
to set the editor’s color theme. (https://github.com/nxpkg/core/pull/1269)
- Add
origin
option toProjectOptions
to allow embedding projects from NxPkg Enterprise Edition. (https://github.com/nxpkg/core/pull/1236)
- Add
template: 'polymer'
to the allowed project templates. (https://github.com/nxpkg/core/pull/859)
- Add support for editor UI options:
hideDevTools
anddevToolsHeight
. - Add support for project compilation settings in
ProjectOptions
.