Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
check-name: 'Lint/Test'
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- name: Enable Corepack before setting up Node
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20.x
Expand All @@ -41,7 +43,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Install
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile --ignore-scripts
run: yarn install --immutable
- name: Build
run: yarn webpack
env:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
name: 'Lint/Test'
runs-on: ubuntu-latest
steps:
- name: Enable Corepack before setting up Node
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20.x
Expand All @@ -22,7 +24,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Install
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile --ignore-scripts
run: yarn install --immutable
- name: Validate peer dependencies
run: yarn check-peer-dependencies --runOnlyOnRootDependencies
- name: Lint
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ dist
node_modules
my-new-project
lib
.yarn
1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodeLinker: node-modules
npmRegistryServer: https://registry.yarnpkg.com
2 changes: 1 addition & 1 deletion install/src/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const isBin = fileAbsPath => {
execSync('command -v tree > /dev/null && tree . -aIC "node_modules|.yalc" || true', { stdio: [0, 1, 2] });

console.log('\nInstalling dependencies of your new Rak project...\n');
execSync('yarn install', { stdio: [0, 1, 2] });
execSync('yarn install --immutable', { stdio: [0, 1, 2] });

execSync('rm -rf yalc* .yalc');

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"awsUtils": "ts-node aws/utils",
"style": "prettier -l --ignore-path .eslintignore . && eslint . && stylelint 'src/**/*.{js,ts,tsx}'",
"validate": "tsc --noEmit",
"lint": "yarn --silent style && yarn --silent validate",
"lint": "yarn --silent run style && yarn --silent run validate",
"start": "webpack-dev-server",
"test": "jest --coverage && ./install-test.sh",
"prepublish": "webpack -c install/src/webpack.config.ts"
Expand All @@ -106,5 +106,5 @@
"browserslist": [
"> 1% in US"
],
"packageManager": "yarn@1.22.22"
"packageManager": "yarn@4.2.2+sha512.c44e283c54e02de9d1da8687025b030078c1b9648d2895a65aab8e64225bfb7becba87e1809fc0b4b6778bbd47a1e2ab6ac647de4c5e383a53a7c17db6c3ff4b"
}
24,574 changes: 14,626 additions & 9,948 deletions yarn.lock

Large diffs are not rendered by default.