Skip to content

Commit

Permalink
chore: change project name from pmpa to new
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm committed Jan 16, 2024
1 parent 80c8f85 commit f76ba2e
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 30 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
fail-fast: false
matrix:
include:
- name: pmpa-app
- name: soffit-order-admin-app
path: ./packages/app
context: .
- name: pmpa-api
path: ./packages/api
context: .
# - name: soffit-order-admin-api
# path: ./packages/api
# context: .

permissions:
contents: read
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
labels: |
org.opencontainers.image.title="alwatr/${{matrix.name}}"
org.opencontainers.image.vendor="Alwatr"
org.opencontainers.image.documentation="https://github.com/Alwatr/pmpa"
org.opencontainers.image.documentation="https://github.com/Alwatr/soffit-order-admin"
org.opencontainers.image.authors="S. Ali Mihandoost <[email protected]> (https://ali.mihandoost.com), S. Amir Mohammad Najafi <[email protected]> (https://www.njfamirm.ir)"
- name: 🚀 Build and push container image
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Alwatr PMPA
# Soffit Order Admin

Progressive Multi Page (Web) Application.
16 changes: 8 additions & 8 deletions deploy/env/production.env
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
appId='pmpa'
appId='soffit-order-admin'
deployHost='mci2.alwatr.ir'
deployPath="/srv/${appId}"

appForceDomain='pmpa.alwatr.ir'
domain="pmpa.alwatr.ir"
appForceDomain='admin.order.soffit.co'
domain="admin.order.soffit.co"

appImage='ghcr.io/alwatr/pmpa-app:next'
apiImage='ghcr.io/alwatr/pmpa-api:next'
appImage='ghcr.io/alwatr/soffit-order-admin-app:next'
# apiImage='ghcr.io/alwatr/soffit-order-admin-api:next'

storageAccessToken='your_secret_token'
# storageAccessToken='your_secret_token'

apiDebug=1
storageApiDebug=1
# apiDebug=1
# storageApiDebug=1
# appAccessLog=off
# storageAccessLog=off
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@alwatr/pmpa-monorepo",
"name": "@alwatr/soffit-order-admin-monorepo",
"description": "Progressive Multi Page (Web) Application.",
"repository": "https://github.com/Alwatr/pmpa",
"repository": "https://github.com/Alwatr/soffit-order-admin",
"author": "S. Ali Mihandoost <[email protected]> (https://ali.mihandoost.com)",
"license": "MIT",
"type": "module",
Expand Down
10 changes: 5 additions & 5 deletions packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alwatr/pmpa-api",
"version": "1.1.1",
"name": "@alwatr/soffit-order-admin-api",
"version": "0.0.0",
"description": "Alwatr Progressive Multi Page (Web) Application.",
"author": "S. Ali Mihandoost <[email protected]>",
"private": true,
Expand All @@ -12,12 +12,12 @@
},
"repository": {
"type": "git",
"url": "https://github.com/Alwatr/pmpa",
"url": "https://github.com/Alwatr/soffit-order-admin",
"directory": "packages/api"
},
"homepage": "https://github.com/Alwatr/pmpa#readme",
"homepage": "https://github.com/Alwatr/soffit-order-admin#readme",
"bugs": {
"url": "https://github.com/Alwatr/pmpa/issues"
"url": "https://github.com/Alwatr/soffit-order-admin/issues"
},
"prettier": "@alwatr/prettier-config",
"nano-build-development": {
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {definePackage} from '@alwatr/logger';

import type {} from '@alwatr/nano-build'

export const logger = definePackage('@alwatr/pmpa-api', __package_version__);
export const logger = definePackage('@alwatr/soffit-order-admin-api', __package_version__);

if (process.env.NODE_ENV === 'production') {
if (process.env.STORAGE_TOKEN == null) {
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/route/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type {StringifyableRecord} from '@alwatr/type';
nanoServer.route<StringifyableRecord>('GET', '/', () => ({
ok: true,
data: {
app: '..:: Alwatr PMPA API ::..',
app: '..:: Soffit Order Admin API ::..',
message: 'Hello ;)',
},
}));
10 changes: 5 additions & 5 deletions packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alwatr/pmpa-app",
"version": "1.1.1",
"name": "@alwatr/soffit-order-admin-app",
"version": "0.0.0",
"description": "Alwatr Progressive Multi Page (Web) Application.",
"author": "S. Ali Mihandoost <[email protected]>",
"private": true,
Expand All @@ -14,12 +14,12 @@
},
"repository": {
"type": "git",
"url": "https://github.com/Alwatr/pmpa",
"url": "https://github.com/Alwatr/soffit-order-admin",
"directory": "packages/app"
},
"homepage": "https://github.com/Alwatr/pmpa#readme",
"homepage": "https://github.com/Alwatr/soffit-order-admin#readme",
"bugs": {
"url": "https://github.com/Alwatr/pmpa/issues"
"url": "https://github.com/Alwatr/soffit-order-admin/issues"
},
"prettier": "@alwatr/prettier-config",
"nano-build-development": {
Expand Down
2 changes: 1 addition & 1 deletion packages/app/script/logger.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {definePackage} from '@alwatr/logger';

export const logger = definePackage('@alwatr/pmpa-app-build', '1.x', true);
export const logger = definePackage('@alwatr/soffit-order-admin-app-build', '1.x', true);

export const devMode = process.env.NODE_ENV !== 'production';
logger.logProperty?.('devMode', devMode);
2 changes: 1 addition & 1 deletion packages/app/site/_ts/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {getLocalStorageItem} from '@alwatr/util';
import type {} from '@alwatr/nano-build'
import type {ServerRequestConfig} from '@alwatr/server-context';

export const logger = definePackage('@alwatr/pmpa-app', __package_version__);
export const logger = definePackage('@alwatr/soffit-order-admin-app', __package_version__);

/**
* Debug API.
Expand Down

0 comments on commit f76ba2e

Please sign in to comment.