Skip to content

Commit

Permalink
fix(theme): implement 'exports' field in themes/*/package.json #708 #613
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Dec 16, 2024
1 parent 4edca1d commit ced0b1a
Show file tree
Hide file tree
Showing 41 changed files with 287 additions and 0 deletions.
7 changes: 7 additions & 0 deletions extensions/classname/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions extensions/color/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions extensions/events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions extensions/hyper-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions extensions/langs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions extensions/line-numbers-relative/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions extensions/mentions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions extensions/zebra-stripes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions merge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.tsx --use-babel",
"build": "tsbb build src/*.tsx --use-babel",
Expand Down
7 changes: 7 additions & 0 deletions themes/abcdef/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/abyss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/all/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/androidstudio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/andromeda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/atomone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/aura/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/bbedit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/bespin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/copilot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/darcula/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/dracula/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/duotone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/eclipse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/gruvbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/kimbie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
7 changes: 7 additions & 0 deletions themes/monokai-dimmed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"./*": "./*"
},
"scripts": {
"watch": "tsbb watch src/*.ts --use-babel",
"build": "tsbb build src/*.ts --use-babel"
Expand Down
Loading

0 comments on commit ced0b1a

Please sign in to comment.