Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@tizentv/wits
Advanced tools
WITs is a useful development tool for helping to run and develop your Tizen web application easily on your 2017+ Samsung TV.
It is the fastest way to get your local code running on the TV device during development. Saving you from having to build, package, and reinstall your application every time you want to see how it will run on device. We call it a LIVE RELOAD
.
WITs is helpful to continue your developing context.
$ npm install -g @tizentv/wits
$ git clone https://github.com/Samsung/Wits.git
$ cd ~/{path-to}/Wits
$ npm install -g
.witsconfig.json
within Wits
directory.Configure Tizen Studio Certificate Profile path
of your profiles.xml to .witsconfig.json
The default path
is tizen-studio-data/profile/profiles.xml
on Mac and Windows both.
WITs needs the following prerequisites on your local development machine.
Terminal
on MacOS / Linux or CMD
/ PowerShell
on WindowsWe will not describe how to do these installations as there are many ways to do it and its developer preference. We recommend using something like nvm
or asdf
to manage different versions of Node.js across your code projects.
1 With your Samsung Remote, press the Home
button.
2 Navigate to the Apps
button and press Enter/OK
.
3 When on the Apps
screen, press 1
2
3
4
5
in order on the remote to open the Developer Mode Dialog
. If this doesn't work, try it again.
4 When the Developer Mode Dialog appears, toggle the switch to On
and enter the IP address of your development machine.
.witsconfig.json, .witsignore files are only added at the your tizen web application.
wits
For showing which options you can use
wits -i
/ wits --init
For configuring WITs Please note that, It should be run when you use first time on your tizen application project. .witsconfig.json and .witsignore files are generated on your tizen app project. After then, you can modify your information to them.
wits -s
/ wits --start
All in one. For connecting to TV, installing and launching your app and using Live Reload
If wits -i
hasn't run before, It is not allowed to run.
wits -w
/ wits --watch
For conneting to TV, using Live Reload
After connecting, every time you make changes on your tizen app project
, It is reflected to TV device instantly.
For details, Sample data for .witsconfig.json
on Windows
and MacOS
both, WITs recognises path segment only one separator(/
).
Sometimes there are a few files what you do not want to push to your TV device such as .git
or node_modules
.
If you input unnecessary files or directories on .witsignore file before pushing files to the TV device, It would be pushed except them to your TV.
You can use it optionally.
This works exactly same as .gitignore
.
Example of .witsignore
:
node_modules
.git
deprecated
stglib
If you want to follow Step by Step. Please refer Running Your App using WITs
FAQs
Instant live reload tool for Tizen Web Application development
We found that @tizentv/wits demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.