-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* revert fix of find.js for investigation * fix issue with dynamic-cdn-webpack-plugin * fix gha setup-node * fix gha setup-node * set hoist to false and solve dependency issues * more fixes * add missing deps in packages or add in npmrc when no other choice * fix babel-plugin-assets-api tests * chore: pnpm-deduplicate * fix dynamic-cdn-webpackp-plugin test * fix dynamic-cdn-webpack-plugin tests * fix lint * fix lint 2 * try something with script-yarn-workspace * oops * chore: pnpm-deduplicate * just for the fun * temporary fix of find.js --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f305cfb
commit 813cdca
Showing
66 changed files
with
2,308 additions
and
428 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -7,26 +7,26 @@ secrets: | |
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
- name: Set up Node.js | ||
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d #v3.8.1 | ||
with: | ||
node-version: '20' | ||
registry-url: 'https://registry.npmjs.org/' | ||
scope: '@talend' | ||
cache: 'pnpm' | ||
|
||
# - name: Get pnpm cache directory path | ||
# id: pnpm-cache-dir-path | ||
# shell: bash | ||
# run: echo "dir=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
- name: Install PNPM | ||
shell: bash | ||
run: npm install -g [email protected] | ||
|
||
- name: Get pnpm cache directory path | ||
id: pnpm-cache-dir-path | ||
shell: bash | ||
run: echo "dir=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
|
||
# - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2 | ||
# id: pnpm-cache # use this to check for `cache-hit` (`steps.pnpm-cache.outputs.cache-hit != 'true'`) | ||
# with: | ||
# path: ${{ steps.pnpm-cache-dir-path.outputs.dir }} | ||
# key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
# restore-keys: | | ||
# ${{ runner.os }}-pnpm- | ||
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2 | ||
id: pnpm-cache # use this to check for `cache-hit` (`steps.pnpm-cache.outputs.cache-hit != 'true'`) | ||
with: | ||
path: ${{ steps.pnpm-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm- |
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 |
---|---|---|
@@ -1,8 +1,44 @@ | ||
#shamefully-hoist=true | ||
#node-linker=hoisted | ||
#symlink=false | ||
prefer-workspace-packages=true | ||
#link-workspace-packages=false | ||
#link-workspace-packages=deep | ||
#strict-peer-dependencies=true | ||
#public-hoist-pattern[]=*storybook* | ||
|
||
#https://pnpm.io/blog/2020/10/17/node-modules-configuration-options-with-pnpm#plugnplay-the-strictest-configuration | ||
hoist=false | ||
# hoist-pattern[]=autoprefixer | ||
# hoist-pattern[]=redux-mock-store | ||
######################################### | ||
# WARNGING Add public-hoist-pattern ONLY if you don't have other solution | ||
######################################### | ||
|
||
# ES LINT | ||
public-hoist-pattern[]=eslint-plugin-angular | ||
public-hoist-pattern[]=eslint-plugin-cypress | ||
public-hoist-pattern[]=eslint-plugin-import | ||
public-hoist-pattern[]=eslint-plugin-jest-dom | ||
public-hoist-pattern[]=eslint-plugin-jsx-a11y | ||
public-hoist-pattern[]=eslint-plugin-mdx | ||
public-hoist-pattern[]=eslint-plugin-prettier | ||
public-hoist-pattern[]=eslint-plugin-react | ||
public-hoist-pattern[]=eslint-plugin-react-hooks | ||
public-hoist-pattern[]=eslint-plugin-storybook | ||
public-hoist-pattern[]=eslint-plugin-testing-library | ||
|
||
# STYLE LINT | ||
public-hoist-pattern[]=postcss-scss | ||
public-hoist-pattern[]=stylelint-config-sass-guidelines | ||
#public-hoist-pattern[]=*eslint* | ||
|
||
# JEST | ||
public-hoist-pattern[]=jest-environment-jsdom | ||
public-hoist-pattern[]=jest-environment-jsdom-global | ||
public-hoist-pattern[]=jest-serializer-html | ||
|
||
# I18N | ||
public-hoist-pattern[]=i18next | ||
public-hoist-pattern[]=react-i18next | ||
|
||
# OTHERS | ||
public-hoist-pattern[]=autoprefixer | ||
public-hoist-pattern[]=redux* | ||
public-hoist-pattern[]=reakit | ||
|
||
public-hoist-pattern[]=*types* | ||
|
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 +1,3 @@ | ||
nodejs 20.8.0 | ||
nodejs 20.8.1 | ||
# asdf plugin-add pnpm | ||
pnpm 8.9.2 |
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
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
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
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 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"exclude": ["src/**/*.test.*", "src/**/*.stories.*", "stories"] | ||
} |
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
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
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
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
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
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,3 +1,4 @@ | ||
module.exports = { | ||
testEnvironment: 'jest-environment-jsdom', | ||
testRegex: '(/__tests__/.*|src/|scripts/).*\\.test.(js|ts|tsx)$', | ||
}; |
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
Oops, something went wrong.