forked from sencha/ext-gen
-
Notifications
You must be signed in to change notification settings - Fork 1
/
misc
57 lines (42 loc) · 1.88 KB
/
misc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
rm ~/.npmrc
npm login --registry=https://sencha.myget.org/F/commercial-test/npm/ --scope=@sencha
npm login --registry=https://sencha.myget.org/F/early-adopter/npm/ --scope=@sencha
cat ~/.npmrc
npm login --registry=https://npm.sencha.com/ --scope=@sencha
npm login --registry=https://test.npm.sencha.com/ --scope=@sencha
npm --registry https://npm.sencha.com/ whoami
https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally
ps -ej | grep sencha.jar
sudo kill -9 22952
git remote add upstream https://github.com/sencha/ext-react.git
git remote -v
git log
git tag -a v6.6.0 8677d26 -m "ExtReact v6.6.0"
git tag v6.6.0 v6.6.0^{} -f -m "ExtReact v6.6.0"
git tag -a v6.6.1 7992650 -m "ExtReact v6.6.1"
git tag -a v6.6.2 0c0d1fb -m "ExtReact v6.6.2"
git push upstream --tags
git checkout v6.6.0
git fetch upstream
git merge upstream/master
git merge upstream/ext-gen-6.7.x
git merge upstream/ext-gen-7.0.x
/usr/local/lib/node_modules/node/lib/node_modules/@sencha/ext-gen
//fix sencha cmd no jetty server problem
// var watchFile = path.resolve(process.cwd(),`node_modules/@sencha/cmd/dist/ant/build/app/watch-impl.xml`)
// logv(options, `modify ${watchFile}`)
// var data = fs.readFileSync(watchFile, 'utf-8');
// var ip = 'webServerRefId="app.web.server"';
// var newValue = data.replace(new RegExp(ip), '');
// fs.writeFileSync(watchFile, newValue, 'utf-8');
//fix fashion dist problem
// var toFashionDist = path.resolve(process.cwd(),`node_modules/@sencha/cmd/dist/js/node_modules/fashion/dist`)
// logv(options, `toFashionDist ${toFashionDist}`)
// if (!fs.existsSync(toFashionDist)) {
// logv(options, `copy`)
// var fromFashionDist = path.join(process.cwd(), 'node_modules/@sencha/' + thisVars.pluginName + '/fashion/dist/')
// fsx.copySync(fromFashionDist, toFashionDist)
// }
// else {
// logv(options, `no copy of fashion`)
// }