Skip to content

Commit

Permalink
Update repo struct
Browse files Browse the repository at this point in the history
  • Loading branch information
willybrauner committed Aug 30, 2023
1 parent 63fdb85 commit 97aab21
Show file tree
Hide file tree
Showing 28 changed files with 1,754 additions and 11,782 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,18 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: install
run: npm ci
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7

- name: build
run: npm run build
run: pnpm run build

- name: test
run: npm run test
run: pnpm run test
20 changes: 20 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.idea
.cache
.github
node_modules
src
src/*
src/**
test
tests
example
examples
example-node
.babelrc
.prettierignore
.prettierrc
jest.config.ts
tsconfig.json
vitest.config.ts
vite.config.ts
.turbo
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ npm i @cher-ami/utils

## List

### [array](./src/array.ts)
### [array](src/array/array.ts)

- shuffleArray

### [dom](./src/dom.ts)
### [dom](src/dom/dom.ts)

- getCssVariable

### [env](./src/envs.ts)
### [env](src/envs/envs.ts)

- isServer
- isBrowser
Expand All @@ -36,7 +36,7 @@ npm i @cher-ami/utils
- isFirefox
- isSafari

### [math](./src/math.ts)
### [math](src/math/math.ts)

- clamp
- modulo
Expand All @@ -45,14 +45,14 @@ npm i @cher-ami/utils
- normalizeValue
- originalValueFromNormalized

### [shareUrls](./src/shareUrls.ts)
### [shareUrls](src/social/shareUrls.ts)

- facebookShareUrl
- twitterShareUrl
- facebookMessengerShareUrl
- whatsappShareUrl

### [string](./src/string.ts)
### [string](src/string/string.ts)

- mergeStrings

Expand Down
Loading

0 comments on commit 97aab21

Please sign in to comment.