@symbo.ls/create 2.10.163 → 2.10.165
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/index.js +4 -2
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -8,7 +8,8 @@ import * as utils from '@symbo.ls/utils'
|
|
|
8
8
|
import * as domqlUtils from '@domql/utils'
|
|
9
9
|
|
|
10
10
|
import * as uikit from '@symbo.ls/uikit'
|
|
11
|
-
import { init } from '@symbo.ls/init'
|
|
11
|
+
import { init, updateReset } from '@symbo.ls/init'
|
|
12
|
+
import { set } from '@symbo.ls/scratch'
|
|
12
13
|
|
|
13
14
|
import { emotion as defaultEmotion, createEmotion } from '@symbo.ls/emotion'
|
|
14
15
|
import { defaultDefine } from './define'
|
|
@@ -20,6 +21,7 @@ import { initRouter } from './router'
|
|
|
20
21
|
import { fetchAsync, fetchSync } from './ferchOnCreate'
|
|
21
22
|
|
|
22
23
|
const SYMBOLS_KEY = process.env.SYMBOLS_KEY
|
|
24
|
+
const smblsUtils = { init, set, updateReset }
|
|
23
25
|
|
|
24
26
|
const defaultOptions = {
|
|
25
27
|
editor: {
|
|
@@ -80,7 +82,7 @@ export const create = async (App, options = defaultOptions, RC_FILE) => {
|
|
|
80
82
|
const pages = options.pages || {}
|
|
81
83
|
const components = options.components ? { ...uikit, ...options.components } : uikit
|
|
82
84
|
const designSystem = scratchSystem || {}
|
|
83
|
-
const snippets = { ...utils, ...domqlUtils, ...(options.snippets || {})}
|
|
85
|
+
const snippets = { ...utils, ...domqlUtils, ...smblsUtils, ...(options.snippets || {})}
|
|
84
86
|
const router = options.router || defaultRouter
|
|
85
87
|
const define = options.define || defaultDefine
|
|
86
88
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/create",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.165",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"gitHead": "
|
|
5
|
+
"gitHead": "30fbc4dc26682e15d1d7eb2b6312bce6d9f07ec2",
|
|
6
6
|
"source": "index.js",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"dependencies": {
|