Skip to content

Commit

Permalink
chore: update dependencies in todolist example (#884)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joozty authored Nov 7, 2024
1 parent c3c3838 commit fe64d05
Show file tree
Hide file tree
Showing 14 changed files with 13,989 additions and 24,111 deletions.
21 changes: 19 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export default [
},

{
files: ['**/*.{js,mjs,cjs}'],
files: ['**/*.{js,jsx,mjs,cjs}'],
...tseslint.configs.disableTypeChecked,
},

Expand All @@ -222,6 +222,23 @@ export default [
},
},
{
ignores: ['**/dist/', '**/node_modules/', '.git/', '.github/', '.idea', '.vscode/', 'examples/**'],
files: ['examples/todolist/src/**/*.{js,jsx}'],
languageOptions: {
globals: {
process: true,
},
},
},
{
ignores: [
'**/dist/',
'**/node_modules/',
'.git/',
'.github/',
'.idea',
'.vscode/',
'examples/installing-npm',
'examples/next-ssr-example',
],
},
]
26 changes: 0 additions & 26 deletions examples/todolist/.eslintrc.js

This file was deleted.

16 changes: 8 additions & 8 deletions examples/todolist/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Example todo application with a node.js backend

This example todo application consists of react frontend app and express backend app.
This example todo application consists of React frontend app and express backend app.

## Try it yourself!

After downloading this folder:

0. If you don't have one already [make a trial account to try out Splunk Observability Cloud](https://www.splunk.com/en_us/observability/o11y-cloud-free-trial.html)
1. Run `npm install`
2. Copy `.env.example` to `.env`
3. Fill out `REACT_APP_RUM_*` with your ingest URL and RUM token
4. Start backend with `npm run backend`
5. Start frontend with `npm run start`
1. If you don't have one already [make a trial account to try out Splunk Observability Cloud](https://www.splunk.com/en_us/observability/o11y-cloud-free-trial.html)
2. Run `npm install`
3. Copy `.env.example` to `.env`
4. Fill out `REACT_APP_RUM_*` with your ingest URL and RUM token
5. Start backend with `npm run backend`
6. Start frontend with `npm run start`

Frontend instrumentation is done in `src/instrumentation.js` which is loaded as the first thing in `src/index.js`. It also demonstrates a few configuration options you can use.
Frontend instrumentation is done in `public/index.html` which is loaded at document load. It also demonstrates a few configuration options you can use.
Loading

0 comments on commit fe64d05

Please sign in to comment.