sample-piral 1.0.0-pre.2296 → 1.0.0

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/app/index.html CHANGED
@@ -1,19 +1,18 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
1
+ <!DOCTYPE html><html lang="en"><head>
4
2
  <meta charset="UTF-8">
5
3
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
4
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
5
  <title>Piral Sample</title>
8
6
  <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
9
- <link rel="stylesheet" href="/styles.12ced89d.css">
10
- <link rel="stylesheet" href="/src.a5b4f1ad.css"></head>
7
+
8
+ <script defer src="/index.b7f952.js"></script></head>
11
9
  <body>
12
10
  <div id="app">
13
11
  <div class="pi-center">
14
12
  <div class="pi-spinner"></div>
15
13
  </div>
16
14
  </div>
17
- <script src="/src.a14bddb2.js"></script>
18
- </body>
19
- </html>
15
+
16
+
17
+
18
+ </body></html>
package/app/index.js CHANGED
@@ -2,7 +2,7 @@ if (process.env.NODE_ENV === 'test') {
2
2
  // behavior for the test environment, we'll try to make it work
3
3
 
4
4
  if (typeof window !== 'undefined') {
5
- require('./src.a14bddb2.js');
5
+ require('.//index.b7f952.js');
6
6
  const ctx = window['dbg:piral'];
7
7
  const dependencies = (ctx && ctx.pilets && ctx.pilets.getDependencies({})) || {};
8
8
  module.exports = dependencies['sample-piral'] || {};
package/files.tar CHANGED
Binary file
package/files_once.tar CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sample-piral",
3
3
  "description": "Example project illustrating the use of the piral and piral-cli packages.",
4
- "version": "1.0.0-pre.2296",
4
+ "version": "1.0.0",
5
5
  "license": "MIT",
6
6
  "homepage": "https://piral.io",
7
7
  "keywords": [
@@ -13,18 +13,25 @@
13
13
  "modules",
14
14
  "spa"
15
15
  ],
16
+ "importmap": {
17
+ "imports": {
18
+ "reactstrap": "reactstrap",
19
+ "tslib": "tslib",
20
+ "react": "react",
21
+ "react-dom": "react-dom",
22
+ "react-router": "react-router",
23
+ "react-router-dom": "react-router-dom"
24
+ }
25
+ },
16
26
  "pilets": {
17
- "externals": [
18
- "reactstrap"
19
- ],
20
- "files": [],
21
27
  "scripts": {
22
28
  "start": "pilet debug",
23
29
  "upgrade-pilet": "pilet upgrade --force-overwrite yes"
24
- }
30
+ },
31
+ "files": []
25
32
  },
26
33
  "piralCLI": {
27
- "version": "0.13.0",
34
+ "version": "1.0.0",
28
35
  "generated": true
29
36
  },
30
37
  "main": "./app/index.js",
@@ -32,28 +39,33 @@
32
39
  "app": "./app/index.html",
33
40
  "peerDependencies": {},
34
41
  "devDependencies": {
35
- "@types/react": "^17.0.0",
36
- "@types/react-dom": "^17.0.0",
42
+ "@types/react": "^18.0.0",
43
+ "@types/react-dom": "^18.0.0",
37
44
  "@types/react-router": "^5.1.8",
38
45
  "@types/react-router-dom": "^5.1.6",
39
- "piral-cli": "^0.13.0",
40
- "piral-cli-parcel": "^0.13.0",
46
+ "piral-cli": "^1.0.0",
47
+ "piral-cli-webpack5": "^1.0.0",
41
48
  "sass": "^1.17.0",
42
49
  "bootstrap": "^4.3.1",
43
- "piral": "^0.13.0",
44
- "piral-auth": "^0.13.0",
45
- "piral-search": "^0.13.0",
46
- "reactstrap": "8.5.1",
47
- "@dbeining/react-atom": "4.1.10",
48
- "@libre/atom": "1.3.3",
49
- "history": "4.10.1",
50
- "react": "17.0.1",
51
- "react-dom": "17.0.1",
52
- "react-router": "5.2.0",
53
- "react-router-dom": "5.2.0",
54
- "tslib": "1.13.0",
55
- "path-to-regexp": "1.8.0"
50
+ "piral": "^1.0.0",
51
+ "piral-auth": "^1.0.0",
52
+ "piral-hooks-utils": "^1.0.0",
53
+ "piral-search": "^1.0.0",
54
+ "reactstrap": "8.10.1",
55
+ "tslib": "2.5.2",
56
+ "react": "18.2.0",
57
+ "react-dom": "18.2.0",
58
+ "react-router": "5.3.3",
59
+ "react-router-dom": "5.3.3"
56
60
  },
61
+ "sharedDependencies": [
62
+ "reactstrap",
63
+ "tslib",
64
+ "react",
65
+ "react-dom",
66
+ "react-router",
67
+ "react-router-dom"
68
+ ],
57
69
  "repository": {
58
70
  "type": "git",
59
71
  "url": "git+https://github.com/smapiot/piral.git"