Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

africa.shuwari.sbt:sbt-js_2.12_1.0

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

africa.shuwari.sbt:sbt-js_2.12_1.0

Collection of sbt plugins for easy initialisation of uniform organisation wide default project settings.

  • 0.15.0
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

sbt-js

Collection of sbt plugins for uniform configuration of Shuwari Africa Ltd. sbt projects, as well as CI and Release related functionality.

NB: Unless specified otherwise, all plugins listed below are sbt AutoPlugins, and will be enabled automatically upon meeting the required plugin dependencies for each.

The following plugins are available:


sbt-vite

addSbtPlugin("africa.shuwari.sbt" % "sbt-vite" % "0.14.2")
Depends On:
sbt-js

Preconfigures projects with opinionated project defaults for ScalaJS libraries and/or applications. Uses Vite for bundling, and postprocessing.

Introduces additional sbt SettingKeys and TaskKeys, specifically:

KeyDescriptionDefault
viteTask: Compiles, links, and prepares project for packaging and/or processing with external tools."N/A
viteBuildTask: Executes vite build using the options specified in sbt-vite plugin settings.N/A
viteStopTask: Shuts down any running instances of Vite's development server.N/A
vite.baseSetting: Option corresponding to Vite's --base setting. See Vite documentation.None
vite.configSetting: Option corresponding to Vite's --config setting. See Vite documentation.None
vite.forceSetting: Option corresponding to Vite's --force setting. See Vite documentation.None
vite.logLevelSetting: Option corresponding to Vite's --logLevel setting. See Vite documentation.Level.Info
vite.modeSetting: Option corresponding to Vite's --mode setting. See Vite documentation.if (JSBundlerPlugin.autoImport.jsFullLink.value) ViteImport.Mode.Production else ViteImport.Mode.Development
vite.hostSetting: Option corresponding to Vite's --host setting. See Vite documentation.None
vite.portSetting: Option corresponding to Vite's --port setting. See Vite documentation.None
vite.strictPortSetting: Option corresponding to Vite's --strictPort setting. See Vite documentation.None
vite.corsSetting: Option corresponding to Vite's --cors setting. See Vite documentation.None
vite.assetsDirSetting: Option corresponding to Vite's --assetsDir setting. See Vite documentation.None
vite.assetsInlineLimitSetting: Option corresponding to Vite's --assetsInlineLimit setting. See Vite documentation.None
vite.ssrSetting: Option corresponding to Vite's --ssr setting. See Vite documentation.None
vite.sourcemapSetting: Option corresponding to Vite's --sourcemap setting. See Vite documentation.None
vite.minifySetting: Option corresponding to Vite's --minify setting. See Vite documentation.None

sbt-js-core

addSbtPlugin("africa.shuwari.sbt" % "sbt-js" % "0.14.2")

Preconfigures projects with opinionated project defaults for ScalaJS libraries and/or applications. Provides a foundation for incremental assembly using external Javascript ecosystem tools.

Introduces additional sbt SettingKeys and TaskKeys, specifically relevant:

KeyDescriptionDefault
jsPrepareTask: Compiles, links, and prepares project for packaging and/or processing with external tools."N/A
jsFullLinkSetting: Defines whether "fullLink" or "fastLink" ScalaJS Linker output is used.true where NODE_ENV environment variable is defined with a value of peoduction. and false otherwise.
jsTask: Process and/or package assembled project with external tools.Unimplemented. To be customised by end-user.
js / sourceDirectorySetting: Default directory containing sources and resources to be copied as-is to jsPrepare / target during jsPrepare execution.(Compile / sourceDirectory) / js
js / sourceDirectoriesSetting: List of all directories containing sources and resources to be copied as-is to jsPrepare / target during jsPrepare execution.(Compile / sourceDirectory) / js
js / targetSetting: Defines a target directory for the js task. Usable if required.N/A
jsPrepare / targetSetting: Defines a default target directory for the jsPrepare task.N/A
jsPrepare / fileInputIncludeFilterSetting: An sbt sbt.nio.file.PathFilter inclusion filter to apply to the input sources and resources copied to the prepared assembly by jsPrepare.RecursiveGlob
jsPrepare / fileInputExcludeFilterSetting: An sbt sbt.nio.file.PathFilter exclusion filter to apply to the input sources and resources copied to the prepared assembly by jsPrepare.HiddenFileFilter

License

Copyright © Shuwari Africa Ltd. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

FAQs

Package last updated on 21 Mar 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc