Skip to content

Commit

Permalink
Merge branch 'canary' into charset-first
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryz0nd committed Oct 12, 2021
2 parents 1e7c39e + c78d8fa commit 8d42222
Show file tree
Hide file tree
Showing 1,196 changed files with 145,237 additions and 263,925 deletions.
4 changes: 3 additions & 1 deletion .eslintignore
Expand Up @@ -25,4 +25,6 @@ packages/next-env/**/*.d.ts
packages/create-next-app/templates/**
test/integration/eslint/**
test-timings.json
packages/next/build/swc/tests/fixture/**
packages/next/build/swc/tests/**
bench/nested-deps/pages/**
bench/nested-deps/components/**
2 changes: 2 additions & 0 deletions .gitattributes
@@ -0,0 +1,2 @@
packages/next/bundles/** -text
packages/next/compiled/** -text
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Expand Up @@ -2,5 +2,5 @@
# https://help.github.com/en/articles/about-code-owners

* @timneutkens @ijjk @shuding @styfle @huozhi @padmaia
/docs/ @timneutkens @ijjk @shuding @styfle @huozhi @padmaia @leerob @lfades
/docs/ @timneutkens @ijjk @shuding @styfle @huozhi @padmaia @leerob @lfades @molebox
/examples/ @timneutkens @ijjk @shuding @leerob @lfades
4 changes: 4 additions & 0 deletions .github/actions/next-stats-action/src/index.js
Expand Up @@ -45,6 +45,10 @@ if (!allowedActions.has(actionInfo.actionName) && !actionInfo.isRelease) {
await checkoutRef(actionInfo.prRef, diffRepoDir)
}

if (actionInfo.isRelease) {
process.env.STATS_IS_RELEASE = 'true'
}

// load stats config from allowed locations
const { statsConfig, relativeStatsAppDir } = loadStatsConfig()

Expand Down
6 changes: 5 additions & 1 deletion .github/actions/next-stats-action/src/prepare/repo-setup.js
Expand Up @@ -93,6 +93,10 @@ module.exports = (actionInfo) => {
if (!pkgData.dependencies || !pkgData.dependencies[pkg]) continue
pkgData.dependencies[pkg] = packedPkgPath
}
// make sure native binaries are included in local linking
if (pkg === 'next') {
pkgData.files.push('native')
}
await fs.writeFile(
pkgDataPath,
JSON.stringify(pkgData, null, 2),
Expand All @@ -104,7 +108,7 @@ module.exports = (actionInfo) => {
// to the correct versions
for (const pkgName of pkgDatas.keys()) {
const { pkg, pkgPath } = pkgDatas.get(pkgName)
await exec(`cd ${pkgPath} && yarn pack -f ${pkg}-packed.tgz`)
await exec(`cd ${pkgPath} && yarn pack -f ${pkg}-packed.tgz`, true)
}
return pkgPaths
},
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_native.yml
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-03-25
toolchain: nightly-2021-08-12
target: ${{ matrix.target }}
- name: Cache cargo registry
uses: actions/cache@v1
Expand All @@ -54,7 +54,7 @@ jobs:
uses: actions/cache@v2
with:
path: packages/next/native/**
key: next-swc-nightly-2021-03-25-${{ matrix.target }}-${{ hashFiles('.github/workflows/build_native.yml', 'packages/next/build/swc/**') }}
key: next-swc-nightly-2021-08-12-${{ matrix.target }}-${{ hashFiles('.github/workflows/build_native.yml', 'packages/next/build/swc/**') }}
- name: Cross build aarch64 setup
if: ${{ matrix.target == 'aarch64-apple-darwin' && steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }}
run: |
Expand Down

0 comments on commit 8d42222

Please sign in to comment.