Skip to content

Commit

Permalink
perf: use auro-library scripts for build process
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 committed Sep 18, 2024
1 parent 596a604 commit 3a9d00d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 271 deletions.
17 changes: 0 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,5 @@
# Semantic Release Automated Changelog

# [2.2.0-beta.3](https://github.com/AlaskaAirlines/auro-background/compare/v2.2.0-beta.2...v2.2.0-beta.3) (2024-09-17)


### Bug Fixes

* remove beta releases from changelog ([b9c55fa](https://github.com/AlaskaAirlines/auro-background/commit/b9c55faba70a1478dbf466c364fbf0943c47b105))


### Features

* add component name as attribute during custom registration ([9a62d5f](https://github.com/AlaskaAirlines/auro-background/commit/9a62d5f4d683850911be04bc201f95105fd0e2b7))


### Performance Improvements

* refactor custom component registration ([5a2e42f](https://github.com/AlaskaAirlines/auro-background/commit/5a2e42f072221ca64235a1525491e55b03b6c764))

## [2.1.4](https://github.com/AlaskaAirlines/auro-background/compare/v2.1.3...v2.1.4) (2024-05-13)


Expand Down
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-background/testPublish.yml?style=for-the-badge)](https://github.com/AlaskaAirlines/auro-background/actions/workflows/testPublish.yml)
[![See it on NPM!](https://img.shields.io/npm/v/@aurodesignsystem/auro-background?style=for-the-badge&color=orange)](https://www.npmjs.com/package/@aurodesignsystem/auro-background)
[![License](https://img.shields.io/npm/l/@aurodesignsystem/auro-background?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-background
```
Expand Down
2 changes: 1 addition & 1 deletion docTemplates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The following sections are editable by making changes to the following files:

## 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) -->
<!-- AURO-GENERATED-CONTENT:END -->

### Design Token CSS Custom Property dependency
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"build:ci": "npm-run-all sweep build",
"build:api": "wca analyze 'src/auro-background.js' --outFiles docs/api.md",
"build:dev:assets": "npm-run-all build:sass:component postCss:component sass:render build:docs",
"build:docs": "node scripts/generateDocs.mjs",
"build:docs": "node ./node_modules/@aurodesignsystem/auro-library/scripts/build/generateDocs.mjs",
"build:sass": "npm-run-all build:sass:component postCss:component sass:render",
"build:sass:component": "sass --no-source-map src:src",
"build:watch": "nodemon -e scss,js,html --watch src --watch apiExamples/**/* --exec npm run build:dev:assets",
Expand All @@ -153,10 +153,10 @@
"dist:js": "copyfiles -u 1 -V './src/**/*.js' ./dist",
"esLint": "eslint src/auro-*.js",
"linters": "npm-run-all scssLint esLint",
"preCommit": "node scripts/pre-commit.mjs",
"postCss:component": "node scripts/postCss.mjs",
"preCommit": "node ./node_modules/@aurodesignsystem/auro-library/scripts/build/pre-commit.mjs",
"postCss:component": "node ./node_modules/@aurodesignsystem/auro-library/scripts/build/postCss.mjs",
"postinstall": "node packageScripts/postinstall.mjs",
"sass:render": "sass-render src/*.css -t ./scripts/staticStyles-template.js",
"sass:render": "sass-render src/*.css -t ./node_modules/@aurodesignsystem/auro-library/scripts/build/staticStyles-template.js",
"serve": "web-dev-server --open demo/ --node-resolve --watch",
"sweep": "rm -rf ./demo/css ./dist | rm ./src/*.css ./src/*-css.js",
"test": "wtr --coverage",
Expand Down
210 changes: 0 additions & 210 deletions scripts/generateDocs.mjs

This file was deleted.

18 changes: 0 additions & 18 deletions scripts/postCss.mjs

This file was deleted.

17 changes: 0 additions & 17 deletions scripts/pre-commit.mjs

This file was deleted.

2 changes: 0 additions & 2 deletions scripts/staticStyles-template.js

This file was deleted.

0 comments on commit 3a9d00d

Please sign in to comment.