Skip to content

Commit

Permalink
chore: release main
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhthomas committed Nov 18, 2024
1 parent 7ae6cce commit 2dcf621
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 41 deletions.
1 change: 0 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ permissions:
paths-ignore:
- "**/*.md"
- LICENSE
- "**/*.gitignore"
- .editorconfig
- docs/**
pull_request: null
Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 --",
Expand All @@ -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": "[email protected]+sha512.4abf725084d7bcbafbd728bfc7bee61f2f791f977fd87542b3579dcb23504d170d46337945e4c66485cd12d588a0c0e570ed9c477e7ccdd8507cf05f3f92eaca",
Expand Down
6 changes: 6 additions & 0 deletions packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
82 changes: 44 additions & 38 deletions packages/critters/package.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
"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"
}
}

0 comments on commit 2dcf621

Please sign in to comment.