Skip to content

Commit

Permalink
Organize library as living documentation site
Browse files Browse the repository at this point in the history
  • Loading branch information
eliot-akira committed Sep 22, 2024
1 parent 921d78b commit 8d474ad
Show file tree
Hide file tree
Showing 115 changed files with 632 additions and 7,834 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:

steps:
- uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: 20
# - run: npm install
# - run: npm run build
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm install
- run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: "build"
Expand Down
195 changes: 13 additions & 182 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@

/vendor
node_modules
.idea
*.log
*.local.js

# Ignore lock files to allow any package manager
composer.lock
Expand All @@ -12,188 +7,24 @@ yarn.lock
bun.lockb

/artifacts
*.swp
/coverage
/.phpunit.cache
/wordpress-develop

# https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/#wp-env-override-json
.wp-env.override.json


# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore

# Logs

logs
_.log
npm-debug.log_
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)

report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json

# Runtime data

pids
_.pid
_.seed
\*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover

lib-cov

# Coverage directory used by tools like istanbul

coverage
\*.lcov

# nyc test coverage

.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)

.grunt

# Bower dependency directory (https://bower.io/)

bower_components

# node-waf configuration

.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)

build/Release

# Dependency directories

node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)

web_modules/

# TypeScript cache

\*.tsbuildinfo

# Optional npm cache directory

.npm

# Optional eslint cache

.eslintcache

# Optional stylelint cache

.stylelintcache

# Microbundle cache

.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history

.node_repl_history

# Output of 'npm pack'
# Dependencies
/node_modules

\*.tgz
# Production
/build

# Yarn Integrity file

.yarn-integrity

# dotenv environment variable files
# Generated files
.docusaurus
.cache-loader

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

# parcel-bundler cache (https://parceljs.org/)

.cache
.parcel-cache

# Next.js build output

.next
out

# Nuxt.js build / generate output

.nuxt
dist

# Gatsby files

.cache/

# Comment in the public line in if your project uses Gatsby and not Next.js

# https://nextjs.org/blog/next-9-1#public-directory-support

# public

# vuepress build output

.vuepress/dist

# vuepress v2.x temp and cache directory

.temp
.cache

# Docusaurus cache and generated files

.docusaurus

# Serverless directories

.serverless/

# FuseBox cache

.fusebox/

# DynamoDB Local files

.dynamodb/

# TernJS port file

.tern-port

# Stores VSCode versions used for testing VSCode extensions

.vscode-test

# yarn v2

.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.\*

# IntelliJ based IDEs
.idea

# Finder (MacOS) folder config
.DS_Store

npm-debug.log*
yarn-debug.log*
yarn-error.log*
10 changes: 0 additions & 10 deletions .wp-env.json

This file was deleted.

24 changes: 12 additions & 12 deletions all.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import { create } from './index'

// These can be imported individually
import Alert from './alert'
import Button from './button'
import Carousel from './carousel'
import Collapse from './collapse'
import Dropdown from './dropdown'
import Modal from './modal'
import Offcanvas from './offcanvas'
import Popover from './popover'
import ScrollSpy from './scrollspy'
import Tab from './tab'
import Toast from './toast'
import Tooltip from './tooltip'
import Alert from './modules/alert'
import Button from './modules/button'
import Carousel from './modules/carousel'
import Collapse from './modules/collapse'
import Dropdown from './modules/dropdown'
import Modal from './modules/modal'
import Offcanvas from './modules/offcanvas'
import Popover from './modules/popover'
import ScrollSpy from './modules/scrollspy'
import Tab from './modules/tab'
import Toast from './modules/toast'
import Tooltip from './modules/tooltip'

create({
components: {
Expand Down
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
8 changes: 8 additions & 0 deletions base.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

// Configuration - 0K
@import "functions";
@import "variables";
@import "variables-dark";
@import "maps";
@import "mixins";
@import "utilities";
2 changes: 0 additions & 2 deletions build/design.min.css

This file was deleted.

1 change: 0 additions & 1 deletion build/design.min.js

This file was deleted.

Loading

0 comments on commit 8d474ad

Please sign in to comment.