Skip to content

Commit

Permalink
Merge pull request #8 from marcreichel/rename
Browse files Browse the repository at this point in the history
🚚 Rename to scoped package
  • Loading branch information
marcreichel authored Jan 9, 2022
2 parents 7286d71 + 628aa56 commit 7ccd07d
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 52 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/npm-publish.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Publish

on:
release:
types: [published]

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ^14.17.3
registry-url: https://registry.npmjs.org
- name: Check package version
uses: technote-space/package-version-check-action@v1
with:
COMMIT_DISABLED: 1
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
publish-github:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ^14.17.3
- name: Check package version
uses: technote-space/package-version-check-action@v1
with:
COMMIT_DISABLED: 1
- run: npm ci
- uses: actions/setup-node@v2
with:
node-version: ^14.17.3
registry-url: 'https://npm.pkg.github.com'
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# Tailwind CSS Color Properties

![version](https://img.shields.io/npm/v/tailwindcss-css-properties)
![npm bundle size](https://img.shields.io/bundlephobia/min/tailwindcss-css-properties)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/tailwindcss-css-properties)
![downloads](https://img.shields.io/npm/dt/tailwindcss-css-properties)
![license](https://img.shields.io/npm/l/tailwindcss-css-properties)
![version](https://img.shields.io/npm/v/@marcreichel/tailwindcss-css-properties)
![npm bundle size](https://img.shields.io/bundlephobia/min/@marcreichel/tailwind-css-properties)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@marcreichel/tailwind-css-properties)
![downloads](https://img.shields.io/npm/dt/@marcreichel/tailwind-css-properties)
![license](https://img.shields.io/npm/l/@marcreichel/tailwind-css-properties)

A Tailwind CSS plugin that exports theme colors as css custom properties.

## Installing

```
npm install tailwindcss-css-properties
npm install @marcreichel/tailwind-css-properties
```

or

```
yarn add tailwindcss-css-properties
yarn add @marcreichel/tailwind-css-properties
```

Require in your Tailwind config:
Expand All @@ -26,7 +26,7 @@ Require in your Tailwind config:
module.exports = {
/* ... */
plugins: [
require('tailwindcss-css-properties')
require('@marcreichel/tailwind-css-properties')
]
}
```
14 changes: 11 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "tailwindcss-css-properties",
"version": "1.5.0",
"name": "@marcreichel/tailwind-css-properties",
"version": "0.0.0",
"description": "A Tailwind CSS plugin that exports theme colors as css custom properties.",
"main": "index.js",
"main": "src/index.js",
"scripts": {
"test": "echo \"No test specified\""
},
Expand All @@ -26,7 +26,7 @@
"files": [
"LICENSE",
"README.md",
"index.js",
"src/index.js",
"package.json"
]
}
File renamed without changes.

0 comments on commit 7ccd07d

Please sign in to comment.