Skip to content

Commit

Permalink
build: Clean ember and deno packages properly (#9411)
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst committed Oct 30, 2023
1 parent 89a4d42 commit 4371b2c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/deno/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
extends: ['../../.eslintrc.js'],
ignorePatterns: ['lib.deno.d.ts', 'scripts/*.mjs'],
ignorePatterns: ['lib.deno.d.ts', 'scripts/*.mjs', 'build-types/**', 'build-test/**', 'build/**'],
rules: {
'@sentry-internal/sdk/no-optional-chaining': 'off',
'@sentry-internal/sdk/no-nullish-coalescing': 'off',
Expand Down
2 changes: 1 addition & 1 deletion packages/deno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"build:types:bundle": "rollup -c rollup.types.config.js",
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",
"circularDepCheck": "madge --circular src/index.ts",
"clean": "rimraf build build-types coverage",
"clean": "rimraf build build-types build-test coverage",
"prefix": "yarn deno-types",
"fix": "run-s fix:eslint fix:prettier",
"fix:eslint": "eslint . --format stylish --fix",
Expand Down
6 changes: 6 additions & 0 deletions packages/ember/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try

# Random compiledd types
index.d.ts
runloop.d.ts
types.d.ts
/instance-initializers/
2 changes: 1 addition & 1 deletion packages/ember/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"scripts": {
"build:tarball": "ember ts:precompile && npm pack && ember ts:clean",
"clean": "yarn rimraf sentry-ember-*.tgz dist tmp build .node_modules.ember-try package.json.ember-try",
"clean": "yarn rimraf sentry-ember-*.tgz dist tmp build .node_modules.ember-try package.json.ember-try instance-initializers index.d.ts runloop.d.ts types.d.ts",
"lint": "run-p lint:js lint:hbs lint:ts",
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",
Expand Down

0 comments on commit 4371b2c

Please sign in to comment.