Skip to content

Commit

Permalink
vx: improve package.json generation
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Nov 24, 2021
1 parent 0370fc1 commit 9f9b970
Show file tree
Hide file tree
Showing 7 changed files with 313 additions and 243 deletions.
30 changes: 15 additions & 15 deletions packages/anyone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"browser": "./dist/es/all.production.js",
"umd": "./dist/umd/all.production.js",
"import": "./dist/es/all.production.js",
"require": "./dist/cjs/all.js",
"node": "./dist/cjs/all.js",
"require": "./dist/cjs/all.production.js",
"node": "./dist/cjs/all.production.js",
"module": "./dist/es/all.production.js",
"default": "./dist/cjs/all.js"
"default": "./dist/cjs/all.production.js"
},
"./any": {
"production": {
Expand All @@ -67,10 +67,10 @@
"browser": "./dist/es/any.production.js",
"umd": "./dist/umd/any.production.js",
"import": "./dist/es/any.production.js",
"require": "./dist/cjs/any.js",
"node": "./dist/cjs/any.js",
"require": "./dist/cjs/any.production.js",
"node": "./dist/cjs/any.production.js",
"module": "./dist/es/any.production.js",
"default": "./dist/cjs/any.js"
"default": "./dist/cjs/any.production.js"
},
"./none": {
"production": {
Expand All @@ -97,10 +97,10 @@
"browser": "./dist/es/none.production.js",
"umd": "./dist/umd/none.production.js",
"import": "./dist/es/none.production.js",
"require": "./dist/cjs/none.js",
"node": "./dist/cjs/none.js",
"require": "./dist/cjs/none.production.js",
"node": "./dist/cjs/none.production.js",
"module": "./dist/es/none.production.js",
"default": "./dist/cjs/none.js"
"default": "./dist/cjs/none.production.js"
},
"./one": {
"production": {
Expand All @@ -127,10 +127,10 @@
"browser": "./dist/es/one.production.js",
"umd": "./dist/umd/one.production.js",
"import": "./dist/es/one.production.js",
"require": "./dist/cjs/one.js",
"node": "./dist/cjs/one.js",
"require": "./dist/cjs/one.production.js",
"node": "./dist/cjs/one.production.js",
"module": "./dist/es/one.production.js",
"default": "./dist/cjs/one.js"
"default": "./dist/cjs/one.production.js"
},
".": {
"development": {
Expand All @@ -147,10 +147,10 @@
"browser": "./dist/es/anyone.production.js",
"umd": "./dist/umd/anyone.production.js",
"import": "./dist/es/anyone.production.js",
"require": "./dist/cjs/anyone.js",
"node": "./dist/cjs/anyone.js",
"require": "./dist/cjs/anyone.production.js",
"node": "./dist/cjs/anyone.production.js",
"module": "./dist/es/anyone.production.js",
"default": "./dist/cjs/anyone.js"
"default": "./dist/cjs/anyone.production.js"
},
"./package.json": "./package.json",
"./": "./"
Expand Down
6 changes: 3 additions & 3 deletions packages/context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
"browser": "./dist/es/context.production.js",
"umd": "./dist/umd/context.production.js",
"import": "./dist/es/context.production.js",
"require": "./dist/cjs/context.js",
"node": "./dist/cjs/context.js",
"require": "./dist/cjs/context.production.js",
"node": "./dist/cjs/context.production.js",
"module": "./dist/es/context.production.js",
"default": "./dist/cjs/context.js"
"default": "./dist/cjs/context.production.js"
},
"./package.json": "./package.json",
"./": "./"
Expand Down
24 changes: 12 additions & 12 deletions packages/n4s/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
"browser": "./dist/es/compose.production.js",
"umd": "./dist/umd/compose.production.js",
"import": "./dist/es/compose.production.js",
"require": "./dist/cjs/compose.js",
"node": "./dist/cjs/compose.js",
"require": "./dist/cjs/compose.production.js",
"node": "./dist/cjs/compose.production.js",
"module": "./dist/es/compose.production.js",
"default": "./dist/cjs/compose.js"
"default": "./dist/cjs/compose.production.js"
},
"./compounds": {
"production": {
Expand All @@ -69,10 +69,10 @@
"browser": "./dist/es/compounds.production.js",
"umd": "./dist/umd/compounds.production.js",
"import": "./dist/es/compounds.production.js",
"require": "./dist/cjs/compounds.js",
"node": "./dist/cjs/compounds.js",
"require": "./dist/cjs/compounds.production.js",
"node": "./dist/cjs/compounds.production.js",
"module": "./dist/es/compounds.production.js",
"default": "./dist/cjs/compounds.js"
"default": "./dist/cjs/compounds.production.js"
},
"./schema": {
"production": {
Expand All @@ -99,10 +99,10 @@
"browser": "./dist/es/schema.production.js",
"umd": "./dist/umd/schema.production.js",
"import": "./dist/es/schema.production.js",
"require": "./dist/cjs/schema.js",
"node": "./dist/cjs/schema.js",
"require": "./dist/cjs/schema.production.js",
"node": "./dist/cjs/schema.production.js",
"module": "./dist/es/schema.production.js",
"default": "./dist/cjs/schema.js"
"default": "./dist/cjs/schema.production.js"
},
".": {
"development": {
Expand All @@ -119,10 +119,10 @@
"browser": "./dist/es/n4s.production.js",
"umd": "./dist/umd/n4s.production.js",
"import": "./dist/es/n4s.production.js",
"require": "./dist/cjs/n4s.js",
"node": "./dist/cjs/n4s.js",
"require": "./dist/cjs/n4s.production.js",
"node": "./dist/cjs/n4s.production.js",
"module": "./dist/es/n4s.production.js",
"default": "./dist/cjs/n4s.js"
"default": "./dist/cjs/n4s.production.js"
},
"./package.json": "./package.json",
"./": "./"
Expand Down
6 changes: 3 additions & 3 deletions packages/vast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"browser": "./dist/es/vast.production.js",
"umd": "./dist/umd/vast.production.js",
"import": "./dist/es/vast.production.js",
"require": "./dist/cjs/vast.js",
"node": "./dist/cjs/vast.js",
"require": "./dist/cjs/vast.production.js",
"node": "./dist/cjs/vast.production.js",
"module": "./dist/es/vast.production.js",
"default": "./dist/cjs/vast.js"
"default": "./dist/cjs/vast.production.js"
},
"./package.json": "./package.json",
"./": "./"
Expand Down
174 changes: 87 additions & 87 deletions packages/vest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,100 +50,100 @@
"browser": "./dist/es/classnames.production.js",
"umd": "./dist/umd/classnames.production.js",
"import": "./dist/es/classnames.production.js",
"require": "./dist/cjs/classnames.js",
"node": "./dist/cjs/classnames.js",
"require": "./dist/cjs/classnames.production.js",
"node": "./dist/cjs/classnames.production.js",
"module": "./dist/es/classnames.production.js",
"default": "./dist/cjs/classnames.js"
"default": "./dist/cjs/classnames.production.js"
},
"./compose": {
"./enforce/compose": {
"production": {
"types": "./../types/enforce/compose.d.ts",
"browser": "./../dist/es/enforce/compose.production.js",
"umd": "./../dist/umd/enforce/compose.production.js",
"import": "./../dist/es/enforce/compose.production.js",
"require": "./../dist/cjs/enforce/compose.production.js",
"node": "./../dist/cjs/enforce/compose.production.js",
"module": "./../dist/es/enforce/compose.production.js",
"default": "./../dist/cjs/enforce/compose.production.js"
"types": "./types/enforce/compose.d.ts",
"browser": "./dist/es/enforce/compose.production.js",
"umd": "./dist/umd/enforce/compose.production.js",
"import": "./dist/es/enforce/compose.production.js",
"require": "./dist/cjs/enforce/compose.production.js",
"node": "./dist/cjs/enforce/compose.production.js",
"module": "./dist/es/enforce/compose.production.js",
"default": "./dist/cjs/enforce/compose.production.js"
},
"development": {
"types": "./../types/enforce/compose.d.ts",
"browser": "./../dist/es/enforce/compose.development.js",
"umd": "./../dist/umd/enforce/compose.development.js",
"import": "./../dist/es/enforce/compose.development.js",
"require": "./../dist/cjs/enforce/compose.development.js",
"node": "./../dist/cjs/enforce/compose.development.js",
"module": "./../dist/es/enforce/compose.development.js",
"default": "./../dist/cjs/enforce/compose.development.js"
"types": "./types/enforce/compose.d.ts",
"browser": "./dist/es/enforce/compose.development.js",
"umd": "./dist/umd/enforce/compose.development.js",
"import": "./dist/es/enforce/compose.development.js",
"require": "./dist/cjs/enforce/compose.development.js",
"node": "./dist/cjs/enforce/compose.development.js",
"module": "./dist/es/enforce/compose.development.js",
"default": "./dist/cjs/enforce/compose.development.js"
},
"types": "./../types/enforce/compose.d.ts",
"browser": "./../dist/es/enforce/compose.production.js",
"umd": "./../dist/umd/enforce/compose.production.js",
"import": "./../dist/es/enforce/compose.production.js",
"require": "./../dist/cjs/enforce/compose.js",
"node": "./../dist/cjs/enforce/compose.js",
"module": "./../dist/es/enforce/compose.production.js",
"default": "./../dist/cjs/enforce/compose.js"
"types": "./types/enforce/compose.d.ts",
"browser": "./dist/es/enforce/compose.production.js",
"umd": "./dist/umd/enforce/compose.production.js",
"import": "./dist/es/enforce/compose.production.js",
"require": "./dist/cjs/enforce/compose.production.js",
"node": "./dist/cjs/enforce/compose.production.js",
"module": "./dist/es/enforce/compose.production.js",
"default": "./dist/cjs/enforce/compose.production.js"
},
"./compounds": {
"./enforce/compounds": {
"production": {
"types": "./../types/enforce/compounds.d.ts",
"browser": "./../dist/es/enforce/compounds.production.js",
"umd": "./../dist/umd/enforce/compounds.production.js",
"import": "./../dist/es/enforce/compounds.production.js",
"require": "./../dist/cjs/enforce/compounds.production.js",
"node": "./../dist/cjs/enforce/compounds.production.js",
"module": "./../dist/es/enforce/compounds.production.js",
"default": "./../dist/cjs/enforce/compounds.production.js"
"types": "./types/enforce/compounds.d.ts",
"browser": "./dist/es/enforce/compounds.production.js",
"umd": "./dist/umd/enforce/compounds.production.js",
"import": "./dist/es/enforce/compounds.production.js",
"require": "./dist/cjs/enforce/compounds.production.js",
"node": "./dist/cjs/enforce/compounds.production.js",
"module": "./dist/es/enforce/compounds.production.js",
"default": "./dist/cjs/enforce/compounds.production.js"
},
"development": {
"types": "./../types/enforce/compounds.d.ts",
"browser": "./../dist/es/enforce/compounds.development.js",
"umd": "./../dist/umd/enforce/compounds.development.js",
"import": "./../dist/es/enforce/compounds.development.js",
"require": "./../dist/cjs/enforce/compounds.development.js",
"node": "./../dist/cjs/enforce/compounds.development.js",
"module": "./../dist/es/enforce/compounds.development.js",
"default": "./../dist/cjs/enforce/compounds.development.js"
"types": "./types/enforce/compounds.d.ts",
"browser": "./dist/es/enforce/compounds.development.js",
"umd": "./dist/umd/enforce/compounds.development.js",
"import": "./dist/es/enforce/compounds.development.js",
"require": "./dist/cjs/enforce/compounds.development.js",
"node": "./dist/cjs/enforce/compounds.development.js",
"module": "./dist/es/enforce/compounds.development.js",
"default": "./dist/cjs/enforce/compounds.development.js"
},
"types": "./../types/enforce/compounds.d.ts",
"browser": "./../dist/es/enforce/compounds.production.js",
"umd": "./../dist/umd/enforce/compounds.production.js",
"import": "./../dist/es/enforce/compounds.production.js",
"require": "./../dist/cjs/enforce/compounds.js",
"node": "./../dist/cjs/enforce/compounds.js",
"module": "./../dist/es/enforce/compounds.production.js",
"default": "./../dist/cjs/enforce/compounds.js"
"types": "./types/enforce/compounds.d.ts",
"browser": "./dist/es/enforce/compounds.production.js",
"umd": "./dist/umd/enforce/compounds.production.js",
"import": "./dist/es/enforce/compounds.production.js",
"require": "./dist/cjs/enforce/compounds.production.js",
"node": "./dist/cjs/enforce/compounds.production.js",
"module": "./dist/es/enforce/compounds.production.js",
"default": "./dist/cjs/enforce/compounds.production.js"
},
"./schema": {
"./enforce/schema": {
"production": {
"types": "./../types/enforce/schema.d.ts",
"browser": "./../dist/es/enforce/schema.production.js",
"umd": "./../dist/umd/enforce/schema.production.js",
"import": "./../dist/es/enforce/schema.production.js",
"require": "./../dist/cjs/enforce/schema.production.js",
"node": "./../dist/cjs/enforce/schema.production.js",
"module": "./../dist/es/enforce/schema.production.js",
"default": "./../dist/cjs/enforce/schema.production.js"
"types": "./types/enforce/schema.d.ts",
"browser": "./dist/es/enforce/schema.production.js",
"umd": "./dist/umd/enforce/schema.production.js",
"import": "./dist/es/enforce/schema.production.js",
"require": "./dist/cjs/enforce/schema.production.js",
"node": "./dist/cjs/enforce/schema.production.js",
"module": "./dist/es/enforce/schema.production.js",
"default": "./dist/cjs/enforce/schema.production.js"
},
"development": {
"types": "./../types/enforce/schema.d.ts",
"browser": "./../dist/es/enforce/schema.development.js",
"umd": "./../dist/umd/enforce/schema.development.js",
"import": "./../dist/es/enforce/schema.development.js",
"require": "./../dist/cjs/enforce/schema.development.js",
"node": "./../dist/cjs/enforce/schema.development.js",
"module": "./../dist/es/enforce/schema.development.js",
"default": "./../dist/cjs/enforce/schema.development.js"
"types": "./types/enforce/schema.d.ts",
"browser": "./dist/es/enforce/schema.development.js",
"umd": "./dist/umd/enforce/schema.development.js",
"import": "./dist/es/enforce/schema.development.js",
"require": "./dist/cjs/enforce/schema.development.js",
"node": "./dist/cjs/enforce/schema.development.js",
"module": "./dist/es/enforce/schema.development.js",
"default": "./dist/cjs/enforce/schema.development.js"
},
"types": "./../types/enforce/schema.d.ts",
"browser": "./../dist/es/enforce/schema.production.js",
"umd": "./../dist/umd/enforce/schema.production.js",
"import": "./../dist/es/enforce/schema.production.js",
"require": "./../dist/cjs/enforce/schema.js",
"node": "./../dist/cjs/enforce/schema.js",
"module": "./../dist/es/enforce/schema.production.js",
"default": "./../dist/cjs/enforce/schema.js"
"types": "./types/enforce/schema.d.ts",
"browser": "./dist/es/enforce/schema.production.js",
"umd": "./dist/umd/enforce/schema.production.js",
"import": "./dist/es/enforce/schema.production.js",
"require": "./dist/cjs/enforce/schema.production.js",
"node": "./dist/cjs/enforce/schema.production.js",
"module": "./dist/es/enforce/schema.production.js",
"default": "./dist/cjs/enforce/schema.production.js"
},
"./parser": {
"production": {
Expand All @@ -170,10 +170,10 @@
"browser": "./dist/es/parser.production.js",
"umd": "./dist/umd/parser.production.js",
"import": "./dist/es/parser.production.js",
"require": "./dist/cjs/parser.js",
"node": "./dist/cjs/parser.js",
"require": "./dist/cjs/parser.production.js",
"node": "./dist/cjs/parser.production.js",
"module": "./dist/es/parser.production.js",
"default": "./dist/cjs/parser.js"
"default": "./dist/cjs/parser.production.js"
},
"./promisify": {
"production": {
Expand All @@ -200,10 +200,10 @@
"browser": "./dist/es/promisify.production.js",
"umd": "./dist/umd/promisify.production.js",
"import": "./dist/es/promisify.production.js",
"require": "./dist/cjs/promisify.js",
"node": "./dist/cjs/promisify.js",
"require": "./dist/cjs/promisify.production.js",
"node": "./dist/cjs/promisify.production.js",
"module": "./dist/es/promisify.production.js",
"default": "./dist/cjs/promisify.js"
"default": "./dist/cjs/promisify.production.js"
},
".": {
"development": {
Expand All @@ -220,10 +220,10 @@
"browser": "./dist/es/vest.production.js",
"umd": "./dist/umd/vest.production.js",
"import": "./dist/es/vest.production.js",
"require": "./dist/cjs/vest.js",
"node": "./dist/cjs/vest.js",
"require": "./dist/cjs/vest.production.js",
"node": "./dist/cjs/vest.production.js",
"module": "./dist/es/vest.production.js",
"default": "./dist/cjs/vest.js"
"default": "./dist/cjs/vest.production.js"
},
"./package.json": "./package.json",
"./": "./"
Expand Down
Loading

0 comments on commit 9f9b970

Please sign in to comment.