diff --git a/README.md b/README.md index 0a4b0f5..55cfc47 100644 --- a/README.md +++ b/README.md @@ -11,4 +11,6 @@ _This is still very much work in progress_\ --- +The ISC License _does not apply_ to any of the files in the `/assets/stickers` directory + The copperflame logo is based on the [Fire Emoji](https://github.com/microsoft/fluentui-emoji/blob/main/assets/Fire/Flat/fire_flat.svg) from the [Microsoft Fluent Emoji Set](https://github.com/microsoft/fluentui-emoji) which is licensed under the [MIT License](https://github.com/microsoft/fluentui-emoji/blob/main/LICENSE) diff --git a/assets/stickers/Arson/Arson.png b/assets/stickers/Arson/Arson.png new file mode 100644 index 0000000..23401ef Binary files /dev/null and b/assets/stickers/Arson/Arson.png differ diff --git a/assets/stickers/Arson/Arson.txt b/assets/stickers/Arson/Arson.txt new file mode 100644 index 0000000..d6b855b --- /dev/null +++ b/assets/stickers/Arson/Arson.txt @@ -0,0 +1 @@ +A dragon named Arson with black fur and neon green eyes and hair. They're wearing a cyberpunk-inspired jacket with green illuminated elements on the shoulders and neck. diff --git a/assets/stickers/Arson/README.md b/assets/stickers/Arson/README.md new file mode 100644 index 0000000..a085801 --- /dev/null +++ b/assets/stickers/Arson/README.md @@ -0,0 +1 @@ +Character belongs to @nzbr. Artwork by [Sir Lorart](https://twitter.com/Sir_Lorart) diff --git a/assets/stickers/README.md b/assets/stickers/README.md new file mode 100644 index 0000000..4d1f79c --- /dev/null +++ b/assets/stickers/README.md @@ -0,0 +1,5 @@ +The files in this directory are not covered by the ISC License! + +All rights reserved. + +Credit to the authors is given in the README file in each subdirectory. diff --git a/web/html-postprocessors/speechbubbles.ts b/web/html-postprocessors/speechbubbles.ts index b75d6ad..965a202 100644 --- a/web/html-postprocessors/speechbubbles.ts +++ b/web/html-postprocessors/speechbubbles.ts @@ -5,12 +5,14 @@ import { toPosixPath } from '@nzbr/parcel-transformer-postprocess-html'; export const name = 'speechbubbles'; -export function fn({ $, asset, options, config }: StepInputs): void { +export function fn({ $, asset, options, config, logger }: StepInputs): void { const projectRoot = toPosixPath(options.projectRoot); const possibleCopperflameRoot = path.posix.join(projectRoot, 'node_modules', '@nzbr', 'copperflame'); const root = fs.existsSync(possibleCopperflameRoot) ? possibleCopperflameRoot : projectRoot; const stickers = config.stickerPath ?? path.posix.join(root, 'assets', 'stickers'); + logger.info({message: `Using stickers from ${stickers}`}); + asset.invalidateOnFileCreate({ glob: path.posix.join(stickers, '*'), });