create-nodality-react 1.0.0-beta.1 → 1.0.0-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/index.js CHANGED
@@ -41,7 +41,7 @@ function createProject(projectName) {
41
41
  dependencies: {
42
42
  react: "^18.0.0",
43
43
  "react-dom": "^18.0.0",
44
- nodality: "^1.0.0-beta.4",
44
+ nodality: "^1.0.0-beta.11",
45
45
  },
46
46
  devDependencies: {
47
47
  webpack: "^5.0.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nodality-react",
3
- "version": "1.0.0-beta.1",
3
+ "version": "1.0.0-beta.11",
4
4
  "description": "Scaffolding tool for creating Nodality React projects",
5
5
  "main": "bin/index.js",
6
6
  "bin": {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "scripts": {},
10
10
  "keywords": ["nodality", "react", "scaffolding", "create"],
11
- "author": "Your Name",
11
+ "author": "Filip Vabrousek",
12
12
  "license": "MIT",
13
13
  "dependencies": {}
14
14
  }
@@ -3,9 +3,10 @@
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
- <title>My Nodality React App</title>
6
+ <title>My Nodality React Appa</title>
7
7
  </head>
8
8
  <body>
9
9
  <div id="root"></div>
10
+ <script src="dist/bundle.js"></script>
10
11
  </body>
11
12
  </html>
@@ -29,7 +29,7 @@ function Wrappera({ setIsNav }) {
29
29
  .set({ background: "orange" })
30
30
  .add([
31
31
  new Text(`Counter ${count}`).set({
32
- fluidc: "S1",
32
+ size: "S1",
33
33
  font: "Arial",
34
34
  onTap: () => {
35
35
  setCount(count + 1);
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import ReactDOM from 'react-dom/client';
3
- import App from './App';
3
+ import App from './App.js';
4
4
 
5
5
  const root = ReactDOM.createRoot(document.getElementById('root'));
6
6
  root.render(<App />);