Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
Changes to be committed:
modified:   template/package.json
deleted:   template/scripts/generateDocs.js
modified:   template/scripts/postCss.js
renamed:    template/scripts/pre-commit.mjs -> template/scripts/pre-commit.js
  • Loading branch information
blackfalcon committed Jan 9, 2024
1 parent 611f2c6 commit 674c411
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 208 deletions.
7 changes: 4 additions & 3 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"type": "git",
"url": "https://github.com/AlaskaAirlines/[namespace]-[name]"
},
"type": "module",
"main": "index.js",
"license": "Apache-2.0",
"engines": {
Expand All @@ -27,13 +28,13 @@
"@aurodesignsystem/webcorestylesheets": ""
},
"devDependencies": {
"@aurodesignsystem/auro-library": "",
"@aurodesignsystem/design-tokens": "",
"@aurodesignsystem/webcorestylesheets": "",
"@aurodesignsystem/eslint-config": "",
"@commitlint/cli": "",
"@commitlint/config-conventional": "",
"@open-wc/testing": "",
"@open-wc/testing-karma": "",
"@rollup/plugin-node-resolve": "",
"@semantic-release/changelog": "",
"@semantic-release/git": "",
Expand Down Expand Up @@ -133,7 +134,7 @@
"build:ci": "npm-run-all sweep build",
"build:api": "wca analyze 'src/[namespace]-[name].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.js",
"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 @@ -144,7 +145,7 @@
"dist:js": "copyfiles -u 1 -V './src/**/*.js' ./dist",
"esLint": "./node_modules/.bin/eslint src/**/*.js",
"linters": "npm-run-all scssLint esLint",
"preCommit": "node scripts/pre-commit.mjs",
"preCommit": "node scripts/pre-commit.js",
"postCss:component": "node ./scripts/postCss.js",
"postinstall": "node packageScripts/postinstall.mjs",
"sass:render": "sass-render src/*.css -t ./scripts/staticStyles-template.js",
Expand Down
199 changes: 0 additions & 199 deletions template/scripts/generateDocs.js

This file was deleted.

8 changes: 4 additions & 4 deletions template/scripts/postCss.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const autoprefixer = require('autoprefixer');
const postcss = require('postcss');
const comments = require('postcss-discard-comments');
const fs = require('fs');
import autoprefixer from 'autoprefixer';
import postcss from 'postcss';
import comments from 'postcss-discard-comments';
import fs from 'fs';

fs.readFile('src/style.css', (err, css) => {
postcss([autoprefixer, comments])
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'use strict';

import chalk from 'chalk';
import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);
console.log(chalk.hex('#ffd200')(`
╭ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ──────────────────────────────╮`) + chalk.hex('#f26135')(`
Expand Down

0 comments on commit 674c411

Please sign in to comment.