Skip to content

Commit

Permalink
update dependencies, cleanup, refine (shoelace-style#642)
Browse files Browse the repository at this point in the history
* update dependencies, cleanup, refine

fixes shoelace-style#637

* update CI command to verify
  • Loading branch information
CreativeTechGuy authored Jan 6, 2022
1 parent 46f0522 commit ca346cc
Show file tree
Hide file tree
Showing 18 changed files with 5,282 additions and 6,884 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ name: Node.js CI

on:
push:
branches: [ next ]
branches: [next]
pull_request:
branches: [ next ]
branches: [next]

jobs:
build:

runs-on: ubuntu-latest

strategy:
Expand All @@ -20,13 +19,12 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npx playwright install-deps
- run: npm ci
- run: npm run build --if-present
- run: npm test
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npx playwright install-deps
- run: npm ci
- run: npm run verify
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
.github
dist
docs/*.md
docs/search.json
src/components/icon/icons
src/react/index.ts
node_modules
package-lock.json
tsconfig.json
2 changes: 1 addition & 1 deletion custom-elements-manifest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'fs';
import { parse } from 'comment-parser';
import pascalCase from 'pascal-case';
import { pascalCase } from 'pascal-case';

const packageData = JSON.parse(fs.readFileSync('./package.json', 'utf8'));
const { name, description, version, author, homepage, license } = packageData;
Expand Down
1 change: 1 addition & 0 deletions docs/resources/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
- Refactored `<sl-breadcrumb-item>`, `<sl-button>`, `<sl-card>`, `<sl-dialog>`, `<sl-drawer>`, `<sl-input>`, `<sl-range>`, `<sl-select>`, and `<sl-textarea>` to use a Reactive Controller for slot detection
- Refactored internal id usage in `<sl-details>`, `<sl-dialog>`, `<sl-drawer>`, and `<sl-dropdown>`
- Removed `position: relative` from the common component stylesheet
- Updated all dependencies to latest versions

## 2.0.0-beta.63

Expand Down
4 changes: 4 additions & 0 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export default {
'*.{js,ts,jsx,tsx,json,html,xml,css,scss,sass,md}': 'cspell --no-must-find-files',
'*': 'prettier --write --ignore-unknown'
};
Loading

0 comments on commit ca346cc

Please sign in to comment.