Skip to content

Commit

Permalink
refactor: rename the package to rn-material
Browse files Browse the repository at this point in the history
  • Loading branch information
yamankatby committed Feb 17, 2022
1 parent 4ccfc6b commit cd013c1
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 155 deletions.
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-material/core-example",
"description": "Example app for @react-native-material/core",
"name": "rn-material-example",
"description": "Example app for rn-material",
"version": "0.0.1",
"private": true,
"main": "index",
Expand Down
52 changes: 26 additions & 26 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2635,32 +2635,6 @@ __metadata:
languageName: node
linkType: hard

"@react-native-material/core-example@workspace:.":
version: 0.0.0-use.local
resolution: "@react-native-material/core-example@workspace:."
dependencies:
"@babel/core": ~7.9.0
"@babel/runtime": ^7.9.6
"@react-native-material/core": ^1.3.5
"@react-navigation/native": ^6.0.8
"@react-navigation/native-stack": ^6.5.0
babel-plugin-module-resolver: ^4.0.0
babel-preset-expo: 8.3.0
chroma-js: ^2.4.2
expo: ^42.0.0
expo-cli: ^4.0.13
expo-splash-screen: ~0.11.2
expo-status-bar: ~1.0.4
react: 16.13.1
react-dom: 16.13.1
react-native: 0.63.4
react-native-safe-area-context: 3.2.0
react-native-screens: ~3.4.0
react-native-unimodules: ~0.14.5
react-native-web: ~0.13.12
languageName: unknown
linkType: soft

"@react-native-material/core@npm:^1.3.5":
version: 1.3.5
resolution: "@react-native-material/core@npm:1.3.5"
Expand Down Expand Up @@ -14019,6 +13993,32 @@ __metadata:
languageName: node
linkType: hard

"rn-material-example@workspace:.":
version: 0.0.0-use.local
resolution: "rn-material-example@workspace:."
dependencies:
"@babel/core": ~7.9.0
"@babel/runtime": ^7.9.6
"@react-native-material/core": ^1.3.5
"@react-navigation/native": ^6.0.8
"@react-navigation/native-stack": ^6.5.0
babel-plugin-module-resolver: ^4.0.0
babel-preset-expo: 8.3.0
chroma-js: ^2.4.2
expo: ^42.0.0
expo-cli: ^4.0.13
expo-splash-screen: ~0.11.2
expo-status-bar: ~1.0.4
react: 16.13.1
react-dom: 16.13.1
react-native: 0.63.4
react-native-safe-area-context: 3.2.0
react-native-screens: ~3.4.0
react-native-unimodules: ~0.14.5
react-native-web: ~0.13.12
languageName: unknown
linkType: soft

"router-ips@npm:^1.0.0":
version: 1.0.0
resolution: "router-ips@npm:1.0.0"
Expand Down
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@react-native-material/core",
"name": "rn-material",
"version": "0.1.0",
"description": "Modular and customizable Material Design UI components for React Native",
"main": "lib/commonjs/index",
Expand All @@ -13,7 +13,7 @@
"android",
"ios",
"cpp",
"react-native-material-core.podspec",
"rn-material.podspec",
"!lib/typescript/example",
"!android/build",
"!ios/build",
Expand All @@ -36,13 +36,13 @@
"ios",
"android"
],
"repository": "https://github.com/yamankatby/react-native-material",
"author": "Yaman KATBY <[email protected]> (https://yamankatby.com)",
"repository": "https://github.com/yamankatby/rn-material",
"author": "Yaman KATBY <[email protected]> (https://yamankatby.com/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/yamankatby/react-native-material/issues"
"url": "https://github.com/yamankatby/rn-material/issues"
},
"homepage": "https://github.com/yamankatby/react-native-material#readme",
"homepage": "https://github.com/yamankatby/rn-material#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
Expand Down Expand Up @@ -146,7 +146,6 @@
]
},
"dependencies": {
"babel-loader": "^8.2.3",
"chroma-js": "^2.4.2",
"react-native-flex-layout": "^0.1.2"
}
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"compilerOptions": {
"baseUrl": "./",
"paths": {
"@react-native-material/core": ["./src/index"]
"rn-material": ["./src/index"]
},
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"esModuleInterop": true,
"importsNotUsedAsValues": "remove",
"importsNotUsedAsValues": "error",
"forceConsistentCasingInFileNames": true,
"jsx": "react",
"lib": ["esnext"],
Expand Down
153 changes: 35 additions & 118 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2459,39 +2459,6 @@ __metadata:
languageName: node
linkType: hard

"@react-native-material/core@workspace:.":
version: 0.0.0-use.local
resolution: "@react-native-material/core@workspace:."
dependencies:
"@commitlint/config-conventional": ^11.0.0
"@react-native-community/eslint-config": ^2.0.0
"@release-it/conventional-changelog": ^2.0.0
"@types/chroma-js": ^2.1.3
"@types/jest": ^26.0.0
"@types/react": ^17.0.39
"@types/react-native": 0.66.16
babel-loader: ^8.2.3
chroma-js: ^2.4.2
commitlint: ^11.0.0
eslint: ^7.2.0
eslint-config-prettier: ^7.0.0
eslint-plugin-prettier: ^3.1.3
husky: ^6.0.0
jest: ^26.0.1
pod-install: ^0.1.0
prettier: ^2.0.5
react: 16.13.1
react-native: 0.63.4
react-native-builder-bob: ^0.18.0
react-native-flex-layout: ^0.1.2
release-it: ^14.2.2
typescript: ^4.1.3
peerDependencies:
react: "*"
react-native: "*"
languageName: unknown
linkType: soft

"@release-it/conventional-changelog@npm:^2.0.0":
version: 2.0.1
resolution: "@release-it/conventional-changelog@npm:2.0.1"
Expand Down Expand Up @@ -2691,7 +2658,7 @@ __metadata:
languageName: node
linkType: hard

"@types/json-schema@npm:^7.0.3, @types/json-schema@npm:^7.0.5":
"@types/json-schema@npm:^7.0.3":
version: 7.0.9
resolution: "@types/json-schema@npm:7.0.9"
checksum: 259d0e25f11a21ba5c708f7ea47196bd396e379fddb79c76f9f4f62c945879dc21657904914313ec2754e443c5018ea8372362f323f30e0792897fdb2098a705
Expand Down Expand Up @@ -3045,15 +3012,6 @@ __metadata:
languageName: node
linkType: hard

"ajv-keywords@npm:^3.5.2":
version: 3.5.2
resolution: "ajv-keywords@npm:3.5.2"
peerDependencies:
ajv: ^6.9.1
checksum: 7dc5e5931677a680589050f79dcbe1fefbb8fea38a955af03724229139175b433c63c68f7ae5f86cf8f65d55eb7c25f75a046723e2e58296707617ca690feae9
languageName: node
linkType: hard

"ajv@npm:^6.10.0, ajv@npm:^6.12.4":
version: 6.12.6
resolution: "ajv@npm:6.12.6"
Expand Down Expand Up @@ -3477,21 +3435,6 @@ __metadata:
languageName: node
linkType: hard

"babel-loader@npm:^8.2.3":
version: 8.2.3
resolution: "babel-loader@npm:8.2.3"
dependencies:
find-cache-dir: ^3.3.1
loader-utils: ^1.4.0
make-dir: ^3.1.0
schema-utils: ^2.6.5
peerDependencies:
"@babel/core": ^7.0.0
webpack: ">=2"
checksum: 78e1e1a91954d644b6ce66366834d4d245febbc0fde33e4e2831725e83d6e760d12b3a78e9534ce92af69067bef1d9d9674df36d8c1f20ee127bc2354b2203ba
languageName: node
linkType: hard

"babel-plugin-dynamic-import-node@npm:^2.3.3":
version: 2.3.3
resolution: "babel-plugin-dynamic-import-node@npm:2.3.3"
Expand Down Expand Up @@ -3683,13 +3626,6 @@ __metadata:
languageName: node
linkType: hard

"big.js@npm:^5.2.2":
version: 5.2.2
resolution: "big.js@npm:5.2.2"
checksum: b89b6e8419b097a8fb4ed2399a1931a68c612bce3cfd5ca8c214b2d017531191070f990598de2fc6f3f993d91c0f08aa82697717f6b3b8732c9731866d233c9e
languageName: node
linkType: hard

"bindings@npm:^1.5.0":
version: 1.5.0
resolution: "bindings@npm:1.5.0"
Expand Down Expand Up @@ -5149,13 +5085,6 @@ __metadata:
languageName: node
linkType: hard

"emojis-list@npm:^3.0.0":
version: 3.0.0
resolution: "emojis-list@npm:3.0.0"
checksum: ddaaa02542e1e9436c03970eeed445f4ed29a5337dfba0fe0c38dfdd2af5da2429c2a0821304e8a8d1cadf27fdd5b22ff793571fa803ae16852a6975c65e8e70
languageName: node
linkType: hard

"encodeurl@npm:~1.0.2":
version: 1.0.2
resolution: "encodeurl@npm:1.0.2"
Expand Down Expand Up @@ -5998,17 +5927,6 @@ __metadata:
languageName: node
linkType: hard

"find-cache-dir@npm:^3.3.1":
version: 3.3.2
resolution: "find-cache-dir@npm:3.3.2"
dependencies:
commondir: ^1.0.1
make-dir: ^3.0.2
pkg-dir: ^4.1.0
checksum: 1e61c2e64f5c0b1c535bd85939ae73b0e5773142713273818cc0b393ee3555fb0fd44e1a5b161b8b6c3e03e98c2fcc9c227d784850a13a90a8ab576869576817
languageName: node
linkType: hard

"find-up@npm:^2.0.0":
version: 2.1.0
resolution: "find-up@npm:2.1.0"
Expand Down Expand Up @@ -8330,17 +8248,6 @@ __metadata:
languageName: node
linkType: hard

"json5@npm:^1.0.1":
version: 1.0.1
resolution: "json5@npm:1.0.1"
dependencies:
minimist: ^1.2.0
bin:
json5: lib/cli.js
checksum: e76ea23dbb8fc1348c143da628134a98adf4c5a4e8ea2adaa74a80c455fc2cdf0e2e13e6398ef819bfe92306b610ebb2002668ed9fc1af386d593691ef346fc3
languageName: node
linkType: hard

"json5@npm:^2.1.2, json5@npm:^2.1.3":
version: 2.2.0
resolution: "json5@npm:2.2.0"
Expand Down Expand Up @@ -8544,17 +8451,6 @@ __metadata:
languageName: node
linkType: hard

"loader-utils@npm:^1.4.0":
version: 1.4.0
resolution: "loader-utils@npm:1.4.0"
dependencies:
big.js: ^5.2.2
emojis-list: ^3.0.0
json5: ^1.0.1
checksum: d150b15e7a42ac47d935c8b484b79e44ff6ab4c75df7cc4cb9093350cf014ec0b17bdb60c5d6f91a37b8b218bd63b973e263c65944f58ca2573e402b9a27e717
languageName: node
linkType: hard

"locate-path@npm:^2.0.0":
version: 2.0.0
resolution: "locate-path@npm:2.0.0"
Expand Down Expand Up @@ -8728,7 +8624,7 @@ __metadata:
languageName: node
linkType: hard

"make-dir@npm:^3.0.0, make-dir@npm:^3.0.2, make-dir@npm:^3.1.0":
"make-dir@npm:^3.0.0":
version: 3.1.0
resolution: "make-dir@npm:3.1.0"
dependencies:
Expand Down Expand Up @@ -10216,7 +10112,7 @@ __metadata:
languageName: node
linkType: hard

"pkg-dir@npm:^4.1.0, pkg-dir@npm:^4.2.0":
"pkg-dir@npm:^4.2.0":
version: 4.2.0
resolution: "pkg-dir@npm:4.2.0"
dependencies:
Expand Down Expand Up @@ -11133,6 +11029,38 @@ __metadata:
languageName: node
linkType: hard

"rn-material@workspace:.":
version: 0.0.0-use.local
resolution: "rn-material@workspace:."
dependencies:
"@commitlint/config-conventional": ^11.0.0
"@react-native-community/eslint-config": ^2.0.0
"@release-it/conventional-changelog": ^2.0.0
"@types/chroma-js": ^2.1.3
"@types/jest": ^26.0.0
"@types/react": ^17.0.39
"@types/react-native": 0.66.16
chroma-js: ^2.4.2
commitlint: ^11.0.0
eslint: ^7.2.0
eslint-config-prettier: ^7.0.0
eslint-plugin-prettier: ^3.1.3
husky: ^6.0.0
jest: ^26.0.1
pod-install: ^0.1.0
prettier: ^2.0.5
react: 16.13.1
react-native: 0.63.4
react-native-builder-bob: ^0.18.0
react-native-flex-layout: ^0.1.2
release-it: ^14.2.2
typescript: ^4.1.3
peerDependencies:
react: "*"
react-native: "*"
languageName: unknown
linkType: soft

"rsvp@npm:^4.8.4":
version: 4.8.5
resolution: "rsvp@npm:4.8.5"
Expand Down Expand Up @@ -11256,17 +11184,6 @@ __metadata:
languageName: node
linkType: hard

"schema-utils@npm:^2.6.5":
version: 2.7.1
resolution: "schema-utils@npm:2.7.1"
dependencies:
"@types/json-schema": ^7.0.5
ajv: ^6.12.4
ajv-keywords: ^3.5.2
checksum: 32c62fc9e28edd101e1bd83453a4216eb9bd875cc4d3775e4452b541908fa8f61a7bbac8ffde57484f01d7096279d3ba0337078e85a918ecbeb72872fb09fb2b
languageName: node
linkType: hard

"semver-diff@npm:^3.1.1":
version: 3.1.1
resolution: "semver-diff@npm:3.1.1"
Expand Down

1 comment on commit cd013c1

@vercel
Copy link

@vercel vercel bot commented on cd013c1 Feb 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.