Skip to content

Commit

Permalink
[BUGFIX release] fix type overrides (#6256)
Browse files Browse the repository at this point in the history
* [BUGFIX release] safer type stripping strategy

* remove uneeded command parts
  • Loading branch information
runspired authored Jul 18, 2019
1 parent f66ed45 commit 9cc2adc
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 29 deletions.
1 change: 1 addition & 0 deletions packages/-build-infra/.npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# compiled output
/dist/
/tmp/
/types/

# misc
/.bowerrc
Expand Down
2 changes: 2 additions & 0 deletions packages/-ember-data/.npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# compiled output
/dist/
/tmp/
/types/
**/*.d.ts

# dependencies
/bower_components/
Expand Down
4 changes: 1 addition & 3 deletions packages/-ember-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"test:production": "ember test -e production",
"test:optional-features": "ember test",
"test:try-one": "ember try:one",
"prepublishOnly": "ember build --environment=production && ember ts:precompile",
"postpublish": "ember ts:clean"
"prepublishOnly": "ember build --environment=production"
},
"author": "",
"license": "MIT",
Expand Down Expand Up @@ -87,7 +86,6 @@
"keywords": [
"ember-addon"
],
"types": "./stripped-types.d.ts",
"ember-addon": {
"configPath": "tests/dummy/config"
}
Expand Down
2 changes: 0 additions & 2 deletions packages/-ember-data/stripped-types.d.ts

This file was deleted.

2 changes: 2 additions & 0 deletions packages/adapter/.npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# compiled output
/dist/
/tmp/
/types/
**/*.d.ts

# dependencies
/bower_components/
Expand Down
4 changes: 1 addition & 3 deletions packages/adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"test": "ember test",
"test:all": "ember try:each",
"test:node": "mocha",
"prepublishOnly": "ember build --environment=production && ember ts:precompile",
"postpublish": "ember ts:clean"
"prepublishOnly": "ember build --environment=production"
},
"dependencies": {
"@ember-data/-build-infra": "^3.12.0-canary.2",
Expand Down Expand Up @@ -53,7 +52,6 @@
"engines": {
"node": ">= 8.0.0"
},
"types": "./stripped-types.d.ts",
"ember-addon": {
"configPath": "tests/dummy/config"
}
Expand Down
3 changes: 0 additions & 3 deletions packages/adapter/stripped-types.d.ts

This file was deleted.

2 changes: 2 additions & 0 deletions packages/canary-features/.npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# compiled output
/dist/
/tmp/
/types/
**/*.d.ts

# misc
/.bowerrc
Expand Down
2 changes: 2 additions & 0 deletions packages/model/.npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# compiled output
/dist/
/tmp/
/types/
**/*.d.ts

# dependencies
/bower_components/
Expand Down
4 changes: 1 addition & 3 deletions packages/model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
"test": "ember test",
"test:all": "ember try:each",
"test:node": "mocha",
"prepublishOnly": "ember build --environment=production && ember ts:precompile",
"postpublish": "ember ts:clean"
"prepublishOnly": "ember build --environment=production"
},
"dependencies": {
"@ember-data/-build-infra": "^3.12.0-canary.2",
Expand Down Expand Up @@ -57,7 +56,6 @@
"engines": {
"node": ">= 8.0.0"
},
"types": "./stripped-types.d.ts",
"ember-addon": {
"configPath": "tests/dummy/config"
}
Expand Down
3 changes: 0 additions & 3 deletions packages/model/stripped-types.d.ts

This file was deleted.

2 changes: 2 additions & 0 deletions packages/serializer/.npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# compiled output
/dist/
/tmp/
/types/
**/*.d.ts

# dependencies
/bower_components/
Expand Down
4 changes: 1 addition & 3 deletions packages/serializer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
"test": "ember test",
"test:all": "ember try:each",
"test:node": "mocha",
"prepublishOnly": "ember build --environment=production && ember ts:precompile",
"postpublish": "ember ts:clean"
"prepublishOnly": "ember build --environment=production"
},
"dependencies": {
"@ember-data/-build-infra": "^3.12.0-canary.2",
Expand Down Expand Up @@ -55,7 +54,6 @@
"engines": {
"node": ">= 8.0.0"
},
"types": "./stripped-types.d.ts",
"ember-addon": {
"configPath": "tests/dummy/config"
}
Expand Down
3 changes: 0 additions & 3 deletions packages/serializer/stripped-types.d.ts

This file was deleted.

2 changes: 2 additions & 0 deletions packages/store/.npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# compiled output
/dist/
/tmp/
/types/
**/*.d.ts

# dependencies
/bower_components/
Expand Down
4 changes: 1 addition & 3 deletions packages/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"start": "ember serve",
"test": "ember test",
"test:all": "ember try:each",
"prepublishOnly": "ember build --environment=production && ember ts:precompile",
"postpublish": "ember ts:clean"
"prepublishOnly": "ember build --environment=production"
},
"dependencies": {
"@ember-data/-build-infra": "^3.12.0-canary.2",
Expand Down Expand Up @@ -56,7 +55,6 @@
"engines": {
"node": ">= 8.0.0"
},
"types": "./stripped-types.d.ts",
"ember-addon": {
"configPath": "tests/dummy/config"
}
Expand Down
3 changes: 0 additions & 3 deletions packages/store/stripped-types.d.ts

This file was deleted.

0 comments on commit 9cc2adc

Please sign in to comment.