diff --git a/packages/-build-infra/.npmignore b/packages/-build-infra/.npmignore index 48b7d76b864..ee47bc4193c 100644 --- a/packages/-build-infra/.npmignore +++ b/packages/-build-infra/.npmignore @@ -1,6 +1,7 @@ # compiled output /dist/ /tmp/ +/types/ # misc /.bowerrc diff --git a/packages/-ember-data/.npmignore b/packages/-ember-data/.npmignore index 1559b4350bb..9afb1114b07 100644 --- a/packages/-ember-data/.npmignore +++ b/packages/-ember-data/.npmignore @@ -1,6 +1,8 @@ # compiled output /dist/ /tmp/ +/types/ +**/*.d.ts # dependencies /bower_components/ diff --git a/packages/-ember-data/package.json b/packages/-ember-data/package.json index ac0448f3c1f..17ec0263efa 100644 --- a/packages/-ember-data/package.json +++ b/packages/-ember-data/package.json @@ -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", @@ -87,7 +86,6 @@ "keywords": [ "ember-addon" ], - "types": "./stripped-types.d.ts", "ember-addon": { "configPath": "tests/dummy/config" } diff --git a/packages/-ember-data/stripped-types.d.ts b/packages/-ember-data/stripped-types.d.ts deleted file mode 100644 index 64746386a9d..00000000000 --- a/packages/-ember-data/stripped-types.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -// intentionally empty types to help us preserve semver as we migrate to TS -declare module 'ember-data'; diff --git a/packages/adapter/.npmignore b/packages/adapter/.npmignore index 298fff3f48c..6b125fa0633 100644 --- a/packages/adapter/.npmignore +++ b/packages/adapter/.npmignore @@ -1,6 +1,8 @@ # compiled output /dist/ /tmp/ +/types/ +**/*.d.ts # dependencies /bower_components/ diff --git a/packages/adapter/package.json b/packages/adapter/package.json index 4adcf155204..01ff0102035 100644 --- a/packages/adapter/package.json +++ b/packages/adapter/package.json @@ -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", @@ -53,7 +52,6 @@ "engines": { "node": ">= 8.0.0" }, - "types": "./stripped-types.d.ts", "ember-addon": { "configPath": "tests/dummy/config" } diff --git a/packages/adapter/stripped-types.d.ts b/packages/adapter/stripped-types.d.ts deleted file mode 100644 index 3eef37c7428..00000000000 --- a/packages/adapter/stripped-types.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -// intentionally empty types to help us preserve semver as we migrate to TS -declare module 'ember-data'; -declare module '@ember-data/adapter'; diff --git a/packages/canary-features/.npmignore b/packages/canary-features/.npmignore index 48b7d76b864..ff5db6d9d57 100644 --- a/packages/canary-features/.npmignore +++ b/packages/canary-features/.npmignore @@ -1,6 +1,8 @@ # compiled output /dist/ /tmp/ +/types/ +**/*.d.ts # misc /.bowerrc diff --git a/packages/model/.npmignore b/packages/model/.npmignore index 298fff3f48c..6b125fa0633 100644 --- a/packages/model/.npmignore +++ b/packages/model/.npmignore @@ -1,6 +1,8 @@ # compiled output /dist/ /tmp/ +/types/ +**/*.d.ts # dependencies /bower_components/ diff --git a/packages/model/package.json b/packages/model/package.json index 87628d94a41..2bbb91bcc68 100644 --- a/packages/model/package.json +++ b/packages/model/package.json @@ -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", @@ -57,7 +56,6 @@ "engines": { "node": ">= 8.0.0" }, - "types": "./stripped-types.d.ts", "ember-addon": { "configPath": "tests/dummy/config" } diff --git a/packages/model/stripped-types.d.ts b/packages/model/stripped-types.d.ts deleted file mode 100644 index ab66bd26a37..00000000000 --- a/packages/model/stripped-types.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -// intentionally empty types to help us preserve semver as we migrate to TS -declare module 'ember-data'; -declare module '@ember-data/model'; diff --git a/packages/serializer/.npmignore b/packages/serializer/.npmignore index 298fff3f48c..6b125fa0633 100644 --- a/packages/serializer/.npmignore +++ b/packages/serializer/.npmignore @@ -1,6 +1,8 @@ # compiled output /dist/ /tmp/ +/types/ +**/*.d.ts # dependencies /bower_components/ diff --git a/packages/serializer/package.json b/packages/serializer/package.json index 1835bc2e31d..a2c75d1b39f 100644 --- a/packages/serializer/package.json +++ b/packages/serializer/package.json @@ -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", @@ -55,7 +54,6 @@ "engines": { "node": ">= 8.0.0" }, - "types": "./stripped-types.d.ts", "ember-addon": { "configPath": "tests/dummy/config" } diff --git a/packages/serializer/stripped-types.d.ts b/packages/serializer/stripped-types.d.ts deleted file mode 100644 index 121191911ef..00000000000 --- a/packages/serializer/stripped-types.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -// intentionally empty types to help us preserve semver as we migrate to TS -declare module 'ember-data'; -declare module '@ember-data/serializer'; diff --git a/packages/store/.npmignore b/packages/store/.npmignore index fba9154569b..98baba5a774 100644 --- a/packages/store/.npmignore +++ b/packages/store/.npmignore @@ -1,6 +1,8 @@ # compiled output /dist/ /tmp/ +/types/ +**/*.d.ts # dependencies /bower_components/ diff --git a/packages/store/package.json b/packages/store/package.json index b61bb4b7bca..8b86ede66fd 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -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", @@ -56,7 +55,6 @@ "engines": { "node": ">= 8.0.0" }, - "types": "./stripped-types.d.ts", "ember-addon": { "configPath": "tests/dummy/config" } diff --git a/packages/store/stripped-types.d.ts b/packages/store/stripped-types.d.ts deleted file mode 100644 index 5c89499d1b7..00000000000 --- a/packages/store/stripped-types.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -// intentionally empty types to help us preserve semver as we migrate to TS -declare module 'ember-data'; -declare module '@ember-data/store';