@bbki.ng/site 0.0.23 → 0.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @bbki.ng/site
2
2
 
3
+ ## 0.0.24
4
+
3
5
  ## 0.0.23
4
6
 
5
7
  ## 0.0.22
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/site",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "code behind bbki.ng",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,7 +16,7 @@
16
16
  "url": "git+https://github.com/bbbottle/bbki.ng.git"
17
17
  },
18
18
  "dependencies": {
19
- "@bbki.ng/components": "workspace:2.1.13",
19
+ "@bbki.ng/components": "workspace:2.1.14",
20
20
  "@supabase/supabase-js": "^1.30.6",
21
21
  "classnames": "2.3.1",
22
22
  "react": "^18.0.0",
@@ -27,7 +27,7 @@
27
27
  "swr": "^1.2.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@bbki.ng/stylebase": "workspace:0.0.11",
30
+ "@bbki.ng/stylebase": "workspace:0.0.12",
31
31
  "@mdx-js/mdx": "2.0.0-next.9",
32
32
  "@mdx-js/react": "^1.6.22",
33
33
  "@tailwindcss/typography": "^0.5.0",
@@ -1,5 +1,5 @@
1
1
  import React, { FunctionComponent, ReactElement, ReactNode } from "react";
2
- import cls from "classnames";
2
+ import classnames from "classnames";
3
3
  import { Photo } from "@/types/photo";
4
4
  import { Article, Img } from "@bbki.ng/components";
5
5
 
@@ -14,13 +14,13 @@ const BaseImgList: FunctionComponent<imgListProps> = (props: imgListProps) => {
14
14
  const { imgList, className, beforeListRenderer } = props;
15
15
 
16
16
  return (
17
- <div className={cls("max-h-full no-scrollbar overflow-auto", className)}>
17
+ <div className={classnames("max-h-full no-scrollbar overflow-auto", className)}>
18
18
  {beforeListRenderer && <>{beforeListRenderer()}</>}
19
19
  {imgList.map((img, index) => {
20
20
  const isLast = index === imgList.length - 1;
21
21
  return (
22
22
  <div key={img.src}>
23
- <Img {...img} className={cls({ "mb-256": !isLast })} />
23
+ <Img {...img} className={classnames({ "mb-256": !isLast })} />
24
24
  </div>
25
25
  );
26
26
  })}
@@ -1,44 +0,0 @@
1
- name: Deploy bbki.ng's changes
2
- on:
3
- push:
4
- branches:
5
- - main
6
- jobs:
7
- version:
8
- runs-on: ubuntu-latest
9
- if: "!startsWith(github.event.head_commit.message, 'bump')"
10
- steps:
11
- - uses: actions/checkout@v2
12
- with:
13
- token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
14
- - run: git config --global user.name 'bbki.ng'
15
- - run: git config --global user.email 'b@bbki.ng'
16
- - run: npm version patch -m "bump %s"
17
- - run: git push
18
-
19
- builds:
20
- runs-on: ubuntu-latest
21
- if: "startsWith(github.event.head_commit.message, 'bump')"
22
- steps:
23
- - uses: actions/checkout@v1
24
- - name: Install Node.js
25
- uses: actions/setup-node@v1
26
- with:
27
- node-version: "14.18.0"
28
- - name: Install Yarn
29
- run: npm install -g yarn
30
- - name: Install dependencies
31
- run: yarn install
32
- - name: Run tests
33
- run: yarn test
34
- - name: Run build task
35
- run: yarn build
36
- - name: Deploy to Server
37
- uses: easingthemes/ssh-deploy@main
38
- env:
39
- SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
40
- SOURCE: "dist/"
41
- REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
42
- REMOTE_USER: ${{ secrets.REMOTE_USER }}
43
- TARGET: ${{ secrets.REMOTE_TARGET }}
44
- EXCLUDE: "/dist/, /node_modules/"