@mirai/core 0.1.8 → 0.1.9

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/.gitlab-ci.yml CHANGED
@@ -1,5 +1,4 @@
1
1
  include:
2
2
  - project: $TEMPLATE_CI_PATH
3
- ref: DEVOPS-2-gitlab-pipeline-core
4
- file: npm/core.gitlab-ci.yml
5
- #
3
+ ref: $TEMPLATE_CI_TAG
4
+ file: $TEMPLATE_CI_FILE
@@ -0,0 +1 @@
1
+ @import '../node_modules/@mirai/ui/build/theme/default.theme.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirai/core",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "source": "src/index.js",
5
5
  "repository": "https://gitlab.com/miraicorp/dev/frontend/core",
6
6
  "author": "JΛVI <hello@soyjavi.com>",
@@ -10,8 +10,8 @@
10
10
  "start": "rm -rf dist && parcel public/index.html --port 8080 --host local.mirai.com --open",
11
11
  "serve": "rm -rf dist && NODE_ENV=development parcel build public/index.html --no-cache && serve dist -p 8080 -u -n",
12
12
  "build": "node scripts/build.js",
13
- "build:pro": "rm -rf dist && parcel build src/index.js --no-source-maps --no-autoinstall --detailed-report",
14
- "build:dev": "rm -rf dist && NODE_ENV=development parcel build src/index.js",
13
+ "build:pro": "node scripts/bundle.js",
14
+ "build:dev": "node scripts/bundle.js development",
15
15
  "lint": "eslint --cache --fix --format codeframe --ext .jsx,.js src",
16
16
  "test": "node scripts/test.js --watchAll=false",
17
17
  "test:coverage": "node scripts/test.js --coverage --coverageReporters=text --detectOpenHandles --forceExit --silent",
package/public/index.css CHANGED
@@ -1,5 +1,3 @@
1
- @import '../node_modules/@mirai/ui/build/theme/default.theme.css';
2
-
3
1
  :root {
4
2
  /* legacy */
5
3
  /* --corporative-color: #f2a900; */
package/public/index.html CHANGED
@@ -4,8 +4,10 @@
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <title>@mirai/core</title>
7
- <link rel="stylesheet" href="index.css" rel="preload" defer />
8
- <!-- <link rel="stylesheet" href="../dist/index.css" /> -->
7
+ <!-- <link rel="stylesheet" href="https://static.mirai.com/core/index.css" rel="preload" defer /> -->
8
+ <!-- <link rel="stylesheet" href="../dist/theme.css" rel="preload" defer /> -->
9
+ <link rel="stylesheet" href="../src/theme.css" rel="preload" defer />
10
+ <link rel="stylesheet" href="index.css" />
9
11
  </head>
10
12
  <body>
11
13
  <noscript>You need to enable JavaScript to run this app.</noscript>
@@ -81,7 +83,8 @@
81
83
  <small>Copyright, 2022</small>
82
84
  </footer>
83
85
 
84
- <script type="module" defer src="../src/index.js"></script>
86
+ <!-- <script type="module" defer src="https://static-pre.mirai.com/core/index.js"></script> -->
85
87
  <!-- <script type="module" defer src="../dist/index.js"></script> -->
88
+ <script type="module" defer src="../src/index.js"></script>
86
89
  </body>
87
90
  </html>
package/none DELETED
@@ -1 +0,0 @@
1
- none