Skip to content

Commit

Permalink
omit sources and source-maps in published package
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-meisner committed Nov 22, 2024
1 parent a0d2e51 commit 5d12412
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 25 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"start": "pnpm --recursive --filter \"@coremedia/ckeditor5-app\" start",
"update:latest": "pnpm update --interactive --latest --recursive '!esbuild-loader'",
"update:latest:third-party": "pnpm update --interactive --latest --recursive '!esbuild-loader' '!@ckeditor/*'",
"update:latest:ckeditor5": "pnpm update --interactive --latest --recursive '@ckeditor/*' '!@ckeditor/ckeditor5-dev-*'",
"update:latest:ckeditor5": "pnpm update --interactive --latest --recursive 'ckeditor5'",
"update:latest:ckeditor5-dev": "pnpm update --interactive --latest --recursive '@ckeditor/ckeditor5-dev-*'",
"script:version": "node ./scripts/version.mjs",
"script:validate-peers": "node ./scripts/validate-peers.mjs"
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-bbcode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"license": "Apache-2.0",
"scripts": {
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"clean": "pnpm clean:src && pnpm clean:dist",
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"jest": "jest --passWithNoTests",
"jest:coverage": "jest --collect-coverage --passWithNoTests",
"npm-check-updates": "npm-check-updates --upgrade"
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-core-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"jest": "jest --passWithNoTests",
"jest:coverage": "jest --collect-coverage --passWithNoTests",
"npm-check-updates": "npm-check-updates --upgrade"
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-coremedia-blocklist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"license": "Apache-2.0",
"scripts": {
"build": "tsc --project ./tsconfig.release.json && copyfiles -u 1 theme/* theme/**/* dist/theme",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"clean": "pnpm clean:src && pnpm clean:dist",
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"license": "Apache-2.0",
"scripts": {
"build": "tsc --project ./tsconfig.release.json && copyfiles -u 1 theme/* theme/**/* dist/theme",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"clean": "pnpm clean:src && pnpm clean:dist",
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-coremedia-content/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"jest": "jest --passWithNoTests",
"jest:coverage": "jest --collect-coverage --passWithNoTests",
"npm-check-updates": "npm-check-updates --upgrade"
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-coremedia-differencing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"jest": "jest --passWithNoTests",
"jest:coverage": "jest --collect-coverage",
"npm-check-updates": "npm-check-updates --upgrade"
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-coremedia-images/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"license": "Apache-2.0",
"scripts": {
"build": "tsc --project ./tsconfig.release.json && copyfiles -u 1 theme/* theme/**/* dist/theme",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"clean": "pnpm clean:src && pnpm clean:dist",
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-coremedia-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"license": "Apache-2.0",
"scripts": {
"build": "tsc --project ./tsconfig.release.json && copyfiles -u 1 theme/* theme/**/* dist/theme",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"clean": "pnpm clean:src && pnpm clean:dist",
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-coremedia-richtext-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"license": "Apache-2.0",
"scripts": {
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"clean": "pnpm clean:src && pnpm clean:dist",
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-coremedia-richtext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"license": "Apache-2.0",
"scripts": {
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"clean": "pnpm clean:src && pnpm clean:dist",
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"license": "Apache-2.0",
"scripts": {
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"clean": "pnpm clean:src && pnpm clean:dist",
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
],
"scripts": {
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"clean": "pnpm clean:src && pnpm clean:dist",
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"license": "Apache-2.0",
"scripts": {
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"clean": "pnpm clean:src && pnpm clean:dist",
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-data-facade/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"license": "Apache-2.0",
"scripts": {
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"clean": "pnpm clean:src && pnpm clean:dist",
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-dataprocessor-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
],
"scripts": {
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"clean": "pnpm clean:src && pnpm clean:dist",
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-dialog-visibility/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"license": "Apache-2.0",
"scripts": {
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"clean": "pnpm clean:src && pnpm clean:dist",
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-dom-converter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"jest": "jest",
"jest:coverage": "jest --collect-coverage"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-dom-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"jest": "jest --passWithNoTests",
"jest:coverage": "jest --collect-coverage"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-font-mapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"scripts": {
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"clean": "pnpm clean:src && pnpm clean:dist",
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-link-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"jest": "jest --passWithNoTests",
"jest:coverage": "jest --collect-coverage --passWithNoTests",
"npm-check-updates": "npm-check-updates --upgrade"
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"clean:src": "rimraf --glob \"src/**/*.@(js|js.map|d.ts|d.ts.map)\"",
"clean:dist": "rimraf ./dist",
"build": "tsc --project ./tsconfig.release.json",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist && copyfiles -u 1 './src/**/*.ts' ./dist/src",
"postbuild": "node prepare-package.cjs && copyfiles ./README.md dist",
"jest": "jest",
"jest:coverage": "jest --collect-coverage",
"npm-check-updates": "npm-check-updates --upgrade"
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"composite": true,
"declaration": true,
"emitDeclarationOnly": false,
"declarationMap": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
Expand All @@ -23,7 +22,7 @@
"pretty": false,
"removeComments": true,
"skipLibCheck": true,
"sourceMap": true,
"sourceMap": false,
"strict": true,
"strictNullChecks": true,
"target": "ES2020",
Expand Down

0 comments on commit 5d12412

Please sign in to comment.