initial commit
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
Signed-off-by: jolheiser <john.olheiser@gmail.com>main v3.3.3
commit
afca060674
|
@ -0,0 +1,3 @@
|
||||||
|
node_modules/
|
||||||
|
result
|
||||||
|
dist/
|
|
@ -0,0 +1,24 @@
|
||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: node:18
|
||||||
|
commands:
|
||||||
|
- npm ci
|
||||||
|
- npm run build
|
||||||
|
release:
|
||||||
|
image: woodpeckerci/plugin-gitea-release
|
||||||
|
settings:
|
||||||
|
base_url: https://git.jojodev.com
|
||||||
|
files:
|
||||||
|
- "dist/*"
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_token
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
prune:
|
||||||
|
image: jolheiser/drone-gitea-prune
|
||||||
|
settings:
|
||||||
|
base: https://git.jojodev.com
|
||||||
|
token:
|
||||||
|
from_secret: gitea_token
|
||||||
|
when:
|
||||||
|
event: tag
|
|
@ -0,0 +1,19 @@
|
||||||
|
Copyright (c) 2023 John Olheiser
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
|
@ -0,0 +1,11 @@
|
||||||
|
## TailwindCSS + Catppuccin
|
||||||
|
|
||||||
|
A copy of the [standalone CLI](https://github.com/tailwindlabs/tailwindcss/tree/master/standalone-cli) with `@catppuccin/tailwindcss` support built in.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
nix run git+https://git.jojodev.com/jolheiser/tailwind-ctp
|
||||||
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
[MIT](LICENSE)
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1695806987,
|
||||||
|
"narHash": "sha256-fX5kGs66NZIxCMcpAGIpxuftajHL8Hil1vjHmjjl118=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "f3dab3509afca932f3f4fd0908957709bb1c1f57",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
description = "TailwindCSS + Catppuccin";
|
||||||
|
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = {self, nixpkgs}: let
|
||||||
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
|
in {
|
||||||
|
packages.x86_64-linux.default = pkgs.stdenv.mkDerivation rec {
|
||||||
|
pname = "tailwind-ctp";
|
||||||
|
version = "3.3.3";
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "https://git.jojodev.com/jolheiser/tailwind-ctp/releases/download/v${version}/tailwind-ctp";
|
||||||
|
hash = "sha256-sS6TjtKhe6qwDPj4zzDjXfp/90Cpcg8AOtjQHoX/PSo=";
|
||||||
|
};
|
||||||
|
dontUnpack = true;
|
||||||
|
dontConfigure = true;
|
||||||
|
dontBuild = true;
|
||||||
|
dontFixup = true;
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp ${src} $out/bin/tailwind-ctp
|
||||||
|
chmod 755 $out/bin/tailwind-ctp
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,38 @@
|
||||||
|
let Module = require('module')
|
||||||
|
let origRequire = Module.prototype.require
|
||||||
|
let log = require('tailwindcss/lib/util/log').default
|
||||||
|
|
||||||
|
let localModules = {
|
||||||
|
'tailwindcss/colors': require('tailwindcss/colors'),
|
||||||
|
'tailwindcss/defaultConfig': require('tailwindcss/defaultConfig'),
|
||||||
|
'tailwindcss/defaultTheme': require('tailwindcss/defaultTheme'),
|
||||||
|
'tailwindcss/resolveConfig': require('tailwindcss/resolveConfig'),
|
||||||
|
'tailwindcss/plugin': require('tailwindcss/plugin'),
|
||||||
|
|
||||||
|
'@tailwindcss/aspect-ratio': require('@tailwindcss/aspect-ratio'),
|
||||||
|
'@tailwindcss/container-queries': require('@tailwindcss/container-queries'),
|
||||||
|
'@tailwindcss/forms': require('@tailwindcss/forms'),
|
||||||
|
'@tailwindcss/line-clamp': () => {
|
||||||
|
log.warn('line-clamp-in-core', [
|
||||||
|
'As of Tailwind CSS v3.3, the `@tailwindcss/line-clamp` plugin is now included by default.',
|
||||||
|
'Remove it from the `plugins` array in your configuration to eliminate this warning.',
|
||||||
|
])
|
||||||
|
},
|
||||||
|
'@tailwindcss/typography': require('@tailwindcss/typography'),
|
||||||
|
|
||||||
|
// These are present to allow them to be specified in the PostCSS config file
|
||||||
|
autoprefixer: require('autoprefixer'),
|
||||||
|
tailwindcss: require('tailwindcss'),
|
||||||
|
|
||||||
|
// Catppuccin
|
||||||
|
'@catppuccin/tailwindcss': require('@catppuccin/tailwindcss'),
|
||||||
|
}
|
||||||
|
|
||||||
|
Module.prototype.require = function (id) {
|
||||||
|
if (localModules.hasOwnProperty(id)) {
|
||||||
|
return localModules[id]
|
||||||
|
}
|
||||||
|
return origRequire.apply(this, arguments)
|
||||||
|
}
|
||||||
|
|
||||||
|
require('tailwindcss/lib/cli')
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"name": "tailwind-ctp",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"description": "TailwindCSS + Catppuccin",
|
||||||
|
"bin": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"build": "pkg . --compress Brotli --no-bytecode --public-packages \"*\" --public",
|
||||||
|
"prebuild": "rimraf dist"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@catppuccin/tailwindcss": "^0.1.6",
|
||||||
|
"@tailwindcss/aspect-ratio": "^0.4.0",
|
||||||
|
"@tailwindcss/container-queries": "^0.1.0",
|
||||||
|
"@tailwindcss/forms": "^0.5.2",
|
||||||
|
"@tailwindcss/typography": "^0.5.4",
|
||||||
|
"autoprefixer": "^10.4.16",
|
||||||
|
"fs-extra": "^10.1.0",
|
||||||
|
"jest": "^27.2.5",
|
||||||
|
"move-file-cli": "^3.0.0",
|
||||||
|
"pkg": "^5.8.0",
|
||||||
|
"rimraf": "^3.0.2",
|
||||||
|
"tailwindcss": "^3.3.3"
|
||||||
|
},
|
||||||
|
"pkg": {
|
||||||
|
"assets": "node_modules/tailwindcss/lib/css/preflight.css",
|
||||||
|
"targets": [
|
||||||
|
"node16-linuxstatic-x64"
|
||||||
|
],
|
||||||
|
"outputPath": "dist"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue