Skip to content

Commit

Permalink
feat(package): Rename package to react-native-spotlight-tour
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This package has been renamed to `react-native-spotlight-tour` to make it usage simpler and clearer. This change also helps with custom build tools and exclusion patterns, making it easier to be part of regular expressions which aim to exclude or transform all react-native related packages (e.g. working with react-native-web).
  • Loading branch information
JoseLion committed Sep 20, 2023
1 parent 6410ca0 commit a9fcc6e
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 55 deletions.
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"packageManager": "[email protected]",
"dependencies": {
"@cometlib/dedent": "^0.8.0-es.10",
"@stackbuilders/react-native-spotlight-tour": "workspace:^",
"react": "18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"react-native": "0.72.4",
"react-native-spotlight-tour": "workspace:^",
"react-native-svg": "^13.13.0",
"react-native-web": "^0.19.8",
"styled-components": "^6.0.8"
Expand Down
6 changes: 3 additions & 3 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import dedent from "@cometlib/dedent";
import React, { ReactElement, useCallback, useMemo, useRef } from "react";
import { Alert, Animated, Button, Dimensions, SafeAreaView, Text } from "react-native";
import {
AttachStep,
SpotlightTourProvider,
Expand All @@ -8,9 +10,7 @@ import {
offset,
shift,
StopParams,
} from "@stackbuilders/react-native-spotlight-tour";
import React, { ReactElement, useCallback, useMemo, useRef } from "react";
import { Alert, Animated, Button, Dimensions, SafeAreaView, Text } from "react-native";
} from "react-native-spotlight-tour";

import {
BoldText,
Expand Down
2 changes: 1 addition & 1 deletion example/src/DocsTooltip.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useSpotlightTour } from "@stackbuilders/react-native-spotlight-tour";
import React, { ReactElement } from "react";
import { Button } from "react-native";
import { useSpotlightTour } from "react-native-spotlight-tour";

import { BoldText, ButtonsGroupView, DescriptionText, SpotDescriptionView } from "./App.styles";

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build": "turbo build",
"check": "turbo check && yarn lint",
"compile": "turbo compile",
"docs": "yarn workspace @stackbuilders/react-native-spotlight-tour docs",
"docs": "yarn workspace react-native-spotlight-tour docs",
"ios": "yarn workspace example ios",
"lint": "eslint .",
"start": "turbo start",
Expand Down
2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@stackbuilders/react-native-spotlight-tour",
"name": "react-native-spotlight-tour",
"version": "0.0.0",
"description": "React Native library to implement a highly customizable app tour feature with an awesome spotlight effect",
"repository": "[email protected]:stackbuilders/react-native-spotlight-tour.git",
Expand Down
96 changes: 48 additions & 48 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3572,53 +3572,6 @@ __metadata:
languageName: node
linkType: hard

"@stackbuilders/react-native-spotlight-tour@workspace:^, @stackbuilders/react-native-spotlight-tour@workspace:package":
version: 0.0.0-use.local
resolution: "@stackbuilders/react-native-spotlight-tour@workspace:package"
dependencies:
"@assertive-ts/core": ^2.0.0
"@babel/core": ^7.22.20
"@babel/preset-env": ^7.22.20
"@floating-ui/react-native": ^0.10.1
"@testing-library/react-native": ^12.3.0
"@types/jest": ^29.5.5
"@types/node": ^20.6.2
"@types/react-test-renderer": ^18.0.2
"@types/sinon": ^10.0.16
babel-jest: ^29.7.0
expect-type: ^0.16.0
jest: ^29.7.0
metro-react-native-babel-preset: ^0.77.0
react: ^18.2.0
react-fast-compare: ^3.2.2
react-is: ^18.2.0
react-native: 0.72.4
react-native-responsive-dimensions: ^3.1.1
react-native-svg: ^13.13.0
react-test-renderer: ^18.2.0
semantic-release: ^22.0.0
sinon: ^16.0.0
styled-components: ^6.0.8
ts-jest: ^29.1.1
ts-node: ^10.9.1
typedoc: ^0.25.1
typedoc-plugin-markdown: ^3.16.0
typedoc-plugin-merge-modules: ^5.1.0
typescript: ^5.2.2
peerDependencies:
react: ">=16.8.0"
react-native: ">=0.50.0"
react-native-svg: ">=12.1.0"
peerDependenciesMeta:
react:
optional: false
react-native:
optional: false
react-native-svg:
optional: false
languageName: unknown
linkType: soft

"@styled/typescript-styled-plugin@npm:^1.0.0":
version: 1.0.0
resolution: "@styled/typescript-styled-plugin@npm:1.0.0"
Expand Down Expand Up @@ -6921,13 +6874,13 @@ __metadata:
"@rnx-kit/cli": ^0.16.14
"@rnx-kit/metro-config": ^1.3.9
"@rnx-kit/metro-resolver-symlinks": ^0.1.32
"@stackbuilders/react-native-spotlight-tour": "workspace:^"
"@types/react": ^18.2.22
metro-react-native-babel-preset: ^0.77.0
react: 18.2.0
react-dom: ^18.2.0
react-is: ^18.2.0
react-native: 0.72.4
react-native-spotlight-tour: "workspace:^"
react-native-svg: ^13.13.0
react-native-web: ^0.19.8
serve: ^14.2.1
Expand Down Expand Up @@ -12373,6 +12326,53 @@ __metadata:
languageName: unknown
linkType: soft

"react-native-spotlight-tour@workspace:^, react-native-spotlight-tour@workspace:package":
version: 0.0.0-use.local
resolution: "react-native-spotlight-tour@workspace:package"
dependencies:
"@assertive-ts/core": ^2.0.0
"@babel/core": ^7.22.20
"@babel/preset-env": ^7.22.20
"@floating-ui/react-native": ^0.10.1
"@testing-library/react-native": ^12.3.0
"@types/jest": ^29.5.5
"@types/node": ^20.6.2
"@types/react-test-renderer": ^18.0.2
"@types/sinon": ^10.0.16
babel-jest: ^29.7.0
expect-type: ^0.16.0
jest: ^29.7.0
metro-react-native-babel-preset: ^0.77.0
react: ^18.2.0
react-fast-compare: ^3.2.2
react-is: ^18.2.0
react-native: 0.72.4
react-native-responsive-dimensions: ^3.1.1
react-native-svg: ^13.13.0
react-test-renderer: ^18.2.0
semantic-release: ^22.0.0
sinon: ^16.0.0
styled-components: ^6.0.8
ts-jest: ^29.1.1
ts-node: ^10.9.1
typedoc: ^0.25.1
typedoc-plugin-markdown: ^3.16.0
typedoc-plugin-merge-modules: ^5.1.0
typescript: ^5.2.2
peerDependencies:
react: ">=16.8.0"
react-native: ">=0.50.0"
react-native-svg: ">=12.1.0"
peerDependenciesMeta:
react:
optional: false
react-native:
optional: false
react-native-svg:
optional: false
languageName: unknown
linkType: soft

"react-native-svg@npm:^13.13.0":
version: 13.13.0
resolution: "react-native-svg@npm:13.13.0"
Expand Down

0 comments on commit a9fcc6e

Please sign in to comment.