Skip to content

Commit

Permalink
Revert "chore: make sure polyfills are built for pnpm dev (vercel#4…
Browse files Browse the repository at this point in the history
…0335)"

This reverts commit 24f573f.
  • Loading branch information
timneutkens authored and BowlingX committed Oct 5, 2022
1 parent 5bfe04c commit dbe48d3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 21 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -11,7 +11,7 @@
"clean": "pnpm lerna clean -y && pnpm lerna bootstrap && pnpm lerna exec 'rm -rf ./dist'",
"build": "turbo run build",
"lerna": "lerna",
"dev": "turbo run dev --parallel",
"dev": "lerna run dev --stream --parallel",
"test-types": "pnpm tsc",
"test-unit": "pnpm jest test/unit/",
"test-dev": "cross-env NEXT_TEST_MODE=dev pnpm testheadless",
Expand All @@ -23,7 +23,7 @@
"genstats": "cross-env LOCAL_STATS=true node .github/actions/next-stats-action/src/index.js",
"git-reset": "git reset --hard HEAD",
"git-clean": "git clean -d -x -e node_modules -e packages -f",
"lint-typescript": "turbo run typescript",
"lint-typescript": "lerna run typescript",
"lint-eslint": "eslint . --ext js,jsx,ts,tsx --max-warnings=0 --config .eslintrc.json --no-eslintrc",
"lint-no-typescript": "run-p prettier-check lint-eslint",
"lint": "run-p test-types lint-typescript prettier-check lint-eslint lint-language",
Expand Down
1 change: 0 additions & 1 deletion packages/next-polyfill-module/package.json
Expand Up @@ -10,7 +10,6 @@
},
"scripts": {
"build": "microbundle -i src/index.js -o dist/polyfill-module.js -f iife --no-sourcemap --external none --no-pkg-main",
"dev": "pnpm build",
"prepublishOnly": "cd ../../ && turbo run build"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/next-polyfill-nomodule/package.json
Expand Up @@ -10,7 +10,6 @@
},
"scripts": {
"build": "microbundle -i src/index.js -o dist/polyfill-nomodule.js -f iife --no-sourcemap --external none --no-pkg-main",
"dev": "pnpm build",
"prepublishOnly": "cd ../../ && turbo run build"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions packages/next/package.json
Expand Up @@ -120,11 +120,11 @@
"@hapi/accept": "5.0.2",
"@napi-rs/cli": "2.7.0",
"@napi-rs/triples": "1.1.0",
"@next/polyfill-module": "workspace:*",
"@next/polyfill-nomodule": "workspace:*",
"@next/react-dev-overlay": "workspace:*",
"@next/react-refresh-utils": "workspace:*",
"@next/swc": "workspace:*",
"@next/polyfill-module": "12.3.2-canary.15",
"@next/polyfill-nomodule": "12.3.2-canary.15",
"@next/react-dev-overlay": "12.3.2-canary.15",
"@next/react-refresh-utils": "12.3.2-canary.15",
"@next/swc": "12.3.2-canary.15",
"@segment/ajv-human-errors": "2.1.2",
"@taskr/clear": "1.1.0",
"@taskr/esnext": "1.1.0",
Expand Down
11 changes: 6 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions turbo.json
@@ -1,5 +1,4 @@
{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"build-native": {
"dependsOn": ["^build-native"],
Expand All @@ -16,11 +15,6 @@
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"dev": {
"dependsOn": ["^dev"],
"outputs": ["dist/**"]
},
"typescript": {}
}
}
}

0 comments on commit dbe48d3

Please sign in to comment.