Merge pull request #92 from supercoww/star-script

Add script for updating stars
This commit is contained in:
Kevin Åberg Kultalahti
2021-08-30 20:13:43 +02:00
committed by GitHub
6 changed files with 3224 additions and 3592 deletions

180
package-lock.json generated
View File

@@ -5,12 +5,12 @@
"requires": true,
"packages": {
"": {
"name": "sveltesociety.dev",
"version": "0.0.1",
"dependencies": {
"svelte-highlight": "^3.2.0"
},
"devDependencies": {
"@octokit/graphql": "^4.7.0",
"@sveltejs/adapter-static": "next",
"@sveltejs/kit": "next",
"@typescript-eslint/eslint-plugin": "^4.19.0",
@@ -210,6 +210,68 @@
"node": ">= 8"
}
},
"node_modules/@octokit/endpoint": {
"version": "6.0.12",
"resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz",
"integrity": "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==",
"dev": true,
"dependencies": {
"@octokit/types": "^6.0.3",
"is-plain-object": "^5.0.0",
"universal-user-agent": "^6.0.0"
}
},
"node_modules/@octokit/graphql": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.7.0.tgz",
"integrity": "sha512-diY0qMPyQjfu4rDu3kDhJ9qIZadIm4IISO3RJSv9ajYUWJUCO0AykbgzLcg1xclxtXgzY583u3gAv66M6zz5SA==",
"dev": true,
"dependencies": {
"@octokit/request": "^5.6.0",
"@octokit/types": "^6.0.3",
"universal-user-agent": "^6.0.0"
}
},
"node_modules/@octokit/openapi-types": {
"version": "9.7.0",
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-9.7.0.tgz",
"integrity": "sha512-TUJ16DJU8mekne6+KVcMV5g6g/rJlrnIKn7aALG9QrNpnEipFc1xjoarh0PKaAWf2Hf+HwthRKYt+9mCm5RsRg==",
"dev": true
},
"node_modules/@octokit/request": {
"version": "5.6.1",
"resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.1.tgz",
"integrity": "sha512-Ls2cfs1OfXaOKzkcxnqw5MR6drMA/zWX/LIS/p8Yjdz7QKTPQLMsB3R+OvoxE6XnXeXEE2X7xe4G4l4X0gRiKQ==",
"dev": true,
"dependencies": {
"@octokit/endpoint": "^6.0.1",
"@octokit/request-error": "^2.1.0",
"@octokit/types": "^6.16.1",
"is-plain-object": "^5.0.0",
"node-fetch": "^2.6.1",
"universal-user-agent": "^6.0.0"
}
},
"node_modules/@octokit/request-error": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz",
"integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==",
"dev": true,
"dependencies": {
"@octokit/types": "^6.0.3",
"deprecation": "^2.0.0",
"once": "^1.4.0"
}
},
"node_modules/@octokit/types": {
"version": "6.25.0",
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.25.0.tgz",
"integrity": "sha512-bNvyQKfngvAd/08COlYIN54nRgxskmejgywodizQNyiKoXmWRAjKup2/LYwm+T9V0gsKH6tuld1gM0PzmOiB4Q==",
"dev": true,
"dependencies": {
"@octokit/openapi-types": "^9.5.0"
}
},
"node_modules/@rollup/pluginutils": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.1.1.tgz",
@@ -1122,6 +1184,12 @@
"integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=",
"dev": true
},
"node_modules/deprecation": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz",
"integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==",
"dev": true
},
"node_modules/detect-indent": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz",
@@ -1986,6 +2054,15 @@
"node": ">=0.12.0"
}
},
"node_modules/is-plain-object": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==",
"dev": true,
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/is-resolvable": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz",
@@ -2271,6 +2348,15 @@
"lodash": "^4.17.21"
}
},
"node_modules/node-fetch": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
"dev": true,
"engines": {
"node": "4.x || >=6.0.0"
}
},
"node_modules/node-releases": {
"version": "1.1.75",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.75.tgz",
@@ -3744,6 +3830,12 @@
"url": "https://opencollective.com/unified"
}
},
"node_modules/universal-user-agent": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
"integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==",
"dev": true
},
"node_modules/universalify": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
@@ -4019,6 +4111,68 @@
"fastq": "^1.6.0"
}
},
"@octokit/endpoint": {
"version": "6.0.12",
"resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz",
"integrity": "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==",
"dev": true,
"requires": {
"@octokit/types": "^6.0.3",
"is-plain-object": "^5.0.0",
"universal-user-agent": "^6.0.0"
}
},
"@octokit/graphql": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.7.0.tgz",
"integrity": "sha512-diY0qMPyQjfu4rDu3kDhJ9qIZadIm4IISO3RJSv9ajYUWJUCO0AykbgzLcg1xclxtXgzY583u3gAv66M6zz5SA==",
"dev": true,
"requires": {
"@octokit/request": "^5.6.0",
"@octokit/types": "^6.0.3",
"universal-user-agent": "^6.0.0"
}
},
"@octokit/openapi-types": {
"version": "9.7.0",
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-9.7.0.tgz",
"integrity": "sha512-TUJ16DJU8mekne6+KVcMV5g6g/rJlrnIKn7aALG9QrNpnEipFc1xjoarh0PKaAWf2Hf+HwthRKYt+9mCm5RsRg==",
"dev": true
},
"@octokit/request": {
"version": "5.6.1",
"resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.1.tgz",
"integrity": "sha512-Ls2cfs1OfXaOKzkcxnqw5MR6drMA/zWX/LIS/p8Yjdz7QKTPQLMsB3R+OvoxE6XnXeXEE2X7xe4G4l4X0gRiKQ==",
"dev": true,
"requires": {
"@octokit/endpoint": "^6.0.1",
"@octokit/request-error": "^2.1.0",
"@octokit/types": "^6.16.1",
"is-plain-object": "^5.0.0",
"node-fetch": "^2.6.1",
"universal-user-agent": "^6.0.0"
}
},
"@octokit/request-error": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz",
"integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==",
"dev": true,
"requires": {
"@octokit/types": "^6.0.3",
"deprecation": "^2.0.0",
"once": "^1.4.0"
}
},
"@octokit/types": {
"version": "6.25.0",
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.25.0.tgz",
"integrity": "sha512-bNvyQKfngvAd/08COlYIN54nRgxskmejgywodizQNyiKoXmWRAjKup2/LYwm+T9V0gsKH6tuld1gM0PzmOiB4Q==",
"dev": true,
"requires": {
"@octokit/openapi-types": "^9.5.0"
}
},
"@rollup/pluginutils": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.1.1.tgz",
@@ -4668,6 +4822,12 @@
"integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=",
"dev": true
},
"deprecation": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz",
"integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==",
"dev": true
},
"detect-indent": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz",
@@ -5312,6 +5472,12 @@
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
"dev": true
},
"is-plain-object": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==",
"dev": true
},
"is-resolvable": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz",
@@ -5550,6 +5716,12 @@
"lodash": "^4.17.21"
}
},
"node-fetch": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==",
"dev": true
},
"node-releases": {
"version": "1.1.75",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.75.tgz",
@@ -6529,6 +6701,12 @@
"@types/unist": "^2.0.2"
}
},
"universal-user-agent": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
"integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==",
"dev": true
},
"universalify": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",

View File

@@ -10,6 +10,7 @@
"format": "prettier --write ."
},
"devDependencies": {
"@octokit/graphql": "^4.7.0",
"@sveltejs/adapter-static": "next",
"@sveltejs/kit": "next",
"@typescript-eslint/eslint-plugin": "^4.19.0",
@@ -26,9 +27,9 @@
"prettier-plugin-svelte": "^2.2.0",
"svelte": "^3.38.2",
"svelte-preprocess": "^4.7.4",
"tailwindcss": "^2.2.4",
"tslib": "^2.0.0",
"typescript": "^4.0.0",
"tailwindcss": "^2.2.4"
"typescript": "^4.0.0"
},
"type": "module",
"dependencies": {

92
scripts/updateStars.js Normal file
View File

@@ -0,0 +1,92 @@
/**
* Script for updating github stars of repositories
* Usage: GH_TOKEN=secret node scripts/updateStars.js
*
* GH_TOKEN - personal access token with repo scope
*/
import fs from 'fs';
import { graphql } from '@octokit/graphql';
import prettier from 'prettier';
const files = [
'src/routes/components/components.json',
'src/routes/templates/templates.json',
'src/routes/tooling/tools.json'
];
if (!process.env.GH_TOKEN) {
console.error('Error: env variable GH_TOKEN not set');
process.exit(1);
}
const getGithubRepo = ({ url }) => {
const match = url.match(/github.com\/([^#/]+)\/([^#/]+)/);
if (match) {
const [, owner, name] = match;
return `${owner}/${name}`;
}
};
const repos = files.flatMap(
(file) =>
JSON.parse(fs.readFileSync(file))
.map(getGithubRepo)
.filter((x) => x) // filter undefined
);
const uniqueRepos = [...new Set(repos)].map((repo) => {
const [owner, name] = repo.split('/');
return { owner, name };
});
const repoQuery = (repo, id) => `
r${id}: repository(owner: "${repo.owner}", name: "${repo.name}") {
...frag
}
`;
const response = await graphql(
/* GraphQL */ `
{
${uniqueRepos.map(repoQuery).join('')}
}
fragment frag on Repository {
owner {
login
}
name
stargazerCount
}
`,
{
headers: {
authorization: `token ${process.env.GH_TOKEN}`
}
}
);
const repoData = Object.fromEntries(
Object.values(response).map((repo) => [`${repo.owner.login}/${repo.name}`, repo])
);
for (const file of files) {
const data = JSON.parse(fs.readFileSync(file));
for (const item of data) {
const repo = getGithubRepo(item);
if (repo && repoData[repo]) {
item.stars = repoData[repo].stargazerCount;
}
}
prettySave(file, JSON.stringify(data), 'json');
}
/**
* Format with prettier and save
*/
function prettySave(filePath, text, parser = 'babel') {
prettier.resolveConfig(filePath).then((options) => {
const formatted = prettier.format(text, { ...options, parser });
fs.writeFileSync(filePath, formatted);
});
}

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Boilerplate with TypeScript, Webpack, Storybook, Travis CI, SCSS, Babel, EsLint, Prettier, Jest",
"stars": 51,
"stars": 61,
"tags": [],
"title": "agusID/boilerplate-svelte",
"url": "https://github.com/agusID/boilerplate-svelte"
@@ -12,7 +12,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "An example repo of a Svelte app that is IE11 compatible",
"stars": 27,
"stars": 29,
"tags": [],
"title": "angelozehr/svelte-example-museums",
"url": "https://github.com/angelozehr/svelte-example-museums"
@@ -21,7 +21,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "A truffle box for Svelte, a seed for building an Ethereum dapp using Truffle",
"stars": 30,
"stars": 47,
"tags": [],
"title": "antony/svelte-box",
"url": "https://github.com/antony/svelte-box"
@@ -30,7 +30,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Typescript template for Svelte v3",
"stars": 21,
"stars": 20,
"tags": [],
"title": "Axelen123/svelte-ts-template",
"url": "https://github.com/Axelen123/svelte-ts-template"
@@ -39,7 +39,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Component template with LiveReload and Jest unit testing",
"stars": 13,
"stars": 16,
"tags": [],
"title": "beyonk-adventures/svelte-component-livereload-template",
"url": "https://github.com/beyonk-adventures/svelte-component-livereload-template"
@@ -57,10 +57,8 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Electron Svelte boilerplate",
"stars": 41,
"tags": [
"electron"
],
"stars": 46,
"tags": ["electron"],
"title": "Blade67/Sveltron",
"url": "https://github.com/Blade67/Sveltron"
},
@@ -68,7 +66,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "A template to create multi-page application powered by Webpack",
"stars": 11,
"stars": 17,
"tags": [],
"title": "brandonxiang/svelte-webpack-mpa",
"url": "https://github.com/brandonxiang/svelte-webpack-mpa"
@@ -77,10 +75,8 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "The bare minimum boilerplate to use Svelte in electron",
"stars": 7,
"tags": [
"electron"
],
"stars": 10,
"tags": ["electron"],
"title": "chuanqisun/svelte-electron-template",
"url": "https://github.com/chuanqisun/svelte-electron-template"
},
@@ -88,7 +84,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Minimal boilerplate example of Svelte with Typescript using Parcel. This also includes scss support",
"stars": 46,
"stars": 48,
"tags": [],
"title": "dafn/svelte-typescript-parcel",
"url": "https://github.com/dafn/svelte-typescript-parcel"
@@ -97,7 +93,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Minimal boilerplate example of Svelte with Typescript using Rollup. This also includes scss support",
"stars": 78,
"stars": 79,
"tags": [],
"title": "dafn/svelte-typescript-rollup",
"url": "https://github.com/dafn/svelte-typescript-rollup"
@@ -106,7 +102,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Sapper",
"description": "Starter Webpack template for Sapper apps using tailwindcss, postcss, purgecss, and svelte-preprocess.",
"stars": 7,
"stars": 8,
"tags": [],
"title": "Sapper (Webpack) + TailwindCSS Template",
"url": "https://github.com/deanpress/sapper-tailwind-webpack-starter"
@@ -115,7 +111,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Skeleton app with Parcel, Jest, ESLint, Prettier, Babel, Wallaby",
"stars": 5,
"stars": 6,
"tags": [],
"title": "devghost/svelte",
"url": "https://github.com/devghost/svelte"
@@ -151,7 +147,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Starter for Svelte 3/rollup/typescript/vscode",
"stars": 45,
"stars": 41,
"tags": [],
"title": "geakstr/svelte-3-rollup-typescript-vscode",
"url": "https://github.com/geakstr/svelte-3-rollup-typescript-vscode"
@@ -160,7 +156,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "A small starter template to get up and running with Svelte v3",
"stars": 35,
"stars": 41,
"tags": [],
"title": "Holben888/svelte-starter-template",
"url": "https://github.com/Holben888/svelte-starter-template"
@@ -178,7 +174,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Svelte + Storybook + Tailwind - Starter Template",
"stars": 161,
"stars": 217,
"tags": [],
"title": "jerriclynsjohn/svelte-storybook-tailwind",
"url": "https://github.com/jerriclynsjohn/svelte-storybook-tailwind"
@@ -187,7 +183,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "A template to help you start developing SPAs with Svelte and Firebase",
"stars": 80,
"stars": 134,
"tags": [],
"title": "jorgegorka/svelte-firebase",
"url": "https://github.com/jorgegorka/svelte-firebase"
@@ -206,9 +202,7 @@
"category": "Svelte",
"description": "Template for building phonegap hybrid applications with Svelte",
"stars": 8,
"tags": [
"mobile"
],
"tags": ["mobile"],
"title": "lpshanley/svelte-phonegap",
"url": "https://github.com/lpshanley/svelte-phonegap"
},
@@ -216,7 +210,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Minimal setup for building svelte as a web component module",
"stars": 1,
"stars": 2,
"tags": [],
"title": "LunaTK/svelte-web-component-builder",
"url": "https://github.com/LunaTK/svelte-web-component-builder"
@@ -225,7 +219,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Tailwindcss v1 + Svelte v3 = <3",
"stars": 95,
"stars": 107,
"tags": [],
"title": "marcograhl/tailwindcss-svelte-starter",
"url": "https://github.com/marcograhl/tailwindcss-svelte-starter"
@@ -234,7 +228,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Svelte template with webpack, babel, eslint and scss. Using browserslist with corejs for legacy browser support",
"stars": 1,
"stars": 4,
"tags": [],
"title": "svelte-webpack-babel-scss",
"url": "https://github.com/markoboy/svelte-webpack-babel-scss"
@@ -243,11 +237,8 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Build cybernetically enhanced web apps with Meteor and Svelte",
"stars": 92,
"tags": [
"components and libraries",
"stores and state"
],
"stars": 106,
"tags": ["components and libraries", "stores and state"],
"title": "Svelte for Meteor",
"url": "https://github.com/meteor-svelte/meteor-svelte"
},
@@ -255,7 +246,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Svelte + Tailwind = ❤",
"stars": 82,
"stars": 86,
"tags": [],
"title": "muhajirdev/svelte-tailwind-template",
"url": "https://github.com/muhajirdev/svelte-tailwind-template"
@@ -264,7 +255,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Boilerplate code with Typescript and Sass bundled by Webpack",
"stars": 12,
"stars": 11,
"tags": [],
"title": "n0th1ng-else/svelte-typescript-sass",
"url": "https://github.com/n0th1ng-else/svelte-typescript-sass"
@@ -273,15 +264,8 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Modern build process with Svelte, WebPack, PurgeCSS, code splitting, lazy loading...etc",
"stars": 0,
"tags": [
"testing",
"typescript",
"code splitting",
"lazy loading",
"webpack",
"preprocessors"
],
"stars": 2,
"tags": ["testing", "typescript", "code splitting", "lazy loading", "webpack", "preprocessors"],
"title": "NazimAli2017/svelte-template",
"url": "https://github.com/NazimAli2017/svelte-template"
},
@@ -289,7 +273,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Offline-Capable todo list built with Svelte, PouchDB and CouchDB",
"stars": 32,
"stars": 43,
"tags": [],
"title": "neighbourhoodie/svelte-pouchdb-couchdb",
"url": "https://github.com/neighbourhoodie/svelte-pouchdb-couchdb"
@@ -298,11 +282,8 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Sapper",
"description": "Starter Rollup template for Sapper apps with Firebase functions",
"stars": 13,
"tags": [
"ssr",
"templates"
],
"stars": 32,
"tags": ["ssr", "templates"],
"title": "Sapper - Firebase functions",
"url": "https://github.com/nhristov/sapper-template-firebase"
},
@@ -310,7 +291,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Sapper",
"description": "Starter Rollup template for Sapper apps using postcss, purgecss, cssnano, tailwindcss and svelte-preprocess",
"stars": 17,
"stars": 30,
"tags": [],
"title": "Sapper - PostCSS, Tailwind CSS, PurgeCSS, cssnano",
"url": "https://github.com/nhristov/sapper-template-rollup"
@@ -328,11 +309,8 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Starter to built Electron apps with Svelte and Better SQLite3",
"stars": 5,
"tags": [
"electron",
"database"
],
"stars": 12,
"tags": ["electron", "database"],
"title": "nye/svelte-electron-better-sqlite3-starter",
"url": "https://github.com/nye/svelte-electron-better-sqlite3-starter"
},
@@ -349,7 +327,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Svelte application boilerplate with Webpack, Sass, BabelJS, Fetch, PostCSS, Jest, and .Env",
"stars": 188,
"stars": 239,
"tags": [],
"title": "pankod/svelte-boilerplate",
"url": "https://github.com/pankod/svelte-boilerplate"
@@ -358,7 +336,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "A base for building Svelte component library",
"stars": 44,
"stars": 58,
"tags": [],
"title": "patoi/svelte-component-library-template",
"url": "https://github.com/patoi/svelte-component-library-template"
@@ -376,11 +354,8 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Svelte + Snowpack, TypeScript, SCSS, Jest with tight VSCode debugging",
"stars": 4,
"tags": [
"editor tools",
"snowpack"
],
"stars": 5,
"tags": ["editor tools", "snowpack"],
"title": "svelte-ts-snowpack-vscode",
"url": "https://github.com/processtract/svelte-ts-snowpack-vscode"
},
@@ -388,7 +363,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Typescript monorepo for Svelte v3 (preprocess, template, types)",
"stars": 211,
"stars": 213,
"tags": [],
"title": "pyoner/svelte-typescript",
"url": "https://github.com/pyoner/svelte-typescript"
@@ -398,11 +373,8 @@
"category": "Svelte",
"description": "Typescript monorepo for Svelte v3 (preprocess, template, types)",
"npm": "@pyoner/svelte-ts-preprocess",
"stars": 211,
"tags": [
"integrations",
"preprocessors"
],
"stars": 213,
"tags": ["integrations", "preprocessors"],
"title": "@pyoner/svelte-ts-preprocess",
"url": "https://github.com/pyoner/svelte-typescript"
},
@@ -410,7 +382,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Svelte App with Firebase Authentication for all purposes",
"stars": 35,
"stars": 38,
"tags": [],
"title": "ricalamino/svelte-firebase-auth",
"url": "https://github.com/ricalamino/svelte-firebase-auth"
@@ -419,10 +391,8 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "A template for building Electron apps with Svelte (**VERSION 2**)",
"stars": 72,
"tags": [
"electron"
],
"stars": 80,
"tags": ["electron"],
"title": "Rich-Harris/svelte-template-electron",
"url": "https://github.com/Rich-Harris/svelte-template-electron"
},
@@ -430,7 +400,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Clone of official Svelte template with added HMR support using Nollup",
"stars": 45,
"stars": 59,
"tags": [],
"title": "rixo/svelte-template-hot",
"url": "https://github.com/rixo/svelte-template-hot"
@@ -440,10 +410,8 @@
"category": "Svelte",
"description": "Yeoman generator generating a boilerplate Svelte.js app with all of svelte-preprocess' options",
"npm": "generator-svelte",
"stars": 15,
"tags": [
"preprocessors"
],
"stars": 24,
"tags": ["preprocessors"],
"title": "generator-svelte",
"url": "https://github.com/Samuel-Martineau/generator-svelte"
},
@@ -460,7 +428,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "A Svelte template for browserify",
"stars": 3,
"stars": 5,
"tags": [],
"title": "soapdog/svelte-template-browserify",
"url": "https://github.com/soapdog/svelte-template-browserify"
@@ -469,7 +437,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Boilerplate template project for SPA router spaceavocado/svelte-router",
"stars": 6,
"stars": 9,
"tags": [],
"title": "spaceavocado/svelte-router-template",
"url": "https://github.com/spaceavocado/svelte-router-template"
@@ -496,7 +464,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "A base for building shareable Svelte components",
"stars": 303,
"stars": 435,
"tags": [],
"title": "sveltejs/component-template",
"url": "https://github.com/sveltejs/component-template"
@@ -505,7 +473,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Sapper",
"description": "Starter template for Sapper apps",
"stars": 623,
"stars": 724,
"tags": [],
"title": "sveltejs/sapper-template",
"url": "https://github.com/sveltejs/sapper-template"
@@ -514,7 +482,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Template for building basic applications with Svelte with rollup",
"stars": 800,
"stars": 1293,
"tags": [],
"title": "sveltejs/template",
"url": "https://github.com/sveltejs/template"
@@ -523,7 +491,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Template for building basic applications with Svelte and custom elements",
"stars": 17,
"stars": 19,
"tags": [],
"title": "sveltejs/template-custom-element",
"url": "https://github.com/sveltejs/template-custom-element"
@@ -532,7 +500,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Template for building basic Svelte applications with webpack",
"stars": 205,
"stars": 261,
"tags": [],
"title": "sveltejs/template-webpack",
"url": "https://github.com/sveltejs/template-webpack"
@@ -541,10 +509,8 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "Starter template for Cordova featuring hot reload",
"stars": 15,
"tags": [
"mobile"
],
"stars": 26,
"tags": ["mobile"],
"title": "syonip/svelte-cordova",
"url": "https://github.com/syonip/svelte-cordova"
},
@@ -552,12 +518,8 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "A showcase app for all Ionic UI elements to create awesome mobile apps. Published as web app too.",
"stars": 113,
"tags": [
"components and libraries",
"component sets",
"mobile"
],
"stars": 193,
"tags": ["components and libraries", "component sets", "mobile"],
"title": "Ionic Svelte UI demo",
"url": "https://github.com/Tommertom/svelte-ionic-app"
},
@@ -583,7 +545,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "A base for building shareable Svelte 3 components",
"stars": 161,
"stars": 248,
"tags": [],
"title": "YogliB/svelte-component-template",
"url": "https://github.com/YogliB/svelte-component-template"
@@ -592,7 +554,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Svelte",
"description": "A base for building shareable Svelte 3 components.",
"stars": 161,
"stars": 248,
"tags": [],
"title": "svelte-component-template",
"url": "https://github.com/YogliB/svelte-component-template"
@@ -601,7 +563,7 @@
"addedOn": "2020-09-29T14:39:13Z",
"category": "Sapper",
"description": "Skip setup and start code with SENT (Sapper.js, Express.js, Node.js, Typescript) and other tools template",
"stars": 55,
"stars": 68,
"tags": [],
"title": "Zimtir/SENT-template",
"url": "https://github.com/Zimtir/SENT-template"
@@ -610,7 +572,7 @@
"addedOn": "2021-06-24T14:39:13Z",
"category": "SvelteKit",
"description": "SvelteKit template with TailwindCSS, Storybook, TypeScript and Sass.",
"stars": 26,
"stars": 29,
"tags": [],
"title": "tejasag/sveltetron-9000",
"url": "https://github.com/tejasag/sveltetron-9000"
@@ -619,7 +581,7 @@
"addedOn": "2021-06-24T14:39:14Z",
"category": "SvelteKit",
"description": "SvelteKit Starter template with Typescript, Postcss, scss, TailwindCSS, Storybook, husky, and eslint.",
"stars": 67,
"stars": 144,
"tags": [],
"title": "navneetsharmaui/sveltekit-starter",
"url": "https://github.com/navneetsharmaui/sveltekit-starter"
@@ -628,7 +590,7 @@
"addedOn": "2021-06-24T14:39:15Z",
"category": "SvelteKit",
"description": "SvelteKit boilerplate with Koa for building backend API, Typescript support, Docker support",
"stars": 0,
"stars": 1,
"tags": [],
"title": "kaladivo/svelte-kit-koa-boilerplate",
"url": "https://github.com/kaladivo/svelte-kit-koa-boilerplate"
@@ -637,7 +599,7 @@
"addedOn": "2021-06-24T14:39:16Z",
"category": "SvelteKit",
"description": "SvelteKit template with Stripe Checkout and Typescript.",
"stars": 25,
"stars": 29,
"tags": [],
"title": "srmullen/sveltekit-stripe",
"url": "https://github.com/srmullen/sveltekit-stripe"
@@ -646,7 +608,7 @@
"addedOn": "2021-06-24T14:39:17Z",
"category": "SvelteKit",
"description": "A minimalistic blog template built with SvelteKit and MDsveX",
"stars": 24,
"stars": 35,
"tags": [],
"title": "mvasigh/sveltekit-mdsvex-blog",
"url": "https://github.com/mvasigh/sveltekit-mdsvex-blog"
@@ -664,7 +626,7 @@
"addedOn": "2021-06-24T14:39:19Z",
"category": "SvelteKit",
"description": "Personal website and blog written from scratch with SvelteKit and TailwindCSS.",
"stars": 39,
"stars": 47,
"tags": [],
"title": "mhatvan/markushatvan.com",
"url": "https://github.com/mhatvan/markushatvan.com"
@@ -673,7 +635,7 @@
"addedOn": "2021-06-24T14:39:20Z",
"category": "SvelteKit",
"description": "A simplistic SvelteKit template for blogs",
"stars": 3,
"stars": 4,
"tags": [],
"title": "stephane-vanraes/blog-template",
"url": "https://github.com/stephane-vanraes/blog-template"
@@ -682,7 +644,7 @@
"addedOn": "2021-06-24T14:39:21Z",
"category": "Svelte Add",
"description": "Add PostCSS to your Svelte project",
"stars": 16,
"stars": 19,
"tags": [],
"title": "svelte-add/postcss",
"url": "https://github.com/svelte-add/postcss"
@@ -691,7 +653,7 @@
"addedOn": "2021-06-24T14:39:22Z",
"category": "Svelte Add",
"description": "Add Tailwind CSS to your Svelte project",
"stars": 243,
"stars": 282,
"tags": [],
"title": "svelte-add/tailwindcss",
"url": "https://github.com/svelte-add/tailwindcss"
@@ -700,7 +662,7 @@
"addedOn": "2021-06-24T14:39:23Z",
"category": "Svelte Add",
"description": "Add Bulma to your Svelte project",
"stars": 3,
"stars": 5,
"tags": [],
"title": "svelte-add/bulma",
"url": "https://github.com/svelte-add/bulma"
@@ -718,7 +680,7 @@
"addedOn": "2021-06-24T14:39:26Z",
"category": "Svelte Add",
"description": "A command to add a GraphQL server to your Svelte project",
"stars": 18,
"stars": 21,
"tags": [],
"title": "svelte-add/graphql-server",
"url": "https://github.com/svelte-add/graphql-server"
@@ -727,7 +689,7 @@
"addedOn": "2021-06-24T14:39:27Z",
"category": "Svelte Add",
"description": "A command to add hosting on Firebase to your Svelte project",
"stars": 2,
"stars": 3,
"tags": [],
"title": "svelte-add/firebase-hosting",
"url": "https://github.com/svelte-add/firebase-hosting"
@@ -736,7 +698,7 @@
"addedOn": "2021-06-24T14:39:28Z",
"category": "Svelte Add",
"description": "Add mdsvex to your Svelte project",
"stars": 31,
"stars": 35,
"tags": [],
"title": "svelte-add/mdsvex",
"url": "https://github.com/svelte-add/mdsvex"
@@ -745,7 +707,7 @@
"addedOn": "2021-06-24T14:39:25Z",
"category": "Svelte Add",
"description": "Add Pug to SvelteKit.",
"stars": 0,
"stars": 1,
"tags": [],
"title": "Leftium/pug-adder",
"url": "https://github.com/Leftium/pug-adder"
@@ -754,7 +716,7 @@
"addedOn": "2021-06-24T14:39:29Z",
"category": "Svelte Add",
"description": "Add Supabase to your Svelte project",
"stars": 29,
"stars": 36,
"tags": [],
"title": "joshnuss/svelte-supabase",
"url": "https://github.com/joshnuss/svelte-supabase"
@@ -763,7 +725,7 @@
"addedOn": "2021-07-21T11:39:29Z",
"category": "Svelte Add",
"description": "Add Jest to your SvelteKit project",
"stars": 6,
"stars": 15,
"tags": [],
"title": "rossyman/svelte-add-jest",
"url": "https://github.com/rossyman/svelte-add-jest"
@@ -773,12 +735,7 @@
"category": "SvelteKit",
"description": "SvelteKit blog powered with mdsvex, json schema support, sitemap.xml, RSS-feed and other tools required for good SEO.",
"stars": 1,
"tags": [
"ssr",
"templates",
"mdsvex",
"seo"
],
"tags": ["ssr", "templates", "mdsvex", "seo"],
"title": "MailCheck-co/mailcheck.site",
"url": "https://github.com/MailCheck-co/mailcheck.site"
}

View File

@@ -6,7 +6,7 @@
"description": "Compile Svelte components with Rollup",
"url": "https://github.com/sveltejs/rollup-plugin-svelte",
"tags": ["official"],
"stars": 396
"stars": 400
},
{
"addedOn": "2021-08-09T10:14:05.723Z",
@@ -15,7 +15,7 @@
"description": "Webpack loader for svelte components",
"url": "https://github.com/sveltejs/svelte-loader",
"tags": ["official"],
"stars": 486
"stars": 491
},
{
"addedOn": "2021-08-09T10:14:05.723Z",
@@ -24,7 +24,7 @@
"description": "This is the official svelte plugin for vite",
"url": "https://github.com/sveltejs/vite-plugin-svelte",
"tags": ["official"],
"stars": 193
"stars": 213
},
{
"addedOn": "2021-08-09T10:14:05.723Z",
@@ -33,7 +33,7 @@
"description": "An esbuild plugin to compile Svelte components",
"url": "https://github.com/EMH333/esbuild-svelte",
"tags": [],
"stars": 100
"stars": 106
},
{
"addedOn": "2021-08-09T10:14:05.723Z",
@@ -51,7 +51,7 @@
"description": "A parcel plugin that enables svelte support",
"url": "https://github.com/DeMoorJasper/parcel-plugin-svelte",
"tags": [],
"stars": 217
"stars": 216
},
{
"addedOn": "2021-08-09T10:14:05.723Z",
@@ -105,7 +105,7 @@
"description": "An extension that allows inspection of Svelte component hierarchy and state in the Firefox and Chrome developer tools",
"url": "https://github.com/RedHatter/svelte-devtools",
"tags": [],
"stars": 548
"stars": 553
},
{
"addedOn": "2021-08-09T10:14:05.723Z",
@@ -114,7 +114,7 @@
"description": "A ✨ magical ✨ Svelte preprocessor with sensible defaults and support for: PostCSS, SCSS, Less, Stylus, Coffeescript, TypeScript, Pug and much more",
"url": "https://github.com/sveltejs/svelte-preprocess",
"tags": ["official"],
"stars": 1100
"stars": 1119
},
{
"addedOn": "2021-08-09T10:14:05.723Z",
@@ -132,7 +132,7 @@
"description": "Svelte preprocessor support for modular-css",
"url": "https://github.com/tivac/modular-css/tree/main/packages/svelte",
"tags": [],
"stars": 239
"stars": 240
},
{
"addedOn": "2021-08-09T10:14:05.723Z",
@@ -177,7 +177,7 @@
"description": "An ESLint plugin for Svelte v3 components.",
"url": "https://github.com/sveltejs/eslint-plugin-svelte3",
"tags": ["official"],
"stars": 284
"stars": 289
},
{
"addedOn": "2021-08-09T10:14:05.723Z",
@@ -186,7 +186,7 @@
"description": "Format your svelte components using prettier.",
"url": "https://github.com/sveltejs/prettier-plugin-svelte",
"tags": ["official"],
"stars": 375
"stars": 381
},
{
"addedOn": "2021-08-09T10:14:05.723Z",
@@ -213,7 +213,7 @@
"description": "Vim syntax highlighting and indentation for Svelte 3 components.",
"url": "https://github.com/evanleck/vim-svelte",
"tags": [],
"stars": 187
"stars": 192
},
{
"addedOn": "2021-08-09T10:14:05.723Z",
@@ -231,7 +231,7 @@
"description": "Svelte support for (Neo)Vim",
"url": "https://github.com/coc-extensions/coc-svelte",
"tags": [],
"stars": 95
"stars": 97
},
{
"addedOn": "2021-08-09T10:14:05.723Z",
@@ -240,7 +240,7 @@
"description": "Emacs major mode including support for Svelte",
"url": "https://github.com/fxbois/web-mode",
"tags": [],
"stars": 1448
"stars": 1454
},
{
"addedOn": "2021-08-09T10:14:05.723Z",