Skip to content

Commit

Permalink
build!: remove bundled ESM/UMD support
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Aug 20, 2024
1 parent ea311e1 commit eb91624
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 217 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- name: Install dependencies, build, test, and lint the codebase
run: |
npm install
npm run build:lib
npm run test:types
npm run lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Build
run: |
npm install
npm run build:docs & npm run build:lib
npm run build:docs
- name: Publish package (stable)
if: ${{ ! contains(github.ref, '-next') }}
env:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
lib
node_modules
.DS_Store
.vscode
Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/lib
/css
/types
.svelte-kit
Expand Down
176 changes: 0 additions & 176 deletions package-lock.json

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

12 changes: 2 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"version": "0.85.2",
"license": "Apache-2.0",
"description": "Svelte implementation of the Carbon Design System",
"type": "module",
"svelte": "./src/index.js",
"types": "./types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
Expand All @@ -23,9 +25,6 @@
"import": "./src/*.js"
}
},
"main": "./lib/index.js",
"module": "./lib/index.mjs",
"types": "./types/index.d.ts",
"sideEffects": [
"css/*.css"
],
Expand All @@ -34,7 +33,6 @@
"lint": "prettier --write \"**/*.{svelte,md,js,json,ts}\"",
"build:css": "node scripts/build-css",
"build:docs": "node scripts/build-docs",
"build:lib": "rollup -c",
"format": "prettier --write \"./**/*.{svelte,js,md}\"",
"postinstall": "ibmtelemetry --config=telemetry.yml",
"release": "standard-version && npm run build:docs"
Expand All @@ -44,17 +42,12 @@
"flatpickr": "4.6.9"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.3",
"@rollup/plugin-node-resolve": "^13.3.0",
"autoprefixer": "^10.4.8",
"carbon-components": "10.58.12",
"carbon-icons-svelte": "^12.1.0",
"postcss": "^8.4.16",
"prettier": "^2.7.1",
"prettier-plugin-svelte": "^2.7.0",
"rollup": "^2.78.1",
"rollup-plugin-svelte": "^7.1.0",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.49.11",
"standard-version": "^9.5.0",
"sveld": "^0.19.1",
Expand Down Expand Up @@ -85,7 +78,6 @@
"carbon design system"
],
"files": [
"lib",
"src",
"types",
"css",
Expand Down
27 changes: 0 additions & 27 deletions rollup.config.js

This file was deleted.

0 comments on commit eb91624

Please sign in to comment.