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

Use teleport packages for code-embed and date-time primitive #810

Open
wants to merge 83 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
7680a14
feat(nextjs static paths and props): nextjs static paths and props
pascaionut12345 Mar 15, 2023
16e2a2d
feat: fetch support
pascaionut12345 Mar 22, 2023
7b359f7
Small change
pascaionut12345 Mar 22, 2023
b144992
Merge branch 'development' of github.com:teleporthq/teleport-code-gen…
pascaionut12345 Mar 22, 2023
212a66a
Merge branch 'development' into feat/better-fetch
pascaionut12345 Mar 22, 2023
41c93cb
Small fix on template concat
pascaionut12345 Mar 22, 2023
551de2f
Small change
pascaionut12345 Mar 22, 2023
3793df7
Get the first item on details page - initial props
pascaionut12345 Mar 22, 2023
0f6c9d8
Fix tests
pascaionut12345 Mar 22, 2023
2ca713a
Add support for pagination on static paths/props (#749)
ionutpasca Apr 3, 2023
ebfbdda
Add support for context
pascaionut12345 Apr 4, 2023
c2cd672
Small change
pascaionut12345 Apr 5, 2023
76afae9
Primitive implementation for context support
pascaionut12345 Apr 5, 2023
8719205
Primitive implementation for cms-list and item support
pascaionut12345 Apr 5, 2023
b025488
Handle cms-list node individually
pascaionut12345 Apr 5, 2023
7b8416c
Handle cms-list node individually
pascaionut12345 Apr 5, 2023
feb9736
Remove package.lock
pascaionut12345 Apr 5, 2023
9ea38a8
Fix tests
pascaionut12345 Apr 6, 2023
375ce04
Handle CMS project uidl in standalone test
pascaionut12345 Apr 7, 2023
ccc3433
Merge pull request #760 from teleporthq/context-support
elizamaria Apr 7, 2023
46aad3c
Add support for CMS list and CMS item inside nextjs generators
pascaionut12345 Apr 12, 2023
1ada61e
Merge pull request #763 from teleporthq/feat/add-cms-nodes-support
vladgrecu Apr 18, 2023
4615828
Changes required for contentful support (#764)
ionutpasca Apr 20, 2023
be1bf9c
Feat/dynamic links support for cms details pages (#765)
vladnicula Apr 20, 2023
0cc2dc7
Allow static values on component seo and meta tags (#772)
ionutpasca Apr 20, 2023
9638398
Subselector support for classes (#770)
TudorCe Apr 20, 2023
85a2947
Fix run standalone for next project with cms uidl
elizamaria Apr 20, 2023
ad6dbbb
Better debug for problematic context providers
vladnicula Apr 20, 2023
ed116ba
fix/THQ-2027 read-nested-data (#773)
vladgrecu Apr 21, 2023
7b608c2
Check if node attributes have contexts
pascaionut12345 Apr 21, 2023
4985000
Check if node attributes have contexts (#774)
ionutpasca Apr 21, 2023
e78b7b1
Some changes to fix the contentful normalisation
pascaionut12345 Apr 21, 2023
618b405
Merge with better fetch
pascaionut12345 Apr 21, 2023
bb34bb3
Revert "Merge with better fetch"
pascaionut12345 Apr 21, 2023
3651be4
Merge pull request #775 from teleporthq/feat/normalize-cms-content
elizamaria Apr 21, 2023
26e3496
Use id as fallback for context if
pascaionut12345 Apr 21, 2023
4bc76ab
Merge pull request #776 from teleporthq/feat/id-or-ctxid
TudorCe Apr 21, 2023
efefe98
Add support for empty/error/loading states in cms list/item nodes (#779)
ionutpasca May 2, 2023
77c0c39
Handle markdown node with external package
elizamaria May 3, 2023
6706d92
Resolve conflicts
JayaKrishnaNamburu May 3, 2023
14474a5
Generate cms nodes only if they exist
pascaionut12345 May 4, 2023
1d67719
Merge pull request #786 from teleporthq/fix/fix-better-fetch
elizamaria May 4, 2023
215d49b
Resolve conflicts
JayaKrishnaNamburu May 4, 2023
e8e08fe
Merge remote-tracking branch 'origin/feat/better-fetch' into feat/mar…
elizamaria May 4, 2023
3429ec8
add element in cms-project.json to test
elizamaria May 4, 2023
6344b93
Merge pull request #785 from teleporthq/feat/markdown-richtext-node
elizamaria May 4, 2023
35cf758
Fix for missinng importAlias in decoders
JayaKrishnaNamburu May 8, 2023
68c42a8
Merge branch 'development' into feat/better-fetch
JayaKrishnaNamburu May 8, 2023
da8e29d
Merge branch 'feat/better-fetch' of github.com:teleporthq/teleport-co…
JayaKrishnaNamburu May 8, 2023
df1fd49
Fixing existing tests with defaults for the new values in pageOptions
JayaKrishnaNamburu May 8, 2023
b50fef0
Allow lerna to run on this fetch branch
JayaKrishnaNamburu May 8, 2023
5e89aee
chore(release): 'publish v0.27.3-alpha.0'
JayaKrishnaNamburu May 8, 2023
61ebde2
Context name fix for dash-cases
JayaKrishnaNamburu May 10, 2023
ad369c2
chore(release): 'publish v0.27.3-alpha.1'
JayaKrishnaNamburu May 10, 2023
7c95340
(fix): Handlig names for states in cms nodes (#789)
JayaKrishnaNamburu May 17, 2023
59c9390
Fix all tests
JayaKrishnaNamburu May 17, 2023
1826e45
chore(release): 'publish v0.27.3-alpha.2'
JayaKrishnaNamburu May 17, 2023
fefe05d
Add support for wordpress - minor changes required (#790)
ionutpasca May 22, 2023
1ec82a1
Revert "Add support for wordpress - minor changes required (#790)" (#…
JayaKrishnaNamburu May 22, 2023
4a28f5f
Add support for wordpress - minor changes required
pascaionut12345 May 15, 2023
eef5f37
Mark totalCount as non optional property
JayaKrishnaNamburu May 22, 2023
776fa2b
chore(release): 'publish v0.27.3-alpha.3'
elizamaria May 23, 2023
6522eae
Fix cms project for this branch
JayaKrishnaNamburu May 24, 2023
dc49e98
(refactor): normalization of UIDL and new changes for resource mappin…
JayaKrishnaNamburu May 29, 2023
62f358a
Pass content-type headers for nextjs fetch calls
JayaKrishnaNamburu May 29, 2023
aef4f43
chore(release): 'publish v0.27.3-alpha.4'
JayaKrishnaNamburu May 29, 2023
6950c36
Add missing plugin-contexts in teleport-code-generator plugin
JayaKrishnaNamburu May 29, 2023
ef08735
fix use context from link ability (#793)
elizamaria May 29, 2023
0f348a1
fix use context from link ability (#797)
JayaKrishnaNamburu May 30, 2023
da7d357
Params fix for keys and default validation for mappers
JayaKrishnaNamburu May 30, 2023
feefc61
Add naming convention for the resource imports
JayaKrishnaNamburu May 31, 2023
1eaf52c
chore(release): 'publish v0.27.3-alpha.6'
JayaKrishnaNamburu May 31, 2023
709e0e8
chore(release): 'publish v0.27.5-alpha.0'
JayaKrishnaNamburu May 31, 2023
46bbbd4
Commit yarn.lock
JayaKrishnaNamburu May 31, 2023
fe9a891
(feat): Add response type for resources (#800)
JayaKrishnaNamburu Jun 7, 2023
6c93c42
chore(release): 'publish v0.27.6-alpha.0'
JayaKrishnaNamburu Jun 7, 2023
9c7292b
Use unique names for resource files (#803)
JayaKrishnaNamburu Jun 21, 2023
2b2ac3f
chore(release): 'publish v0.27.7-alpha.0'
JayaKrishnaNamburu Jun 21, 2023
ca0270f
Fix the route mapping for nested resources (#806)
JayaKrishnaNamburu Jun 21, 2023
3c8a364
chore(release): 'publish v0.27.8-alpha.0'
JayaKrishnaNamburu Jun 21, 2023
183a537
Allow page attribute to be taken from query params (#805)
ionutpasca Jun 29, 2023
5e971d6
Add support for date-time nodes (#809)
ionutpasca Jun 29, 2023
58e3917
Use teleport packages for code-embed and date-time primitive
pascaionut12345 Jul 3, 2023
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
627 changes: 627 additions & 0 deletions examples/uidl-samples/cms-project.json

Large diffs are not rendered by default.

19,864 changes: 9,932 additions & 9,932 deletions examples/uidl-samples/project.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
"packages": [
"packages/*"
],
"version": "0.27.2",
"version": "0.27.8-alpha.0",
"useWorkspaces": true,
"npmClient": "yarn",
"command": {
"version": {
"allowBranch": [
"development",
"feat/better-fetch",
"hotfix/*"
],
"message": "chore(release): 'publish %s'"
Expand Down
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,20 @@
"add-contributor": "all-contributors add",
"changelog": "lerna-changelog",
"version": "lerna version",
"many:check": "manypkg check",
"many:fix": "manypkg fix",
"publish": "lerna publish from-package --no-verify-access",
"local:adduser": "npm adduser --registry http://localhost:4873",
"local:publish": "lerna exec --bail=false -- npm publish -f --registry http://localhost:4873",
"local:unpublish": "lerna exec --bail=false -- npm unpublish -f --registry http://localhost:4873"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && npm run lint"
"pre-commit": "pretty-quick --staged && npm run lint && npm run many:check"
}
},
"engines": {
"node": "16.x"
"node": ">=16.x"
},
"repository": {
"type": "git",
Expand All @@ -41,7 +43,8 @@
"author": "teleportHQ",
"license": "MIT",
"homepage": "https://teleporthq.io/",
"devDependencies": {
"dependencies": {
"@manypkg/cli": "^0.20.0",
"@types/babel-types": "^7.0.7",
"@types/jest": "^25.1.1",
"@types/node": "^16",
Expand All @@ -57,6 +60,7 @@
"jest": "^26.6.3",
"lerna": "^5.3.0",
"lerna-changelog": "^2.2.0",
"prettier": "^2.3.1",
"pretty-quick": "^3.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.5.6",
Expand Down
43 changes: 23 additions & 20 deletions packages/teleport-code-generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teleporthq/teleport-code-generator",
"version": "0.27.2",
"version": "0.27.8-alpha.0",
"description": "A standalone version of the teleport ecosystem with all the project and component generators installed",
"author": "teleportHQ",
"license": "MIT",
Expand All @@ -23,25 +23,28 @@
"build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs"
},
"dependencies": {
"@teleporthq/teleport-component-generator-angular": "^0.27.2",
"@teleporthq/teleport-component-generator-html": "^0.27.2",
"@teleporthq/teleport-component-generator-react": "^0.27.2",
"@teleporthq/teleport-component-generator-vue": "^0.27.2",
"@teleporthq/teleport-project-generator-angular": "^0.27.2",
"@teleporthq/teleport-project-generator-html": "^0.27.2",
"@teleporthq/teleport-project-generator-next": "^0.27.2",
"@teleporthq/teleport-project-generator-nuxt": "^0.27.2",
"@teleporthq/teleport-project-generator-react": "^0.27.2",
"@teleporthq/teleport-project-generator-vue": "^0.27.2",
"@teleporthq/teleport-project-packer": "^0.27.0",
"@teleporthq/teleport-publisher-codesandbox": "^0.27.0",
"@teleporthq/teleport-publisher-disk": "^0.27.0",
"@teleporthq/teleport-publisher-github": "^0.27.0",
"@teleporthq/teleport-publisher-netlify": "^0.27.0",
"@teleporthq/teleport-publisher-vercel": "^0.27.0",
"@teleporthq/teleport-publisher-zip": "^0.27.0",
"@teleporthq/teleport-shared": "^0.27.2",
"@teleporthq/teleport-types": "^0.27.0"
"@teleporthq/teleport-component-generator-angular": "^0.27.6-alpha.0",
"@teleporthq/teleport-component-generator-html": "^0.27.6-alpha.0",
"@teleporthq/teleport-component-generator-react": "^0.27.6-alpha.0",
"@teleporthq/teleport-component-generator-vue": "^0.27.6-alpha.0",
"@teleporthq/teleport-project-generator-angular": "^0.27.6-alpha.0",
"@teleporthq/teleport-project-generator-html": "^0.27.6-alpha.0",
"@teleporthq/teleport-project-generator-next": "^0.27.6-alpha.0",
"@teleporthq/teleport-project-generator-nuxt": "^0.27.6-alpha.0",
"@teleporthq/teleport-project-generator-react": "^0.27.6-alpha.0",
"@teleporthq/teleport-project-generator-vue": "^0.27.6-alpha.0",
"@teleporthq/teleport-project-packer": "^0.27.6-alpha.0",
"@teleporthq/teleport-project-plugin-api-routes": "^0.27.6-alpha.0",
"@teleporthq/teleport-project-plugin-contexts": "^0.27.6-alpha.0",
"@teleporthq/teleport-project-plugin-inline-fetch": "^0.27.8-alpha.0",
"@teleporthq/teleport-publisher-codesandbox": "^0.27.6-alpha.0",
"@teleporthq/teleport-publisher-disk": "^0.27.6-alpha.0",
"@teleporthq/teleport-publisher-github": "^0.27.6-alpha.0",
"@teleporthq/teleport-publisher-netlify": "^0.27.6-alpha.0",
"@teleporthq/teleport-publisher-vercel": "^0.27.6-alpha.0",
"@teleporthq/teleport-publisher-zip": "^0.27.6-alpha.0",
"@teleporthq/teleport-shared": "^0.27.6-alpha.0",
"@teleporthq/teleport-types": "^0.27.6-alpha.0"
},
"gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0"
}
7 changes: 7 additions & 0 deletions packages/teleport-code-generator/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ import {
PlainHTMLMapping,
} from '@teleporthq/teleport-component-generator-html'
import { isNodeProcess } from './utils'
import { ProjectPluginContexts } from '@teleporthq/teleport-project-plugin-contexts'
import { ProjectPluginInlineFetch } from '@teleporthq/teleport-project-plugin-inline-fetch'

const componentGeneratorFactories: Record<ComponentType, ComponentGeneratorInstance> = {
[ComponentType.REACT]: createReactComponentGenerator,
Expand Down Expand Up @@ -148,6 +150,11 @@ export const packProject: PackProjectFunction = async (
projectGeneratorFactory.addPlugin(nuxtErrorPageMapper)
}

if (projectType === ProjectType.NEXT) {
projectGeneratorFactory.addPlugin(new ProjectPluginContexts({ framework: projectType }))
projectGeneratorFactory.addPlugin(new ProjectPluginInlineFetch({ framework: projectType }))
}

if (plugins?.length > 0) {
plugins.forEach((plugin: ProjectPlugin) => {
projectGeneratorFactory.addPlugin(plugin)
Expand Down
18 changes: 9 additions & 9 deletions packages/teleport-component-generator-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teleporthq/teleport-component-generator-angular",
"version": "0.27.2",
"version": "0.27.6-alpha.0",
"description": "Component generator customization, capable of creating Angular components",
"author": "teleportHQ",
"homepage": "https://teleporthq.io/",
Expand All @@ -24,14 +24,14 @@
"build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs"
},
"dependencies": {
"@teleporthq/teleport-component-generator": "^0.27.2",
"@teleporthq/teleport-plugin-angular-base-component": "^0.27.2",
"@teleporthq/teleport-plugin-css": "^0.27.2",
"@teleporthq/teleport-plugin-import-statements": "^0.27.2",
"@teleporthq/teleport-postprocessor-prettier-html": "^0.27.2",
"@teleporthq/teleport-postprocessor-prettier-ts": "^0.27.2",
"@teleporthq/teleport-shared": "^0.27.2",
"@teleporthq/teleport-types": "^0.27.0"
"@teleporthq/teleport-component-generator": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-angular-base-component": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-css": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-import-statements": "^0.27.6-alpha.0",
"@teleporthq/teleport-postprocessor-prettier-html": "^0.27.6-alpha.0",
"@teleporthq/teleport-postprocessor-prettier-ts": "^0.27.6-alpha.0",
"@teleporthq/teleport-shared": "^0.27.6-alpha.0",
"@teleporthq/teleport-types": "^0.27.6-alpha.0"
},
"gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0"
}
16 changes: 8 additions & 8 deletions packages/teleport-component-generator-html/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teleporthq/teleport-component-generator-html",
"version": "0.27.2",
"version": "0.27.6-alpha.0",
"description": "Component generator customization, capable of creating plain html",
"author": "teleportHQ",
"license": "MIT",
Expand All @@ -24,12 +24,12 @@
"build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs"
},
"dependencies": {
"@teleporthq/teleport-component-generator": "^0.27.2",
"@teleporthq/teleport-plugin-css": "^0.27.2",
"@teleporthq/teleport-plugin-html-base-component": "^0.27.2",
"@teleporthq/teleport-plugin-import-statements-html": "^0.27.2",
"@teleporthq/teleport-postprocessor-prettier-html": "^0.27.2",
"@teleporthq/teleport-shared": "^0.27.2",
"@teleporthq/teleport-types": "^0.27.0"
"@teleporthq/teleport-component-generator": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-css": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-html-base-component": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-import-statements-html": "^0.27.6-alpha.0",
"@teleporthq/teleport-postprocessor-prettier-html": "^0.27.6-alpha.0",
"@teleporthq/teleport-shared": "^0.27.6-alpha.0",
"@teleporthq/teleport-types": "^0.27.6-alpha.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,24 @@ export const PlainHTMLMapping: Mapping = {
dependency: {
type: 'package',
path: 'dangerous-html',
version: '0.1.12',
version: '1.0.0',
meta: {
importJustPath: true,
importAlias: 'https://unpkg.com/[email protected]/dist/default/lib.umd.js',
importAlias:
'https://unpkg.com/@teleporthq/[email protected]/dist/thq-lit-components.umd.js',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And we need to improve this, or else if we are using just dangerous-html. It installs the date-time-primitive too even if we are not using. Since these are umd builds. The bundlers can't tree shake them

},
},
},
'date-time-node': {
elementType: 'date-time-primitive',
dependency: {
type: 'package',
version: '1.0.0',
path: 'date-time-primitive',
meta: {
importJustPath: true,
importAlias:
'https://unpkg.com/@teleporthq/[email protected]/dist/thq-lit-components.umd.js',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ionutpasca we can use single repo to maintain all 3 frameworks. As vite can build all three at the same time. As the changes always need to be in sync with all the three flavours. That makes it less confusing while maintaining too.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I spoke with vladut. We can keep them seperately. But, let's map these URL's to independent umd builds. Instead of loading all of them 👍

},
},
},
Expand Down
28 changes: 14 additions & 14 deletions packages/teleport-component-generator-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teleporthq/teleport-component-generator-react",
"version": "0.27.2",
"version": "0.27.6-alpha.0",
"description": "Component generator customization, capable of creating React components with a number of different style flavors",
"author": "teleportHQ",
"license": "MIT",
Expand All @@ -24,19 +24,19 @@
"build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs"
},
"dependencies": {
"@teleporthq/teleport-component-generator": "^0.27.2",
"@teleporthq/teleport-plugin-css": "^0.27.2",
"@teleporthq/teleport-plugin-css-modules": "^0.27.2",
"@teleporthq/teleport-plugin-import-statements": "^0.27.2",
"@teleporthq/teleport-plugin-jsx-inline-styles": "^0.27.2",
"@teleporthq/teleport-plugin-jsx-proptypes": "^0.27.2",
"@teleporthq/teleport-plugin-react-base-component": "^0.27.2",
"@teleporthq/teleport-plugin-react-jss": "^0.27.2",
"@teleporthq/teleport-plugin-react-styled-components": "^0.27.2",
"@teleporthq/teleport-plugin-react-styled-jsx": "^0.27.2",
"@teleporthq/teleport-postprocessor-prettier-jsx": "^0.27.2",
"@teleporthq/teleport-shared": "^0.27.2",
"@teleporthq/teleport-types": "^0.27.0"
"@teleporthq/teleport-component-generator": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-css": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-css-modules": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-import-statements": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-jsx-inline-styles": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-jsx-proptypes": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-react-base-component": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-react-jss": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-react-styled-components": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-react-styled-jsx": "^0.27.6-alpha.0",
"@teleporthq/teleport-postprocessor-prettier-jsx": "^0.27.6-alpha.0",
"@teleporthq/teleport-shared": "^0.27.6-alpha.0",
"@teleporthq/teleport-types": "^0.27.6-alpha.0"
},
"gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0"
}
33 changes: 30 additions & 3 deletions packages/teleport-component-generator-react/src/react-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,41 @@ export const ReactMapping: Mapping = {
},
},
},
'contentful-richtext-node': {
elementType: 'RichText',
dependency: {
type: 'package',
path: '@madebyconnor/rich-text-to-jsx',
version: '2.2.1',
},
},
'markdown-node': {
elementType: 'Markdown',
dependency: {
type: 'package',
path: 'markdown-to-jsx',
version: '7.2.0',
},
},
'html-node': {
elementType: 'DangerousHTML',
dependency: {
type: 'package',
path: 'dangerous-html',
version: '0.1.12',
path: '@teleporthq/thq-react-components',
version: '1.0.1',
meta: {
importAlias: 'dangerous-html/react',
namedImport: true,
},
},
},
'date-time-node': {
elementType: 'DateTimePrimitive',
dependency: {
type: 'package',
version: '1.0.1',
path: '@teleporthq/thq-react-components',
meta: {
namedImport: true,
},
},
},
Expand Down
22 changes: 11 additions & 11 deletions packages/teleport-component-generator-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teleporthq/teleport-component-generator-vue",
"version": "0.27.2",
"version": "0.27.6-alpha.0",
"description": "Component generator customization, capable of creating Vue components",
"author": "teleportHQ",
"license": "MIT",
Expand All @@ -24,16 +24,16 @@
"build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs"
},
"dependencies": {
"@teleporthq/teleport-component-generator": "^0.27.2",
"@teleporthq/teleport-plugin-css": "^0.27.2",
"@teleporthq/teleport-plugin-import-statements": "^0.27.2",
"@teleporthq/teleport-plugin-vue-app-routing": "^0.27.2",
"@teleporthq/teleport-plugin-vue-base-component": "^0.27.2",
"@teleporthq/teleport-postprocessor-prettier-html": "^0.27.2",
"@teleporthq/teleport-postprocessor-prettier-js": "^0.27.2",
"@teleporthq/teleport-postprocessor-vue-file": "^0.27.2",
"@teleporthq/teleport-shared": "^0.27.2",
"@teleporthq/teleport-types": "^0.27.0"
"@teleporthq/teleport-component-generator": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-css": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-import-statements": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-vue-app-routing": "^0.27.6-alpha.0",
"@teleporthq/teleport-plugin-vue-base-component": "^0.27.6-alpha.0",
"@teleporthq/teleport-postprocessor-prettier-html": "^0.27.6-alpha.0",
"@teleporthq/teleport-postprocessor-prettier-js": "^0.27.6-alpha.0",
"@teleporthq/teleport-postprocessor-vue-file": "^0.27.6-alpha.0",
"@teleporthq/teleport-shared": "^0.27.6-alpha.0",
"@teleporthq/teleport-types": "^0.27.6-alpha.0"
},
"gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0"
}
17 changes: 14 additions & 3 deletions packages/teleport-component-generator-vue/src/vue-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,21 @@ export const VueMapping: Mapping = {
elementType: 'DangerousHTML',
dependency: {
type: 'package',
path: 'dangerous-html',
version: '0.1.12',
path: '@teleporthq/thq-vue-components',
version: '1.0.1',
meta: {
importAlias: 'dangerous-html/vue',
namedImport: true,
},
},
},
'date-time-node': {
elementType: 'DateTimePrimitive',
dependency: {
type: 'package',
version: '1.0.1',
path: '@teleporthq/thq-vue-components',
meta: {
namedImport: true,
},
},
},
Expand Down
10 changes: 5 additions & 5 deletions packages/teleport-component-generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teleporthq/teleport-component-generator",
"version": "0.27.2",
"version": "0.27.6-alpha.0",
"description": "Bare-bone component generator on top of which you can add plugins, mappings and post processing functions",
"author": "teleportHQ",
"license": "MIT",
Expand All @@ -27,10 +27,10 @@
"@babel/generator": "^7.5.5",
"@babel/types": "^7.5.5",
"@starptech/prettyhtml-hast-to-html": "^0.10.0",
"@teleporthq/teleport-shared": "^0.27.2",
"@teleporthq/teleport-types": "^0.27.0",
"@teleporthq/teleport-uidl-resolver": "^0.27.2",
"@teleporthq/teleport-uidl-validator": "^0.27.2"
"@teleporthq/teleport-shared": "^0.27.6-alpha.0",
"@teleporthq/teleport-types": "^0.27.6-alpha.0",
"@teleporthq/teleport-uidl-resolver": "^0.27.6-alpha.0",
"@teleporthq/teleport-uidl-validator": "^0.27.6-alpha.0"
},
"gitHead": "b185c3fdb7dc94ff8c7eed63f7edba055fffa8d0"
}
Loading