@esri/solutions-components 0.7.12-alpha2 → 0.7.13
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/guides/Publishing to npmjs.md +3 -10
- package/lerna.json +6 -0
- package/package.json +5 -4
- package/packages/solutions-components/package.json +108 -108
- package/packages/solutions-components/src/components/json-editor/assets/monaco-editor/package.json +63 -63
- package/support/publish.sh +49 -0
- package/support/releaseToGitHub.ts +0 -29
|
@@ -3,16 +3,9 @@
|
|
|
3
3
|
#### Checklist
|
|
4
4
|
|
|
5
5
|
* \[ \] Stop automatic recompilation software
|
|
6
|
-
* \[ \]
|
|
7
|
-
* \[ \]
|
|
8
|
-
* \[ \]
|
|
9
|
-
* \[ \] Run `npm install` to update package-lock.json
|
|
10
|
-
* \[ \] Edit CHANGELOG.md
|
|
11
|
-
* \[ \] Add the version and date after the "## [Unreleased]" line, e.g., `## [0.1.6] - November 2nd 2022`
|
|
12
|
-
* \[ \] Define the version's symbol (e.g., "0.1.6") mapping from the previous version to the new version, e.g., `[0.1.6]: https://github.com/Esri/solution.js/compare/v0.1.5...v0.1.6 "v0.1.6"`
|
|
13
|
-
* \[ \] Update the "Unreleased" symbol to map from the new version to the "HEAD", e.g., `[Unreleased]: https://github.com/Esri/solution.js/compare/v0.1.6...HEAD "Unreleased Changes"`
|
|
14
|
-
* \[ \] Commit everything and push `master` to GitHub
|
|
15
|
-
* \[ \] Run `npm run release:publish`, supplying the npm OTP (one-time passcode from Okta Verify or similar) when prompted
|
|
6
|
+
* \[ \] Run `npm run publish`
|
|
7
|
+
* \[ \] Select or enter the new version number (long delay afterwards)
|
|
8
|
+
* \[ \] Press ENTER to open the npm 2-factor prompt in a browser and enter the one-time password
|
|
16
9
|
|
|
17
10
|
---
|
|
18
11
|
|
package/lerna.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/solutions-components",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.13",
|
|
4
4
|
"description": "Web Components for Esri's Solutions Applications",
|
|
5
5
|
"workspaces": [
|
|
6
6
|
"packages/*"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"clean": "turbo run clean && rimraf node_modules",
|
|
11
11
|
"lint": "turbo run lint",
|
|
12
12
|
"test": "turbo run test",
|
|
13
|
-
"
|
|
13
|
+
"publish": "lerna publish --no-git-tag-version --no-push --skip-npm --yes && npm publish --access public && bash ./support/publish.sh",
|
|
14
14
|
"update-browserslist": "npx browserslist@latest --update-db"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
@@ -64,14 +64,16 @@
|
|
|
64
64
|
"eslint-plugin-prettier": "4.2.1",
|
|
65
65
|
"eslint-plugin-react": "7.33.2",
|
|
66
66
|
"eslint-plugin-unicorn": "46.0.1",
|
|
67
|
+
"gh-release": "^7.0.2",
|
|
67
68
|
"globby": "14.0.0",
|
|
68
69
|
"husky": "8.0.3",
|
|
69
70
|
"jest": "29.7.0",
|
|
70
71
|
"jest-axe": "8.0.0",
|
|
71
72
|
"jest-cli": "29.7.0",
|
|
72
|
-
"lerna": "7.1.5",
|
|
73
|
+
"lerna": "^7.1.5",
|
|
73
74
|
"lint-staged": "13.2.3",
|
|
74
75
|
"markdownlint-cli": "0.34.0",
|
|
76
|
+
"pify": "^6.1.0",
|
|
75
77
|
"postcss": "8.4.32",
|
|
76
78
|
"prettier": "2.8.8",
|
|
77
79
|
"puppeteer": "21.5.0",
|
|
@@ -91,7 +93,6 @@
|
|
|
91
93
|
"stylelint-use-logical-spec": "5.0.0",
|
|
92
94
|
"tailwindcss": "3.3.6",
|
|
93
95
|
"ts-jest": "29.1.1",
|
|
94
|
-
"ts-node": "^10.9.2",
|
|
95
96
|
"tsx": "4.1.2",
|
|
96
97
|
"turbo": "^1.11.2",
|
|
97
98
|
"type-fest": "3.11.1",
|
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@esri/solutions-components",
|
|
3
|
-
"version": "0.7.
|
|
4
|
-
"description": "Web Components for Esri's Solutions Applications",
|
|
5
|
-
"main": "dist/index.cjs.js",
|
|
6
|
-
"module": "dist/index.js",
|
|
7
|
-
"es2015": "dist/esm/index.js",
|
|
8
|
-
"es2017": "dist/esm/index.js",
|
|
9
|
-
"jsnext:main": "dist/esm/index.js",
|
|
10
|
-
"types": "dist/types/index.d.ts",
|
|
11
|
-
"type": "module",
|
|
12
|
-
"unpkg": "dist/index.js",
|
|
13
|
-
"collection:main": "dist/collection/index.js",
|
|
14
|
-
"collection": "dist/collection/collection-manifest.json",
|
|
15
|
-
"files": [
|
|
16
|
-
"dist/"
|
|
17
|
-
],
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "npm run util:prep-build-reqs && stencil build && npm run util:patch && npm run util:generate-t9n-docs-json && npm run util:clean-readmes",
|
|
20
|
-
"build:watch": "npm run util:prep-build-reqs && stencil build --no-docs --watch",
|
|
21
|
-
"build:watch-dev": "npm run util:prep-build-reqs && stencil build --no-docs --dev --watch",
|
|
22
|
-
"build-storybook": "npm run util:build-docs && NODE_OPTIONS=--openssl-legacy-provider build-storybook --output-dir ./docs --quiet",
|
|
23
|
-
"clean": "npm run util:clean-js-files && npm run util:clean-readmes && rimraf node_modules dist www hydrate docs .turbo",
|
|
24
|
-
"deps:update": "updtr --exclude chalk cheerio typescript @types/jest jest jest-cli ts-jest @whitespace/storybook-addon-html && npm audit fix",
|
|
25
|
-
"docs": "build-storybook",
|
|
26
|
-
"docs:preview": "npm run util:build-docs && NODE_OPTIONS=--openssl-legacy-provider STORYBOOK_SCREENSHOT_LOCAL_BUILD=true start-storybook",
|
|
27
|
-
"lint": "concurrently npm:lint:*",
|
|
28
|
-
"lint:html": "prettier --write \"**/*.html\" >/dev/null",
|
|
29
|
-
"lint:json": "prettier --write \"**/*.json\" >/dev/null",
|
|
30
|
-
"lint:md": "markdownlint \"**/*.md\" --fix --dot --ignore-path .gitignore && prettier --write \"**/*.md\" >/dev/null",
|
|
31
|
-
"lint:scss": "stylelint --fix \"src/**/*.scss\" && prettier --write \"**/*.scss\" >/dev/null",
|
|
32
|
-
"lint:ts": "eslint --ext .ts,.tsx --fix . && prettier --write \"**/*.ts?(x)\" >/dev/null",
|
|
33
|
-
"posttest": "npm run test:prerender",
|
|
34
|
-
"release:docs": "npm run docs && storybook-to-ghpages --existing-output-dir=docs",
|
|
35
|
-
"start": "npm run util:clean-js-files && concurrently --kill-others --raw \"tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev -- --serve\"",
|
|
36
|
-
"test": "stencil test --no-docs --no-build --spec --e2e",
|
|
37
|
-
"test:prerender": "stencil build --no-docs --prerender",
|
|
38
|
-
"test:watch": "npm run build && npm run test -- -- --watchAll",
|
|
39
|
-
"util:build-docs": "npm run util:prep-build-reqs && stencil build --docs --config stencil.storybook.config.ts",
|
|
40
|
-
"util:clean-tested-build": "npm ci && npm test && npm run build",
|
|
41
|
-
"util:copy-assets": "npm run util:copy-icons",
|
|
42
|
-
"util:copy-icons": "cpy \"../../node_modules/@esri/calcite-ui-icons/js/*.json\" \"./src/components/icon/assets/icon/\" --flat",
|
|
43
|
-
"util:generate-t9n-docs-json": "tsx support/generateT9nDocsJSON.ts",
|
|
44
|
-
"util:generate-t9n-types": "tsx support/generateT9nTypes.ts",
|
|
45
|
-
"util:hydration-styles": "tsx support/hydrationStyles.ts",
|
|
46
|
-
"util:patch": "npm run util:patch-esm-resolution",
|
|
47
|
-
"util:patch-esm-resolution": "tsx support/patchESMResolution.ts",
|
|
48
|
-
"util:prep-build-reqs": "npm run util:copy-assets && npm run util:generate-t9n-types",
|
|
49
|
-
"util:sync-t9n-en-bundles": "tsx support/syncEnT9nBundles.ts",
|
|
50
|
-
"util:test-types": "! grep -rnw 'dist/types' -e '<reference types='",
|
|
51
|
-
"util:clean-js-files": "rimraf --glob -- *.js {src,.storybook,support}/**.js",
|
|
52
|
-
"util:clean-readmes": "git restore src/components/*/readme.md",
|
|
53
|
-
"util:is-working-tree-clean": "[ -z \"$(git status --porcelain=v1)\" ]"
|
|
54
|
-
},
|
|
55
|
-
"devDependencies": {
|
|
56
|
-
"@esri/eslint-plugin-calcite-components": "^1.0.1-next.1",
|
|
57
|
-
"@stencil-community/eslint-plugin": "0.7.1",
|
|
58
|
-
"@stencil-community/postcss": "2.2.0",
|
|
59
|
-
"@stencil/angular-output-target": "0.8.3",
|
|
60
|
-
"@stencil/react-output-target": "0.5.3",
|
|
61
|
-
"@stencil/sass": "3.0.7",
|
|
62
|
-
"jsdom": "22.1.0"
|
|
63
|
-
},
|
|
64
|
-
"dependencies": {
|
|
65
|
-
"@esri/arcgis-rest-auth": "^3.4.2",
|
|
66
|
-
"@esri/arcgis-rest-feature-layer": "^3.4.2",
|
|
67
|
-
"@esri/arcgis-rest-portal": "^3.4.2",
|
|
68
|
-
"@esri/arcgis-rest-request": "^3.4.2",
|
|
69
|
-
"@esri/arcgis-rest-service-admin": "^3.4.2",
|
|
70
|
-
"@esri/calcite-components": "2.0.0",
|
|
71
|
-
"@esri/calcite-design-tokens": "^2.0.1-next.3",
|
|
72
|
-
"@esri/calcite-ui-icons": "3.25.2",
|
|
73
|
-
"@esri/hub-common": "^12.37.1",
|
|
74
|
-
"@esri/hub-initiatives": "^12.4.1",
|
|
75
|
-
"@esri/hub-sites": "^12.6.0",
|
|
76
|
-
"@esri/hub-teams": "^12.4.1",
|
|
77
|
-
"@esri/instant-apps-components": "1.0.0-beta.163",
|
|
78
|
-
"@esri/solution-common": "^5.0.9",
|
|
79
|
-
"@floating-ui/dom": "1.5.3",
|
|
80
|
-
"@pdf-lib/fontkit": "^1.1.1",
|
|
81
|
-
"@stencil/core": "4.8.1",
|
|
82
|
-
"@types/color": "3.0.6",
|
|
83
|
-
"color": "4.2.3",
|
|
84
|
-
"composed-offset-position": "0.0.4",
|
|
85
|
-
"dayjs": "1.11.10",
|
|
86
|
-
"focus-trap": "7.5.4",
|
|
87
|
-
"form-request-submit-polyfill": "2.0.0",
|
|
88
|
-
"jspdf": "^2.5.1",
|
|
89
|
-
"lodash-es": "4.17.21",
|
|
90
|
-
"sortablejs": "1.15.1",
|
|
91
|
-
"timezone-groups": "0.8.0"
|
|
92
|
-
},
|
|
93
|
-
"repository": {
|
|
94
|
-
"type": "git",
|
|
95
|
-
"url": "git+https://github.com/Esri/solutions-components.git"
|
|
96
|
-
},
|
|
97
|
-
"contributors": [
|
|
98
|
-
{
|
|
99
|
-
"name": "John Hauck",
|
|
100
|
-
"email": "jhauck@esri.com"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"name": "Mike Tschudi",
|
|
104
|
-
"email": "mtschudi@esri.com"
|
|
105
|
-
}
|
|
106
|
-
],
|
|
107
|
-
"license": "Apache-2.0"
|
|
108
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@esri/solutions-components",
|
|
3
|
+
"version": "0.7.14",
|
|
4
|
+
"description": "Web Components for Esri's Solutions Applications",
|
|
5
|
+
"main": "dist/index.cjs.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"es2015": "dist/esm/index.js",
|
|
8
|
+
"es2017": "dist/esm/index.js",
|
|
9
|
+
"jsnext:main": "dist/esm/index.js",
|
|
10
|
+
"types": "dist/types/index.d.ts",
|
|
11
|
+
"type": "module",
|
|
12
|
+
"unpkg": "dist/index.js",
|
|
13
|
+
"collection:main": "dist/collection/index.js",
|
|
14
|
+
"collection": "dist/collection/collection-manifest.json",
|
|
15
|
+
"files": [
|
|
16
|
+
"dist/"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "npm run util:prep-build-reqs && stencil build && npm run util:patch && npm run util:generate-t9n-docs-json && npm run util:clean-readmes",
|
|
20
|
+
"build:watch": "npm run util:prep-build-reqs && stencil build --no-docs --watch",
|
|
21
|
+
"build:watch-dev": "npm run util:prep-build-reqs && stencil build --no-docs --dev --watch",
|
|
22
|
+
"build-storybook": "npm run util:build-docs && NODE_OPTIONS=--openssl-legacy-provider build-storybook --output-dir ./docs --quiet",
|
|
23
|
+
"clean": "npm run util:clean-js-files && npm run util:clean-readmes && rimraf node_modules dist www hydrate docs .turbo",
|
|
24
|
+
"deps:update": "updtr --exclude chalk cheerio typescript @types/jest jest jest-cli ts-jest @whitespace/storybook-addon-html && npm audit fix",
|
|
25
|
+
"docs": "build-storybook",
|
|
26
|
+
"docs:preview": "npm run util:build-docs && NODE_OPTIONS=--openssl-legacy-provider STORYBOOK_SCREENSHOT_LOCAL_BUILD=true start-storybook",
|
|
27
|
+
"lint": "concurrently npm:lint:*",
|
|
28
|
+
"lint:html": "prettier --write \"**/*.html\" >/dev/null",
|
|
29
|
+
"lint:json": "prettier --write \"**/*.json\" >/dev/null",
|
|
30
|
+
"lint:md": "markdownlint \"**/*.md\" --fix --dot --ignore-path .gitignore && prettier --write \"**/*.md\" >/dev/null",
|
|
31
|
+
"lint:scss": "stylelint --fix \"src/**/*.scss\" && prettier --write \"**/*.scss\" >/dev/null",
|
|
32
|
+
"lint:ts": "eslint --ext .ts,.tsx --fix . && prettier --write \"**/*.ts?(x)\" >/dev/null",
|
|
33
|
+
"posttest": "npm run test:prerender",
|
|
34
|
+
"release:docs": "npm run docs && storybook-to-ghpages --existing-output-dir=docs",
|
|
35
|
+
"start": "npm run util:clean-js-files && concurrently --kill-others --raw \"tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev -- --serve\"",
|
|
36
|
+
"test": "stencil test --no-docs --no-build --spec --e2e",
|
|
37
|
+
"test:prerender": "stencil build --no-docs --prerender",
|
|
38
|
+
"test:watch": "npm run build && npm run test -- -- --watchAll",
|
|
39
|
+
"util:build-docs": "npm run util:prep-build-reqs && stencil build --docs --config stencil.storybook.config.ts",
|
|
40
|
+
"util:clean-tested-build": "npm ci && npm test && npm run build",
|
|
41
|
+
"util:copy-assets": "npm run util:copy-icons",
|
|
42
|
+
"util:copy-icons": "cpy \"../../node_modules/@esri/calcite-ui-icons/js/*.json\" \"./src/components/icon/assets/icon/\" --flat",
|
|
43
|
+
"util:generate-t9n-docs-json": "tsx support/generateT9nDocsJSON.ts",
|
|
44
|
+
"util:generate-t9n-types": "tsx support/generateT9nTypes.ts",
|
|
45
|
+
"util:hydration-styles": "tsx support/hydrationStyles.ts",
|
|
46
|
+
"util:patch": "npm run util:patch-esm-resolution",
|
|
47
|
+
"util:patch-esm-resolution": "tsx support/patchESMResolution.ts",
|
|
48
|
+
"util:prep-build-reqs": "npm run util:copy-assets && npm run util:generate-t9n-types",
|
|
49
|
+
"util:sync-t9n-en-bundles": "tsx support/syncEnT9nBundles.ts",
|
|
50
|
+
"util:test-types": "! grep -rnw 'dist/types' -e '<reference types='",
|
|
51
|
+
"util:clean-js-files": "rimraf --glob -- *.js {src,.storybook,support}/**.js",
|
|
52
|
+
"util:clean-readmes": "git restore src/components/*/readme.md",
|
|
53
|
+
"util:is-working-tree-clean": "[ -z \"$(git status --porcelain=v1)\" ]"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@esri/eslint-plugin-calcite-components": "^1.0.1-next.1",
|
|
57
|
+
"@stencil-community/eslint-plugin": "0.7.1",
|
|
58
|
+
"@stencil-community/postcss": "2.2.0",
|
|
59
|
+
"@stencil/angular-output-target": "0.8.3",
|
|
60
|
+
"@stencil/react-output-target": "0.5.3",
|
|
61
|
+
"@stencil/sass": "3.0.7",
|
|
62
|
+
"jsdom": "22.1.0"
|
|
63
|
+
},
|
|
64
|
+
"dependencies": {
|
|
65
|
+
"@esri/arcgis-rest-auth": "^3.4.2",
|
|
66
|
+
"@esri/arcgis-rest-feature-layer": "^3.4.2",
|
|
67
|
+
"@esri/arcgis-rest-portal": "^3.4.2",
|
|
68
|
+
"@esri/arcgis-rest-request": "^3.4.2",
|
|
69
|
+
"@esri/arcgis-rest-service-admin": "^3.4.2",
|
|
70
|
+
"@esri/calcite-components": "2.0.0",
|
|
71
|
+
"@esri/calcite-design-tokens": "^2.0.1-next.3",
|
|
72
|
+
"@esri/calcite-ui-icons": "3.25.2",
|
|
73
|
+
"@esri/hub-common": "^12.37.1",
|
|
74
|
+
"@esri/hub-initiatives": "^12.4.1",
|
|
75
|
+
"@esri/hub-sites": "^12.6.0",
|
|
76
|
+
"@esri/hub-teams": "^12.4.1",
|
|
77
|
+
"@esri/instant-apps-components": "1.0.0-beta.163",
|
|
78
|
+
"@esri/solution-common": "^5.0.9",
|
|
79
|
+
"@floating-ui/dom": "1.5.3",
|
|
80
|
+
"@pdf-lib/fontkit": "^1.1.1",
|
|
81
|
+
"@stencil/core": "4.8.1",
|
|
82
|
+
"@types/color": "3.0.6",
|
|
83
|
+
"color": "4.2.3",
|
|
84
|
+
"composed-offset-position": "0.0.4",
|
|
85
|
+
"dayjs": "1.11.10",
|
|
86
|
+
"focus-trap": "7.5.4",
|
|
87
|
+
"form-request-submit-polyfill": "2.0.0",
|
|
88
|
+
"jspdf": "^2.5.1",
|
|
89
|
+
"lodash-es": "4.17.21",
|
|
90
|
+
"sortablejs": "1.15.1",
|
|
91
|
+
"timezone-groups": "0.8.0"
|
|
92
|
+
},
|
|
93
|
+
"repository": {
|
|
94
|
+
"type": "git",
|
|
95
|
+
"url": "git+https://github.com/Esri/solutions-components.git"
|
|
96
|
+
},
|
|
97
|
+
"contributors": [
|
|
98
|
+
{
|
|
99
|
+
"name": "John Hauck",
|
|
100
|
+
"email": "jhauck@esri.com"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "Mike Tschudi",
|
|
104
|
+
"email": "mtschudi@esri.com"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"license": "Apache-2.0"
|
|
108
|
+
}
|
package/packages/solutions-components/src/components/json-editor/assets/monaco-editor/package.json
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "monaco-editor",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"vscode": "4b8a47f3570a4a05ace9d00ae0df044b55befcd5",
|
|
5
|
-
"private": false,
|
|
6
|
-
"description": "A browser based code editor",
|
|
7
|
-
"author": "Microsoft Corporation",
|
|
8
|
-
"license": "MIT",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"build-website": "ts-node ./build/website && npm run typedoc",
|
|
11
|
-
"import-typescript": "ts-node ./build/importTypescript",
|
|
12
|
-
"package-for-smoketest-esbuild": "ts-node ./test/smoke/package-esbuild",
|
|
13
|
-
"playwright-install": "node ./node_modules/playwright/install.js",
|
|
14
|
-
"playwright-install-deps": "playwright install-deps",
|
|
15
|
-
"prettier-check": "prettier --check .",
|
|
16
|
-
"prettier": "prettier --write .",
|
|
17
|
-
"pretty-quick": "pretty-quick --staged",
|
|
18
|
-
"release": "ts-node ./build/build && ts-node ./build/release",
|
|
19
|
-
"simpleserver": "ts-node ./build/simpleserver",
|
|
20
|
-
"smoketest-debug": "node ./test/smoke/runner.js --debug-tests",
|
|
21
|
-
"smoketest": "node ./test/smoke/runner.js",
|
|
22
|
-
"test": "mocha test/unit/all.js",
|
|
23
|
-
"deps-all-remove": "ts-node ./build/npm/removeAll",
|
|
24
|
-
"deps-all-install": "ts-node ./build/npm/installAll",
|
|
25
|
-
"typedoc": "cd website/typedoc && \"../../node_modules/.bin/typedoc\" --options ./typedoc.json",
|
|
26
|
-
"watch": "tsc -w -p ./src"
|
|
27
|
-
},
|
|
28
|
-
"typings": "./esm/vs/editor/editor.api.d.ts",
|
|
29
|
-
"module": "./esm/vs/editor/editor.main.js",
|
|
30
|
-
"repository": {
|
|
31
|
-
"type": "git",
|
|
32
|
-
"url": "https://github.com/microsoft/monaco-editor"
|
|
33
|
-
},
|
|
34
|
-
"devDependencies": {
|
|
35
|
-
"@types/mocha": "^9.1.0",
|
|
36
|
-
"@typescript/vfs": "^1.3.5",
|
|
37
|
-
"chai": "^4.3.6",
|
|
38
|
-
"clean-css": "^5.2.4",
|
|
39
|
-
"esbuild": "^0.14.49",
|
|
40
|
-
"esbuild-plugin-alias": "^0.2.1",
|
|
41
|
-
"glob": "^7.2.0",
|
|
42
|
-
"husky": "^7.0.4",
|
|
43
|
-
"jsdom": "^19.0.0",
|
|
44
|
-
"jsonc-parser": "^3.0.0",
|
|
45
|
-
"mocha": "^9.2.0",
|
|
46
|
-
"monaco-editor-core": "0.34.0",
|
|
47
|
-
"playwright": "^1.18.1",
|
|
48
|
-
"prettier": "^2.5.1",
|
|
49
|
-
"pretty-quick": "^3.1.3",
|
|
50
|
-
"requirejs": "^2.3.6",
|
|
51
|
-
"terser": "^5.14.2",
|
|
52
|
-
"ts-node": "^10.6.0",
|
|
53
|
-
"typedoc": "^0.22.11",
|
|
54
|
-
"typescript": "4.5.5",
|
|
55
|
-
"vscode-css-languageservice": "5.4.1",
|
|
56
|
-
"vscode-html-languageservice": "4.2.4",
|
|
57
|
-
"vscode-json-languageservice": "4.2.1",
|
|
58
|
-
"vscode-languageserver-textdocument": "^1.0.4",
|
|
59
|
-
"vscode-languageserver-types": "3.16.0",
|
|
60
|
-
"vscode-uri": "3.0.3",
|
|
61
|
-
"yaserver": "^0.4.0"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "monaco-editor",
|
|
3
|
+
"version": "0.7.14",
|
|
4
|
+
"vscode": "4b8a47f3570a4a05ace9d00ae0df044b55befcd5",
|
|
5
|
+
"private": false,
|
|
6
|
+
"description": "A browser based code editor",
|
|
7
|
+
"author": "Microsoft Corporation",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build-website": "ts-node ./build/website && npm run typedoc",
|
|
11
|
+
"import-typescript": "ts-node ./build/importTypescript",
|
|
12
|
+
"package-for-smoketest-esbuild": "ts-node ./test/smoke/package-esbuild",
|
|
13
|
+
"playwright-install": "node ./node_modules/playwright/install.js",
|
|
14
|
+
"playwright-install-deps": "playwright install-deps",
|
|
15
|
+
"prettier-check": "prettier --check .",
|
|
16
|
+
"prettier": "prettier --write .",
|
|
17
|
+
"pretty-quick": "pretty-quick --staged",
|
|
18
|
+
"release": "ts-node ./build/build && ts-node ./build/release",
|
|
19
|
+
"simpleserver": "ts-node ./build/simpleserver",
|
|
20
|
+
"smoketest-debug": "node ./test/smoke/runner.js --debug-tests",
|
|
21
|
+
"smoketest": "node ./test/smoke/runner.js",
|
|
22
|
+
"test": "mocha test/unit/all.js",
|
|
23
|
+
"deps-all-remove": "ts-node ./build/npm/removeAll",
|
|
24
|
+
"deps-all-install": "ts-node ./build/npm/installAll",
|
|
25
|
+
"typedoc": "cd website/typedoc && \"../../node_modules/.bin/typedoc\" --options ./typedoc.json",
|
|
26
|
+
"watch": "tsc -w -p ./src"
|
|
27
|
+
},
|
|
28
|
+
"typings": "./esm/vs/editor/editor.api.d.ts",
|
|
29
|
+
"module": "./esm/vs/editor/editor.main.js",
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://github.com/microsoft/monaco-editor"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@types/mocha": "^9.1.0",
|
|
36
|
+
"@typescript/vfs": "^1.3.5",
|
|
37
|
+
"chai": "^4.3.6",
|
|
38
|
+
"clean-css": "^5.2.4",
|
|
39
|
+
"esbuild": "^0.14.49",
|
|
40
|
+
"esbuild-plugin-alias": "^0.2.1",
|
|
41
|
+
"glob": "^7.2.0",
|
|
42
|
+
"husky": "^7.0.4",
|
|
43
|
+
"jsdom": "^19.0.0",
|
|
44
|
+
"jsonc-parser": "^3.0.0",
|
|
45
|
+
"mocha": "^9.2.0",
|
|
46
|
+
"monaco-editor-core": "0.34.0",
|
|
47
|
+
"playwright": "^1.18.1",
|
|
48
|
+
"prettier": "^2.5.1",
|
|
49
|
+
"pretty-quick": "^3.1.3",
|
|
50
|
+
"requirejs": "^2.3.6",
|
|
51
|
+
"terser": "^5.14.2",
|
|
52
|
+
"ts-node": "^10.6.0",
|
|
53
|
+
"typedoc": "^0.22.11",
|
|
54
|
+
"typescript": "4.5.5",
|
|
55
|
+
"vscode-css-languageservice": "5.4.1",
|
|
56
|
+
"vscode-html-languageservice": "4.2.4",
|
|
57
|
+
"vscode-json-languageservice": "4.2.1",
|
|
58
|
+
"vscode-languageserver-textdocument": "^1.0.4",
|
|
59
|
+
"vscode-languageserver-types": "3.16.0",
|
|
60
|
+
"vscode-uri": "3.0.3",
|
|
61
|
+
"yaserver": "^0.4.0"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
# Make sure user is logged in to npm
|
|
4
|
+
npm whoami || exit 1
|
|
5
|
+
|
|
6
|
+
# Extract the version from lerna.json (this was updated by previous step)
|
|
7
|
+
VERSION=$(node --eval "console.log(require('./lerna.json').version);")
|
|
8
|
+
|
|
9
|
+
# commit the changes from `npm run release:prepare`
|
|
10
|
+
echo Commit the changes from npm run release:prepare
|
|
11
|
+
git add --all
|
|
12
|
+
git commit -am "v$VERSION" --no-verify
|
|
13
|
+
|
|
14
|
+
# increment the package.json version to the lerna version so gh-release works
|
|
15
|
+
npm version $VERSION --allow-same-version --no-git-tag-version
|
|
16
|
+
|
|
17
|
+
# amend the changes from `npm version` to the release commit
|
|
18
|
+
echo Amend the changes from npm version to the release commit
|
|
19
|
+
git add --all
|
|
20
|
+
git commit -am "v$VERSION" --no-verify --amend
|
|
21
|
+
|
|
22
|
+
# tag this version
|
|
23
|
+
git tag v$VERSION
|
|
24
|
+
|
|
25
|
+
# push everything up to this point
|
|
26
|
+
branch=$(git branch --show-current)
|
|
27
|
+
echo Push everything up to this point
|
|
28
|
+
git push https://github.com/Esri/solutions-components.git $branch
|
|
29
|
+
|
|
30
|
+
# push the new tag, not the old tags
|
|
31
|
+
echo Push the new tag, not the old tags
|
|
32
|
+
git push https://github.com/Esri/solutions-components.git v$VERSION
|
|
33
|
+
|
|
34
|
+
# create a ZIP archive of the dist files
|
|
35
|
+
TEMP_FOLDER=solutions-components-v$VERSION;
|
|
36
|
+
mkdir $TEMP_FOLDER
|
|
37
|
+
|
|
38
|
+
mkdir $TEMP_FOLDER/solutions-components
|
|
39
|
+
cp -r packages/solutions-components/dist/* $TEMP_FOLDER/solutions-components/
|
|
40
|
+
|
|
41
|
+
zip -r $TEMP_FOLDER.zip $TEMP_FOLDER
|
|
42
|
+
rm -rf $TEMP_FOLDER
|
|
43
|
+
|
|
44
|
+
# Run gh-release to create a new release with our changelog changes and ZIP archive
|
|
45
|
+
echo npx gh-release -t v$VERSION -b v$VERSION -r solutions-components -o Esri -a $TEMP_FOLDER.zip
|
|
46
|
+
npx gh-release -t v$VERSION -b v$VERSION -r solutions-components -o Esri -a $TEMP_FOLDER.zip
|
|
47
|
+
|
|
48
|
+
# Delete the ZIP archive
|
|
49
|
+
rm $TEMP_FOLDER.zip
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/* eslint-disable import/first */
|
|
2
|
-
require('dotenv').config();
|
|
3
|
-
|
|
4
|
-
const childProcess = require("child_process");
|
|
5
|
-
const githubRelease = require("gh-release");
|
|
6
|
-
const pify = require("pify");
|
|
7
|
-
const rimraf = require("rimraf");
|
|
8
|
-
|
|
9
|
-
const packageFileName = childProcess.execSync("npm pack", { encoding: "utf-8" }).trim();
|
|
10
|
-
const packageScope = "esri-";
|
|
11
|
-
|
|
12
|
-
const options = {
|
|
13
|
-
assets: [
|
|
14
|
-
{
|
|
15
|
-
name: packageFileName.replace(packageScope, ""),
|
|
16
|
-
path: packageFileName
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
auth: {
|
|
20
|
-
token: process.env.GH_RELEASE_GITHUB_API_TOKEN
|
|
21
|
-
},
|
|
22
|
-
body: "Development release",
|
|
23
|
-
yes: true // skips prompt
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
pify(githubRelease)(options)
|
|
27
|
-
.then(() => console.info("Released on GitHub!"))
|
|
28
|
-
.catch((error) => console.error("Could not create GitHub release", error))
|
|
29
|
-
.then(() => rimraf.sync(packageFileName));
|