@aurodesignsystem/auro-library 2.1.1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Semantic Release Automated Changelog
2
2
 
3
+ # [2.2.0](https://github.com/AlaskaAirlines/auro-library/compare/v2.1.1...v2.2.0) (2024-01-09)
4
+
5
+
6
+ ### Features
7
+
8
+ * add build scripts from generator [#47](https://github.com/AlaskaAirlines/auro-library/issues/47) ([ac81a7d](https://github.com/AlaskaAirlines/auro-library/commit/ac81a7d3768e97435d7c80436ae241e2ce38e30b))
9
+
3
10
  ## [2.1.1](https://github.com/AlaskaAirlines/auro-library/compare/v2.1.0...v2.1.1) (2023-12-29)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem/auro-library",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "This repository holds shared scripts, utilities, and workflows utilized across repositories along the Auro Design System.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,18 @@
1
+ import autoprefixer from 'autoprefixer';
2
+ import postcss from 'postcss';
3
+ import comments from 'postcss-discard-comments';
4
+ import fs from 'fs';
5
+
6
+ fs.readFile('src/style.css', (err, css) => {
7
+ postcss([autoprefixer, comments])
8
+ .use(comments({
9
+ remove: function(comment) { return comment[0] == "@"; }
10
+ }))
11
+ .process(css, { from: 'src/style.css', to: 'src/style.css' })
12
+ .then(result => {
13
+ fs.writeFile('src/style.css', result.css, () => true)
14
+ if ( result.map ) {
15
+ fs.writeFile('src/style.map', result.map, () => true)
16
+ }
17
+ })
18
+ });
@@ -0,0 +1,28 @@
1
+ 'use strict';
2
+
3
+ import chalk from 'chalk';
4
+ import { createRequire } from 'node:module';
5
+ const require = createRequire(import.meta.url);
6
+ const pjson = require('../package.json');
7
+
8
+ console.log(chalk.hex('#f26135')(`
9
+
10
+ _______ __ __ __
11
+ | __|.---.-.--.--. | |--.-----.| | |.-----.
12
+ |__ || _ | | | | | -__|| | || _ |
13
+ |_______||___._|___ | |__|__|_____||__|__||_____|
14
+ |_____|
15
+ __ _______ __
16
+ | |_.-----. | _ |.--.--.----.-----.| |
17
+ | _| _ | | || | | _| _ ||__|
18
+ |____|_____| |___|___||_____|__| |_____||__|
19
+
20
+
21
+ ╭ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ──────────────────────────────╮
22
+
23
+ Thanks for installing the latest version
24
+ of `) + chalk.hex('#ffd200').bold(`${pjson.name} v${pjson.version}.`) + chalk.hex('#f26135')(`
25
+
26
+ ╰─────────────────────────────── ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╯
27
+ `)
28
+ );
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ import chalk from 'chalk';
4
+ console.log(chalk.hex('#ffd200')(`
5
+
6
+ ╭ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ──────────────────────────────╮`) + chalk.hex('#f26135')(`
7
+
8
+ Are you familiar with Auro's Definition of Done?
9
+
10
+ Please be sure to review`) + chalk.hex('#ffd200')(`
11
+ https://auro.alaskaair.com/definition-of-done`) + chalk.hex('#f26135')(`
12
+ before submitting your pull request
13
+ to ensure that you are compliant.`) + chalk.hex('#ffd200')(`
14
+
15
+ ╰─────────────────────────────── ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╯
16
+ `)
17
+ );