File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
packages/node-renderer/src/integrations Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 44 * @example
55 * ```ts
66 * import Bugsnag from '@bugsnag/js';
7- * import { addNotifier, setupTracing } from '@shakacode-tools/ react-on-rails-pro-node-renderer/integrations/api';
7+ * import { addNotifier, setupTracing } from 'react-on-rails-pro-node-renderer/integrations/api';
88 * Bugsnag.start({ ... });
99 *
1010 * addNotifier((msg) => { Bugsnag.notify(msg); });
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ const Sentry = require('@sentry/node');
55const { env } = process ;
66
77// Use this for package installation test:
8- const { reactOnRailsProNodeRenderer } = require ( '@shakacode-tools/ react-on-rails-pro-node-renderer' ) ;
8+ const { reactOnRailsProNodeRenderer } = require ( 'react-on-rails-pro-node-renderer' ) ;
99
1010Honeybadger . configure ( {
1111 // This is a test account for React on Rails Pro. Substitute your own.
1212 apiKey : 'a602365c' ,
1313 environment : process . env . NODE_ENV ?? 'development' ,
1414} ) ;
15- require ( '@shakacode-tools/ react-on-rails-pro-node-renderer/integrations/honeybadger' ) . init ( ) ;
15+ require ( 'react-on-rails-pro-node-renderer/integrations/honeybadger' ) . init ( ) ;
1616
1717// This is a test account for React on Rails Pro.
1818// Substitute your own DSN.
@@ -25,7 +25,7 @@ Sentry.init({
2525 // Sentry recommends adjusting this value in production, or using tracesSampler for finer control
2626 tracesSampleRate : 1.0 ,
2727} ) ;
28- require ( '@shakacode-tools/ react-on-rails-pro-node-renderer/integrations/sentry' ) . init ( { tracing : true } ) ;
28+ require ( 'react-on-rails-pro-node-renderer/integrations/sentry' ) . init ( { tracing : true } ) ;
2929
3030const config = {
3131 // This is the default but avoids searching for the Rails root
Original file line number Diff line number Diff line change 1717 "@loadable/server" : " ^5.16.2" ,
1818 "@loadable/webpack-plugin" : " ^5.15.2" ,
1919 "@sentry/node" : " ^7.120.0" ,
20- "@shakacode-tools/ react-on-rails-pro-node-renderer" : " link:.yalc/@shakacode-tools /react-on-rails-pro-node-renderer" ,
20+ "react-on-rails-pro-node-renderer" : " link:.yalc/react-on-rails-pro-node-renderer" ,
2121 "@shakacode/use-ssr-computation.macro" : " ^1.2.4" ,
2222 "@shakacode/use-ssr-computation.runtime" : " ^2.0.0" ,
2323 "@webpack-cli/serve" : " ^1.6.0" ,
9898 "test" : " yarn run build:test && yarn run lint && rspec" ,
9999 "lint" : " cd ../.. && nps lint" ,
100100 "e2e-test" : " playwright test" ,
101- "preinstall" : " yarn run link-source && yalc add --link react-on-rails-pro && cd .yalc/react-on-rails-pro && yalc add --link react-on-rails && cd ../.. && yalc add --link @shakacode-tools/ react-on-rails-pro-node-renderer" ,
101+ "preinstall" : " yarn run link-source && yalc add --link react-on-rails-pro && cd .yalc/react-on-rails-pro && yalc add --link react-on-rails && cd ../.. && yalc add --link react-on-rails-pro-node-renderer" ,
102102 "link-source" : " cd ../../.. && yarn && yarn run yalc:publish && cd react_on_rails_pro && yarn && yalc publish" ,
103103 "postinstall" : " test -f post-yarn-install.local && ./post-yarn-install.local || true" ,
104104 "build:test" : " rm -rf public/webpack/test && rm -rf ssr-generated && RAILS_ENV=test NODE_ENV=test bin/shakapacker" ,
You can’t perform that action at this time.
0 commit comments