Skip to content

Commit

Permalink
chore: rename react-native docs dir (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
helenaford authored May 30, 2022
1 parent 85eb763 commit 4103b37
Show file tree
Hide file tree
Showing 53 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*.xcodeproj binary
*.xcworkspace binary
docs/typedoc.json merge=theirs linguist-vendored
docs/typedoc.min.json merge=theirs linguist-vendored
docs-react-native/typedoc.json merge=theirs linguist-vendored
docs-react-native/typedoc.min.json merge=theirs linguist-vendored
2 changes: 1 addition & 1 deletion .github/workflows/docs_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- main
paths:
- 'docs/**'
- 'docs-react-native/**'

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests_e2e_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
workflow_dispatch:
pull_request:
paths-ignore:
- 'docs/**'
- 'docs-react-native/**'
- '**/*.md'
push:
branches:
- main
paths-ignore:
- 'docs/**'
- 'docs-react-native/**'
- '**/*.md'

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests_e2e_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
workflow_dispatch:
pull_request:
paths-ignore:
- 'docs/**'
- 'docs-react-native/**'
- '**/*.md'
push:
branches:
- main
paths-ignore:
- 'docs/**'
- 'docs-react-native/**'
- '**/*.md'

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests_jest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
workflow_dispatch:
pull_request:
paths-ignore:
- 'docs/**'
- 'docs-react-native/**'
- '**/*.md'
push:
branches:
- main
paths-ignore:
- 'docs/**'
- 'docs-react-native/**'
- '**/*.md'

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_junit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
branches:
- main
paths-ignore:
- 'docs/**'
- 'docs-react-native/**'
- '**/*.md'

jobs:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Maintainers with write access to the repo and the npm organization can publish n
### Release Checklist

1. Navigate to the React Native package: `cd packages/react-native`
1. Update release notes [here](https://github.com/invertase/notifee/blob/main/docs/react-native/docs/release-notes.md)
1. Update release notes [here](https://github.com/invertase/notifee/blob/main/docs-react-native/react-native/docs/release-notes.md)
1. Bump version: `npm version {minor/patch}`
1. Tag the repo (current format is `@notifee/[email protected]`)
1. Push the release notes / version / tag to the repo: `git push --tags`
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"lerna:bootstrap": "lerna bootstrap",
"lerna:link": "lerna link && lerna exec -- yarn link",
"lerna:clean": "lerna clean",
"gen:reference": "rimraf docs/typedoc.json docs/typedoc.min.json && node scripts/generate-typedoc.js",
"gen:reference": "rimraf docs-react-native/typedoc.json docs-react-native/typedoc.min.json && node scripts/generate-typedoc.js",
"test:all": "yarn test:core:android && yarn tests_rn:test && yarn tests_rn:android:test && yarn tests_rn:ios:test",
"test:core:android": "cd android && ./gradlew testDebugUnit",
"tests_rn:packager": "cd tests_react_native && npx react-native start",
Expand Down
4 changes: 2 additions & 2 deletions scripts/generate-typedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const { readFileSync, writeFileSync } = require('fs');
const path = require('path');
const { Application, TSConfigReader } = require('typedoc');

const output = path.resolve(process.cwd(), 'docs', 'typedoc.json');
const outputMin = path.resolve(process.cwd(), 'docs', 'typedoc.min.json');
const output = path.resolve(process.cwd(), 'docs-react-native', 'typedoc.json');
const outputMin = path.resolve(process.cwd(), 'docs-react-native', 'typedoc.min.json');

const app = new Application();
app.options.addReader(new TSConfigReader());
Expand Down
2 changes: 1 addition & 1 deletion tests_react_native/metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const config = {
blocklist: exclusionList([
/.*\/__fixtures__\/.*/,
/.*\/template\/project\/node_modules\/react-native\/.*/,
new RegExp(`^${escape(resolve(rootDir, 'docs'))}\\/.*$`),
new RegExp(`^${escape(resolve(rootDir, 'docs-react-native'))}\\/.*$`),
new RegExp(`^${escape(resolve(rootDir, 'tests_react_native/ios'))}\\/.*$`),
new RegExp(`^${escape(resolve(rootDir, 'tests_react_native/e2e'))}\\/.*$`),
new RegExp(`^${escape(resolve(rootDir, 'tests_react_native/android'))}\\/.*$`),
Expand Down

0 comments on commit 4103b37

Please sign in to comment.