Skip to content

Commit b61365f

Browse files
committed
2 parents bb0d307 + 55a6e17 commit b61365f

File tree

54 files changed

+641
-424
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+641
-424
lines changed

.storybook/main.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import ResolveTypeScriptPlugin from "resolve-typescript-plugin";
12
import { WebpackPluginInstance, Configuration } from "webpack";
23
module.exports = {
34
core: {
@@ -22,6 +23,9 @@ module.exports = {
2223
"@storybook/addon-interactions",
2324
],
2425
webpackFinal: async (config: Configuration, { configType }) => {
26+
if (!config.resolve) {
27+
config.resolve = {};
28+
}
2529
// add magic imports and isomorphic imports to Storybook
2630
// Webpack4
2731
//withVulcan.node = { ...(withVulcan.node || {}), fs: "empty" };
@@ -37,6 +41,17 @@ module.exports = {
3741
https: false,
3842
zlib: false,
3943
};
44+
config.resolve.plugins = [
45+
...(config.resolve.plugins || []),
46+
47+
/**
48+
* See https://github.com/storybookjs/storybook/issues/15962
49+
* and https://github.com/softwareventures/resolve-typescript-plugin
50+
* and https://github.com/evanw/esbuild/issues/622
51+
* and https://github.com/egoist/tsup/issues/736
52+
*/
53+
new ResolveTypeScriptPlugin(),
54+
];
4055
return config;
4156
},
4257
};

docusaurus/docs/vulcan-meteor-legacy/features/head-tags.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
title: Head Tags
33
---
44

5+
/!\ In Vulcan Next and Vulcan NPM,
6+
we don't provide Head Tags anymore,
7+
because modern frameworks already provide their own solution at app-level
8+
59
You'll often need to add tags to your app's `<head>` section. There are three ways to do this: using the [Helmet](https://github.com/nfl/react-helmet) library, using the `<Components.HeadTags/>` component, or using the `Head` object.
610

711
## Helmet

docusaurus/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vulcanjs/docusaurus",
3-
"version": "0.7.2-alpha.1",
3+
"version": "0.7.2-alpha.3",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.7.2-alpha.2",
2+
"version": "0.7.2-alpha.7",
33
"npmClient": "yarn",
44
"useWorkspaces": true,
55
"packages": [

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"operation-name-mock-link": "^0.0.6",
5959
"react": "^17.0.1",
6060
"react-dom": "^17.0.1",
61+
"resolve-typescript-plugin": "^1.2.0",
6162
"tsup": "^6.0.1",
6263
"turbo": "^1.1.5",
6364
"typescript": "4.6",

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vulcanjs/core",
3-
"version": "0.7.2-alpha.1",
3+
"version": "0.7.2-alpha.3",
44
"main": "dist/index.js",
55
"files": [
66
"dist/"
@@ -33,7 +33,7 @@
3333
"access": "public"
3434
},
3535
"dependencies": {
36-
"@vulcanjs/utils": "^0.7.2-alpha.1",
36+
"@vulcanjs/utils": "^0.7.2-alpha.3",
3737
"debug": "^4.3.1",
3838
"lodash": "^4.17.21"
3939
}

packages/crud/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vulcanjs/crud",
3-
"version": "0.7.2-alpha.1",
3+
"version": "0.7.2-alpha.3",
44
"main": "./dist/index.js",
55
"files": [
66
"dist/"
@@ -23,11 +23,11 @@
2323
"homepage": "https://github.com/VulcanJS/vulcan-npm#readme",
2424
"license": "MIT",
2525
"dependencies": {
26-
"@vulcanjs/core": "^0.7.2-alpha.1",
27-
"@vulcanjs/model": "^0.7.2-alpha.1",
28-
"@vulcanjs/permissions": "^0.7.2-alpha.1",
29-
"@vulcanjs/schema": "^0.7.2-alpha.1",
30-
"@vulcanjs/utils": "^0.7.2-alpha.1",
26+
"@vulcanjs/core": "^0.7.2-alpha.3",
27+
"@vulcanjs/model": "^0.7.2-alpha.3",
28+
"@vulcanjs/permissions": "^0.7.2-alpha.3",
29+
"@vulcanjs/schema": "^0.7.2-alpha.3",
30+
"@vulcanjs/utils": "^0.7.2-alpha.3",
3131
"debug": "^4.3.1",
3232
"lodash": "^4.17.21"
3333
},

packages/eslint-vulcan-internal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"name": "eslint-plugin-vulcan-internal",
33
"description": "A plugin for our custom liniting rules",
44
"private": true,
5-
"version": "0.7.2-alpha.1",
5+
"version": "0.7.2-alpha.3",
66
"main": "index.js"
77
}

packages/graphql/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vulcanjs/graphql",
3-
"version": "0.7.2-alpha.2",
3+
"version": "0.7.2-alpha.3",
44
"main": "./dist/index.js",
55
"files": [
66
"dist/"
@@ -27,12 +27,12 @@
2727
"homepage": "https://github.com/VulcanJS/vulcan-npm#readme",
2828
"license": "MIT",
2929
"dependencies": {
30-
"@vulcanjs/crud": "^0.7.2-alpha.1",
31-
"@vulcanjs/i18n": "^0.7.2-alpha.1",
32-
"@vulcanjs/model": "^0.7.2-alpha.1",
33-
"@vulcanjs/permissions": "^0.7.2-alpha.1",
34-
"@vulcanjs/schema": "^0.7.2-alpha.1",
35-
"@vulcanjs/utils": "^0.7.2-alpha.1",
30+
"@vulcanjs/crud": "^0.7.2-alpha.3",
31+
"@vulcanjs/i18n": "^0.7.2-alpha.3",
32+
"@vulcanjs/model": "^0.7.2-alpha.3",
33+
"@vulcanjs/permissions": "^0.7.2-alpha.3",
34+
"@vulcanjs/schema": "^0.7.2-alpha.3",
35+
"@vulcanjs/utils": "^0.7.2-alpha.3",
3636
"apollo-datasource": "^3.3.1",
3737
"debug": "^4.3.1",
3838
"deepmerge": "^4.2.2",

packages/i18n/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vulcanjs/i18n",
3-
"version": "0.7.2-alpha.1",
3+
"version": "0.7.2-alpha.3",
44
"description": "Vulcan i18n helpers",
55
"main": "./dist/index.js",
66
"files": [
@@ -28,8 +28,8 @@
2828
"author": "",
2929
"license": "MIT",
3030
"dependencies": {
31-
"@vulcanjs/schema": "^0.7.2-alpha.1",
32-
"@vulcanjs/utils": "^0.7.2-alpha.1",
31+
"@vulcanjs/schema": "^0.7.2-alpha.3",
32+
"@vulcanjs/utils": "^0.7.2-alpha.3",
3333
"prop-types": "^15.7.2",
3434
"simpl-schema": "^1.12.0"
3535
},

0 commit comments

Comments
 (0)