diff --git a/packages/composables/README.md b/packages/composables/README.md new file mode 100644 index 000000000..e51f86c94 --- /dev/null +++ b/packages/composables/README.md @@ -0,0 +1 @@ +# @shopware-pwa/composables \ No newline at end of file diff --git a/packages/vue/api-extractor.json b/packages/composables/api-extractor.json similarity index 100% rename from packages/vue/api-extractor.json rename to packages/composables/api-extractor.json diff --git a/packages/composables/index.js b/packages/composables/index.js new file mode 100644 index 000000000..dc19beeae --- /dev/null +++ b/packages/composables/index.js @@ -0,0 +1,7 @@ +"use strict"; + +if (process.env.NODE_ENV === "production") { + module.exports = require("./dist/composables.cjs.prod.js"); +} else { + module.exports = require("./dist/composables.cjs.js"); +} diff --git a/packages/composables/package.json b/packages/composables/package.json new file mode 100644 index 000000000..9e85e1431 --- /dev/null +++ b/packages/composables/package.json @@ -0,0 +1,19 @@ +{ + "name": "@shopware-pwa/composables", + "version": "0.1.0", + "description": "@shopware-pwa/composables", + "main": "index.js", + "module": "dist/composables.esm-bundler.js", + "files": [ + "index.js", + "dist" + ], + "types": "dist/composables.d.ts", + "unpkg": "dist/composables.global.js", + "sideEffects": false, + "repository": { + "type": "git", + "url": "git+https://github.com/DivanteLtd/shopware-pwa" + }, + "license": "MIT" +} \ No newline at end of file diff --git a/packages/composables/src/index.ts b/packages/composables/src/index.ts new file mode 100644 index 000000000..e69de29bb diff --git a/packages/default-theme/README.md b/packages/default-theme/README.md new file mode 100644 index 000000000..ece9444a2 --- /dev/null +++ b/packages/default-theme/README.md @@ -0,0 +1 @@ +# @shopware-pwa/default-theme \ No newline at end of file diff --git a/packages/default-theme/api-extractor.json b/packages/default-theme/api-extractor.json new file mode 100644 index 000000000..305e85ffe --- /dev/null +++ b/packages/default-theme/api-extractor.json @@ -0,0 +1,7 @@ +{ + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "./dist/packages//src/index.d.ts", + "dtsRollup": { + "untrimmedFilePath": "./dist/.d.ts" + } +} \ No newline at end of file diff --git a/packages/default-theme/index.js b/packages/default-theme/index.js new file mode 100644 index 000000000..315506bd1 --- /dev/null +++ b/packages/default-theme/index.js @@ -0,0 +1,7 @@ +"use strict"; + +if (process.env.NODE_ENV === "production") { + module.exports = require("./dist/default-theme.cjs.prod.js"); +} else { + module.exports = require("./dist/default-theme.cjs.js"); +} diff --git a/packages/default-theme/package.json b/packages/default-theme/package.json new file mode 100644 index 000000000..ee3cfa04e --- /dev/null +++ b/packages/default-theme/package.json @@ -0,0 +1,19 @@ +{ + "name": "@shopware-pwa/default-theme", + "version": "0.1.0", + "description": "@shopware-pwa/default-theme", + "main": "index.js", + "module": "dist/default-theme.esm-bundler.js", + "files": [ + "index.js", + "dist" + ], + "types": "dist/default-theme.d.ts", + "unpkg": "dist/default-theme.global.js", + "sideEffects": false, + "repository": { + "type": "git", + "url": "git+https://github.com/DivanteLtd/shopware-pwa" + }, + "license": "MIT" +} \ No newline at end of file diff --git a/packages/default-theme/src/index.ts b/packages/default-theme/src/index.ts new file mode 100644 index 000000000..e69de29bb diff --git a/packages/helpers/README.md b/packages/helpers/README.md new file mode 100644 index 000000000..b34c921cc --- /dev/null +++ b/packages/helpers/README.md @@ -0,0 +1 @@ +# @shopware-pwa/helpers \ No newline at end of file diff --git a/packages/helpers/api-extractor.json b/packages/helpers/api-extractor.json new file mode 100644 index 000000000..305e85ffe --- /dev/null +++ b/packages/helpers/api-extractor.json @@ -0,0 +1,7 @@ +{ + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "./dist/packages//src/index.d.ts", + "dtsRollup": { + "untrimmedFilePath": "./dist/.d.ts" + } +} \ No newline at end of file diff --git a/packages/helpers/index.js b/packages/helpers/index.js new file mode 100644 index 000000000..672f945d6 --- /dev/null +++ b/packages/helpers/index.js @@ -0,0 +1,7 @@ +"use strict"; + +if (process.env.NODE_ENV === "production") { + module.exports = require("./dist/helpers.cjs.prod.js"); +} else { + module.exports = require("./dist/helpers.cjs.js"); +} diff --git a/packages/helpers/package.json b/packages/helpers/package.json new file mode 100644 index 000000000..e77ba8e78 --- /dev/null +++ b/packages/helpers/package.json @@ -0,0 +1,19 @@ +{ + "name": "@shopware-pwa/helpers", + "version": "0.1.0", + "description": "@shopware-pwa/helpers", + "main": "index.js", + "module": "dist/helpers.esm-bundler.js", + "files": [ + "index.js", + "dist" + ], + "types": "dist/helpers.d.ts", + "unpkg": "dist/helpers.global.js", + "sideEffects": false, + "repository": { + "type": "git", + "url": "git+https://github.com/DivanteLtd/shopware-pwa" + }, + "license": "MIT" +} \ No newline at end of file diff --git a/packages/helpers/src/index.ts b/packages/helpers/src/index.ts new file mode 100644 index 000000000..e69de29bb diff --git a/packages/vue/README.md b/packages/vue/README.md deleted file mode 100644 index 397ba9716..000000000 --- a/packages/vue/README.md +++ /dev/null @@ -1 +0,0 @@ -# @shopware-pwa/vue \ No newline at end of file diff --git a/packages/vue/index.js b/packages/vue/index.js deleted file mode 100644 index 63f5ec134..000000000 --- a/packages/vue/index.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; - -if (process.env.NODE_ENV === "production") { - module.exports = require("./dist/vue.cjs.prod.js"); -} else { - module.exports = require("./dist/vue.cjs.js"); -} diff --git a/packages/vue/package.json b/packages/vue/package.json deleted file mode 100644 index 76904adda..000000000 --- a/packages/vue/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "@shopware-pwa/vue", - "version": "0.1.0", - "description": "@shopware-pwa/vue", - "main": "index.js", - "module": "dist/vue.esm-bundler.js", - "files": [ - "index.js", - "dist" - ], - "types": "dist/vue.d.ts", - "unpkg": "dist/vue.global.js", - "sideEffects": false, - "repository": { - "type": "git", - "url": "git+https://github.com/DivanteLtd/shopware-pwa" - }, - "license": "MIT", - "devDependencies": { - "@vue/composition-api": "^0.3.2", - "vue": "^2.6.10" - }, - "peerDependencies": { - "@vue/composition-api": "^0.3.2", - "vue": "^2.6.10" - } -} diff --git a/packages/vue/src/index.ts b/packages/vue/src/index.ts deleted file mode 100644 index 31463b673..000000000 --- a/packages/vue/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -// Package will be implemented later