-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* prepared yarn 4 pipeline * yarn 4 with corepack * renamed jobs and removed push-trigger * removed unused yml files * updated read.me
- Loading branch information
1 parent
fb9537e
commit 8f84ac3
Showing
15 changed files
with
21,010 additions
and
168 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: Compile | ||
|
||
on: [push, pull_request] | ||
on: [pull_request] | ||
|
||
jobs: | ||
snapshot-test: | ||
compile: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
@@ -20,19 +20,17 @@ jobs: | |
run: | | ||
echo "::set-output name=version::$(node -v)" | ||
- name: Get node_modules cache | ||
uses: actions/[email protected] | ||
id: node_modules | ||
with: | ||
path: | | ||
**/node_modules | ||
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}-${{ steps.node.outputs.version }} | ||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Install yarn 4 | ||
run: yarn set version 4.x | ||
|
||
- name: Install modules | ||
run: npm ci | ||
run: yarn | ||
|
||
- name: Generate tokens | ||
run: npm run tokens:generate | ||
run: yarn tokens:generate | ||
|
||
- name: Run Compile | ||
run: npm run compile | ||
run: yarn compile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: eslint | ||
|
||
on: [push, pull_request] | ||
on: [pull_request] | ||
|
||
jobs: | ||
eslint: | ||
|
@@ -20,16 +20,14 @@ jobs: | |
run: | | ||
echo "::set-output name=version::$(node -v)" | ||
- name: Get node_modules cache | ||
uses: actions/[email protected] | ||
id: node_modules | ||
with: | ||
path: | | ||
**/node_modules | ||
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}-${{ steps.node.outputs.version }} | ||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Install yarn 4 | ||
run: yarn set version 4.x | ||
|
||
- name: Install modules | ||
run: npm ci | ||
run: yarn | ||
|
||
- name: Run ESLint | ||
run: npm run lint | ||
run: yarn lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: Test | ||
|
||
on: [push, pull_request] | ||
on: [pull_request] | ||
|
||
jobs: | ||
snapshot-test: | ||
unit-test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
@@ -20,19 +20,17 @@ jobs: | |
run: | | ||
echo "::set-output name=version::$(node -v)" | ||
- name: Get node_modules cache | ||
uses: actions/[email protected] | ||
id: node_modules | ||
with: | ||
path: | | ||
**/node_modules | ||
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}-${{ steps.node.outputs.version }} | ||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Install yarn 4 | ||
run: yarn set version 4.x | ||
|
||
- name: Install modules | ||
run: npm ci | ||
run: yarn | ||
|
||
- name: Generate tokens | ||
run: npm run tokens:generate | ||
run: yarn tokens:generate | ||
|
||
- name: Run Tests | ||
run: npm run test | ||
run: yarn test |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-4.0.2.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
npm i 33.90s user 19.60s system 54% cpu 1:38.07 total | ||
|
||
yarn 12.68s user 16.78s system 35% cpu 1:22.19 total |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,29 +5,28 @@ | |
"main": "", | ||
"types": "", | ||
"scripts": { | ||
"prestart": "npm run tokens:generate", | ||
"start": "npm run start:storybook --workspace=@boiler/ui-library", | ||
"build:storybook": "npm run build:storybook --workspace=@boiler/ui-library", | ||
"react-example:dev": "npm run dev --workspace=@boiler/react-example-app", | ||
"copy:static": "mkdir -p dist/assets && cp -rip static/{fonts,imgs}/* dist/assets/", | ||
"build": "npm run build --workspace=@boiler/ui-library && npm run compile --workspace=@boiler/ui-library", | ||
"build:types": "npm run build:types --workspace=@boiler/ui-library", | ||
"lint": "npm run lint --workspace=@boiler/ui-library", | ||
"format": "npm run format:eslint --workspace=@boiler/ui-library && npm run format:prettier --workspace=@boiler/ui-library", | ||
"test": "npm run test --workspace=@boiler/ui-library", | ||
"test:a11y": "npm run test:a11y --workspace=@boiler/storybook", | ||
"start": "yarn tokens:generate && yarn workspace @boiler/ui-library start:storybook", | ||
"build:storybook": "yarn workspace @boiler/ui-library build:storybook", | ||
"react-example:dev": "yarn workspace @boiler/react-example-app dev", | ||
"build": "yarn workspace @boiler/ui-library build && yarn workspace @boiler/ui-library compile", | ||
"build:types": "yarn workspace @boiler/ui-library build:types", | ||
"lint": "yarn workspace @boiler/ui-library lint", | ||
"format": "yarn workspace @boiler/ui-library format:eslint && yarn workspace @boiler/ui-library format:prettier", | ||
"test": "yarn workspace @boiler/ui-library test", | ||
"test:a11y": "yarn workspace @boiler/storybook test:a11y", | ||
"doc:install": "deven-documentation-skeleton install", | ||
"doc:check": "deven-documentation-skeleton check", | ||
"doc:update": "deven-documentation-skeleton update", | ||
"compile:icons": "npm run compile:icons --workspace=@boiler/icons", | ||
"compile": "npm run compile --workspace=@boiler/ui-library", | ||
"tokens:generate": "npm run tokens:generate --workspace=@boiler/figma-design-tokens", | ||
"compile:icons": "yarn workspace @boiler/icons compile:icons", | ||
"compile": "yarn workspace @boiler/ui-library compile", | ||
"tokens:generate": "yarn workspace @boiler/figma-design-tokens tokens:generate", | ||
"prepare": "husky install" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/deven-org/BO1LER-Kitchen.git" | ||
}, | ||
"private": true, | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
|
@@ -40,14 +39,23 @@ | |
"devDependencies": { | ||
"@babel/core": "^7.23.0", | ||
"@babel/plugin-proposal-decorators": "^7.23.0", | ||
"@babel/preset-env": "^7.23.0", | ||
"@babel/plugin-transform-class-properties": "^7.23.0", | ||
"@babel/preset-env": "^7.23.0", | ||
"@babel/preset-typescript": "^7.23.0", | ||
"@boiler/figma-design-tokens": "0.0.1", | ||
"@boiler/react-example-app": "0.0.1", | ||
"@commitlint/cli": "17.4.2", | ||
"@commitlint/config-conventional": "17.4.2", | ||
"@open-wc/testing": "3.1.7", | ||
"@storybook/addon-a11y": "7.4.6", | ||
"@storybook/addon-actions": "7.4.6", | ||
"@storybook/addon-essentials": "7.4.6", | ||
"@storybook/addons": "7.4.6", | ||
"@storybook/cli": "7.4.6", | ||
"@storybook/manager-api": "7.4.6", | ||
"@storybook/theming": "7.4.6", | ||
"@storybook/web-components": "7.4.6", | ||
"@storybook/web-components-webpack5": "7.4.6", | ||
"@types/query-selector-shadow-dom": "^1.0.1", | ||
"@types/react": "^18.0.27", | ||
"@typescript-eslint/eslint-plugin": "^6.11.0", | ||
|
@@ -84,23 +92,16 @@ | |
"ts-node": "^10.9.1", | ||
"typescript": "^5.3.0", | ||
"webpack": "^5.75.0", | ||
"webpack-cli": "^5.0.1", | ||
"@storybook/addon-a11y": "7.4.6", | ||
"@storybook/addon-actions": "7.4.6", | ||
"@storybook/addon-essentials": "7.4.6", | ||
"@storybook/cli": "7.4.6", | ||
"@storybook/web-components": "7.4.6", | ||
"@storybook/web-components-webpack5": "7.4.6", | ||
"@storybook/manager-api": "7.4.6", | ||
"@storybook/theming": "7.4.6", | ||
"@storybook/addons": "7.4.6" | ||
"webpack-cli": "^5.0.1" | ||
}, | ||
"dependencies": { | ||
"@lit-labs/react": "^1.1.1", | ||
"lit": "^2.6.1", | ||
"nested-css-to-flat": "^1.0.5" | ||
"nested-css-to-flat": "^1.0.5", | ||
"rimraf": "^5.0.5" | ||
}, | ||
"engines": { | ||
"node": "^18" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.