| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Makes the `exec:` protocol respect `enableScripts` (#7090) ## What's the problem this PR addresses? The `exec:` protocol currently ignores the `enableScripts` settings. ## How did you fix it? Makes a check before evaluating the script. ## Checklist <!--- Don't worry if you miss something, chores are automatically tested. --> <!--- This checklist exists to help you remember doing the chores when you submit a PR. --> <!--- Put an `x` in all the boxes that apply. --> - [x] I have read the [Contributing Guide](https://yarnpkg.com/advanced/contributing). <!-- See https://yarnpkg.com/advanced/contributing#preparing-your-pr-to-be-released for more details. --> <!-- Check with `yarn version check` and fix with `yarn version check -i` --> - [x] I have set the packages that need to be released for my changes to be effective. <!-- The "Testing chores" workflow validates that your PR follows our guidelines. --> <!-- If it doesn't pass, click on it to see details as to what your PR might be missing. --> - [x] I will check that all automated PR checks pass before the PR gets reviewed. | 6 个月前 | |
Makes the `exec:` protocol respect `enableScripts` (#7090) ## What's the problem this PR addresses? The `exec:` protocol currently ignores the `enableScripts` settings. ## How did you fix it? Makes a check before evaluating the script. ## Checklist <!--- Don't worry if you miss something, chores are automatically tested. --> <!--- This checklist exists to help you remember doing the chores when you submit a PR. --> <!--- Put an `x` in all the boxes that apply. --> - [x] I have read the [Contributing Guide](https://yarnpkg.com/advanced/contributing). <!-- See https://yarnpkg.com/advanced/contributing#preparing-your-pr-to-be-released for more details. --> <!-- Check with `yarn version check` and fix with `yarn version check -i` --> - [x] I have set the packages that need to be released for my changes to be effective. <!-- The "Testing chores" workflow validates that your PR follows our guidelines. --> <!-- If it doesn't pass, click on it to see details as to what your PR might be missing. --> - [x] I will check that all automated PR checks pass before the PR gets reviewed. | 6 个月前 | |
Implements an exec plugin (#77) * Update the project settings Commit generated via `yarn stage` * Implements the exec plugin * Various fixes * Updates the bundles * Fixes the test * Fixes tests | 7 年前 | |
feat(node-modules): Uses hardlinks to save space for node_modules installs (#2688) * Fixes external soft links detection in case when they use peer deps * Ignores self-references during compatibility checks * Run compatiblity checks on real locators * Take into account cases when resovleVirtual does not work * Adds `nmHardlinks` config option to utilize hardlinks for duplicatee locations * Adds nmHardlinks integration test * Fixes nmHoistingLimits for portals * Chore: remove unused readFile import * Chorre: run version check * Update cond * Removes extra version file * Add a test to check that hoisting limits do not break portals * Implements hoistability check for the case when multiple portal targets sued from the same parent * Small cleanups * Return back relativeDepCwd * Simplifies handling of nmHardlinks option change across installs * Checks if dependency is actually reachable * fix(node-modules): prefer binaries from calling workspace (#2703) * Prefer bin in calling workspace * Add integration test * Bump versions * Update test * fix(docs): fix typos for the YN0004 error code (#2706) * fix(core): handle escaped slash after scope in LegacyMigrationResolver (#2696) * docs: remove yarnUpgradePath (#2690) * fix(dlx): only set enableGlobalCache to true if it's false in the project (#2677) * fix(core): devirtualize descriptor in tryWorkspaceByDescriptor (#2675) * perf(pnp): optimize `findPackageLocator` (#2673) * perf(pnp): optimize findPackageLocator * chore: versions * Bumps TypeScript (#2676) * Bumps TypeScript * Fixes sdk * Improved http errors (reportExtra) (#2707) * Improves http errors * Improves the http errors * Fixes package.json * Fixes tests * Fixes imports * Removes invalid grammar line * Rename nmHardlinks -> nmMode * Implements getting crc for files inside archives * Reduces node_modules size in hardlinks mode due to linking files having same content * Makes .yarn-state.yml deterministic for the hardlinks mode * Fixes condition to update hash * Removes CAS code for now * Adds basic support for local and global CAS * Uses sha1 for hashing CAS * Uses CAS only in global mode * Fixes strange type errors * Safe CAS files writing * Implements faster repetitive CAS * Speed ups cold CAS by combining checksuming and file reading from archives * Removes cas directory on `yarn cache clean --mirror` * Adds integration test for nmMode: cas * Add workarounds description for YN0071 * Refactors copyFilePromise into separate function * Simplifies directory copying implementation by decoupling entry reading code * Speedups a bit cold and hot CAS * Uses hardlinks for benchmarks * Autorecovers CAS store files with wrong checksums on install * Adds test to check that store is recovered on reinstall * Uses the same chmod optimization both for CAS and non-CAS modes * Fixes bin symlinks chmodding * Merges with latest masterr * Renames hardlinks -> hardlinks-local, cas -> hardlinks-global * getCasDirectory -> getGlobalHardlinksDirectory * globalHardlinksDirectory -> globalHardlinksStore * More intelligent store recovery * Do not check for file existence in atomicFileWrite * Splits files in the storage to mitigate possible negative effects of directories with extra large number of files Co-authored-by: Ali Zeaiter <62549492+alizeait@users.noreply.github.com> Co-authored-by: Ian Kerins <ianskerins@gmail.com> Co-authored-by: Kristoffer K <merceyz@users.noreply.github.com> Co-authored-by: Maël Nison <nison.mael@gmail.com> | 5 年前 | |
Add `export` fields to manifests to prevent deep imports (#4834) * Add `export` fields to manifests to prevent deep imports Also made sure to export some utils that may not have been exported before. * fix test polyfills from failing to resolve * fix two test files that were not importing right. * temp workaround to rollup not supporting the exports right * fix gatsby build * workaround for `pnp-esm.test.ts` failing to import * fix imports in `prunedNativeDeps.test.ts` * fix `test-typescript-patch.js` make the `gatsby-node.js` fix more simple. * removed `./command/*` from exports removed `./sync` and `./async` from `@yarnpkg/libzip` Normalized some Command Class names. * remove `types` condition from `exports` export the command from `@yarnpkg/shell` * remove `types` in root and `publishConfig` Typescript can find the type definition files without these helpers. | 4 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 个月前 | ||
| 6 个月前 | ||
| 7 年前 | ||
| 5 年前 | ||
| 4 年前 |