Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scan JS Package: Remove Build #40318

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions projects/js-packages/scan/changelog/remove-build
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Fixed configuration issues in the package.json file.
11 changes: 5 additions & 6 deletions projects/js-packages/scan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"license": "GPL-2.0-or-later",
"author": "Automattic",
"scripts": {
"build": "pnpm run clean && pnpm run compile-ts",
"clean": "rm -rf build/",
"build": "pnpm run compile-ts",
"compile-ts": "tsc --pretty",
"test": "jest",
"test-coverage": "pnpm run test --coverage"
Expand Down Expand Up @@ -44,12 +43,12 @@
"exports": {
".": {
"jetpack:src": "./src/index.ts",
"types": "./build/index.d.ts",
"default": "./build/index.js"
"types": "./src/types/index.ts",
"default": "./src/index.ts"
}
},
"main": "./build/index.js",
"types": "./build/index.d.ts",
"main": "./src/index.ts",
"types": "./src/types/index.ts",
"dependencies": {
"@automattic/jetpack-api": "workspace:*",
"@automattic/jetpack-base-styles": "workspace:*",
Expand Down
Loading