Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -275,3 +275,4 @@ bh_unicode_properties.cache
# Sublime-github package stores a github token in this file
# https://packagecontrol.io/packages/sublime-github
GitHub.sublime-settings
venv
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ config
.travis.yml
CHANGELOG.md
README.md
venv
14 changes: 7 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
Package: dashAce
Title: Dash Ace Editor Component
Version: 0.2.0
Authors @R: as.person(c(xu miao <xu@reasoned.ai>))
Description: Dash Ace Editor Component
Package: dashAcePersistent
Title: Dash Ace Editor Component with persistence
Version: 0.3.2
Description: Dash Ace Editor Component with persistence
Depends: R (>= 3.0.2)
Imports:
Suggests:
Expand All @@ -11,5 +10,6 @@ URL: https://github.com/reasoned-ai/dash-ace
BugReports: https://github.com/reasoned-ai/dash-ace/issues
Encoding: UTF-8
LazyData: true
Author: xu miao [aut]
Maintainer: xu miao <xu@reasoned.ai>
KeepSource: true
Author: james saunders [aut]
Maintainer: james saunders <james@businessoptics.biz>
8 changes: 4 additions & 4 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include dash_ace/dash_ace.min.js
include dash_ace/dash_ace.min.js.map
include dash_ace/metadata.json
include dash_ace/package-info.json
include dash_ace_persistent/dash_ace_persistent.min.js
include dash_ace_persistent/dash_ace_persistent.min.js.map
include dash_ace_persistent/metadata.json
include dash_ace_persistent/package-info.json
include README.md
include LICENSE
include package.json
6 changes: 5 additions & 1 deletion PUBLISH.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,21 @@
$ npm run build
```
2. Create a Python tarball

```
$ python setup.py sdist
```

This distribution tarball will get generated in the `dist/` folder

3. Test your tarball by copying it into a new environment and installing it locally:

```
$ pip install dash_ace-0.0.1.tar.gz
$ pip install dash_ace_persistent-0.0.1.tar.gz
```

4. If it works, then you can publish the component to NPM and PyPI:

1. Publish on PyPI
```
$ twine upload dist/*
Expand Down
10 changes: 5 additions & 5 deletions R/dashAceEditor.R
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# AUTO GENERATED FILE - DO NOT EDIT

dashAceEditor <- function(id=NULL, value=NULL, className=NULL, placeholder=NULL, mode=NULL, syntaxKeywords=NULL, syntaxFolds=NULL, theme=NULL, fontSize=NULL, focus=NULL, showGutter=NULL, showPrintMargin=NULL, highlightActiveLine=NULL, cursorStart=NULL, wrapEnabled=NULL, readOnly=NULL, minLines=NULL, maxLines=NULL, enableBasicAutocompletion=NULL, enableLiveAutocompletion=NULL, autocompleter=NULL, prefixLine=NULL, triggerWords=NULL, triggerCaseInsensitive=NULL, enableSnippets=NULL, tabSize=NULL, debounceChangePeriod=NULL, editorProps=NULL, setOptions=NULL, keyboardHandler=NULL, commands=NULL, annotations=NULL, markers=NULL, style=NULL, width=NULL, height=NULL, orientation=NULL) {
dashAceEditor <- function(id=NULL, value=NULL, className=NULL, placeholder=NULL, mode=NULL, syntaxKeywords=NULL, syntaxFolds=NULL, theme=NULL, fontSize=NULL, focus=NULL, showGutter=NULL, showPrintMargin=NULL, highlightActiveLine=NULL, cursorStart=NULL, wrapEnabled=NULL, readOnly=NULL, minLines=NULL, maxLines=NULL, enableBasicAutocompletion=NULL, enableLiveAutocompletion=NULL, autocompleter=NULL, prefixLine=NULL, triggerWords=NULL, triggerCaseInsensitive=NULL, enableSnippets=NULL, tabSize=NULL, debounceChangePeriod=NULL, editorProps=NULL, setOptions=NULL, keyboardHandler=NULL, commands=NULL, annotations=NULL, markers=NULL, style=NULL, width=NULL, height=NULL, orientation=NULL, persistence=NULL, persisted_props=NULL, persistence_type=NULL) {

props <- list(id=id, value=value, className=className, placeholder=placeholder, mode=mode, syntaxKeywords=syntaxKeywords, syntaxFolds=syntaxFolds, theme=theme, fontSize=fontSize, focus=focus, showGutter=showGutter, showPrintMargin=showPrintMargin, highlightActiveLine=highlightActiveLine, cursorStart=cursorStart, wrapEnabled=wrapEnabled, readOnly=readOnly, minLines=minLines, maxLines=maxLines, enableBasicAutocompletion=enableBasicAutocompletion, enableLiveAutocompletion=enableLiveAutocompletion, autocompleter=autocompleter, prefixLine=prefixLine, triggerWords=triggerWords, triggerCaseInsensitive=triggerCaseInsensitive, enableSnippets=enableSnippets, tabSize=tabSize, debounceChangePeriod=debounceChangePeriod, editorProps=editorProps, setOptions=setOptions, keyboardHandler=keyboardHandler, commands=commands, annotations=annotations, markers=markers, style=style, width=width, height=height, orientation=orientation)
props <- list(id=id, value=value, className=className, placeholder=placeholder, mode=mode, syntaxKeywords=syntaxKeywords, syntaxFolds=syntaxFolds, theme=theme, fontSize=fontSize, focus=focus, showGutter=showGutter, showPrintMargin=showPrintMargin, highlightActiveLine=highlightActiveLine, cursorStart=cursorStart, wrapEnabled=wrapEnabled, readOnly=readOnly, minLines=minLines, maxLines=maxLines, enableBasicAutocompletion=enableBasicAutocompletion, enableLiveAutocompletion=enableLiveAutocompletion, autocompleter=autocompleter, prefixLine=prefixLine, triggerWords=triggerWords, triggerCaseInsensitive=triggerCaseInsensitive, enableSnippets=enableSnippets, tabSize=tabSize, debounceChangePeriod=debounceChangePeriod, editorProps=editorProps, setOptions=setOptions, keyboardHandler=keyboardHandler, commands=commands, annotations=annotations, markers=markers, style=style, width=width, height=height, orientation=orientation, persistence=persistence, persisted_props=persisted_props, persistence_type=persistence_type)
if (length(props) > 0) {
props <- props[!vapply(props, is.null, logical(1))]
}
component <- list(
props = props,
type = 'DashAceEditor',
namespace = 'dash_ace',
propNames = c('id', 'value', 'className', 'placeholder', 'mode', 'syntaxKeywords', 'syntaxFolds', 'theme', 'fontSize', 'focus', 'showGutter', 'showPrintMargin', 'highlightActiveLine', 'cursorStart', 'wrapEnabled', 'readOnly', 'minLines', 'maxLines', 'enableBasicAutocompletion', 'enableLiveAutocompletion', 'autocompleter', 'prefixLine', 'triggerWords', 'triggerCaseInsensitive', 'enableSnippets', 'tabSize', 'debounceChangePeriod', 'editorProps', 'setOptions', 'keyboardHandler', 'commands', 'annotations', 'markers', 'style', 'width', 'height', 'orientation'),
package = 'dashAce'
namespace = 'dash_ace_persistent',
propNames = c('id', 'value', 'className', 'placeholder', 'mode', 'syntaxKeywords', 'syntaxFolds', 'theme', 'fontSize', 'focus', 'showGutter', 'showPrintMargin', 'highlightActiveLine', 'cursorStart', 'wrapEnabled', 'readOnly', 'minLines', 'maxLines', 'enableBasicAutocompletion', 'enableLiveAutocompletion', 'autocompleter', 'prefixLine', 'triggerWords', 'triggerCaseInsensitive', 'enableSnippets', 'tabSize', 'debounceChangePeriod', 'editorProps', 'setOptions', 'keyboardHandler', 'commands', 'annotations', 'markers', 'style', 'width', 'height', 'orientation', 'persistence', 'persisted_props', 'persistence_type'),
package = 'dashAcePersistent'
)

structure(component, class = c('dash_component', 'list'))
Expand Down
18 changes: 9 additions & 9 deletions R/internal.R
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
.dashAce_js_metadata <- function() {
deps_metadata <- list(`dash_ace` = structure(list(name = "dash_ace",
version = "0.2.0", src = list(href = NULL,
.dashAcePersistent_js_metadata <- function() {
deps_metadata <- list(`dash_ace_persistent` = structure(list(name = "dash_ace_persistent",
version = "0.3.2", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'dash_ace.min.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashAce",
script = 'dash_ace_persistent.min.js',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashAcePersistent",
all_files = FALSE), class = "html_dependency"),
`dash_ace` = structure(list(name = "dash_ace",
version = "0.2.0", src = list(href = NULL,
`dash_ace_persistent` = structure(list(name = "dash_ace_persistent",
version = "0.3.2", src = list(href = NULL,
file = "deps"), meta = NULL,
script = 'dash_ace.min.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashAce",
script = 'dash_ace_persistent.min.js.map',
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashAcePersistent",
all_files = FALSE), class = "html_dependency"))
return(deps_metadata)
}
Loading