Skip to content

Commit

Permalink
Merge pull request #127 from liam-hq/package-names-follow-npm-org
Browse files Browse the repository at this point in the history
Update package name scope to follow npm organization name `@liam-hq`
  • Loading branch information
MH4GF authored Dec 2, 2024
2 parents 27e9085 + 367ab82 commit d1a7156
Show file tree
Hide file tree
Showing 23 changed files with 41 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ title: Static Build
---

```package-install
npx @liam/cli init
npx @liam-hq/cli init
```
2 changes: 1 addition & 1 deletion frontend/apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@liam/docs",
"name": "@liam-hq/docs",
"private": true,
"version": "0.0.0",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/docs/packages-license.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frontend

As of December 2, 2024 7:59am. 990 total
As of December 2, 2024 9:14am. 990 total

## Summary
* 859 MIT
Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/cli/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @liam/cli
# @liam-hq/cli

Command-line tool designed to generate a web application that displays ER diagrams.

Expand Down
6 changes: 3 additions & 3 deletions frontend/packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@liam/cli",
"name": "@liam-hq/cli",
"license": "Apache-2.0",
"private": true,
"version": "0.0.0",
Expand All @@ -15,8 +15,8 @@
},
"devDependencies": {
"@biomejs/biome": "1.9.3",
"@liam/db-structure": "workspace:*",
"@liam/erd-core": "workspace:*",
"@liam-hq/db-structure": "workspace:*",
"@liam-hq/erd-core": "workspace:*",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-typescript": "12.1.1",
"@types/node": "22.9.0",
Expand Down
4 changes: 2 additions & 2 deletions frontend/packages/cli/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type DBStructure, dbStructureSchema } from '@liam/db-structure'
import { ERDRenderer } from '@liam/erd-core'
import { type DBStructure, dbStructureSchema } from '@liam-hq/db-structure'
import { ERDRenderer } from '@liam-hq/erd-core'
import { useEffect, useState } from 'react'
import * as v from 'valibot'

Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/cli/src/cli/runPreprocess.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs, { readFileSync } from 'node:fs'
import path from 'node:path'
import { parse } from '@liam/db-structure'
import { parse } from '@liam-hq/db-structure'

export function runPreprocess(inputPath: string, outputDir: string) {
if (!fs.existsSync(inputPath)) {
Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/cli/src/globals.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url('@liam/erd-core/styles/globals.css');
@import url('@liam-hq/erd-core/styles/globals.css');

#root {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/configs/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@liam/configs",
"name": "@liam-hq/configs",
"private": true,
"version": "0.0.1",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions frontend/packages/db-structure/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@liam/db-structure",
"name": "@liam-hq/db-structure",
"private": true,
"version": "0.0.1",
"type": "module",
Expand All @@ -10,7 +10,7 @@
},
"devDependencies": {
"@biomejs/biome": "1.9.3",
"@liam/configs": "workspace:*",
"@liam-hq/configs": "workspace:*",
"@pgsql/types": "15.0.2",
"lodash-es": "4.17.21",
"peggy": "4.1.1",
Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/db-structure/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@liam/configs/tsconfig/base.json",
"extends": "@liam-hq/configs/tsconfig/base.json",
"compilerOptions": {
"baseUrl": ".",
"outDir": "dist",
Expand Down
8 changes: 4 additions & 4 deletions frontend/packages/erd-core/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@liam/erd-core",
"name": "@liam-hq/erd-core",
"private": true,
"version": "0.0.1",
"type": "module",
Expand All @@ -10,9 +10,9 @@
},
"devDependencies": {
"@biomejs/biome": "1.9.3",
"@liam/configs": "workspace:*",
"@liam/db-structure": "workspace:*",
"@liam/ui": "workspace:*",
"@liam-hq/configs": "workspace:*",
"@liam-hq/db-structure": "workspace:*",
"@liam-hq/ui": "workspace:*",
"@types/react": "18",
"typed-css-modules": "0.9.1",
"typescript": "5"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Table } from '@liam/db-structure'
import { KeyRound } from '@liam/ui'
import type { Table } from '@liam-hq/db-structure'
import { KeyRound } from '@liam-hq/ui'
import type { Node, NodeProps } from '@xyflow/react'
import type { FC } from 'react'
import styles from './TableNode.module.css'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import '@xyflow/react/dist/style.css'
import type { DBStructure } from '@liam/db-structure'
import type { DBStructure } from '@liam-hq/db-structure'
import { ReactFlowProvider } from '@xyflow/react'
import type { FC } from 'react'
import { ERDContent } from './ERDContent'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { DBStructure } from '@liam/db-structure'
import type { DBStructure } from '@liam-hq/db-structure'
import type { Node } from '@xyflow/react'

export const convertDBStructureToNodes = (dbStructure: DBStructure): Node[] => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/erd-core/styles/globals.css
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@import url('@liam/ui/styles/globals.css');
@import url('@liam-hq/ui/styles/globals.css');
2 changes: 1 addition & 1 deletion frontend/packages/erd-core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@liam/configs/tsconfig/base.json",
"extends": "@liam-hq/configs/tsconfig/base.json",
"compilerOptions": {
"baseUrl": "."
},
Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/figma-to-css-variables/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ If no specific argument is provided, the script defaults to running all steps in
To run the script, use the following command:

```sh
FIGMA_FILE_KEY=FnK... FIGMA_ACCESS_TOKEN=figd_xxx pnpm --filter @liam/figma-to-css-variables sync --output '../../apps/service-site/src/styles' --filter-modes 'Dark,Mode 1'
FIGMA_FILE_KEY=FnK... FIGMA_ACCESS_TOKEN=figd_xxx pnpm --filter @liam-hq/figma-to-css-variables sync --output '../../apps/service-site/src/styles' --filter-modes 'Dark,Mode 1'
```
4 changes: 2 additions & 2 deletions frontend/packages/figma-to-css-variables/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@liam/figma-to-css-variables",
"name": "@liam-hq/figma-to-css-variables",
"private": true,
"version": "0.0.0",
"main": "bin/index.mjs",
Expand All @@ -8,7 +8,7 @@
},
"devDependencies": {
"@biomejs/biome": "1.9.3",
"@liam/configs": "workspace:*"
"@liam-hq/configs": "workspace:*"
},
"scripts": {
"fmt": "pnpm run '/^fmt:.*/'",
Expand Down
4 changes: 2 additions & 2 deletions frontend/packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@liam/ui",
"name": "@liam-hq/ui",
"private": true,
"version": "0.0.0",
"main": "src/index.ts",
Expand All @@ -13,7 +13,7 @@
},
"devDependencies": {
"@biomejs/biome": "1.9.3",
"@liam/configs": "workspace:*",
"@liam-hq/configs": "workspace:*",
"@storybook/react": "8.3.4",
"@types/react": "18",
"typed-css-modules": "0.9.1",
Expand Down
2 changes: 1 addition & 1 deletion frontend/packages/ui/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@liam/configs/tsconfig/base.json",
"extends": "@liam-hq/configs/tsconfig/base.json",
"compilerOptions": {
"baseUrl": "."
},
Expand Down
16 changes: 8 additions & 8 deletions frontend/pnpm-lock.yaml

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

4 changes: 2 additions & 2 deletions frontend/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"cache": false,
"persistent": true
},
"@liam/cli#dev": {
"@liam-hq/cli#dev": {
"dependsOn": ["build"],
"cache": false,
"persistent": true
Expand All @@ -24,7 +24,7 @@
"test": {
"outputs": []
},
"@liam/cli#test": {
"@liam-hq/cli#test": {
"dependsOn": ["^build"]
}
}
Expand Down

0 comments on commit d1a7156

Please sign in to comment.