Skip to content

Commit

Permalink
try publish
Browse files Browse the repository at this point in the history
Signed-off-by: MisileLab <[email protected]>
  • Loading branch information
MisileLab committed Dec 23, 2023
1 parent bf4b6fd commit 2de1e89
Show file tree
Hide file tree
Showing 32 changed files with 3,546 additions and 0 deletions.
259 changes: 259 additions & 0 deletions dist/assets/PARA-z7PUJ0NC.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/assets/background-wYOrHilX.webp
Binary file not shown.
Binary file added dist/assets/favicon-Znx1XVb3.ico
Binary file not shown.
1 change: 1 addition & 0 deletions dist/assets/index-T73gBEXJ.css

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

481 changes: 481 additions & 0 deletions dist/assets/index-huuN2NzU.js

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<link rel="shortcut icon" type="image/ico" href="/assets/favicon-Znx1XVb3.ico" />
<title>Solid App</title>
<script type="module" crossorigin src="/assets/index-huuN2NzU.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-T73gBEXJ.css">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>
1 change: 1 addition & 0 deletions projects/dsb/sntpara/.envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
2 changes: 2 additions & 0 deletions projects/dsb/sntpara/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
34 changes: 34 additions & 0 deletions projects/dsb/sntpara/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
## Usage

Those templates dependencies are maintained via [pnpm](https://pnpm.io) via `pnpm up -Lri`.

This is the reason you see a `pnpm-lock.yaml`. That being said, any package manager will work. This file can be safely be removed once you clone a template.

```bash
$ npm install # or pnpm install or yarn install
```

### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)

## Available Scripts

In the project directory, you can run:

### `npm run dev` or `npm start`

Runs the app in the development mode.<br>
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br>

### `npm run build`

Builds the app for production to the `dist` folder.<br>
It correctly bundles Solid in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br>
Your app is ready to be deployed!

## Deployment

You can deploy the `dist` folder to any static host provider (netlify, surge, now, etc.)
27 changes: 27 additions & 0 deletions projects/dsb/sntpara/flake.lock

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

26 changes: 26 additions & 0 deletions projects/dsb/sntpara/flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
description = "A Nix-flake-based Node.js development environment";

inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";

outputs = { self, nixpkgs }:
let
overlays = [
(final: prev: rec {
nodejs = prev.nodejs_latest;
pnpm = prev.nodePackages_latest.pnpm;
})
];
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
pkgs = import nixpkgs { inherit overlays system; };
});
in
{
devShells = forEachSupportedSystem ({ pkgs }: {
default = pkgs.mkShell {
packages = with pkgs; [ node2nix nodejs pnpm ];
};
});
};
}
15 changes: 15 additions & 0 deletions projects/dsb/sntpara/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<link rel="shortcut icon" type="image/ico" href="/src/assets/favicon.ico" />
<title>Solid App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/src/index.tsx" type="module"></script>
</body>
</html>
24 changes: 24 additions & 0 deletions projects/dsb/sntpara/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "vite-template-solid",
"version": "0.0.0",
"description": "",
"type": "module",
"scripts": {
"start": "vite",
"dev": "vite",
"build": "vite build",
"serve": "vite preview"
},
"license": "MisileLab License",
"devDependencies": {
"prettier": "3.1.1",
"solid-devtools": "0.29.2",
"solid-styled-components": "0.28.5",
"typescript": "5.3.3",
"vite": "5.0.8",
"vite-plugin-solid": "2.8.0"
},
"dependencies": {
"solid-js": "1.8.7"
}
}
Loading

0 comments on commit 2de1e89

Please sign in to comment.