Skip to content

Commit

Permalink
Renew for v1.0.0 (#35)
Browse files Browse the repository at this point in the history
* update readme

* Reset all implementation (#36)

* reset all

* Add example readme

* Add sample component and init config (#37)

* add package config

* add lint config

* ignore eslint file

* update tsconfig

* Add script

* update lint rule for react

* Build library

* add sample component

* add vite example page

* build and export type

* fix file name

* fix format and lint

* Update CI/CD workflow files (#38)

* fix dev and stg yaml

* fix prd yaml

* fix triger for dev

* fix app type

* fix to use src

* Add Blink Component (#39)

* blink

* Add speed type

* add style hatch

* Show image component (#40)

* show comunity image

* Add declaration file

* Add storybook config (#41)

* Add storybook lib

* add csf to blink

* fix format

* fix format

* format sc file

* Add some components (#42)

* add background component

* add child component to bg

* update grad text to deprecated

* Add progress bar

* inline animation

* add clasic marquee

* add zoom component

* insert custom jsx

* export color

* Add heading

* fix lint error

* font family

* add text

* add some image stories

* fix font familly

* fix lint

* update version
  • Loading branch information
sadnessOjisan authored Oct 1, 2021
1 parent 1e732a9 commit 8c7fbb6
Show file tree
Hide file tree
Showing 165 changed files with 11,968 additions and 17,205 deletions.
6 changes: 3 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dist
.storybook
.github
.eslintrc.js
vite.config.js
rollup.config.js
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ module.exports = {
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"prettier",
],
parser: "@typescript-eslint/parser",
parserOptions: {
Expand All @@ -16,8 +18,10 @@ module.exports = {
ecmaVersion: 12,
sourceType: "module",
},
plugins: ["react", "@typescript-eslint"],
plugins: ["react", "@typescript-eslint", "simple-import-sort"],
rules: {
"simple-import-sort/imports": "error",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
},
};
20 changes: 12 additions & 8 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: DEV

on:
pull_request:
branches: ["*", "!master"]
push:
branches:
- "*"
- "*/*"
- "**"
- "!master"

jobs:
release:
Expand All @@ -14,15 +18,15 @@ jobs:
- name: setup Node
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x
registry-url: "https://registry.npmjs.org"
- name: install
run: npm install
run: yarn install
- name: typecheck
run: npm run typecheck
run: yarn run typecheck
- name: lint
run: npm run lint
run: yarn run lint:ci
- name: format
run: npm run format
run: yarn run format:ci
- name: build
run: npm run build
run: yarn run lib build
18 changes: 10 additions & 8 deletions .github/workflows/prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,23 @@ jobs:
- name: setup Node
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x
registry-url: "https://registry.npmjs.org"
- name: install
run: npm install
- name: Can Publish
run: npx can-npm-publish --verbose
run: yarn install
- name: can npm publish
run: yarn run can-npm-publish
working-directory: ./packages/lib
- name: typecheck
run: npm run typecheck
run: yarn run typecheck
- name: lint
run: npm run lint
run: yarn run lint:ci
- name: format
run: npm run format
run: yarn run format:ci
- name: build
run: npm run build
run: yarn run lib build
- name: release
run: npm publish
working-directory: ./packages/lib
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
17 changes: 9 additions & 8 deletions .github/workflows/stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ jobs:
- name: setup Node
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x
registry-url: "https://registry.npmjs.org"
- name: install
run: npm install
- name: Can Publish
run: npx can-npm-publish --verbose
run: yarn install
- name: can npm publish
run: yarn run can-npm-publish
working-directory: ./packages/lib
- name: typecheck
run: npm run typecheck
run: yarn run typecheck
- name: lint
run: npm run lint
run: yarn run lint:ci
- name: format
run: npm run format
run: yarn run format:ci
- name: build
run: npm run build
run: yarn run lib build
30 changes: 3 additions & 27 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules

# testing
/coverage

# production
/build
/dist
build.js

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
# storybook
/storybook-static

!.gitkeep
node_modules
dist
storybook-static
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

1 change: 0 additions & 1 deletion .prettierrc.js

This file was deleted.

16 changes: 0 additions & 16 deletions .storybook/main.js

This file was deleted.

4 changes: 0 additions & 4 deletions .storybook/preview.js

This file was deleted.

45 changes: 1 addition & 44 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,3 @@
# re-geo

**sorry, Now breaking changing for v1.0.0**

![image](https://github.com/sadnessOjisan/re-geo/blob/master/sampleImage.png?raw=true)

react based geocities component.
Here is components. https://re-geo-storybook.netlify.com/

## how to use

```sh
npm i re-geo

# or

yarn add re-geo
```

```jsx
import * as React from "react";
import { Button } from "re-geo";
import "./styles.css";

export default function App() {
return (
<div className="App">
<h1>Hello CodeSandbox</h1>
<h2>Start editing to see some magic happen!</h2>
<Button>Click Me!</Button>
</div>
);
}
```

You can check all components in [this storybook](https://re-geo-storybook.netlify.app).

## Thanks

This is inspired by [geo-bootstrap](https://github.com/divshot/geo-bootstrap). Thanks.

## TODO

- [ ] marquee
- [ ] font tag
- [ ] tab
Developing for v1.0.0.
Empty file removed dist/.gitkeep
Empty file.
Loading

0 comments on commit 8c7fbb6

Please sign in to comment.