Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add universal support and package rename #27

Merged
merged 105 commits into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
b56c007
feat: switch to turborepo
oktaysenkan Oct 1, 2024
d6ffde0
chore(package.json): change package name
oktaysenkan Oct 1, 2024
e873df5
refactor(babel-plugin): change if condition
oktaysenkan Oct 1, 2024
a9befd9
refactor(babel-plugin): destruct babel props
oktaysenkan Oct 1, 2024
e510aaf
feat: implement support for monorepos
oktaysenkan Oct 1, 2024
274603d
fix: change react-native-svg peer dependencies version
oktaysenkan Oct 1, 2024
9b05899
chore: change app name web to next
oktaysenkan Oct 1, 2024
44c5fc4
build(turbo.json): configure build depends
oktaysenkan Oct 1, 2024
9414cee
chore: remove unused dependencies
oktaysenkan Oct 1, 2024
c64493f
feat(rollup): implement rollup plugin
oktaysenkan Oct 1, 2024
54bb8c2
feat(esbuild): implement esbuild plugin
oktaysenkan Oct 1, 2024
f6f7b14
feat(rspack): implement rspack plugin
oktaysenkan Oct 1, 2024
acda727
fix: put await to bottom
oktaysenkan Oct 1, 2024
590a0d2
refactor(rspack): extend from webpack plugin
oktaysenkan Oct 1, 2024
39b5f3e
feat(webpack): add plugin name
oktaysenkan Oct 1, 2024
801b73a
build(rspack): add rspack turbo config
oktaysenkan Oct 2, 2024
0753a41
docs(readme): update readme
oktaysenkan Oct 2, 2024
34ffe5c
feat: implement fallback icon with console.warn
oktaysenkan Oct 2, 2024
87aa3f2
ci(.github): add github actions
oktaysenkan Oct 2, 2024
12298d9
fix(webpack): use compiler hooks instead of awaiting promise
oktaysenkan Oct 2, 2024
d74fc96
feat(rollup-react): add example for rollup
oktaysenkan Oct 2, 2024
14e6b40
refactor: change default prop order
oktaysenkan Oct 3, 2024
12b9f20
feat(vite-vue): add vite-vue example
oktaysenkan Oct 4, 2024
9e28584
feat(vue): implement vue package
oktaysenkan Oct 4, 2024
e04c14b
build: add build configuration for vue
oktaysenkan Oct 4, 2024
25856d1
feat(nuxt): implement nuxt module
oktaysenkan Oct 5, 2024
58a7a64
feat(nuxt-app): add nuxt example
oktaysenkan Oct 5, 2024
9369bf1
ci(.github): add nuxt as global dependency
oktaysenkan Oct 5, 2024
5c1ab3f
ci: add nuxt as workspace dependency
oktaysenkan Oct 5, 2024
1f43da8
chore: change nuxt-app postintall command
oktaysenkan Oct 5, 2024
d899ebf
ci(nuxt-app): run nuxt prepare script before build instead of postins…
oktaysenkan Oct 5, 2024
783b641
ci(nuxt-app): change postinstall script
oktaysenkan Oct 5, 2024
7ad02c4
chore: set version 0.0.0 for all apps
oktaysenkan Oct 5, 2024
d2dc7ec
chore: set version 0.0.0 for all packages
oktaysenkan Oct 5, 2024
6fd54b0
v0.0.114
oktaysenkan Oct 5, 2024
26a8940
chore: release 0.0.114
oktaysenkan Oct 5, 2024
23d8280
chore: set version 0.0.0 for all apps
oktaysenkan Oct 5, 2024
47ee90f
feat: add prepack scripts
oktaysenkan Oct 5, 2024
2231b09
v0.0.114
oktaysenkan Oct 5, 2024
cb1ef24
v0.0.118
oktaysenkan Oct 5, 2024
9d8e1b4
chore: release 0.0.118
oktaysenkan Oct 5, 2024
d4d7a07
chore: add build:pkgs script
oktaysenkan Oct 5, 2024
60ddf67
feat(svelte): implement svelte package
oktaysenkan Oct 5, 2024
8b516db
feat(svelte-app): add svelte example
oktaysenkan Oct 5, 2024
072a251
chore: ignore svelte-app for versioning
oktaysenkan Oct 5, 2024
4f74f13
build: add svelte turbo configuration
oktaysenkan Oct 5, 2024
7ce48fb
chore: add vite dependency to svelte library
oktaysenkan Oct 5, 2024
2a57168
fix: add vite as dev dependency
oktaysenkan Oct 5, 2024
d8e318d
v0.0.119
oktaysenkan Oct 5, 2024
723ef3c
chore: release 0.0.119
oktaysenkan Oct 5, 2024
dc2dcd4
chore(svelte): add publishConfig config
oktaysenkan Oct 5, 2024
b7f5c53
v0.0.0
oktaysenkan Oct 5, 2024
6c9448a
feat(native): seperate react native package
oktaysenkan Oct 5, 2024
811319c
chore(react): seperate react library
oktaysenkan Oct 5, 2024
1f4b78a
feat(icon-loader): implement icon-loader package
oktaysenkan Oct 5, 2024
c2a53ab
feat: use icon-loader from ui packages
oktaysenkan Oct 5, 2024
9dfc280
build: fix nuxt-app turbo configuration
oktaysenkan Oct 5, 2024
4bd13a1
refactor(native): use export and export default
oktaysenkan Oct 5, 2024
0de35de
fix(native): git move for iconify file
oktaysenkan Oct 5, 2024
9c18d87
v0.0.120
oktaysenkan Oct 5, 2024
d4e97b1
chore: release 0.0.120
oktaysenkan Oct 5, 2024
1ed8fc3
feat: implement dynamic import for icon components
oktaysenkan Oct 5, 2024
33a9310
v0.0.121
oktaysenkan Oct 5, 2024
e1b0cb1
chore: release: 0.0.121
oktaysenkan Oct 5, 2024
f147ddb
feat: wrap import icons with try catch
oktaysenkan Oct 5, 2024
5a2ae11
v0.0.122
oktaysenkan Oct 5, 2024
c381215
chore: release 0.0.122
oktaysenkan Oct 5, 2024
6cef675
chore: change package name to monicon
oktaysenkan Oct 5, 2024
5953035
chore: rename all types
oktaysenkan Oct 5, 2024
806459e
v0.0.123
oktaysenkan Oct 5, 2024
b9132e1
chore: release 0.0.123
oktaysenkan Oct 5, 2024
d111f24
feat(docs): add docs app
oktaysenkan Oct 6, 2024
6cd5486
docs(docs): add installation doc for react and vite app
oktaysenkan Oct 6, 2024
2ceff24
docs(docs): add installation doc for vue apps
oktaysenkan Oct 6, 2024
31dfa10
docs(docs): add installation doc for react native apps
oktaysenkan Oct 6, 2024
d939d28
docs(docs): add installation doc for nuxt apps
oktaysenkan Oct 6, 2024
d49166b
docs(docs): add installation doc for svelte apps
oktaysenkan Oct 6, 2024
aa0242c
docs(docs): add installation doc for svelte apps
oktaysenkan Oct 6, 2024
fd16b39
docs(docs): docs(docs): add installation doc for react rollup apps
oktaysenkan Oct 6, 2024
062058b
docs(docs): add installation doc for react rspack apps
oktaysenkan Oct 6, 2024
522dece
docs(docs): add introduction document
oktaysenkan Oct 6, 2024
9f79325
refactor: remove placeholder module name
oktaysenkan Oct 6, 2024
bb624e0
v0.0.124
oktaysenkan Oct 6, 2024
cbf758f
chore: release 0.0.124
oktaysenkan Oct 6, 2024
e220a10
fix: add placeholder variable back
oktaysenkan Oct 6, 2024
3a55ad5
v0.0.125
oktaysenkan Oct 6, 2024
cc5af53
chore: release 0.0.124
oktaysenkan Oct 6, 2024
5c7d584
refactor: change placeholder package name as monicon-runtime
oktaysenkan Oct 6, 2024
1574abe
v0.0.126
oktaysenkan Oct 6, 2024
5d36bd4
chore: release 0.0.126
oktaysenkan Oct 6, 2024
d443a8b
fix: change placeholder package name as monn-runtime
oktaysenkan Oct 6, 2024
4e20677
v0.0.127
oktaysenkan Oct 6, 2024
6b131d6
v0.0.128
oktaysenkan Oct 6, 2024
55e9d4e
chore: release 0.0.127
oktaysenkan Oct 6, 2024
0ee040f
fix: change import package name
oktaysenkan Oct 6, 2024
f8b6f6e
v0.0.129
oktaysenkan Oct 6, 2024
a2d3766
chore: release 0.0.129
oktaysenkan Oct 6, 2024
dda0eaf
refactor: change resolve name as @monicon/runtime
oktaysenkan Oct 6, 2024
f624597
v0.0.129
oktaysenkan Oct 6, 2024
15fe3be
chore: release 0.0.129
oktaysenkan Oct 6, 2024
3a8ce15
fix(runtime): change publish config
oktaysenkan Oct 6, 2024
3653893
feat(runtime): implement postinstall script
oktaysenkan Oct 6, 2024
58ac349
v0.0.130
oktaysenkan Oct 6, 2024
301a5e9
chore: release 0.0.130
oktaysenkan Oct 6, 2024
8381c3f
chore: remove runtime package
oktaysenkan Oct 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
21 changes: 21 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [["@monicon/*"]],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [
"@monicon/react-native-app",
"@monicon/next",
"@monicon/nuxt-app",
"@monicon/rollup-react",
"@monicon/rspack-react",
"@monicon/vite-react",
"@monicon/vite-vue",
"@monicon/svelte-app",
"@monicon/docs"
]
}
15 changes: 0 additions & 15 deletions .editorconfig

This file was deleted.

3 changes: 0 additions & 3 deletions .gitattributes

This file was deleted.

51 changes: 4 additions & 47 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,13 @@ name: CI
on:
push:
branches:
- main
- '**'
pull_request:
branches:
- main

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup
uses: ./.github/actions/setup

- name: Lint files
run: yarn lint

- name: Typecheck files
run: yarn typecheck

test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup
uses: ./.github/actions/setup

- name: Run unit tests
run: yarn test --maxWorkers=2 --coverage

build-library:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -44,21 +17,5 @@ jobs:
- name: Setup
uses: ./.github/actions/setup

- name: Build package
run: yarn prepare

build-web:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup
uses: ./.github/actions/setup

- name: Build package
run: yarn prepare

- name: Build example for Web
run: |
yarn example expo export:web
- name: Build all packages and apps
run: yarn build
107 changes: 32 additions & 75 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,80 +1,37 @@
# OSX
#
.DS_Store

# XDE
.expo/

# VSCode
.vscode/
jsconfig.json

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

# Android/IJ
#
.classpath
.cxx
.gradle
.idea
.project
.settings
local.properties
android.iml
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# Cocoapods
#
example/ios/Pods
# dependencies
node_modules
.pnp
.pnp.js

# Ruby
example/vendor/
# testing
coverage

# node.js
#
node_modules/
npm-debug.log
yarn-debug.log
yarn-error.log
# next.js
.next/
.swc/
out/
build

# BUCK
buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore
# expo
.expo

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Expo
.expo/

# Turborepo
.turbo/

# generated by bob
lib/
dist/
web-build/
# misc
.DS_Store
*.pem
dist

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

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# turbo
.turbo
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v18
1 change: 0 additions & 1 deletion .watchmanconfig

This file was deleted.

541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.1.cjs

This file was deleted.

10 changes: 0 additions & 10 deletions .yarnrc.yml

This file was deleted.

67 changes: 0 additions & 67 deletions CHANGELOG.md

This file was deleted.

Loading
Loading