Skip to content

Instantly share code, notes, and snippets.

View saml-dev's full-sized avatar

saml-dev

View GitHub Profile
import { plugin } from "bun";
import { compile, preprocess } from "svelte/compiler";
import sveltePreprocess from "svelte-preprocess";
import { readFileSync, existsSync } from "fs";
import { join } from "path";
// Detect Svelte version
function getSvelteVersion() {
try {
const packageJsonPath = join(
"vim.leader": "<space>",
"vim.normalModeKeyBindingsNonRecursive": [
{
// File explorer
"before": ["<leader>", "f"],
"commands": ["workbench.view.explorer"]
},
{
"before": ["<leader>", "r"],
"commands": ["editor.action.rename"]
@saml-dev
saml-dev / main.dart
Created March 5, 2021 04:38
flutter listview inside pageview
// Copyright 2018 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
// import 'package:english_words/english_words.dart';
void main() => runApp(MyApp());
// #docregion MyApp
name: Build and Deploy
on:
push:
branches: [develop, master]
# vars across all environments
env:
name: project-name
src_dir: src
version: 0.1.0