Skip to content

Commit ff026ca

Browse files
committed
chore: cleanup
1 parent 51069d5 commit ff026ca

20 files changed

+282
-5540
lines changed

.github/workflows/ci.yml

-13
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,3 @@ jobs:
4646

4747
- name: Build package
4848
run: yarn prepare
49-
50-
build-web:
51-
runs-on: ubuntu-latest
52-
steps:
53-
- name: Checkout
54-
uses: actions/checkout@v3
55-
56-
- name: Setup
57-
uses: ./.github/actions/setup
58-
59-
- name: Build example for Web
60-
run: |
61-
yarn example expo export:web

.gitignore

-46
Original file line numberDiff line numberDiff line change
@@ -2,51 +2,10 @@
22
#
33
.DS_Store
44

5-
# XDE
6-
.expo/
7-
85
# VSCode
96
.vscode/
107
jsconfig.json
118

12-
# Xcode
13-
#
14-
build/
15-
*.pbxuser
16-
!default.pbxuser
17-
*.mode1v3
18-
!default.mode1v3
19-
*.mode2v3
20-
!default.mode2v3
21-
*.perspectivev3
22-
!default.perspectivev3
23-
xcuserdata
24-
*.xccheckout
25-
*.moved-aside
26-
DerivedData
27-
*.hmap
28-
*.ipa
29-
*.xcuserstate
30-
project.xcworkspace
31-
32-
# Android/IJ
33-
#
34-
.classpath
35-
.cxx
36-
.gradle
37-
.idea
38-
.project
39-
.settings
40-
local.properties
41-
android.iml
42-
43-
# Cocoapods
44-
#
45-
example/ios/Pods
46-
47-
# Ruby
48-
example/vendor/
49-
509
# node.js
5110
#
5211
node_modules/
@@ -57,8 +16,6 @@ yarn-error.log
5716
# BUCK
5817
buck-out/
5918
\.buckd/
60-
android/app/libs
61-
android/keystores/debug.keystore
6219

6320
# Yarn
6421
.yarn/*
@@ -68,9 +25,6 @@ android/keystores/debug.keystore
6825
!.yarn/sdks
6926
!.yarn/versions
7027

71-
# Expo
72-
.expo/
73-
7428
# Turborepo
7529
.turbo/
7630

CONTRIBUTING.md

-33
Original file line numberDiff line numberDiff line change
@@ -19,36 +19,6 @@ yarn
1919

2020
> Since the project relies on Yarn workspaces, you cannot use [`npm`](https://github.com/npm/cli) for development.
2121
22-
The [example app](/example/) demonstrates usage of the library. You need to run it to test any changes you make.
23-
24-
It is configured to use the local version of the library, so any changes you make to the library's source code will be reflected in the example app. Changes to the library's JavaScript code will be reflected in the example app without a rebuild, but native code changes will require a rebuild of the example app.
25-
26-
You can use various commands from the root directory to work with the project.
27-
28-
To start the packager:
29-
30-
```sh
31-
yarn example start
32-
```
33-
34-
To run the example app on Android:
35-
36-
```sh
37-
yarn example android
38-
```
39-
40-
To run the example app on iOS:
41-
42-
```sh
43-
yarn example ios
44-
```
45-
46-
To run the example app on Web:
47-
48-
```sh
49-
yarn example web
50-
```
51-
5222
Make sure your code passes TypeScript and ESLint. Run the following to verify:
5323

5424
```sh
@@ -107,9 +77,6 @@ The `package.json` file contains various scripts for common tasks:
10777
- `yarn typecheck`: type-check files with TypeScript.
10878
- `yarn lint`: lint files with ESLint.
10979
- `yarn test`: run unit tests with Jest.
110-
- `yarn example start`: start the Metro server for the example app.
111-
- `yarn example android`: run the example app on Android.
112-
- `yarn example ios`: run the example app on iOS.
11380

11481
### Sending a pull request
11582

README.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# swift-regex
1+
# TS Regex
22

3-
Adapation of Swift Regex for TypeScript
3+
TypeScript adaptation of Swift Regex Builder API.
44

55
## Installation
66

77
```sh
8-
npm install swift-regex
8+
npm install ts-regex
99
```
1010

1111
## Usage
1212

1313
```js
14-
import { multiply } from 'swift-regex';
14+
import { multiply } from 'ts-regex';
1515

1616
// ...
1717

@@ -26,6 +26,10 @@ See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the
2626

2727
MIT
2828

29+
## Reference
30+
31+
[Original API docs](https://developer.apple.com/documentation/regexbuilder)
32+
2933
---
3034

3135
Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)

example/App.js

-1
This file was deleted.

example/app.json

-30
This file was deleted.

example/assets/adaptive-icon.png

-17.1 KB
Binary file not shown.

example/assets/favicon.png

-1.43 KB
Binary file not shown.

example/assets/icon.png

-21.9 KB
Binary file not shown.

example/assets/splash.png

-46.2 KB
Binary file not shown.

example/babel.config.js

-22
This file was deleted.

example/metro.config.js

-43
This file was deleted.

example/package.json

-26
This file was deleted.

example/src/App.tsx

-31
This file was deleted.

example/tsconfig.json

-6
This file was deleted.

example/webpack.config.js

-25
This file was deleted.

0 commit comments

Comments
 (0)