Native-Desktop-Application-with-Neutralinojs-Svelte-TypeScript-Webpack

Native Desktop Application With Neutralinojs Svelte Typescript Webpack

โš  Mirror ๐Ÿ’ซ Repositories ๐Ÿ“™ from ๐Ÿงก https://gitlab.com/the-bootcamp-project ๐Ÿงก โš 

How to Build and Publish Modern Native Desktop Application

with Svelte TailwindCSS TypeScript and Webpack

๐Ÿฆ„ About ๐Ÿฆ„

Description

Project Links

Minimum Viable Product: What is what we want?

  • What are the goals?
    • Modern Web techniques
      • TypeScript Support
      • Svelte Components
        • Storybook UI Testing and Presentation
      • TailwindCSS Styling
      • with Webpack bundeling
    • Smart reload Development
    • a Static Application Security Code Analyzing
      • with ESLint (eslint-plugin-security)
    • A Test Driven Development approche
      • with Jest
    • Automation (CI/CD)
      • Linting / Prettier
      • Testing
      • Building / Packaging
      • Deployment / Publishing
    • a on Board Documentation for our Users
  • Sense (Why do these goals exist?)
    • Explanation #1
    • Explanation #2
    • Explanation #3
  • Purpose (What should be done with it?)
    • Use Case #1
    • Use Case #2
    • Use Case #3

๐Ÿš€ Getting Started ๐Ÿš€

For more examples, please refer to the Documentation

โœ‹ Prerequisites โœ‹

Ensure you have

and, install other global dependencies

curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn

and

sudo yarn global add cross-env concurrently http-server --prefix /usr/local

Get the Boilerplate

Boilerplate for new projects only, as a contributor please scroll down to: ๐Ÿค Contribute ๐Ÿค

git clone --depth 1 --branch main https://gitlab.com/the-bootcamp-project/frameworks/native-desktop.git hello_desktop

Change directory

cd hello_desktop

Remove the old repository and create a new one

rm -rf .git && git init .

Now it's your's!

๐Ÿ’ช Installation ๐Ÿ’ช

Run the following:

  • yarn install to install dependencies.
  • yarn run git:sub:merge (starts automatic after yarn install) to update necessary git submodules

if you want to use npm, replace yarn ... with npm ...

See Installation Documentation

๐Ÿ˜ Development ๐Ÿ˜

Run the following:

  • yarn run dev to start the development server

if you want to use npm, replace yarn ... with npm ...

See Development Documentation

๐Ÿค“ Linting ๐Ÿค“

Run the following:

  • yarn run format to prettier the source-code
  • yarn run lint to start read-only linting from js, ts and svelte files.
  • yarn run lint:svelte to start linting for Svelte Components
  • yarn run lint:fix to start read-write linting, see above and fix warnings/errors.

if you want to use npm, replace yarn ... with npm ...

See Linting Documentation

๐Ÿง Testing ๐Ÿง

Run the following:

  • yarn run test:smoke to start a local HTTP-Server to preview the build
  • yarn run test:coverage to start unit-testing and show coverage stets
  • yarn run test:unit to start unit-testing

if you want to use npm, replace yarn ... with npm ...

See Testing Documentation

๐Ÿคฉ Building ๐Ÿคฉ

Run the following:

  • yarn run build:stats (runs linting and fix first) to start building, create build-profile and shown bundling states
  • yarn run build (runs linting and fix first) to start building

if you want to use npm, replace yarn ... with npm ...

See Building Documentation

๐Ÿฅณ Publishing ๐Ÿฅณ

Then run the following:

  • yarn run publish (creates ./public) copy content from ./build to ./public - GitLab Pages Example

if you want to use npm, replace yarn ... with npm ...

See Publishing Documentation

โญ๏ธ Features โญ๏ธ

๐Ÿ˜Ž Built With ๐Ÿ˜Ž

Electron TypeScript eslint prettier jest Svelte Tailwind CSS Webpack tbcp

๐Ÿ“‘ Changelog ๐Ÿ“‘

See CHANGELOG for more information.

๐Ÿ˜… Support ๐Ÿ˜…

Don't be shy! You are also welcome to open a post in the issue registar for simple questions.

๐Ÿ“‹ Roadmap ๐Ÿ“‹

  • auto-versioning
  • auto-changelogging

See the open issues for a list of proposed features (and known issues).

๐Ÿค Contribute ๐Ÿค

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

Please read the contribution guidelines first.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ† Acknowledgements ๐Ÿ†

Thanks for these awesome resources that were used during the development of the Bootcamp: Modern Native Desktop Application Framework:

๐Ÿ“œ License ๐Ÿ“œ

See LICENSE for more information.

๐Ÿ’Œ Contact ๐Ÿ’Œ

Bootcamp contributors - contributors @ bootcamp-project .com

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes