Skip to content

Commit c451ac2

Browse files
committed
build(many): remove commonjs
INSTUI-5036
1 parent 8379832 commit c451ac2

174 files changed

Lines changed: 185 additions & 541 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.

packages/canvas-high-contrast-theme/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@instructure/canvas-high-contrast-theme",
33
"version": "11.7.3",
4+
"type": "module",
45
"description": "A high contrast theme for Canvas LMS made by Instructure Inc.",
56
"author": "Instructure, Inc. Engineering and Product Design",
67
"module": "./es/index.js",
7-
"main": "./lib/index.js",
88
"types": "./types/index.d.ts",
99
"repository": {
1010
"type": "git",
@@ -16,7 +16,7 @@
1616
"lint": "ui-scripts lint",
1717
"lint:fix": "ui-scripts lint --fix",
1818
"clean": "ui-scripts clean",
19-
"build": "ui-scripts build --modules es,cjs",
19+
"build": "ui-scripts build",
2020
"build:watch": "ui-scripts build --watch",
2121
"build:types": "tsc -p tsconfig.build.json"
2222
},
@@ -38,10 +38,8 @@
3838
"src": "./src/index.ts",
3939
"types": "./types/index.d.ts",
4040
"import": "./es/index.js",
41-
"require": "./lib/index.js",
4241
"default": "./es/index.js"
4342
},
44-
"./lib/*": "./lib/*",
4543
"./es/*": "./es/*",
4644
"./types/*": "./types/*",
4745
"./package.json": "./package.json",

packages/canvas-theme/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@instructure/canvas-theme",
33
"version": "11.7.3",
4+
"type": "module",
45
"description": "A theme for Canvas LMS made by Instructure Inc.",
56
"author": "Instructure, Inc. Engineering and Product Design",
67
"module": "./es/index.js",
7-
"main": "./lib/index.js",
88
"types": "./types/index.d.ts",
99
"repository": {
1010
"type": "git",
@@ -16,7 +16,7 @@
1616
"lint": "ui-scripts lint",
1717
"lint:fix": "ui-scripts lint --fix",
1818
"clean": "ui-scripts clean",
19-
"build": "ui-scripts build --modules es,cjs",
19+
"build": "ui-scripts build",
2020
"build:watch": "ui-scripts build --watch",
2121
"build:types": "tsc -p tsconfig.build.json"
2222
},
@@ -38,10 +38,8 @@
3838
"src": "./src/index.ts",
3939
"types": "./types/index.d.ts",
4040
"import": "./es/index.js",
41-
"require": "./lib/index.js",
4241
"default": "./es/index.js"
4342
},
44-
"./lib/*": "./lib/*",
4543
"./es/*": "./es/*",
4644
"./types/*": "./types/*",
4745
"./package.json": "./package.json",

packages/console/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@instructure/console",
33
"version": "11.7.3",
4+
"type": "module",
45
"description": "A babel macro made by Instructure Inc.",
56
"author": "Instructure, Inc. Engineering and Product Design",
67
"module": "./es/index.js",
7-
"main": "./lib/index.js",
88
"types": "./types/index.d.ts",
99
"repository": {
1010
"type": "git",
@@ -16,7 +16,7 @@
1616
"lint": "ui-scripts lint",
1717
"lint:fix": "ui-scripts lint --fix",
1818
"clean": "ui-scripts clean",
19-
"build": "ui-scripts build --modules es,cjs",
19+
"build": "ui-scripts build",
2020
"build:watch": "ui-scripts build --watch",
2121
"build:types": "tsc -p tsconfig.build.json",
2222
"ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
@@ -36,10 +36,8 @@
3636
"src": "./src/index.ts",
3737
"types": "./types/index.d.ts",
3838
"import": "./es/index.js",
39-
"require": "./lib/index.js",
4039
"default": "./es/index.js"
4140
},
42-
"./lib/*": "./lib/*",
4341
"./es/*": "./es/*",
4442
"./types/*": "./types/*",
4543
"./package.json": "./package.json",

packages/debounce/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@instructure/debounce",
33
"version": "11.7.3",
4+
"type": "module",
45
"description": "A debounce util made by Instructure Inc.",
56
"author": "Instructure, Inc. Engineering and Product Design",
67
"module": "./es/index.js",
7-
"main": "./lib/index.js",
88
"types": "./types/index.d.ts",
99
"repository": {
1010
"type": "git",
@@ -16,7 +16,7 @@
1616
"lint": "ui-scripts lint",
1717
"lint:fix": "ui-scripts lint --fix",
1818
"clean": "ui-scripts clean",
19-
"build": "ui-scripts build --modules es,cjs",
19+
"build": "ui-scripts build",
2020
"build:watch": "ui-scripts build --watch",
2121
"build:types": "tsc -p tsconfig.build.json"
2222
},
@@ -36,10 +36,8 @@
3636
"src": "./src/index.ts",
3737
"types": "./types/index.d.ts",
3838
"import": "./es/index.js",
39-
"require": "./lib/index.js",
4039
"default": "./es/index.js"
4140
},
42-
"./lib/*": "./lib/*",
4341
"./es/*": "./es/*",
4442
"./types/*": "./types/*",
4543
"./package.json": "./package.json",

packages/emotion/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@instructure/emotion",
33
"version": "11.7.3",
4+
"type": "module",
45
"description": "A UI component library made by Instructure Inc.",
56
"author": "Instructure, Inc. Engineering and Product Design",
67
"module": "./es/index.js",
7-
"main": "./lib/index.js",
88
"types": "./types/index.d.ts",
99
"repository": {
1010
"type": "git",
@@ -16,7 +16,7 @@
1616
"lint": "ui-scripts lint",
1717
"lint:fix": "ui-scripts lint --fix",
1818
"clean": "ui-scripts clean",
19-
"build": "ui-scripts build --modules es,cjs",
19+
"build": "ui-scripts build",
2020
"build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
2121
"build:types": "tsc -p tsconfig.build.json ",
2222
"ts:check": "tsc -p tsconfig.build.json"
@@ -55,10 +55,8 @@
5555
"src": "./src/index.ts",
5656
"types": "./types/index.d.ts",
5757
"import": "./es/index.js",
58-
"require": "./lib/index.js",
5958
"default": "./es/index.js"
6059
},
61-
"./lib/*": "./lib/*",
6260
"./es/*": "./es/*",
6361
"./types/*": "./types/*",
6462
"./package.json": "./package.json",

0 commit comments

Comments
 (0)