From 2286c83a7325b5535fd609765663d7adff7c7ef3 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Sat, 22 Apr 2023 01:45:55 +0000 Subject: [PATCH] 1.1.33 --- .github/workflows/npm.yml | 9 +++++++-- CHANGELOG.md | 4 ++++ dist/options/critters.d.ts | 2 +- dist/options/index.d.ts | 4 ++-- dist/options/index.js | 2 +- package.json | 10 +++++----- src/options/critters.ts | 1 + src/options/index.ts | 1 + 8 files changed, 22 insertions(+), 11 deletions(-) diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 713d74c..c8843e3 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -26,7 +26,12 @@ jobs: node-version: "18" registry-url: "https://registry.npmjs.org" - run: npm install -g npm - - run: npm install --legacy-peer-deps - - run: npm publish --legacy-peer-deps + + - name: Publish . + continue-on-error: true + working-directory: . + run: | + npm install --legacy-peer-deps + npm publish --legacy-peer-deps --provenance env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 888155a..c60a695 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.1.33 + +- Version with provenance + ## 1.1.32 - Cleanup diff --git a/dist/options/critters.d.ts b/dist/options/critters.d.ts index c908135..db472ac 100644 --- a/dist/options/critters.d.ts +++ b/dist/options/critters.d.ts @@ -1,6 +1,6 @@ import type { Options as CrittersOptions } from "critters"; export interface CRITTERS extends CrittersOptions { - [key: string]: unknown; + [key: string]: any; } declare const _default: { preload: string; diff --git a/dist/options/index.d.ts b/dist/options/index.d.ts index 70df05a..6af763c 100644 --- a/dist/options/index.d.ts +++ b/dist/options/index.d.ts @@ -1,7 +1,7 @@ -import type { CRITTERS } from "./critters.js"; import type { Options as OptionsBase } from "files-pipe/dist/options/index.js"; +import type { CRITTERS } from "./critters.js"; export interface Options extends OptionsBase { - [key: string]: unknown; + [key: string]: any; critters?: boolean | CRITTERS; } declare const _default: Options; diff --git a/dist/options/index.js b/dist/options/index.js index b9cbedc..d6bd2c6 100644 --- a/dist/options/index.js +++ b/dist/options/index.js @@ -1 +1 @@ -import i from"files-pipe/dist/lib/deepmerge.js";import s from"files-pipe/dist/options/index.js";import t from"./critters.js";var n=i(s,{critters:t,pipe:{failed:async e=>`Error: Cannot inline file ${e.inputPath}!`,fulfilled:async e=>e.files>0?`Successfully inlined a total of ${e.files} HTML ${e.files===1?"file":"files"}.`:!1,accomplished:!1}});export{n as default}; +import i from"files-pipe/dist/lib/deepmerge.js";import s from"files-pipe/dist/options/index.js";import t from"./critters.js";var l=i(s,{critters:t,pipe:{failed:async e=>`Error: Cannot inline file ${e.inputPath}!`,fulfilled:async e=>e.files>0?`Successfully inlined a total of ${e.files} HTML ${e.files===1?"file":"files"}.`:!1,accomplished:!1}});export{l as default}; diff --git a/package.json b/package.json index 7862048..33a93c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "astro-critters", - "version": "1.1.32", + "version": "1.1.33", "type": "module", "description": "🦔 AstroJS GoogleChromeLabs critters integration. Inline your critical CSS with Astro.", "repository": { @@ -24,15 +24,15 @@ "performance" ], "scripts": { - "build": "lightrix build 'src/**/*.ts'" + "prepare": "lightrix build 'src/**/*.ts'" }, "dependencies": { "critters": "0.0.16", - "files-pipe": "0.0.2" + "files-pipe": "0.0.3" }, "devDependencies": { - "@lightrix/config": "0.0.9", - "@lightrix/scripts": "1.0.0", + "@lightrix/config": "0.0.11", + "@lightrix/scripts": "1.0.2", "astro": "2.3.0" }, "publishConfig": { diff --git a/src/options/critters.ts b/src/options/critters.ts index d3c25d9..94a12be 100644 --- a/src/options/critters.ts +++ b/src/options/critters.ts @@ -2,6 +2,7 @@ import type { Options as CrittersOptions } from "critters"; export interface CRITTERS extends CrittersOptions { + // rome-ignore lint/suspicious/noExplicitAny: [key: string]: any; } diff --git a/src/options/index.ts b/src/options/index.ts index e942411..e8c8edd 100644 --- a/src/options/index.ts +++ b/src/options/index.ts @@ -5,6 +5,7 @@ import type { CRITTERS } from "./critters.js"; import defaultsCRITTERS from "./critters.js"; export interface Options extends OptionsBase { + // rome-ignore lint/suspicious/noExplicitAny: [key: string]: any; critters?: boolean | CRITTERS;