Skip to content

Commit

Permalink
remove cdn support
Browse files Browse the repository at this point in the history
  • Loading branch information
napalmpapalam committed Feb 27, 2024
1 parent 6ecebbe commit 22180e1
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 396 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ node_modules/
.yarn/
scripts/*.js
.eslintrc.js
rollup.config.js
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
- `all` - Creating extra `package.json` files in the dist folder for resolving ESM and CommonJS modules
- `all,root` - postbuild script
- `all` - CDN distributives support

## [1.0.0-rc.10] - 2024-01-18
### Fixed
Expand Down
12 changes: 1 addition & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
"pre-push": "yarn test && yarn rsc"
},
"scripts": {
"build": "yarn workspaces foreach -pv --topological-dev run build && yarn build:browser",
"build:browser": "rollup -c --bundleConfigAsCjs",
"build": "yarn workspaces foreach -pv --topological-dev run build",
"build:jac": "yarn workspace @distributedlab/jac build",
"build:fetcher": "yarn workspace @distributedlab/fetcher build",
"build:tools": "yarn workspace @distributedlab/tools build",
Expand All @@ -41,13 +40,6 @@
"apply-version": "node scripts/version.js"
},
"devDependencies": {
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.0.0",
"@swc/cli": "^0.3.9",
"@swc/core": "^1.4.2",
"@swc/jest": "^0.2.36",
Expand All @@ -63,8 +55,6 @@
"eslint-plugin-simple-import-sort": "^10.0.0",
"jest": "^29.5.0",
"prettier": "^2.8.4",
"rollup": "^3.18.0",
"rollup-plugin-polyfill-node": "^0.12.0",
"typedoc": "^0.23.26",
"typescript": "^5.0.4",
"yorkie": "^2.0.0"
Expand Down
5 changes: 2 additions & 3 deletions packages/fetcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"module": "./dist/esm/index.mjs",
"browser": "./dist/esm/index.mjs",
"node": "./dist/cjs/index.js",
"unpkg": "./dist/index.js",
"types": "index.d.ts",
"exports": {
".": {
Expand All @@ -35,8 +34,8 @@
"scripts": {
"build": "yarn clean && yarn build:types && yarn build:cjs && yarn build:esm && yarn build:tsc-alias",
"build:types": "tsc -p tsconfig.build.json --outDir ./dist/types --declaration --emitDeclarationOnly",
"build:cjs": "npx swc src -d ./dist/cjs --strip-leading-path --config-file ../../.swcrc -C module.type=commonjs",
"build:esm": "npx swc src -d ./dist/esm --strip-leading-path --out-file-extension mjs --config-file ../../.swcrc -C module.type=es6 isModule=true",
"build:cjs": "npx swc src -d ./dist/cjs --strip-leading-paths --config-file ../../.swcrc -C module.type=commonjs",
"build:esm": "npx swc src -d ./dist/esm --strip-leading-paths --out-file-extension mjs --config-file ../../.swcrc -C module.type=es6 isModule=true",
"build:tsc-alias": "tsc-alias -p tsconfig.json --outDir ./dist/types",
"clean": "rm -rf dist",
"test": "yarn jest --verbose",
Expand Down
5 changes: 2 additions & 3 deletions packages/jac/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"module": "./dist/esm/index.mjs",
"browser": "./dist/esm/index.mjs",
"node": "./dist/cjs/index.js",
"unpkg": "./dist/index.js",
"types": "index.d.ts",
"exports": {
".": {
Expand All @@ -35,8 +34,8 @@
"scripts": {
"build": "yarn clean && yarn build:types && yarn build:cjs && yarn build:esm && yarn build:tsc-alias",
"build:types": "tsc -p tsconfig.build.json --outDir ./dist/types --declaration --emitDeclarationOnly",
"build:cjs": "npx swc src -d ./dist/cjs --strip-leading-path --config-file ../../.swcrc -C module.type=commonjs",
"build:esm": "npx swc src -d ./dist/esm --strip-leading-path --out-file-extension mjs --config-file ../../.swcrc -C module.type=es6 isModule=true",
"build:cjs": "npx swc src -d ./dist/cjs --strip-leading-paths --config-file ../../.swcrc -C module.type=commonjs",
"build:esm": "npx swc src -d ./dist/esm --strip-leading-paths --out-file-extension mjs --config-file ../../.swcrc -C module.type=es6 isModule=true",
"build:tsc-alias": "tsc-alias -p tsconfig.json --outDir ./dist/types",
"clean": "rm -rf dist",
"test": "yarn jest --verbose",
Expand Down
5 changes: 2 additions & 3 deletions packages/reactivity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"module": "./dist/esm/index.mjs",
"browser": "./dist/esm/index.mjs",
"node": "./dist/cjs/index.js",
"unpkg": "./dist/index.js",
"types": "index.d.ts",
"exports": {
".": {
Expand All @@ -35,8 +34,8 @@
"scripts": {
"build": "yarn clean && yarn build:types && yarn build:cjs && yarn build:esm && yarn build:tsc-alias",
"build:types": "tsc -p tsconfig.build.json --outDir ./dist/types --declaration --emitDeclarationOnly",
"build:cjs": "npx swc src -d ./dist/cjs --strip-leading-path --config-file ../../.swcrc -C module.type=commonjs",
"build:esm": "npx swc src -d ./dist/esm --strip-leading-path --out-file-extension mjs --config-file ../../.swcrc -C module.type=es6 isModule=true",
"build:cjs": "npx swc src -d ./dist/cjs --strip-leading-paths --config-file ../../.swcrc -C module.type=commonjs",
"build:esm": "npx swc src -d ./dist/esm --strip-leading-paths --out-file-extension mjs --config-file ../../.swcrc -C module.type=es6 isModule=true",
"build:tsc-alias": "tsc-alias -p tsconfig.json --outDir ./dist/types",
"clean": "rm -rf dist",
"test": "yarn jest --verbose",
Expand Down
5 changes: 2 additions & 3 deletions packages/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"module": "./dist/esm/index.mjs",
"browser": "./dist/esm/index.mjs",
"node": "./dist/cjs/index.js",
"unpkg": "./dist/index.js",
"types": "index.d.ts",
"exports": {
".": {
Expand All @@ -35,8 +34,8 @@
"scripts": {
"build": "yarn clean && yarn build:types && yarn build:cjs && yarn build:esm && yarn build:tsc-alias",
"build:types": "tsc -p tsconfig.build.json --outDir ./dist/types --declaration --emitDeclarationOnly",
"build:cjs": "npx swc src -d ./dist/cjs --strip-leading-path --config-file ../../.swcrc -C module.type=commonjs",
"build:esm": "npx swc src -d ./dist/esm --strip-leading-path --out-file-extension mjs --config-file ../../.swcrc -C module.type=es6 isModule=true",
"build:cjs": "npx swc src -d ./dist/cjs --strip-leading-paths --config-file ../../.swcrc -C module.type=commonjs",
"build:esm": "npx swc src -d ./dist/esm --strip-leading-paths --out-file-extension mjs --config-file ../../.swcrc -C module.type=es6 isModule=true",
"build:tsc-alias": "tsc-alias -p tsconfig.json --outDir ./dist/types",
"clean": "rm -rf dist",
"test": "yarn jest --verbose",
Expand Down
5 changes: 2 additions & 3 deletions packages/w3p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"module": "./dist/esm/index.mjs",
"browser": "./dist/esm/index.mjs",
"node": "./dist/cjs/index.js",
"unpkg": "./dist/index.js",
"types": "index.d.ts",
"exports": {
".": {
Expand All @@ -35,8 +34,8 @@
"scripts": {
"build": "yarn clean && yarn build:types && yarn build:cjs && yarn build:esm && yarn build:tsc-alias",
"build:types": "tsc -p tsconfig.build.json --outDir ./dist/types --declaration --emitDeclarationOnly",
"build:cjs": "npx swc src -d ./dist/cjs --strip-leading-path --config-file ../../.swcrc -C module.type=commonjs",
"build:esm": "npx swc src -d ./dist/esm --strip-leading-path --out-file-extension mjs --config-file ../../.swcrc -C module.type=es6 isModule=true",
"build:cjs": "npx swc src -d ./dist/cjs --strip-leading-paths --config-file ../../.swcrc -C module.type=commonjs",
"build:esm": "npx swc src -d ./dist/esm --strip-leading-paths --out-file-extension mjs --config-file ../../.swcrc -C module.type=es6 isModule=true",
"build:tsc-alias": "tsc-alias -p tsconfig.json --outDir ./dist/types",
"clean": "rm -rf dist",
"test": "yarn jest --verbose",
Expand Down
48 changes: 0 additions & 48 deletions rollup.config.js

This file was deleted.

Loading

0 comments on commit 22180e1

Please sign in to comment.