Compare commits

..

No commits in common. "fb25e355abccacb054fd7fc4c9399c9bb94f2b17" and "d93ff04688dd62fc53ee65c9e52e9c37f3102b55" have entirely different histories.

6 changed files with 11 additions and 9 deletions

2
.gitignore vendored
View file

@ -1,7 +1,7 @@
*.tgz
/*.css
.direnv/
dist/
node_modules/
# nixago: ignore-linked-files

View file

@ -8,7 +8,7 @@ format:
prettier src/*.mjs src/*.postcss --write
format-dist:
prettier ./*.css --write
prettier dist/*.css --write
# Generate all the files
build: colors theme
@ -19,4 +19,5 @@ colors: format && format-dist
# Generate dist/theme.css
theme: format && format-dist
postcss src/theme.postcss > ./theme.css
mkdir -p dist
postcss src/theme.postcss > dist/theme.css

View file

@ -1,2 +1,2 @@
@import url("../colors.css");
@import url("../theme.css");
@import url("../dist/colors.css");
@import url("../dist/theme.css");

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "@priduck-color-theme/base",
"version": "0.0.1",
"version": "0.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@priduck-color-theme/base",
"version": "0.0.1",
"version": "0.0.0",
"license": "MIT",
"dependencies": {
"mkdirp": "^3.0.1",

View file

@ -1,7 +1,8 @@
{
"name": "@priduck-color-theme/base",
"version": "0.0.1",
"version": "0.0.0",
"description": "A color-theme based on a single hue in the LCH colorspace.",
"main": "dist/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},

View file

@ -5,7 +5,7 @@ import fs from "node:fs/promises";
// Figure out where we need to write the files.
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const distPath = __dirname + "/..";
const distPath = __dirname + "/../dist";
console.log("writing", distPath);