Skip to content

Commit

Permalink
Create monorepo and add documentation website
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcetinkaya committed May 22, 2021
1 parent dc37d58 commit 572a46f
Show file tree
Hide file tree
Showing 374 changed files with 32,836 additions and 10,438 deletions.
4 changes: 0 additions & 4 deletions .babelrc

This file was deleted.

19 changes: 0 additions & 19 deletions .eslintrc

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
registry-url: 'https://registry.npmjs.org'

- name: Install 🔧
run: npm install
run: yarn install

- name: NPM PKG Publish 🎉
run: npm publish
run: yarn workspace embla-carousel publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install 🔧
run: npm install
run: yarn install

- name: Build 🏗️
run: npm run build --if-present
run: yarn build

- name: Lint 🧐
run: npm run lint
run: yarn lint

- name: Test 🚨
run: npm test
run: yarn test
28 changes: 15 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
# production
/*.js
/*.map
/index.d.ts
/vanilla
/react
packages/embla-carousel/index.d.ts
packages/embla-carousel/embla-carousel-vanilla
packages/embla-carousel/embla-carousel-react
packages/embla-carousel/embla-carousel.*
packages/embla-carousel/react.*
public

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# dependencies
node_modules/
node_modules
.pnp
.pnp.js

# testing
coverage

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

npm-debug.log*
yarn-debug.log*
yarn-error.log*
# dotenv
.env*
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14.17.0
31 changes: 18 additions & 13 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
# production
/*.map
/index.d.ts
/vanilla
/react
/embla-carousel*
/react*
packages/embla-carousel/index.d.ts
packages/embla-carousel/embla-carousel-vanilla
packages/embla-carousel/embla-carousel-react
packages/embla-carousel/embla-carousel.*
packages/embla-carousel/react.*
public
static
docs

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# dependencies
node_modules/
node_modules
.pnp
.pnp.js

# testing
coverage

# docs
docs

# misc
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.cache
.DS_Store
package-lock.json
yarn.lock
10 changes: 0 additions & 10 deletions .prettierrc

This file was deleted.

10 changes: 10 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
bracketSpacing: true,
jsxBracketSameLine: false,
printWidth: 80,
semi: false,
singleQuote: true,
trailingComma: 'all',
tabWidth: 2,
useTabs: false,
}
Empty file added docs/.nojekyll
Empty file.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

125 changes: 113 additions & 12 deletions docs/404.html

Large diffs are not rendered by default.

113 changes: 113 additions & 0 deletions docs/404/index.html

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/9-5e6107f21f80dfc8db91.js

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

1 change: 1 addition & 0 deletions docs/9-5e6107f21f80dfc8db91.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
www.embla-carousel.com
13 changes: 0 additions & 13 deletions docs/api.html

This file was deleted.

Loading

0 comments on commit 572a46f

Please sign in to comment.