Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ While the components in shared-components should be the kind of components you c
One way to do that is to use this package's helper `createRemoteComponent` that loads a development version of the library from a URL. For example:

```js
import { Icon, createRemoteComponent } from '@fogcreek/shared-components'
import { Icon, createRemoteComponent } from '@glitchdotcom/shared-components'

const DevIcon = createRemoteComponent('https://sour-environment.glitch.me/module.js', 'Icon');
```
Expand Down Expand Up @@ -105,7 +105,7 @@ First, you need to have an NPM account and be a contributor to the shared-compon

1. Create an NPM Account at [npmjs.com/signup](https://www.npmjs.com/signup)

1. Ask in #pod-shared-components for someone to add you to the [FogCreek organization](https://docs.npmjs.com/adding-members-to-your-org). You should then automatically be an admin for shared-components
1. Ask in #pod-shared-components for someone to add you to the [GlitchDotCom organization](https://docs.npmjs.com/adding-members-to-your-org). You should then automatically be an admin for shared-components

### Additional Resources
* [Styled Components Docs](https://www.styled-components.com/docs/basics#getting-started)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ This is a library of React components used on Glitch's community site and editor

## Installation
```sh
npm install @fogcreek/shared-components
npm install @glitchdotcom/shared-components
```

This package has a peer dependency on React 16.8+ ("the one with hooks"); it also includes dependencies on prop-types and styled-components.
Expand Down
2 changes: 1 addition & 1 deletion lib/stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const AppContainer = () => {
{code`
import React from 'react'
import ReactDOM from 'react-dom'
import { RootStyle, lightTheme, Button } from '@fogcreek/shared-components'
import { RootStyle, lightTheme, Button } from '@glitchdotcom/shared-components'

ReactDOM.render(
<main>
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/remote-component/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import styled, { ThemeProvider } from 'styled';
import { darkTheme, RootStyle, createRemoteComponent } from '@fogcreek/shared-components';
import { darkTheme, RootStyle, createRemoteComponent } from '@glitchdotcom/shared-components';

const Icon = createRemoteComponent('https://sour-environment.glitch.me/module.js', 'Icon');

Expand Down
2 changes: 1 addition & 1 deletion test/remote-component/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const globals = {
'react-dom': 'ReactDOM',
'styled-components': 'styled',
'prop-types': 'PropTypes',
'@fogcreek/shared-components': 'glitchComponentLibrary',
'@glitchdotcom/shared-components': 'glitchComponentLibrary',
};

const serveTest = (app) => {
Expand Down