Skip to content

Commit ccb47e3

Browse files
committed
Update modules, roadmap, and add in-page jump navigation
1 parent 37169d4 commit ccb47e3

File tree

10 files changed

+198
-59
lines changed

10 files changed

+198
-59
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ By using patterns we can strive toward "making the right thing to do the easiest
4141
Scaffold your own library or project by running the following command.
4242

4343
```shell
44-
npx @nycopportunity/pttrn scaffold && npm install && NODE_ENV=development pttrn && npm start
44+
npx @nycopportunity/pttrn scaffold && npm i && npx pttrn build && npm start
4545
```
4646

4747
This will install the [Patterns Command Line Interface](https://github.com/cityofnewyork/patterns-cli) described below, scaffold a new static library project, and start the development server.

bin/meta.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,20 @@ let LISTS = {
1717
'pinned': [
1818
'patterns-demo',
1919
'patterns-test',
20-
'patterns-plugin-feather',
21-
'patterns-plugin-twig',
2220
'patterns-angular',
2321
'patterns-create-react-app'
2422
],
23+
'plugins': [
24+
'patterns-plugin-properties',
25+
'patterns-plugin-feather',
26+
'patterns-plugin-twig'
27+
],
2528
'modules': [
2629
'pattern-modal',
2730
'pattern-navigation',
2831
'pattern-menu',
29-
'pattern-attribution'
32+
'pattern-attribution',
33+
'pattern-elements'
3034
],
3135
'libraries': [
3236
'working-nyc-patterns',

dist/data/libraries.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"name":"ACCESS-NYC-PATTERNS","full_name":"CityOfNewYork/ACCESS-NYC-PATTERNS","organization":"CityOfNewYork","description":"ACCESS NYC Pattern library and design system documentation for https://access.nyc.gov. Maintained by @NYCOpportunity","url":"https://github.com/CityOfNewYork/ACCESS-NYC-PATTERNS","language":"SCSS","stargazers_count":12,"forks":2},{"name":"mental-health-for-all","full_name":"CityOfNewYork/mental-health-for-all","organization":"CityOfNewYork","description":"Mental Health for All (https://mentalhealthforall.nyc.gov) provides a directory of resources for New Yorkers seeking help for anxiety, trauma, substance misuse, and more. Maintained by @nycopportunity","url":"https://github.com/CityOfNewYork/mental-health-for-all","language":"JavaScript","stargazers_count":0,"forks":2},{"name":"nyco-patterns","full_name":"CityOfNewYork/nyco-patterns","organization":"CityOfNewYork","description":"Common Agency Patterns for The Mayor's Office for Economic Opportunity. Maintained by @NYCOpportunity","url":"https://github.com/CityOfNewYork/nyco-patterns","language":"JavaScript","stargazers_count":7,"forks":1},{"name":"screeningapi-docs","full_name":"CityOfNewYork/screeningapi-docs","organization":"CityOfNewYork","description":"Documentation source for the NYC Benefits Screening API https://screeningapidocs.cityofnewyork.us. Maintained by @NYCOpportunity","url":"https://github.com/CityOfNewYork/screeningapi-docs","language":"Twig","stargazers_count":2,"forks":0},{"name":"working-nyc-patterns","full_name":"CityOfNewYork/working-nyc-patterns","organization":"CityOfNewYork","description":"Working NYC Pattern library and design system documentation for https://working.nyc.gov. Maintained by @NYCOpportunity","url":"https://github.com/CityOfNewYork/working-nyc-patterns","language":"SCSS","stargazers_count":1,"forks":1},{"name":"growingupnyc-patterns","full_name":"NYCOpportunity/growingupnyc-patterns","organization":"NYCOpportunity","description":"Growing Up Pattern library and design system documentation for https://growingupnyc.cityofnewyork.us, the official resource for families in New York City.","url":"https://github.com/NYCOpportunity/growingupnyc-patterns","language":"SCSS","stargazers_count":0,"forks":0},{"name":"generationnyc-patterns","full_name":"NYCOpportunity/generationnyc-patterns","organization":"NYCOpportunity","description":"Patterns Library for Generation NYC","url":"https://github.com/NYCOpportunity/generationnyc-patterns","language":"SCSS","stargazers_count":0,"forks":0}]
1+
[{"name":"ACCESS-NYC-PATTERNS","full_name":"CityOfNewYork/ACCESS-NYC-PATTERNS","organization":"CityOfNewYork","description":"ACCESS NYC Pattern library and design system documentation for https://access.nyc.gov. Maintained by @NYCOpportunity","url":"https://github.com/CityOfNewYork/ACCESS-NYC-PATTERNS","language":"SCSS","stargazers_count":12,"forks":2},{"name":"mental-health-for-all","full_name":"CityOfNewYork/mental-health-for-all","organization":"CityOfNewYork","description":"Mental Health for All (https://mentalhealthforall.nyc.gov) provides a directory of resources for New Yorkers seeking help for anxiety, trauma, substance misuse, and more. Maintained by @nycopportunity","url":"https://github.com/CityOfNewYork/mental-health-for-all","language":"JavaScript","stargazers_count":0,"forks":2},{"name":"nyco-patterns","full_name":"CityOfNewYork/nyco-patterns","organization":"CityOfNewYork","description":"Common Agency Patterns for The Mayor's Office for Economic Opportunity. Maintained by @NYCOpportunity","url":"https://github.com/CityOfNewYork/nyco-patterns","language":"JavaScript","stargazers_count":6,"forks":1},{"name":"screeningapi-docs","full_name":"CityOfNewYork/screeningapi-docs","organization":"CityOfNewYork","description":"Documentation source for the NYC Benefits Screening API https://screeningapidocs.cityofnewyork.us. Maintained by @NYCOpportunity","url":"https://github.com/CityOfNewYork/screeningapi-docs","language":"Twig","stargazers_count":2,"forks":2},{"name":"working-nyc-patterns","full_name":"CityOfNewYork/working-nyc-patterns","organization":"CityOfNewYork","description":"Working NYC Pattern library and design system documentation for https://working.nyc.gov. Maintained by @NYCOpportunity","url":"https://github.com/CityOfNewYork/working-nyc-patterns","language":"SCSS","stargazers_count":1,"forks":1},{"name":"growingupnyc-patterns","full_name":"NYCOpportunity/growingupnyc-patterns","organization":"NYCOpportunity","description":"Growing Up Pattern library and design system documentation for https://growingupnyc.cityofnewyork.us, the official resource for families in New York City.","url":"https://github.com/NYCOpportunity/growingupnyc-patterns","language":"SCSS","stargazers_count":0,"forks":0},{"name":"generationnyc-patterns","full_name":"NYCOpportunity/generationnyc-patterns","organization":"NYCOpportunity","description":"Patterns Library for Generation NYC","url":"https://github.com/NYCOpportunity/generationnyc-patterns","language":"SCSS","stargazers_count":0,"forks":0}]

dist/data/modules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"name":"pattern-attribution","full_name":"NYCOpportunity/pattern-attribution","organization":"NYCOpportunity","description":"A footer pattern for products maintained by the Mayor's Office for Economic Opportunity and its partners.","url":"https://github.com/NYCOpportunity/pattern-attribution","language":"Twig","stargazers_count":0,"forks":0},{"name":"pattern-modal","full_name":"NYCOpportunity/pattern-modal","organization":"NYCOpportunity","description":"An accessible modal dialog pattern.","url":"https://github.com/NYCOpportunity/pattern-modal","language":"CSS","stargazers_count":0,"forks":0},{"name":"pattern-navigation","full_name":"NYCOpportunity/pattern-navigation","organization":"NYCOpportunity","description":"A responsive navigation pattern that contains the main links for navigating different views and button elements for site features (such as translation).","url":"https://github.com/NYCOpportunity/pattern-navigation","language":"CSS","stargazers_count":1,"forks":0},{"name":"pattern-menu","full_name":"NYCOpportunity/pattern-menu","organization":"NYCOpportunity","description":"An accessible sliding menu that contains navigation items that do not fit within the Navigation Pattern in mobile viewports.","url":"https://github.com/NYCOpportunity/pattern-menu","language":"CSS","stargazers_count":0,"forks":0}]
1+
[{"name":"pattern-attribution","full_name":"NYCOpportunity/pattern-attribution","organization":"NYCOpportunity","description":"A footer pattern for products maintained by the Mayor's Office for Economic Opportunity and its partners.","url":"https://github.com/NYCOpportunity/pattern-attribution","language":"Twig","stargazers_count":0,"forks":0},{"name":"pattern-modal","full_name":"NYCOpportunity/pattern-modal","organization":"NYCOpportunity","description":"An accessible modal dialog pattern.","url":"https://github.com/NYCOpportunity/pattern-modal","language":"CSS","stargazers_count":0,"forks":0},{"name":"pattern-navigation","full_name":"NYCOpportunity/pattern-navigation","organization":"NYCOpportunity","description":"A responsive navigation pattern that contains the main links for navigating different views and button elements for site features (such as translation).","url":"https://github.com/NYCOpportunity/pattern-navigation","language":"CSS","stargazers_count":1,"forks":0},{"name":"pattern-menu","full_name":"NYCOpportunity/pattern-menu","organization":"NYCOpportunity","description":"An accessible sliding menu that contains navigation items that do not fit within the Navigation Pattern in mobile viewports.","url":"https://github.com/NYCOpportunity/pattern-menu","language":"CSS","stargazers_count":0,"forks":0},{"name":"pattern-elements","full_name":"NYCOpportunity/pattern-elements","organization":"NYCOpportunity","description":"WIP. Shared elements for the NYC Opportunity UI Patterns Framework.","url":"https://github.com/NYCOpportunity/pattern-elements","language":"SCSS","stargazers_count":0,"forks":0}]

dist/data/pinned.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"name":"patterns-angular","full_name":"CityOfNewYork/patterns-angular","organization":"CityOfNewYork","description":"Sample application using the Angular CLI with the NYCO Patterns library integration. Maintained by @NYCOpportunity","url":"https://github.com/CityOfNewYork/patterns-angular","language":"HTML","stargazers_count":0,"forks":0},{"name":"patterns-create-react-app","full_name":"CityOfNewYork/patterns-create-react-app","organization":"CityOfNewYork","description":"Sample application using React Scripts (Create React App) with the NYCO Common Agency Patterns library integration. Maintained by @nycopportunity","url":"https://github.com/CityOfNewYork/patterns-create-react-app","language":"JavaScript","stargazers_count":2,"forks":0},{"name":"patterns-demo","full_name":"CityOfNewYork/patterns-demo","organization":"CityOfNewYork","description":"This project was created using the Patterns CLI installation guide. Maintained by @nycopportunity","url":"https://github.com/CityOfNewYork/patterns-demo","language":"SCSS","stargazers_count":0,"forks":0},{"name":"patterns-plugin-feather","full_name":"CityOfNewYork/patterns-plugin-feather","organization":"CityOfNewYork","description":"A plugin command script for the Patterns CLI that will compile a feather icon sprite from the source. Maintained by @nycopportunity.","url":"https://github.com/CityOfNewYork/patterns-plugin-feather","language":"JavaScript","stargazers_count":0,"forks":0},{"name":"patterns-plugin-twig","full_name":"CityOfNewYork/patterns-plugin-twig","organization":"CityOfNewYork","description":"A plugin command script for the Patterns CLI that will compile Twig view templates. Replaces the default Slm compiler. Maintained by @nycopportunity.","url":"https://github.com/CityOfNewYork/patterns-plugin-twig","language":"JavaScript","stargazers_count":1,"forks":0},{"name":"patterns-test","full_name":"CityOfNewYork/patterns-test","organization":"CityOfNewYork","description":"Patterns CLI testing repository. Maintained by @NYCOpportunity","url":"https://github.com/CityOfNewYork/patterns-test","language":null,"stargazers_count":0,"forks":0}]
1+
[{"name":"patterns-angular","full_name":"CityOfNewYork/patterns-angular","organization":"CityOfNewYork","description":"Sample application using the Angular CLI with the NYCO Patterns library integration. Maintained by @NYCOpportunity","url":"https://github.com/CityOfNewYork/patterns-angular","language":"HTML","stargazers_count":0,"forks":0},{"name":"patterns-create-react-app","full_name":"CityOfNewYork/patterns-create-react-app","organization":"CityOfNewYork","description":"Sample application using React Scripts (Create React App) with the NYCO Common Agency Patterns library integration. Maintained by @nycopportunity","url":"https://github.com/CityOfNewYork/patterns-create-react-app","language":"JavaScript","stargazers_count":2,"forks":0},{"name":"patterns-demo","full_name":"CityOfNewYork/patterns-demo","organization":"CityOfNewYork","description":"This project was created using the Patterns CLI installation guide. Maintained by @nycopportunity","url":"https://github.com/CityOfNewYork/patterns-demo","language":"SCSS","stargazers_count":0,"forks":0},{"name":"patterns-test","full_name":"CityOfNewYork/patterns-test","organization":"CityOfNewYork","description":"Patterns CLI testing repository. Maintained by @NYCOpportunity","url":"https://github.com/CityOfNewYork/patterns-test","language":null,"stargazers_count":0,"forks":0}]

dist/data/plugins.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"name":"patterns-plugin-feather","full_name":"CityOfNewYork/patterns-plugin-feather","organization":"CityOfNewYork","description":"A plugin command script for the Patterns CLI that will compile a feather icon sprite from the source. Maintained by @nycopportunity.","url":"https://github.com/CityOfNewYork/patterns-plugin-feather","language":"JavaScript","stargazers_count":0,"forks":0},{"name":"patterns-plugin-twig","full_name":"CityOfNewYork/patterns-plugin-twig","organization":"CityOfNewYork","description":"A plugin command script for the Patterns CLI that will compile Twig view templates. Replaces the default Slm compiler. Maintained by @nycopportunity.","url":"https://github.com/CityOfNewYork/patterns-plugin-twig","language":"JavaScript","stargazers_count":1,"forks":0},{"name":"patterns-plugin-properties","full_name":"NYCOpportunity/patterns-plugin-properties","organization":"NYCOpportunity","description":"A plugin command script for the Patterns CLI that will compile a JSON object containing design tokens into CSS Custom Properties using the css-vars-from-json package.","url":"https://github.com/NYCOpportunity/patterns-plugin-properties","language":"JavaScript","stargazers_count":0,"forks":0}]

0 commit comments

Comments
 (0)