Skip to content

Commit

Permalink
Switch to modern yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
vierbergenlars committed Oct 15, 2024
1 parent 2d3c45b commit b8aaf40
Show file tree
Hide file tree
Showing 7 changed files with 9,074 additions and 6,695 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
node-version: 18
registry-url: 'https://registry.npmjs.org'
scope: '@contentgrid'
- run: yarn install --frozen-lockfile
- run: |
corepack enable
yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Test
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
coverage/
build/
.yarn/
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
2 changes: 1 addition & 1 deletion config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */

/* Language and Environment */
"target": "ES6", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"target": "ES2019", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
// "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
// "jsx": "preserve", /* Specify what JSX code is generated. */
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
"packageManager": "yarn@4.5.0"
}
3 changes: 1 addition & 2 deletions packages/fetch-hook-authentication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,5 @@
"type": "git",
"url": "git+https://github.com/xenit-eu/contentgrid-ts.git",
"directory": "packages/fetch-hook-authentication"
},
"devDependencies": {}
}
}
15,756 changes: 9,066 additions & 6,690 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit b8aaf40

Please sign in to comment.