Skip to content

Commit

Permalink
feat: change package name
Browse files Browse the repository at this point in the history
  • Loading branch information
khoilen committed Dec 31, 2024
1 parent 5e65904 commit 6b2b9a9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions apps/nt-stylesheet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You can install **nt-stylesheet** via npm or pnpm.
### Using npm

```sh
npx nt-stylesheet
npx @nashtech/nt-stylesheet
```

### Usage
Expand All @@ -31,7 +31,7 @@ Add the following line to your HTML file to include the `nt-stylesheet` theme:
```html
<link
rel="stylesheet"
href="node_modules/nt-stylesheet/dist/nt-stylesheet.css"
href="node_modules/@nashtech/nt-stylesheet/dist/nt-stylesheet.css"
/>
```

Expand All @@ -41,7 +41,7 @@ Create or update your tailwind.config.js file to include the nt-stylesheet theme

```js
/** @type {import('tailwindcss').Config} */
const ntTheme = require('nt-stylesheet/dist/nt-stylesheet.cjs')
const ntTheme = require('@nashtech/nt-stylesheet/dist/nt-stylesheet.cjs')

module.exports = {
content: ['*.{html,js}'],
Expand Down
4 changes: 2 additions & 2 deletions apps/nt-stylesheet/bin/init-tailwind.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const installPackage = (packageName) => {

export const createTailwindConfig = () => {
const tailwindConfigContent = `/** @type {import('tailwindcss').Config} */
const ntTheme = require('nt-stylesheet/dist/theme.cjs');
const ntTheme = require('@nashtech/nt-stylesheet/dist/theme.cjs');
module.exports = {
content: ['*.{html,js}'],
theme: {
Expand Down Expand Up @@ -78,7 +78,7 @@ export const createPostCSSConfig = () => {

export const initialize = async () => {
try {
await installPackage('nt-stylesheet')
await installPackage('@nashtech/nt-stylesheet')
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
Expand Down
4 changes: 2 additions & 2 deletions apps/nt-stylesheet/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@nashtech/nt-stylesheet",
"version": "1.1.13",
"version": "1.1.14",
"description": "Style sheet for the NT Design System",
"packageManager": "[email protected]",
"scripts": {
"build": "pnpm vite build",
"test": "npx vitest"
},
"bin": {
"nt-stylesheet": "bin/init-tailwind.js"
"@nashtech/nt-stylesheet": "bin/init-tailwind.js"
},
"engines": {
"node": ">=20"
Expand Down

0 comments on commit 6b2b9a9

Please sign in to comment.