Skip to content

Commit

Permalink
perf: update to support ESM development
Browse files Browse the repository at this point in the history
Changes to be committed:
modified:   README.md
modified:   package-lock.json
modified:   package.json
modified:   scripts/generateDocs.mjs
modified:   src/auro-lockup.js
  • Loading branch information
blackfalcon committed Feb 11, 2024
1 parent 065c078 commit 40f0924
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 23 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@ For the most up to date information on [UI development browser support](https://

## Install

<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/componentInstall.md) -->
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/componentInstall_esm.md) -->
[![Build Status](https://img.shields.io/github/actions/workflow/status/AlaskaAirlines/auro-lockup/testPublish.yml?style=for-the-badge)](https://github.com/AlaskaAirlines/auro-lockup/actions/workflows/testPublish.yml)
[![See it on NPM!](https://img.shields.io/npm/v/@aurodesignsystem/auro-lockup?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@aurodesignsystem/auro-lockup)
[![License](https://img.shields.io/npm/l/@aurodesignsystem/auro-lockup?color=blue&style=for-the-badge)](https://www.apache.org/licenses/LICENSE-2.0)

![ESM supported](https://img.shields.io/badge/ESM-compatible-FFE900?style=for-the-badge)

```shell
$ npm i @aurodesignsystem/auro-lockup
```
Expand Down
26 changes: 13 additions & 13 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
},
"peerDependencies": {
"@aurodesignsystem/design-tokens": "^4.3.0",
"@aurodesignsystem/webcorestylesheets": "^5.0.5"
"@aurodesignsystem/webcorestylesheets": "^5.0.8"
},
"devDependencies": {
"@alaskaairux/icons": "^4.34.1",
"@aurodesignsystem/auro-library": "^2.4.7",
"@alaskaairux/icons": "^4.36.2",
"@aurodesignsystem/auro-library": "^2.5.1",
"@aurodesignsystem/design-tokens": "^4.3.0",
"@aurodesignsystem/eslint-config": "^1.3.0",
"@aurodesignsystem/webcorestylesheets": "^5.0.5",
"@aurodesignsystem/webcorestylesheets": "^5.0.8",
"@commitlint/cli": "^18.5.0",
"@commitlint/config-conventional": "^18.5.0",
"@open-wc/testing": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/generateDocs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import https from 'https';

const __dirname = new URL('.', import.meta.url).pathname;

const readmeTemplateUrl = 'https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/README.md';
const readmeTemplateUrl = 'https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/README_esm.md';
const dirDocTemplates = './docTemplates';
const readmeFilePath = dirDocTemplates + '/README.md';

Expand Down
6 changes: 3 additions & 3 deletions src/auro-lockup.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
import { LitElement, html } from "lit";
import { ifDefined } from 'lit/directives/if-defined.js';
import { classMap } from 'lit/directives/class-map.js';
import logoOfficial from '@alaskaairux/icons/dist/restricted/AS-tagline-200_es6.js';
import logoStandard from '@alaskaairux/icons/dist/restricted/AS-200_es6.js';
import logoOneworld from '@alaskaairux/icons/dist/logos/oneworld_es6.js';
import logoOfficial from '@alaskaairux/icons/dist/restricted/AS-tagline-200.mjs';
import logoStandard from '@alaskaairux/icons/dist/restricted/AS-200.mjs';
import logoOneworld from '@alaskaairux/icons/dist/logos/oneworld.mjs';

// If using auroElement base class
// See instructions for importing auroElement base class https://git.io/JULq4
Expand Down

0 comments on commit 40f0924

Please sign in to comment.