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

refactor: #10935 seperate node scripts from fe #11037

Merged
merged 13 commits into from
Apr 18, 2024

Conversation

bashleigh
Copy link
Contributor

Pull request checklist

Detail as per issue below (required):

fixes: #10935

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Closing this pull request since the title does not match ^(?:(?:[WIP] ?)?(?:build|ci|chore|docs|task|feat|fix|perf|refactor|revert|style|test):(?:\ +?#\d+?\ +?)?.)|(?:[Snyk].) pattern. Please fix the title and re-open the pull request.

@bashleigh bashleigh changed the title Refactor/#10935 seperate node scripts from fe refactor: #10935 seperate node scripts from fe Apr 17, 2024
@bashleigh bashleigh reopened this Apr 17, 2024
@bashleigh bashleigh force-pushed the refactor/#10935-seperate-node-scripts-from-fe branch from 90ea580 to 397f8dc Compare April 17, 2024 14:44

export default defineConfig({
entry: ['src/index.ts'],
target: 'node16',
Copy link
Contributor

Choose a reason for hiding this comment

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

Node 18 right? Think 16 is out of support

As per the browser usage, you will need to instantiate the class with your initializers, in this case connectClientId, connectOAuthUrl (in the same way as the browser module), but with the addition of the connectClientSecret you obtain from your app listing page.

The module will fetch and refresh your session as the token expires, caching it locally to minimise calls to Reapit Connect token endpoint.
This has moved to [@reapit/connect-session-server](https://www.npmjs.com/package/@reapit/connect-session-server)
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't look like you removed the code from the browser package

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
5.4% Duplication on New Code

See analysis details on SonarCloud

@bashleigh bashleigh merged commit c77ab1d into master Apr 18, 2024
13 checks passed
@bashleigh bashleigh deleted the refactor/#10935-seperate-node-scripts-from-fe branch April 18, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Connect Session Server throws error
2 participants