You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Don't mess with things that don't have .spectrum-Heading in them
305
+
return selector;
306
+
},
307
+
}),
308
+
],
309
309
};
310
310
```
311
311
@@ -330,53 +330,14 @@ This project is leveraging caching from [Nx](https://nx.dev/) to speed up the bu
330
330
331
331
To spin up the local development environment ([Storybook](https://storybook.js.org/docs/web-components/get-started/introduction)) without first building the components, use: `SKIP_BUILD=true yarn start` as `yarn start` alone will start from a clean build.
332
332
333
-
### Documentation site
333
+
### Tasks
334
334
335
-
#### Local documentation site
335
+
This project includes several small scripts to help with common tasks.
336
336
337
-
Building the project will build and launch the project documentation site in your browser automatically.
338
-
339
-
See [site generation](site/README.md) for more information.
340
-
341
-
#### Generating and deploying external documentation site
342
-
343
-
Checkout `nextjs` branch, pull, and install dependencies.
344
-
345
-
```shell
346
-
git checkout nextjs
347
-
git pull
348
-
yarn install
349
-
```
350
-
351
-
Update `yml` data from main
352
-
353
-
```shell
354
-
yarn importdata
355
-
```
356
-
357
-
Run `prep` script to build the static site locally
358
-
359
-
```shell
360
-
yarn prep
361
-
```
362
-
363
-
Commit changes
364
-
365
-
```shell
366
-
git commit -am '<message here>'
367
-
```
368
-
369
-
Deploy
370
-
371
-
```shell
372
-
yarn deploy
373
-
```
374
-
375
-
Push changes to `nextjs` branch
376
-
377
-
```shell
378
-
git push origin nextjs
379
-
```
337
+
-`yarn compare`: This compares the current version of components with the previous versions published to NPM and output a list of all the changes that have been made. This is useful for reviewing changes before a release. The information is provided in the command-line output as well as in a simple web page that is opened in your default browser upon completion. The web page includes links to the visual diffs for each component when the file sizes have changed. Components with no changes are not included in the output.
338
+
-`yarn refresh:env`: This copies values for the project's `.env` file (an asset never committed to the repo as it contains login secrets) by using the `.env.example` file as a template. This script is useful when you need to update the `.env` file with new values from the `.env.example` file or when you checkout or clean the repo and need to restore the `.env` file.
339
+
-`yarn refresh:directory`: This will remove any deprecated package folders that are no longer in use. The goal is to make migrating to a new project architecture easier for the most number of users.
340
+
-`yarn lint:components`: Provides helpful updates and warnings for a component's package.json file. This helps keep all components in alignment.
0 commit comments