diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6173dc0..8cfbb51 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -16,7 +16,6 @@ permissions: paths-ignore: - "**/*.md" - LICENSE - - "**/*.gitignore" - .editorconfig - docs/** pull_request: null diff --git a/package.json b/package.json index 9d4facc..41748fd 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "critters-rs", "version": "0.1.0", "description": "Quickly inline your website's critical CSS.", + "private": true, "scripts": { "build": "moon run :build", "build:napi": "moon run critters:build --", @@ -10,14 +11,17 @@ "format": "biome format --write", "check": "biome check", "createNpmDirs": "napi create-npm-dirs --package-json-path ./packages/critters/package.json", - "artifacts": "napi artifacts --package-json-path ./packages/critters/package.json", - "prepublishOnly": "napi prepublish -t npm --package-json-path ./packages/critters/package.json --no-gh-release" + "artifacts": "napi artifacts --package-json-path ./packages/critters/package.json" }, "keywords": [ "css", "critical-css", "performance" ], + "repository": { + "type": "git", + "url": "https://github.com/michaelhthomas/critters-rs" + }, "author": "Michael Thomas", "license": "Apache-2.0", "packageManager": "pnpm@9.12.0+sha512.4abf725084d7bcbafbd728bfc7bee61f2f791f977fd87542b3579dcb23504d170d46337945e4c66485cd12d588a0c0e570ed9c477e7ccdd8507cf05f3f92eaca", diff --git a/packages/astro/package.json b/packages/astro/package.json index 3b98bda..6aa99af 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -2,6 +2,12 @@ "name": "@critters-rs/astro", "version": "1.0.0", "description": "Astro integration for critters-rs. Quickly inline your website's critical CSS.", + "author": "Michael Thomas", + "license": "Apache-2.0", + "repository": { + "type": "git", + "url": "https://github.com/michaelhthomas/critters-rs" + }, "main": "index.js", "author": "Michael Thomas", "license": "Apache-2.0", diff --git a/packages/critters/package.json b/packages/critters/package.json index 9dffbaf..f374687 100644 --- a/packages/critters/package.json +++ b/packages/critters/package.json @@ -1,39 +1,45 @@ { - "name": "@critters-rs/critters", - "version": "1.0.0", - "description": "Quickly inline your website's critical CSS.", - "type": "module", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist/*.{js,ts}" - ], - "scripts": { - "test": "vitest run", - "prepublishOnly": "napi pre-publish -t npm --cwd ../.. --package-json-path ./packages/critters/package.json" - }, - "napi": { - "binaryName": "critters-rs", - "targets": [ - "x86_64-pc-windows-msvc", - "aarch64-pc-windows-msvc", - "x86_64-apple-darwin", - "aarch64-apple-darwin", - "x86_64-unknown-linux-gnu", - "aarch64-unknown-linux-gnu" - ] - }, - "devDependencies": { - "@napi-rs/cli": "3.0.0-alpha.63", - "@rollup/plugin-commonjs": "^28.0.0", - "@rollup/plugin-esm-shim": "^0.1.7", - "consola": "^3.2.3", - "nodemon": "^3.1.7", - "rimraf": "^6.0.1", - "rollup": "^4.24.0", - "rollup-plugin-copy": "^3.5.0", - "tsx": "^4.19.1", - "typescript": "^5.6.2", - "vitest": "^2.1.2" - } -} \ No newline at end of file + "name": "@critters-rs/critters", + "version": "1.0.0", + "description": "Quickly inline your website's critical CSS.", + "author": "Michael Thomas", + "license": "Apache-2.0", + "repository": { + "type": "git", + "url": "https://github.com/michaelhthomas/critters-rs" + }, + "type": "module", + "main": "dist/index.js", + "types": "dist/index.d.ts", + "files": [ + "dist/*.{js,ts}" + ], + "scripts": { + "test": "vitest run", + "prepublishOnly": "napi pre-publish -t npm --cwd ../.. --package-json-path ./packages/critters/package.json" + }, + "napi": { + "binaryName": "critters-rs", + "targets": [ + "x86_64-pc-windows-msvc", + "aarch64-pc-windows-msvc", + "x86_64-apple-darwin", + "aarch64-apple-darwin", + "x86_64-unknown-linux-gnu", + "aarch64-unknown-linux-gnu" + ] + }, + "devDependencies": { + "@napi-rs/cli": "3.0.0-alpha.63", + "@rollup/plugin-commonjs": "^28.0.0", + "@rollup/plugin-esm-shim": "^0.1.7", + "consola": "^3.2.3", + "nodemon": "^3.1.7", + "rimraf": "^6.0.1", + "rollup": "^4.24.0", + "rollup-plugin-copy": "^3.5.0", + "tsx": "^4.19.1", + "typescript": "^5.6.2", + "vitest": "^2.1.2" + } +}