Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
4adf4b33
Commit
4adf4b33
authored
Mar 29, 2020
by
Guy Bedford
Committed by
Joe Haddad
Mar 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lodash.curry
parent
0f80e127
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
4 deletions
+16
-4
base.ts
packages/next/build/webpack/config/blocks/base.ts
+1
-1
index.ts
packages/next/build/webpack/config/blocks/css/index.ts
+1
-1
helpers.ts
packages/next/build/webpack/config/helpers.ts
+1
-1
package.json
packages/next/package.json
+1
-1
taskfile.js
packages/next/taskfile.js
+8
-0
misc.d.ts
packages/next/types/misc.d.ts
+4
-0
No files found.
packages/next/build/webpack/config/blocks/base.ts
View file @
4adf4b33
import
curry
from
'lodash.curry'
import
curry
from
'
next/dist/compiled/
lodash.curry'
import
{
Configuration
}
from
'webpack'
import
{
Configuration
}
from
'webpack'
import
{
ConfigurationContext
}
from
'../utils'
import
{
ConfigurationContext
}
from
'../utils'
...
...
packages/next/build/webpack/config/blocks/css/index.ts
View file @
4adf4b33
import
curry
from
'lodash.curry'
import
curry
from
'
next/dist/compiled/
lodash.curry'
import
path
from
'path'
import
path
from
'path'
import
webpack
,
{
Configuration
}
from
'webpack'
import
webpack
,
{
Configuration
}
from
'webpack'
import
MiniCssExtractPlugin
from
'../../../plugins/mini-css-extract-plugin'
import
MiniCssExtractPlugin
from
'../../../plugins/mini-css-extract-plugin'
...
...
packages/next/build/webpack/config/helpers.ts
View file @
4adf4b33
import
curry
from
'lodash.curry'
import
curry
from
'
next/dist/compiled/
lodash.curry'
import
{
Configuration
,
Plugin
,
RuleSetRule
}
from
'webpack'
import
{
Configuration
,
Plugin
,
RuleSetRule
}
from
'webpack'
export
const
loader
=
curry
(
function
loader
(
export
const
loader
=
curry
(
function
loader
(
...
...
packages/next/package.json
View file @
4adf4b33
...
@@ -72,7 +72,6 @@
...
@@ -72,7 +72,6 @@
"ignore-loader"
:
"0.1.2"
,
"ignore-loader"
:
"0.1.2"
,
"jest-worker"
:
"24.9.0"
,
"jest-worker"
:
"24.9.0"
,
"loader-utils"
:
"2.0.0"
,
"loader-utils"
:
"2.0.0"
,
"lodash.curry"
:
"4.1.1"
,
"lru-cache"
:
"5.1.1"
,
"lru-cache"
:
"5.1.1"
,
"mini-css-extract-plugin"
:
"0.8.0"
,
"mini-css-extract-plugin"
:
"0.8.0"
,
"native-url"
:
"0.2.6"
,
"native-url"
:
"0.2.6"
,
...
@@ -193,6 +192,7 @@
...
@@ -193,6 +192,7 @@
"json5"
:
"2.1.2"
,
"json5"
:
"2.1.2"
,
"jsonwebtoken"
:
"8.5.1"
,
"jsonwebtoken"
:
"8.5.1"
,
"launch-editor"
:
"2.2.1"
,
"launch-editor"
:
"2.2.1"
,
"lodash.curry"
:
"4.1.1"
,
"nanoid"
:
"2.0.3"
,
"nanoid"
:
"2.0.3"
,
"resolve"
:
"1.11.0"
,
"resolve"
:
"1.11.0"
,
"taskr"
:
"1.1.0"
,
"taskr"
:
"1.1.0"
,
...
...
packages/next/taskfile.js
View file @
4adf4b33
...
@@ -387,6 +387,13 @@ export async function ncc_launch_editor(task, opts) {
...
@@ -387,6 +387,13 @@ export async function ncc_launch_editor(task, opts) {
.
target
(
'dist/compiled/launch-editor'
)
.
target
(
'dist/compiled/launch-editor'
)
}
}
// eslint-disable-next-line camelcase
// eslint-disable-next-line camelcase
export
async
function
ncc_lodash_curry
(
task
,
opts
)
{
await
task
.
source
(
opts
.
src
||
relative
(
__dirname
,
require
.
resolve
(
'lodash.curry'
)))
.
ncc
({
packageName
:
'lodash.curry'
})
.
target
(
'dist/compiled/lodash.curry'
)
}
// eslint-disable-next-line camelcase
export
async
function
ncc_nanoid
(
task
,
opts
)
{
export
async
function
ncc_nanoid
(
task
,
opts
)
{
await
task
await
task
.
source
(
opts
.
src
||
relative
(
__dirname
,
require
.
resolve
(
'nanoid'
)))
.
source
(
opts
.
src
||
relative
(
__dirname
,
require
.
resolve
(
'nanoid'
)))
...
@@ -460,6 +467,7 @@ export async function precompile(task) {
...
@@ -460,6 +467,7 @@ export async function precompile(task) {
'ncc_json5'
,
'ncc_json5'
,
'ncc_jsonwebtoken'
,
'ncc_jsonwebtoken'
,
'ncc_launch_editor'
,
'ncc_launch_editor'
,
'ncc_lodash_curry'
,
'ncc_nanoid'
,
'ncc_nanoid'
,
'ncc_resolve'
,
'ncc_resolve'
,
'ncc_text_table'
,
'ncc_text_table'
,
...
...
packages/next/types/misc.d.ts
View file @
4adf4b33
...
@@ -128,6 +128,10 @@ declare module 'next/dist/compiled/launch-editor' {
...
@@ -128,6 +128,10 @@ declare module 'next/dist/compiled/launch-editor' {
import
m
from
'launch-editor'
import
m
from
'launch-editor'
export
=
m
export
=
m
}
}
declare
module
'next/dist/compiled/lodash.curry'
{
import
m
from
'lodash.curry'
export
=
m
}
declare
module
'next/dist/compiled/nanoid/index.js'
{
declare
module
'next/dist/compiled/nanoid/index.js'
{
function
nanoid
(
size
?:
number
):
string
function
nanoid
(
size
?:
number
):
string
export
=
nanoid
export
=
nanoid
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment