Compare commits

...

2 Commits

Author SHA1 Message Date
acd7056774
autosetupremotes 2023-12-05 15:42:47 +01:00
368ad996bd
use bun 2023-11-03 00:30:01 +01:00
4 changed files with 5 additions and 33 deletions

View File

@ -18,3 +18,6 @@
[pull] [pull]
rebase = false rebase = false
[push]
autoSetupRemote = true

BIN
files/omp/colors/bun.lockb Executable file

Binary file not shown.

View File

@ -14,8 +14,8 @@ for (const { properties, options } of colors) {
} }
const configFile = '../main.omp.yaml' const configFile = '../main.omp.yaml'
const config = await fs.readFileSync(configFile, 'utf8') const config = fs.readFileSync(configFile, 'utf8')
// config.palette = palette // config.palette = palette
const output = yaml.stringify({ palette }) const output = yaml.stringify({ palette })
await fs.writeFileSync(configFile, config.replace(/palette:(.|\s)*$/, output)) fs.writeFileSync(configFile, config.replace(/palette:(.|\s)*$/, output))

View File

@ -1,31 +0,0 @@
lockfileVersion: 5.4
specifiers:
'@k-vyn/coloralgorithm': ^1.0.0
yaml: ^2.2.1
dependencies:
'@k-vyn/coloralgorithm': 1.0.0
yaml: 2.2.1
packages:
/@k-vyn/coloralgorithm/1.0.0:
resolution: {integrity: sha512-a9aAOXxQ+c2Mw5sMC39elT0wYkPa3qktFjtxVkfY3mQEFBr7NMQEczCARVdkmIKo1dIrgNSx3z12sTXohzSZDg==}
dependencies:
bezier-easing: 2.1.0
chroma-js: 2.4.2
dev: false
/bezier-easing/2.1.0:
resolution: {integrity: sha512-gbIqZ/eslnUFC1tjEvtz0sgx+xTK20wDnYMIA27VA04R7w6xxXQPZDbibjA9DTWZRA2CXtwHykkVzlCaAJAZig==}
dev: false
/chroma-js/2.4.2:
resolution: {integrity: sha512-U9eDw6+wt7V8z5NncY2jJfZa+hUH8XEj8FQHgFJTrUFnJfXYf4Ml4adI2vXZOjqRDpFWtYVWypDfZwnJ+HIR4A==}
dev: false
/yaml/2.2.1:
resolution: {integrity: sha512-e0WHiYql7+9wr4cWMx3TVQrNwejKaEe7/rHNmQmqRjazfOP5W8PB6Jpebb5o6fIapbz9o9+2ipcaTM2ZwDI6lw==}
engines: {node: '>= 14'}
dev: false